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

Description

Updates an MSK configuration.

Synopsis

Creating a Request

data UpdateConfiguration Source #

See: newUpdateConfiguration smart constructor.

Constructors

UpdateConfiguration' 

Fields

  • description :: Maybe Text

    The description of the configuration revision.

  • arn :: Text

    The Amazon Resource Name (ARN) 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.

Instances

Instances details
Eq UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Read UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Show UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Generic UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Associated Types

type Rep UpdateConfiguration :: Type -> Type #

NFData UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Methods

rnf :: UpdateConfiguration -> () #

Hashable UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

ToJSON UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

AWSRequest UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Associated Types

type AWSResponse UpdateConfiguration #

ToHeaders UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

ToPath UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

ToQuery UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

type Rep UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

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

Defined in Amazonka.Kafka.UpdateConfiguration

newUpdateConfiguration Source #

Create a value of UpdateConfiguration 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:description:UpdateConfiguration', updateConfiguration_description - The description of the configuration revision.

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

$sel:serverProperties:UpdateConfiguration', updateConfiguration_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.

Request Lenses

updateConfiguration_description :: Lens' UpdateConfiguration (Maybe Text) Source #

The description of the configuration revision.

updateConfiguration_arn :: Lens' UpdateConfiguration Text Source #

The Amazon Resource Name (ARN) of the configuration.

updateConfiguration_serverProperties :: Lens' UpdateConfiguration 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 UpdateConfigurationResponse Source #

See: newUpdateConfigurationResponse smart constructor.

Constructors

UpdateConfigurationResponse' 

Fields

Instances

Instances details
Eq UpdateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Read UpdateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Show UpdateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Generic UpdateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Associated Types

type Rep UpdateConfigurationResponse :: Type -> Type #

NFData UpdateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

type Rep UpdateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

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

newUpdateConfigurationResponse Source #

Create a value of UpdateConfigurationResponse 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:arn:UpdateConfiguration', updateConfigurationResponse_arn - The Amazon Resource Name (ARN) of the configuration.

$sel:latestRevision:UpdateConfigurationResponse', updateConfigurationResponse_latestRevision - Latest revision of the configuration.

$sel:httpStatus:UpdateConfigurationResponse', updateConfigurationResponse_httpStatus - The response's http status code.

Response Lenses

updateConfigurationResponse_arn :: Lens' UpdateConfigurationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the configuration.