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.DeleteCluster

Description

Deletes the Amazon EKS cluster control plane.

If you have active services in your cluster that are associated with a load balancer, you must delete those services before deleting the cluster so that the load balancers are deleted properly. Otherwise, you can have orphaned resources in your VPC that prevent you from being able to delete the VPC. For more information, see Deleting a Cluster in the Amazon EKS User Guide.

If you have managed node groups or Fargate profiles attached to the cluster, you must delete them first. For more information, see DeleteNodegroup and DeleteFargateProfile.

Synopsis

Creating a Request

data DeleteCluster Source #

See: newDeleteCluster smart constructor.

Constructors

DeleteCluster' 

Fields

  • name :: Text

    The name of the cluster to delete.

Instances

Instances details
Eq DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Read DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Show DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Generic DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Associated Types

type Rep DeleteCluster :: Type -> Type #

NFData DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Methods

rnf :: DeleteCluster -> () #

Hashable DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

AWSRequest DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Associated Types

type AWSResponse DeleteCluster #

ToHeaders DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

ToPath DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

ToQuery DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

type Rep DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

type Rep DeleteCluster = D1 ('MetaData "DeleteCluster" "Amazonka.EKS.DeleteCluster" "libZSservicesZSamazonka-eksZSamazonka-eks" 'False) (C1 ('MetaCons "DeleteCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteCluster Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

newDeleteCluster Source #

Create a value of DeleteCluster 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:name:DeleteCluster', deleteCluster_name - The name of the cluster to delete.

Request Lenses

deleteCluster_name :: Lens' DeleteCluster Text Source #

The name of the cluster to delete.

Destructuring the Response

data DeleteClusterResponse Source #

See: newDeleteClusterResponse smart constructor.

Constructors

DeleteClusterResponse' 

Fields

Instances

Instances details
Eq DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Read DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Show DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Generic DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Associated Types

type Rep DeleteClusterResponse :: Type -> Type #

NFData DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

Methods

rnf :: DeleteClusterResponse -> () #

type Rep DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteCluster

type Rep DeleteClusterResponse = D1 ('MetaData "DeleteClusterResponse" "Amazonka.EKS.DeleteCluster" "libZSservicesZSamazonka-eksZSamazonka-eks" 'False) (C1 ('MetaCons "DeleteClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteClusterResponse Source #

Create a value of DeleteClusterResponse 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:cluster:DeleteClusterResponse', deleteClusterResponse_cluster - The full description of the cluster to delete.

$sel:httpStatus:DeleteClusterResponse', deleteClusterResponse_httpStatus - The response's http status code.

Response Lenses

deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster) Source #

The full description of the cluster to delete.