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.CreateCluster

Description

Creates a new MSK cluster.

Synopsis

Creating a Request

data CreateCluster Source #

See: newCreateCluster smart constructor.

Constructors

CreateCluster' 

Fields

Instances

Instances details
Eq CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Read CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Show CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Generic CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Associated Types

type Rep CreateCluster :: Type -> Type #

NFData CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Methods

rnf :: CreateCluster -> () #

Hashable CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

ToJSON CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

AWSRequest CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Associated Types

type AWSResponse CreateCluster #

ToHeaders CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

ToPath CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

ToQuery CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

type Rep CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

type Rep CreateCluster = D1 ('MetaData "CreateCluster" "Amazonka.Kafka.CreateCluster" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "CreateCluster'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "enhancedMonitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnhancedMonitoring)) :*: S1 ('MetaSel ('Just "openMonitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenMonitoringInfo))) :*: (S1 ('MetaSel ('Just "configurationInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConfigurationInfo)) :*: (S1 ('MetaSel ('Just "loggingInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingInfo)) :*: S1 ('MetaSel ('Just "clientAuthentication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientAuthentication))))) :*: ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "encryptionInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionInfo)) :*: S1 ('MetaSel ('Just "brokerNodeGroupInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 BrokerNodeGroupInfo))) :*: (S1 ('MetaSel ('Just "kafkaVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "numberOfBrokerNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))
type AWSResponse CreateCluster Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

newCreateCluster Source #

Create a value of CreateCluster 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:enhancedMonitoring:CreateCluster', createCluster_enhancedMonitoring - Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.

$sel:openMonitoring:CreateCluster', createCluster_openMonitoring - The settings for open monitoring.

$sel:configurationInfo:CreateCluster', createCluster_configurationInfo - Represents the configuration that you want MSK to use for the brokers in a cluster.

$sel:loggingInfo:CreateCluster', createCluster_loggingInfo - Undocumented member.

$sel:clientAuthentication:CreateCluster', createCluster_clientAuthentication - Includes all client authentication related information.

$sel:tags:CreateCluster', createCluster_tags - Create tags when creating the cluster.

$sel:encryptionInfo:CreateCluster', createCluster_encryptionInfo - Includes all encryption-related information.

$sel:brokerNodeGroupInfo:CreateCluster', createCluster_brokerNodeGroupInfo - Information about the broker nodes in the cluster.

$sel:kafkaVersion:CreateCluster', createCluster_kafkaVersion - The version of Apache Kafka.

$sel:numberOfBrokerNodes:CreateCluster', createCluster_numberOfBrokerNodes - The number of broker nodes in the cluster.

$sel:clusterName:CreateCluster', createCluster_clusterName - The name of the cluster.

Request Lenses

createCluster_enhancedMonitoring :: Lens' CreateCluster (Maybe EnhancedMonitoring) Source #

Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.

createCluster_configurationInfo :: Lens' CreateCluster (Maybe ConfigurationInfo) Source #

Represents the configuration that you want MSK to use for the brokers in a cluster.

createCluster_clientAuthentication :: Lens' CreateCluster (Maybe ClientAuthentication) Source #

Includes all client authentication related information.

createCluster_tags :: Lens' CreateCluster (Maybe (HashMap Text Text)) Source #

Create tags when creating the cluster.

createCluster_encryptionInfo :: Lens' CreateCluster (Maybe EncryptionInfo) Source #

Includes all encryption-related information.

createCluster_brokerNodeGroupInfo :: Lens' CreateCluster BrokerNodeGroupInfo Source #

Information about the broker nodes in the cluster.

createCluster_numberOfBrokerNodes :: Lens' CreateCluster Natural Source #

The number of broker nodes in the cluster.

Destructuring the Response

data CreateClusterResponse Source #

See: newCreateClusterResponse smart constructor.

Constructors

CreateClusterResponse' 

Fields

Instances

Instances details
Eq CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Read CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Show CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Generic CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Associated Types

type Rep CreateClusterResponse :: Type -> Type #

NFData CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

Methods

rnf :: CreateClusterResponse -> () #

type Rep CreateClusterResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateCluster

type Rep CreateClusterResponse = D1 ('MetaData "CreateClusterResponse" "Amazonka.Kafka.CreateCluster" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "CreateClusterResponse'" '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 "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateClusterResponse Source #

Create a value of CreateClusterResponse 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:CreateClusterResponse', createClusterResponse_state - The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.

$sel:clusterArn:CreateClusterResponse', createClusterResponse_clusterArn - The Amazon Resource Name (ARN) of the cluster.

$sel:clusterName:CreateCluster', createClusterResponse_clusterName - The name of the MSK cluster.

$sel:httpStatus:CreateClusterResponse', createClusterResponse_httpStatus - The response's http status code.

Response Lenses

createClusterResponse_state :: Lens' CreateClusterResponse (Maybe ClusterState) Source #

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

createClusterResponse_clusterArn :: Lens' CreateClusterResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster.