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

Description

Updates EC2 instance type.

Synopsis

Creating a Request

data UpdateBrokerType Source #

See: newUpdateBrokerType smart constructor.

Constructors

UpdateBrokerType' 

Fields

  • clusterArn :: Text

    The Amazon Resource Name (ARN) that uniquely identifies the cluster.

  • currentVersion :: Text

    The cluster version that you want to change. After this operation completes successfully, the cluster will have a new version.

  • targetInstanceType :: Text

    The Amazon MSK broker type that you want all of the brokers in this cluster to be.

Instances

Instances details
ToJSON UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

ToHeaders UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

ToPath UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

ToQuery UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

AWSRequest UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Associated Types

type AWSResponse UpdateBrokerType #

Generic UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Associated Types

type Rep UpdateBrokerType :: Type -> Type #

Read UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Show UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

NFData UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Methods

rnf :: UpdateBrokerType -> () #

Eq UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Hashable UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

type AWSResponse UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

type Rep UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

type Rep UpdateBrokerType = D1 ('MetaData "UpdateBrokerType" "Amazonka.Kafka.UpdateBrokerType" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "UpdateBrokerType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "currentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "targetInstanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateBrokerType Source #

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

UpdateBrokerType, updateBrokerType_clusterArn - The Amazon Resource Name (ARN) that uniquely identifies the cluster.

UpdateBrokerType, updateBrokerType_currentVersion - The cluster version that you want to change. After this operation completes successfully, the cluster will have a new version.

$sel:targetInstanceType:UpdateBrokerType', updateBrokerType_targetInstanceType - The Amazon MSK broker type that you want all of the brokers in this cluster to be.

Request Lenses

updateBrokerType_clusterArn :: Lens' UpdateBrokerType Text Source #

The Amazon Resource Name (ARN) that uniquely identifies the cluster.

updateBrokerType_currentVersion :: Lens' UpdateBrokerType Text Source #

The cluster version that you want to change. After this operation completes successfully, the cluster will have a new version.

updateBrokerType_targetInstanceType :: Lens' UpdateBrokerType Text Source #

The Amazon MSK broker type that you want all of the brokers in this cluster to be.

Destructuring the Response

data UpdateBrokerTypeResponse Source #

See: newUpdateBrokerTypeResponse smart constructor.

Constructors

UpdateBrokerTypeResponse' 

Fields

Instances

Instances details
Generic UpdateBrokerTypeResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Associated Types

type Rep UpdateBrokerTypeResponse :: Type -> Type #

Read UpdateBrokerTypeResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Show UpdateBrokerTypeResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

NFData UpdateBrokerTypeResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Eq UpdateBrokerTypeResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

type Rep UpdateBrokerTypeResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

type Rep UpdateBrokerTypeResponse = D1 ('MetaData "UpdateBrokerTypeResponse" "Amazonka.Kafka.UpdateBrokerType" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "UpdateBrokerTypeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clusterOperationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateBrokerTypeResponse Source #

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

UpdateBrokerType, updateBrokerTypeResponse_clusterArn - The Amazon Resource Name (ARN) of the cluster.

$sel:clusterOperationArn:UpdateBrokerTypeResponse', updateBrokerTypeResponse_clusterOperationArn - The Amazon Resource Name (ARN) of the cluster operation.

$sel:httpStatus:UpdateBrokerTypeResponse', updateBrokerTypeResponse_httpStatus - The response's http status code.

Response Lenses

updateBrokerTypeResponse_clusterArn :: Lens' UpdateBrokerTypeResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster.

updateBrokerTypeResponse_clusterOperationArn :: Lens' UpdateBrokerTypeResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster operation.