Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DeleteFargateProfile = DeleteFargateProfile' {}
- newDeleteFargateProfile :: Text -> Text -> DeleteFargateProfile
- deleteFargateProfile_clusterName :: Lens' DeleteFargateProfile Text
- deleteFargateProfile_fargateProfileName :: Lens' DeleteFargateProfile Text
- data DeleteFargateProfileResponse = DeleteFargateProfileResponse' {}
- newDeleteFargateProfileResponse :: Int -> DeleteFargateProfileResponse
- deleteFargateProfileResponse_fargateProfile :: Lens' DeleteFargateProfileResponse (Maybe FargateProfile)
- deleteFargateProfileResponse_httpStatus :: Lens' DeleteFargateProfileResponse Int
Creating a Request
data DeleteFargateProfile Source #
See: newDeleteFargateProfile
smart constructor.
DeleteFargateProfile' | |
|
Instances
newDeleteFargateProfile Source #
:: Text | |
-> Text | |
-> DeleteFargateProfile |
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:
$sel:clusterName:DeleteFargateProfile'
, deleteFargateProfile_clusterName
- The name of the Amazon EKS cluster associated with the Fargate profile
to delete.
$sel:fargateProfileName: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.
DeleteFargateProfileResponse' | |
|
Instances
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
deleteFargateProfileResponse_fargateProfile :: Lens' DeleteFargateProfileResponse (Maybe FargateProfile) Source #
The deleted Fargate profile.
deleteFargateProfileResponse_httpStatus :: Lens' DeleteFargateProfileResponse Int Source #
The response's http status code.