KinesisClient.update_stream_warm_throughput
rboto-kinesis==0.4.0 · Service index · Types
Model summary (excerpt): Updates the warm throughput configuration for the specified Amazon Kinesis Data Streams on-demand data stream. Updates the warm throughput configuration for the specified on-demand data stream. Use this operation to scale your stream to a specified throughput level before anticipated traffic spikes, or to release excess capacity after traffic has decreased. When invoking this API, you must use...
Install and imports
from rboto import KinesisClient
from rboto_kinesis.types import (
UpdateStreamWarmThroughputOutput,
)
Signature
async def update_stream_warm_throughput(
*,
warm_throughput_mibps: int,
stream_arn: str | None = None,
stream_name: str | None = None,
stream_id: str | None = None,
) -> UpdateStreamWarmThroughputOutput: ...
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) |
|---|---|---|
warm_throughput_mibps |
Yes | The target warm throughput in MB/s that the stream should be scaled to handle. This represents the throughput capacity that will be immediately available for write operations. |
stream_arn |
No | The ARN of the stream to be updated. |
stream_name |
No | The name of the stream to be updated. |
stream_id |
No | Not Implemented. Reserved for future use. |
Output
UpdateStreamWarmThroughputOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
stream_arn |
str | None |
Always present | — |
stream_name |
str | None |
Always present | — |
warm_throughput |
WarmThroughputObjectOutput | None |
Always present | WarmThroughputObjectOutput |
| 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
UpdateStreamWarmThroughputOutput
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.