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.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
ToJSON UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.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

AWSRequest UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Associated Types

type AWSResponse UpdateConfiguration #

Generic UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Associated Types

type Rep UpdateConfiguration :: Type -> Type #

Read UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Show UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

NFData UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Methods

rnf :: UpdateConfiguration -> () #

Eq UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Hashable UpdateConfiguration Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

type AWSResponse 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" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" '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))))

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:

UpdateConfiguration, updateConfiguration_description - The description of the configuration revision.

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
Generic UpdateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Associated Types

type Rep UpdateConfigurationResponse :: Type -> Type #

Read UpdateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Show UpdateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

NFData UpdateConfigurationResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateConfiguration

Eq 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" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" '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:

UpdateConfiguration, updateConfigurationResponse_arn - The Amazon Resource Name (ARN) of the configuration.

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.