update_stream_mode
(**kwargs)¶Updates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data stream.
See also: AWS API Documentation
Request Syntax
response = client.update_stream_mode(
StreamARN='string',
StreamModeDetails={
'StreamMode': 'PROVISIONED'|'ON_DEMAND'
}
)
[REQUIRED]
Specifies the ARN of the data stream whose capacity mode you want to update.
[REQUIRED]
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
Specifies the capacity mode to which you want to set your data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
None
Exceptions
Kinesis.Client.exceptions.InvalidArgumentException
Kinesis.Client.exceptions.LimitExceededException
Kinesis.Client.exceptions.ResourceInUseException
Kinesis.Client.exceptions.ResourceNotFoundException