CmdID

CmdID / aws / aws kinesis

aws kinesis decrease-stream-retention-period

Decreases the Kinesis data stream's retention period, which is the length of time data records are accessible after they are added to the stream. AWS CLI reference

1 example 4 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 decrease data stream retention period

The following decrease-stream-retention-period example decreases the retention period (the length of time data records are accessible after they are added to the stream) of a stream named samplestream to 48 hours.

aws kinesis decrease-stream-retention-period --stream-name samplestream --retention-period-hours 48Identify
--stream-nameThe name of the stream to modify.
--retention-period-hoursThe new retention period of the stream, in hours.

This command produces no output.

For more information, see Changing the Data Retention Period in the Amazon Kinesis Data Streams Developer Guide.

Options

4 in the AWS CLI reference
--retention-period-hoursThe new retention period of the stream, in hours.
--stream-arnThe ARN of the stream.
--stream-idNot Implemented.
--stream-nameThe name of the stream to modify.