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.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
Eq UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Read UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Show UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Generic UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Associated Types

type Rep UpdateBrokerType :: Type -> Type #

NFData UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Methods

rnf :: UpdateBrokerType -> () #

Hashable UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

ToJSON UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

AWSRequest UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Associated Types

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

type Rep UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

type Rep UpdateBrokerType = D1 ('MetaData "UpdateBrokerType" "Amazonka.Kafka.UpdateBrokerType" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" '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))))
type AWSResponse UpdateBrokerType Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

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:

$sel:clusterArn:UpdateBrokerType', updateBrokerType_clusterArn - The Amazon Resource Name (ARN) that uniquely identifies the cluster.

$sel:currentVersion: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
Eq UpdateBrokerTypeResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Read UpdateBrokerTypeResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Show UpdateBrokerTypeResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Generic UpdateBrokerTypeResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerType

Associated Types

type Rep UpdateBrokerTypeResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" '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:

$sel:clusterArn: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.