libZSservicesZSamazonka-kafkaZSamazonka-kafka
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Kafka.DeleteCluster

Description

Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.

Synopsis

Creating a Request

data DeleteCluster Source #

See: newDeleteCluster smart constructor.

Constructors

DeleteCluster' 

Fields

Instances

Instances details
Eq DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Read DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Show DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Generic DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Associated Types

type Rep DeleteCluster :: Type -> Type #

NFData DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Methods

rnf :: DeleteCluster -> () #

Hashable DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

AWSRequest DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Associated Types

type AWSResponse DeleteCluster #

ToHeaders DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

ToPath DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

ToQuery DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

type Rep DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

type Rep DeleteCluster = D1 ('MetaData "DeleteCluster" "Amazonka.Kafka.DeleteCluster" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "DeleteCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "currentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteCluster Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

newDeleteCluster Source #

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.

Constructors

DeleteClusterResponse' 

Fields

  • state :: Maybe ClusterState

    The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.

  • clusterArn :: Maybe Text

    The Amazon Resource Name (ARN) of the cluster.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Read DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Show DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Generic DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Associated Types

type Rep DeleteClusterResponse :: Type -> Type #

NFData DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

Methods

rnf :: DeleteClusterResponse -> () #

type Rep DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.DeleteCluster

type Rep DeleteClusterResponse = D1 ('MetaData "DeleteClusterResponse" "Amazonka.Kafka.DeleteCluster" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "DeleteClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterState)) :*: (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.