Copyright | (c) 2013-2021 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 |
Documentation
data RetentionPeriod Source #
How long, in days, message data is kept.
See: newRetentionPeriod
smart constructor.
Instances
newRetentionPeriod :: RetentionPeriod Source #
Create a value of RetentionPeriod
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:unlimited:RetentionPeriod'
, retentionPeriod_unlimited
- If true, message data is kept indefinitely.
$sel:numberOfDays:RetentionPeriod'
, retentionPeriod_numberOfDays
- The number of days that message data is kept. The unlimited
parameter
must be false.
retentionPeriod_unlimited :: Lens' RetentionPeriod (Maybe Bool) Source #
If true, message data is kept indefinitely.
retentionPeriod_numberOfDays :: Lens' RetentionPeriod (Maybe Natural) Source #
The number of days that message data is kept. The unlimited
parameter
must be false.