amazonka-kafka-2.0: Amazon Managed Streaming for Kafka SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kafka.CreateClusterV2

Description

Creates a new MSK cluster.

Synopsis

Creating a Request

data CreateClusterV2 Source #

See: newCreateClusterV2 smart constructor.

Constructors

CreateClusterV2' 

Fields

Instances

Instances details
ToJSON CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

ToHeaders CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

ToPath CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

ToQuery CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

AWSRequest CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

Associated Types

type AWSResponse CreateClusterV2 #

Generic CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

Associated Types

type Rep CreateClusterV2 :: Type -> Type #

Read CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

Show CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

NFData CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

Methods

rnf :: CreateClusterV2 -> () #

Eq CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

Hashable CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

type AWSResponse CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

type Rep CreateClusterV2 Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

type Rep CreateClusterV2 = D1 ('MetaData "CreateClusterV2" "Amazonka.Kafka.CreateClusterV2" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "CreateClusterV2'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "provisioned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProvisionedRequest)) :*: S1 ('MetaSel ('Just "serverless") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerlessRequest))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateClusterV2 Source #

Create a value of CreateClusterV2 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:

CreateClusterV2, createClusterV2_provisioned - Information about the provisioned cluster.

CreateClusterV2, createClusterV2_serverless - Information about the serverless cluster.

CreateClusterV2, createClusterV2_tags - A map of tags that you want the cluster to have.

CreateClusterV2, createClusterV2_clusterName - The name of the cluster.

Request Lenses

createClusterV2_provisioned :: Lens' CreateClusterV2 (Maybe ProvisionedRequest) Source #

Information about the provisioned cluster.

createClusterV2_serverless :: Lens' CreateClusterV2 (Maybe ServerlessRequest) Source #

Information about the serverless cluster.

createClusterV2_tags :: Lens' CreateClusterV2 (Maybe (HashMap Text Text)) Source #

A map of tags that you want the cluster to have.

Destructuring the Response

data CreateClusterV2Response Source #

See: newCreateClusterV2Response smart constructor.

Constructors

CreateClusterV2Response' 

Fields

Instances

Instances details
Generic CreateClusterV2Response Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

Associated Types

type Rep CreateClusterV2Response :: Type -> Type #

Read CreateClusterV2Response Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

Show CreateClusterV2Response Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

NFData CreateClusterV2Response Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

Methods

rnf :: CreateClusterV2Response -> () #

Eq CreateClusterV2Response Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

type Rep CreateClusterV2Response Source # 
Instance details

Defined in Amazonka.Kafka.CreateClusterV2

type Rep CreateClusterV2Response = D1 ('MetaData "CreateClusterV2Response" "Amazonka.Kafka.CreateClusterV2" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "CreateClusterV2Response'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "clusterType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterType)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterState)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateClusterV2Response Source #

Create a value of CreateClusterV2Response 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:

CreateClusterV2Response, createClusterV2Response_clusterArn - The Amazon Resource Name (ARN) of the cluster.

CreateClusterV2, createClusterV2Response_clusterName - The name of the MSK cluster.

CreateClusterV2Response, createClusterV2Response_clusterType - The type of the cluster. The possible states are PROVISIONED or SERVERLESS.

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

$sel:httpStatus:CreateClusterV2Response', createClusterV2Response_httpStatus - The response's http status code.

Response Lenses

createClusterV2Response_clusterArn :: Lens' CreateClusterV2Response (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster.

createClusterV2Response_clusterType :: Lens' CreateClusterV2Response (Maybe ClusterType) Source #

The type of the cluster. The possible states are PROVISIONED or SERVERLESS.

createClusterV2Response_state :: Lens' CreateClusterV2Response (Maybe ClusterState) Source #

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