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 |
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
- data DeleteAddon = DeleteAddon' {}
- newDeleteAddon :: Text -> Text -> DeleteAddon
- deleteAddon_preserve :: Lens' DeleteAddon (Maybe Bool)
- deleteAddon_clusterName :: Lens' DeleteAddon Text
- deleteAddon_addonName :: Lens' DeleteAddon Text
- data DeleteAddonResponse = DeleteAddonResponse' {
- addon :: Maybe Addon
- httpStatus :: Int
- newDeleteAddonResponse :: Int -> DeleteAddonResponse
- deleteAddonResponse_addon :: Lens' DeleteAddonResponse (Maybe Addon)
- deleteAddonResponse_httpStatus :: Lens' DeleteAddonResponse Int
Creating a Request
data DeleteAddon Source #
See: newDeleteAddon
smart constructor.
DeleteAddon' | |
|
Instances
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.
DeleteAddonResponse' | |
|
Instances
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
deleteAddonResponse_addon :: Lens' DeleteAddonResponse (Maybe Addon) Source #
Undocumented member.
deleteAddonResponse_httpStatus :: Lens' DeleteAddonResponse Int Source #
The response's http status code.