CmdID

CmdID / aws / aws kinesis

aws kinesis split-shard

Splits a shard into two new shards in the Kinesis data stream, to increase the stream's capacity to ingest and transport data. 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 split shards

The following split-shard example splits the specified shard into two new shards using a new starting hash key of 10.

aws kinesis split-shard --stream-name samplestream --shard-to-split shardId-000000000000 --new-starting-hash-key 10Identify
--stream-nameThe name of the stream for the shard split.
--shard-to-splitThe shard ID of the shard to split.
--new-starting-hash-keyA hash key value for the starting hash key of one of the child shards created by the split.

This command produces no output.

For more information, see Splitting a Shard in the Amazon Kinesis Data Streams Developer Guide.

Options

5 in the AWS CLI reference
--new-starting-hash-keyA hash key value for the starting hash key of one of the child shards created by the split.
--shard-to-splitThe shard ID of the shard to split.
--stream-arnThe ARN of the stream.
--stream-idNot Implemented.
--stream-nameThe name of the stream for the shard split.