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

Description

Updates cluster broker volume size (or) sets cluster storage mode to TIERED.

Synopsis

Creating a Request

data UpdateStorage Source #

Request object for UpdateStorage api. Its used to update the storage attributes for the cluster.

See: newUpdateStorage smart constructor.

Constructors

UpdateStorage' 

Fields

Instances

Instances details
ToJSON UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

ToHeaders UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

ToPath UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

ToQuery UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

AWSRequest UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

Associated Types

type AWSResponse UpdateStorage #

Generic UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

Associated Types

type Rep UpdateStorage :: Type -> Type #

Read UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

Show UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

NFData UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

Methods

rnf :: UpdateStorage -> () #

Eq UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

Hashable UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

type AWSResponse UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

type Rep UpdateStorage Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

type Rep UpdateStorage = D1 ('MetaData "UpdateStorage" "Amazonka.Kafka.UpdateStorage" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "UpdateStorage'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "provisionedThroughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProvisionedThroughput)) :*: S1 ('MetaSel ('Just "storageMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StorageMode))) :*: (S1 ('MetaSel ('Just "volumeSizeGB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "currentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateStorage Source #

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

UpdateStorage, updateStorage_provisionedThroughput - EBS volume provisioned throughput information.

UpdateStorage, updateStorage_storageMode - Controls storage mode for supported storage tiers.

UpdateStorage, updateStorage_volumeSizeGB - size of the EBS volume to update.

UpdateStorage, updateStorage_clusterArn - The Amazon Resource Name (ARN) of the cluster to be updated.

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

Request Lenses

updateStorage_storageMode :: Lens' UpdateStorage (Maybe StorageMode) Source #

Controls storage mode for supported storage tiers.

updateStorage_volumeSizeGB :: Lens' UpdateStorage (Maybe Int) Source #

size of the EBS volume to update.

updateStorage_clusterArn :: Lens' UpdateStorage Text Source #

The Amazon Resource Name (ARN) of the cluster to be updated.

updateStorage_currentVersion :: Lens' UpdateStorage Text Source #

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

Destructuring the Response

data UpdateStorageResponse Source #

See: newUpdateStorageResponse smart constructor.

Constructors

UpdateStorageResponse' 

Fields

Instances

Instances details
Generic UpdateStorageResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

Associated Types

type Rep UpdateStorageResponse :: Type -> Type #

Read UpdateStorageResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

Show UpdateStorageResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

NFData UpdateStorageResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

Methods

rnf :: UpdateStorageResponse -> () #

Eq UpdateStorageResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

type Rep UpdateStorageResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateStorage

type Rep UpdateStorageResponse = D1 ('MetaData "UpdateStorageResponse" "Amazonka.Kafka.UpdateStorage" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "UpdateStorageResponse'" '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))))

newUpdateStorageResponse Source #

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

UpdateStorage, updateStorageResponse_clusterArn - The Amazon Resource Name (ARN) of the cluster.

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

$sel:httpStatus:UpdateStorageResponse', updateStorageResponse_httpStatus - The response's http status code.

Response Lenses

updateStorageResponse_clusterArn :: Lens' UpdateStorageResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster.

updateStorageResponse_clusterOperationArn :: Lens' UpdateStorageResponse (Maybe Text) Source #

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