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

Description

Deletes an Fargate profile.

When you delete a Fargate profile, any pods running on Fargate that were created with the profile are deleted. If those pods match another Fargate profile, then they are scheduled on Fargate with that profile. If they no longer match any Fargate profiles, then they are not scheduled on Fargate and they may remain in a pending state.

Only one Fargate profile in a cluster can be in the DELETING status at a time. You must wait for a Fargate profile to finish deleting before you can delete any other profiles in that cluster.

Synopsis

Creating a Request

data DeleteFargateProfile Source #

See: newDeleteFargateProfile smart constructor.

Constructors

DeleteFargateProfile' 

Fields

Instances

Instances details
ToHeaders DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

ToPath DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

ToQuery DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

AWSRequest DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

Associated Types

type AWSResponse DeleteFargateProfile #

Generic DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

Associated Types

type Rep DeleteFargateProfile :: Type -> Type #

Read DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

Show DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

NFData DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

Methods

rnf :: DeleteFargateProfile -> () #

Eq DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

Hashable DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

type AWSResponse DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

type Rep DeleteFargateProfile Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

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

newDeleteFargateProfile Source #

Create a value of DeleteFargateProfile 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:

DeleteFargateProfile, deleteFargateProfile_clusterName - The name of the Amazon EKS cluster associated with the Fargate profile to delete.

DeleteFargateProfile, deleteFargateProfile_fargateProfileName - The name of the Fargate profile to delete.

Request Lenses

deleteFargateProfile_clusterName :: Lens' DeleteFargateProfile Text Source #

The name of the Amazon EKS cluster associated with the Fargate profile to delete.

deleteFargateProfile_fargateProfileName :: Lens' DeleteFargateProfile Text Source #

The name of the Fargate profile to delete.

Destructuring the Response

data DeleteFargateProfileResponse Source #

See: newDeleteFargateProfileResponse smart constructor.

Constructors

DeleteFargateProfileResponse' 

Fields

Instances

Instances details
Generic DeleteFargateProfileResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

Associated Types

type Rep DeleteFargateProfileResponse :: Type -> Type #

Read DeleteFargateProfileResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

Show DeleteFargateProfileResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

NFData DeleteFargateProfileResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

Eq DeleteFargateProfileResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

type Rep DeleteFargateProfileResponse Source # 
Instance details

Defined in Amazonka.EKS.DeleteFargateProfile

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

newDeleteFargateProfileResponse Source #

Create a value of DeleteFargateProfileResponse 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:fargateProfile:DeleteFargateProfileResponse', deleteFargateProfileResponse_fargateProfile - The deleted Fargate profile.

$sel:httpStatus:DeleteFargateProfileResponse', deleteFargateProfileResponse_httpStatus - The response's http status code.

Response Lenses