| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- 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.
Constructors
| DeleteAddon' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteAddon |
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 isn't removed.
DeleteAddon, deleteAddon_clusterName - The name of the cluster to delete the add-on from.
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 isn't 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
newDeleteAddonResponse Source #
Arguments
| :: Int | |
| -> DeleteAddonResponse |
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.