amazonka-kinesis-1.3.3: Amazon Kinesis SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




Increases the stream's retention period, which is the length of time data records are accessible after they are added to the stream. The maximum value of a stream’s retention period is 168 hours (7 days).

Upon choosing a longer stream retention period, this operation will increase the time period records are accessible that have not yet expired. However, it will not make previous data that has expired (older than the stream’s previous retention period) accessible after the operation has been called. For example, if a stream’s retention period is set to 24 hours and is increased to 168 hours, any data that is older than 24 hours will remain inaccessible to consumer applications.

See: AWS API Reference for IncreaseStreamRetentionPeriod.


Creating a Request

increaseStreamRetentionPeriod Source

Creates a value of IncreaseStreamRetentionPeriod with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

isrpStreamName :: Lens' IncreaseStreamRetentionPeriod Text Source

The name of the stream to modify.

isrpRetentionPeriodHours :: Lens' IncreaseStreamRetentionPeriod Natural Source

The new retention period of the stream, in hours. Must be more than the current retention period.

Destructuring the Response