amazonka-eks-2.0: Amazon Elastic Kubernetes Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EKS.DeleteAddon

Description

Delete an Amazon EKS add-on.

When you remove the add-on, it will also be deleted from the cluster. You can always manually start an add-on on the cluster using the Kubernetes API.

Synopsis

Creating a Request

data DeleteAddon Source #

See: newDeleteAddon smart constructor.

Constructors

DeleteAddon' 

Fields

  • preserve :: Maybe Bool

    Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.

  • clusterName :: Text

    The name of the cluster to delete the add-on from.

  • addonName :: Text

    The name of the add-on. The name must match one of the names returned by ListAddons .

Instances

Instances details
ToHeaders DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Methods

toHeaders :: DeleteAddon -> [Header] #

ToPath DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

ToQuery DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

AWSRequest DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Associated Types

type AWSResponse DeleteAddon #

Generic DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Associated Types

type Rep DeleteAddon :: Type -> Type #

Read DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Show DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

NFData DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Methods

rnf :: DeleteAddon -> () #

Eq DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Hashable DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

type AWSResponse DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

type Rep DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

type Rep DeleteAddon = D1 ('MetaData "DeleteAddon" "Amazonka.EKS.DeleteAddon" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" 'False) (C1 ('MetaCons "DeleteAddon'" 'PrefixI 'True) (S1 ('MetaSel ('Just "preserve") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "addonName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteAddon Source #

Create a value of DeleteAddon with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:preserve:DeleteAddon', deleteAddon_preserve - Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.

DeleteAddon, deleteAddon_clusterName - The name of the cluster to delete the add-on from.

DeleteAddon, deleteAddon_addonName - The name of the add-on. The name must match one of the names returned by ListAddons .

Request Lenses

deleteAddon_preserve :: Lens' DeleteAddon (Maybe Bool) Source #

Specifying this option preserves the add-on software on your cluster but Amazon EKS stops managing any settings for the add-on. If an IAM account is associated with the add-on, it isn't removed.

deleteAddon_clusterName :: Lens' DeleteAddon Text Source #

The name of the cluster to delete the add-on from.

deleteAddon_addonName :: Lens' DeleteAddon Text Source #

The name of the add-on. The name must match one of the names returned by ListAddons .

Destructuring the Response

data DeleteAddonResponse Source #

See: newDeleteAddonResponse smart constructor.

Constructors

DeleteAddonResponse' 

Fields

Instances

Instances details
Generic DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Associated Types

type Rep DeleteAddonResponse :: Type -> Type #

Read DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Show DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

NFData DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Methods

rnf :: DeleteAddonResponse -> () #

Eq DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

type Rep DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

type Rep DeleteAddonResponse = D1 ('MetaData "DeleteAddonResponse" "Amazonka.EKS.DeleteAddon" "amazonka-eks-2.0-7cAibD4zEbE2zPO6gnUh5m" 'False) (C1 ('MetaCons "DeleteAddonResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "addon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Addon)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteAddonResponse Source #

Create a value of DeleteAddonResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:addon:DeleteAddonResponse', deleteAddonResponse_addon - Undocumented member.

$sel:httpStatus:DeleteAddonResponse', deleteAddonResponse_httpStatus - The response's http status code.

Response Lenses