Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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. The maximum value of a stream's retention period is 168 hours (7 days).
If you choose a longer stream retention period, this operation increases the time period during which records that have not yet expired are accessible. However, it does not make previous, expired data (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 remains inaccessible to consumer applications.
Synopsis
- 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.
Instances
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.