CmdID / aws / aws kinesis
aws kinesis increase-stream-retention-period
Increases 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
Examples
To increase data stream retention period
The following increase-stream-retention-period example increases the retention period (the length of time data records are accessible after they are added to the stream) of the specified stream to 168 hours.
aws kinesis increase-stream-retention-period --stream-name samplestream --retention-period-hours 168Identify--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
--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.