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

Description

Creates a new MSK configuration.

Synopsis

Creating a Request

data CreateConfiguration Source #

See: newCreateConfiguration smart constructor.

Constructors

CreateConfiguration' 

Fields

  • kafkaVersions :: Maybe [Text]

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

  • description :: Maybe Text

    The description of the 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
Eq CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Read CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Show CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Generic CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Associated Types

type Rep CreateConfiguration :: Type -> Type #

NFData CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Methods

rnf :: CreateConfiguration -> () #

Hashable CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

ToJSON CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

AWSRequest CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Associated Types

type AWSResponse 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

type Rep CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

type Rep CreateConfiguration = D1 ('MetaData "CreateConfiguration" "Amazonka.Kafka.CreateConfiguration" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "CreateConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "kafkaVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "serverProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

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:

$sel:kafkaVersions:CreateConfiguration', createConfiguration_kafkaVersions - The versions of Apache Kafka with which you can use this MSK configuration.

$sel:description:CreateConfiguration', createConfiguration_description - The description of the 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.

$sel:name:CreateConfiguration', createConfiguration_name - The name of the configuration.

Request Lenses

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

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

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

The description of the 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
Eq CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Read CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Show CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Generic CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

Associated Types

type Rep CreateConfigurationResponse :: Type -> Type #

NFData CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

type Rep CreateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.CreateConfiguration

type Rep CreateConfigurationResponse = D1 ('MetaData "CreateConfigurationResponse" "Amazonka.Kafka.CreateConfiguration" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "CreateConfigurationResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConfigurationState)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "latestRevision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ConfigurationRevision)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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:

$sel:creationTime:CreateConfigurationResponse', createConfigurationResponse_creationTime - The time when the configuration was created.

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

$sel:arn:CreateConfigurationResponse', createConfigurationResponse_arn - The Amazon Resource Name (ARN) of the configuration.

$sel:latestRevision:CreateConfigurationResponse', createConfigurationResponse_latestRevision - Latest revision of the configuration.

$sel:name:CreateConfiguration', createConfigurationResponse_name - The name of the configuration.

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

Response Lenses

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

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

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

The Amazon Resource Name (ARN) of the configuration.