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 the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
Synopsis
- data DeleteCluster = DeleteCluster' {}
- newDeleteCluster :: Text -> DeleteCluster
- deleteCluster_currentVersion :: Lens' DeleteCluster (Maybe Text)
- deleteCluster_clusterArn :: Lens' DeleteCluster Text
- data DeleteClusterResponse = DeleteClusterResponse' {
- state :: Maybe ClusterState
- clusterArn :: Maybe Text
- httpStatus :: Int
- newDeleteClusterResponse :: Int -> DeleteClusterResponse
- deleteClusterResponse_state :: Lens' DeleteClusterResponse (Maybe ClusterState)
- deleteClusterResponse_clusterArn :: Lens' DeleteClusterResponse (Maybe Text)
- deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
Creating a Request
data DeleteCluster Source #
See: newDeleteCluster
smart constructor.
DeleteCluster' | |
|
Instances
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:currentVersion:DeleteCluster'
, deleteCluster_currentVersion
- The current version of the MSK cluster.
$sel:clusterArn:DeleteCluster'
, deleteCluster_clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Request Lenses
deleteCluster_currentVersion :: Lens' DeleteCluster (Maybe Text) Source #
The current version of the MSK cluster.
deleteCluster_clusterArn :: Lens' DeleteCluster Text Source #
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
Destructuring the Response
data DeleteClusterResponse Source #
See: newDeleteClusterResponse
smart constructor.
DeleteClusterResponse' | |
|
Instances
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:state:DeleteClusterResponse'
, deleteClusterResponse_state
- The state of the cluster. The possible states are ACTIVE, CREATING,
DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
$sel:clusterArn:DeleteCluster'
, deleteClusterResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:httpStatus:DeleteClusterResponse'
, deleteClusterResponse_httpStatus
- The response's http status code.
Response Lenses
deleteClusterResponse_state :: Lens' DeleteClusterResponse (Maybe ClusterState) Source #
The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
deleteClusterResponse_clusterArn :: Lens' DeleteClusterResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int Source #
The response's http status code.