CmdID

CmdID / aws / aws kinesis

aws kinesis update-shard-count

Updates the shard count of the specified stream to the specified number of shards. AWS CLI reference

1 example 5 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To update the shard count in a data stream

The following update-shard-count example updates the shard count of the specified data stream to 6. This example uses uniform scaling, which creates shards of equal size.

aws kinesis update-shard-count --stream-name samplestream --scaling-type UNIFORM_SCALING --target-shard-count 6Identify
--stream-nameThe name of the stream.
--scaling-typeThe scaling type.
--target-shard-countThe new number of shards.
Its output
{
    "StreamName": "samplestream",
    "CurrentShardCount": 3,
    "TargetShardCount": 6
}

For more information, see Resharding a Stream in the Amazon Kinesis Data Streams Developer Guide.

Options

5 in the AWS CLI reference
--scaling-typeThe scaling type.
--stream-arnThe ARN of the stream.
--stream-idNot Implemented.
--stream-nameThe name of the stream.
--target-shard-countThe new number of shards.