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

Description

Creates a new MSK configuration.

Synopsis

Creating a Request

data CreateConfiguration Source #

See: newCreateConfiguration smart constructor.

Constructors

CreateConfiguration' 

Fields

  • description :: Maybe Text

    The description of the configuration.

  • kafkaVersions :: Maybe [Text]

    The versions of Apache Kafka with which you can use this MSK configuration.

  • serverProperties :: Base64

    Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.

  • name :: Text

    The name of the configuration.

Instances

Instances details
ToJSON CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

ToHeaders CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

ToPath CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

ToQuery CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

AWSRequest CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Associated Types

type AWSResponse CreateConfiguration #

Generic CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Associated Types

type Rep CreateConfiguration :: Type -> Type #

Read CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Show CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

NFData CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Methods

rnf :: CreateConfiguration -> () #

Eq CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Hashable CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

type AWSResponse CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

type Rep CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

type Rep CreateConfiguration = D1 ('MetaData "CreateConfiguration" "Amazonka.Kafka.CreateConfiguration" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "CreateConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "kafkaVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "serverProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateConfiguration Source #

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

CreateConfiguration, createConfiguration_description - The description of the configuration.

CreateConfiguration, createConfiguration_kafkaVersions - The versions of Apache Kafka with which you can use this MSK configuration.

$sel:serverProperties:CreateConfiguration', createConfiguration_serverProperties - Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

CreateConfiguration, createConfiguration_name - The name of the configuration.

Request Lenses

createConfiguration_description :: Lens' CreateConfiguration (Maybe Text) Source #

The description of the configuration.

createConfiguration_kafkaVersions :: Lens' CreateConfiguration (Maybe [Text]) Source #

The versions of Apache Kafka with which you can use this MSK configuration.

createConfiguration_serverProperties :: Lens' CreateConfiguration ByteString Source #

Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

Destructuring the Response

data CreateConfigurationResponse Source #

See: newCreateConfigurationResponse smart constructor.

Constructors

CreateConfigurationResponse' 

Fields

Instances

Instances details
Generic CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Associated Types

type Rep CreateConfigurationResponse :: Type -> Type #

Read CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Show CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

NFData CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Eq CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

type Rep CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

newCreateConfigurationResponse Source #

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

CreateConfigurationResponse, createConfigurationResponse_arn - The Amazon Resource Name (ARN) of the configuration.

CreateConfigurationResponse, createConfigurationResponse_creationTime - The time when the configuration was created.

CreateConfigurationResponse, createConfigurationResponse_latestRevision - Latest revision of the configuration.

CreateConfiguration, createConfigurationResponse_name - The name of the configuration.

CreateConfigurationResponse, createConfigurationResponse_state - The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.

$sel:httpStatus:CreateConfigurationResponse', createConfigurationResponse_httpStatus - The response's http status code.

Response Lenses

createConfigurationResponse_arn :: Lens' CreateConfigurationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the configuration.

createConfigurationResponse_state :: Lens' CreateConfigurationResponse (Maybe ConfigurationState) Source #

The state of the configuration. The possible states are ACTIVE, DELETING, and DELETE_FAILED.