Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Increases the Amazon Kinesis 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.
- increaseStreamRetentionPeriod :: Text -> Natural -> IncreaseStreamRetentionPeriod
- data IncreaseStreamRetentionPeriod
- isrpStreamName :: Lens' IncreaseStreamRetentionPeriod Text
- isrpRetentionPeriodHours :: Lens' IncreaseStreamRetentionPeriod Natural
- increaseStreamRetentionPeriodResponse :: IncreaseStreamRetentionPeriodResponse
- data IncreaseStreamRetentionPeriodResponse
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:
isrpStreamName
- The name of the stream to modify.isrpRetentionPeriodHours
- The new retention period of the stream, in hours. Must be more than the current retention period.
data IncreaseStreamRetentionPeriod Source #
Represents the input for IncreaseStreamRetentionPeriod
.
See: increaseStreamRetentionPeriod
smart constructor.
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
increaseStreamRetentionPeriodResponse :: IncreaseStreamRetentionPeriodResponse Source #
Creates a value of IncreaseStreamRetentionPeriodResponse
with the minimum fields required to make a request.
data IncreaseStreamRetentionPeriodResponse Source #
See: increaseStreamRetentionPeriodResponse
smart constructor.