KinesisClient.split_shard
rboto-kinesis==0.4.0 · Service index · Types
Model summary (excerpt): Splits a shard into two new shards in the Kinesis data stream, to increase the stream's capacity to ingest and transport data. SplitShard is called when there is a need to increase the overall capacity of a stream because of an expected increase in the volume of data records being ingested. This API is only supported for the data streams with the provisioned capacity mode. When invoking this...
Install and imports
Signature
async def split_shard(
*,
shard_to_split: str,
new_starting_hash_key: str,
stream_name: str | None = None,
stream_arn: str | None = None,
stream_id: str | None = None,
) -> None: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
shard_to_split |
Yes | The shard ID of the shard to split. |
new_starting_hash_key |
Yes | A hash key value for the starting hash key of one of the child shards created by the split. The hash key range for a given shard constitutes a set of ordered contiguous positive integers. The value for NewStartingHashKey must be in the range of hash keys being mapped into the shard. The NewStartingHashKey hash key value and all higher hash key values in hash key range are distributed to one of... |
stream_name |
No | The name of the stream for the shard split. |
stream_arn |
No | The ARN of the stream. |
stream_id |
No | Not Implemented. Reserved for future use. |
Output
None.
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
—
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_kinesis.exceptions:
AccessDeniedError, InvalidArgumentError, LimitExceededError, ResourceInUseError, ResourceNotFoundError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.