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

Description

Updates the number of broker nodes in the cluster.

Synopsis

Creating a Request

data UpdateBrokerCount Source #

See: newUpdateBrokerCount smart constructor.

Constructors

UpdateBrokerCount' 

Fields

  • clusterArn :: Text

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

  • currentVersion :: Text

    The version of cluster to update from. A successful operation will then generate a new version.

  • targetNumberOfBrokerNodes :: Natural

    The number of broker nodes that you want the cluster to have after this operation completes successfully.

Instances

Instances details
Eq UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

Read UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

Show UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

Generic UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

Associated Types

type Rep UpdateBrokerCount :: Type -> Type #

NFData UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

Methods

rnf :: UpdateBrokerCount -> () #

Hashable UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

ToJSON UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

AWSRequest UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

Associated Types

type AWSResponse UpdateBrokerCount #

ToHeaders UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

ToPath UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

ToQuery UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

type Rep UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

type Rep UpdateBrokerCount = D1 ('MetaData "UpdateBrokerCount" "Amazonka.Kafka.UpdateBrokerCount" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "UpdateBrokerCount'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "currentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "targetNumberOfBrokerNodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))
type AWSResponse UpdateBrokerCount Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

newUpdateBrokerCount Source #

Create a value of UpdateBrokerCount 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:UpdateBrokerCount', updateBrokerCount_clusterArn - The Amazon Resource Name (ARN) that uniquely identifies the cluster.

$sel:currentVersion:UpdateBrokerCount', updateBrokerCount_currentVersion - The version of cluster to update from. A successful operation will then generate a new version.

$sel:targetNumberOfBrokerNodes:UpdateBrokerCount', updateBrokerCount_targetNumberOfBrokerNodes - The number of broker nodes that you want the cluster to have after this operation completes successfully.

Request Lenses

updateBrokerCount_clusterArn :: Lens' UpdateBrokerCount Text Source #

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

updateBrokerCount_currentVersion :: Lens' UpdateBrokerCount Text Source #

The version of cluster to update from. A successful operation will then generate a new version.

updateBrokerCount_targetNumberOfBrokerNodes :: Lens' UpdateBrokerCount Natural Source #

The number of broker nodes that you want the cluster to have after this operation completes successfully.

Destructuring the Response

data UpdateBrokerCountResponse Source #

See: newUpdateBrokerCountResponse smart constructor.

Constructors

UpdateBrokerCountResponse' 

Fields

Instances

Instances details
Eq UpdateBrokerCountResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

Read UpdateBrokerCountResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

Show UpdateBrokerCountResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

Generic UpdateBrokerCountResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

Associated Types

type Rep UpdateBrokerCountResponse :: Type -> Type #

NFData UpdateBrokerCountResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

type Rep UpdateBrokerCountResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateBrokerCount

type Rep UpdateBrokerCountResponse = D1 ('MetaData "UpdateBrokerCountResponse" "Amazonka.Kafka.UpdateBrokerCount" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "UpdateBrokerCountResponse'" '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))))

newUpdateBrokerCountResponse Source #

Create a value of UpdateBrokerCountResponse 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:UpdateBrokerCount', updateBrokerCountResponse_clusterArn - The Amazon Resource Name (ARN) of the cluster.

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

$sel:httpStatus:UpdateBrokerCountResponse', updateBrokerCountResponse_httpStatus - The response's http status code.

Response Lenses

updateBrokerCountResponse_clusterArn :: Lens' UpdateBrokerCountResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster.

updateBrokerCountResponse_clusterOperationArn :: Lens' UpdateBrokerCountResponse (Maybe Text) Source #

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