| 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.Kafka.DeleteCluster
Description
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' {
- clusterArn :: Maybe Text
- state :: Maybe ClusterState
- httpStatus :: Int
- newDeleteClusterResponse :: Int -> DeleteClusterResponse
- deleteClusterResponse_clusterArn :: Lens' DeleteClusterResponse (Maybe Text)
- deleteClusterResponse_state :: Lens' DeleteClusterResponse (Maybe ClusterState)
- deleteClusterResponse_httpStatus :: Lens' DeleteClusterResponse Int
Creating a Request
data DeleteCluster Source #
See: newDeleteCluster smart constructor.
Constructors
| DeleteCluster' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteCluster |
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:
DeleteCluster, deleteCluster_currentVersion - The current version of the MSK cluster.
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.
Constructors
| DeleteClusterResponse' | |
Fields
| |
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:
DeleteCluster, deleteClusterResponse_clusterArn - The Amazon Resource Name (ARN) of the cluster.
DeleteClusterResponse, deleteClusterResponse_state - The state of the cluster. The possible states are ACTIVE, CREATING,
DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.
$sel:httpStatus:DeleteClusterResponse', deleteClusterResponse_httpStatus - The response's http status code.
Response Lenses
deleteClusterResponse_clusterArn :: Lens' DeleteClusterResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the cluster.
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_httpStatus :: Lens' DeleteClusterResponse Int Source #
The response's http status code.