libZSservicesZSamazonka-eksZSamazonka-eks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 is not 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
Eq DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Read DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Show DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Generic DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Associated Types

type Rep DeleteAddon :: Type -> Type #

NFData DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Methods

rnf :: DeleteAddon -> () #

Hashable DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

AWSRequest DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Associated Types

type AWSResponse DeleteAddon #

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

type Rep DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

type Rep DeleteAddon = D1 ('MetaData "DeleteAddon" "Amazonka.EKS.DeleteAddon" "libZSservicesZSamazonka-eksZSamazonka-eks" '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))))
type AWSResponse DeleteAddon Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

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 is not removed.

$sel:clusterName:DeleteAddon', deleteAddon_clusterName - The name of the cluster to delete the add-on from.

$sel:addonName: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 is not 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
Eq DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Read DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Show DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Generic DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Associated Types

type Rep DeleteAddonResponse :: Type -> Type #

NFData DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

Methods

rnf :: DeleteAddonResponse -> () #

type Rep DeleteAddonResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteAddon

type Rep DeleteAddonResponse = D1 ('MetaData "DeleteAddonResponse" "Amazonka.EKS.DeleteAddon" "libZSservicesZSamazonka-eksZSamazonka-eks" '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