Skip to content

Update Storage

kafka_update_storage R Documentation

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

Description

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

Usage

kafka_update_storage(ClusterArn, CurrentVersion, ProvisionedThroughput,
  StorageMode, VolumeSizeGB)

Arguments

ClusterArn

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

CurrentVersion

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

ProvisionedThroughput

EBS volume provisioned throughput information.

StorageMode

Controls storage mode for supported storage tiers.

VolumeSizeGB

size of the EBS volume to update.

Value

A list with the following syntax:

list(
  ClusterArn = "string",
  ClusterOperationArn = "string"
)

Request syntax

svc$update_storage(
  ClusterArn = "string",
  CurrentVersion = "string",
  ProvisionedThroughput = list(
    Enabled = TRUE|FALSE,
    VolumeThroughput = 123
  ),
  StorageMode = "LOCAL"|"TIERED",
  VolumeSizeGB = 123
)