| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTAnalytics.Types.RetentionPeriod
Description
Documentation
data RetentionPeriod Source #
How long, in days, message data is kept.
See: newRetentionPeriod smart constructor.
Constructors
| RetentionPeriod' | |
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:numberOfDays:RetentionPeriod', retentionPeriod_numberOfDays - The number of days that message data is kept. The unlimited parameter
must be false.
$sel:unlimited:RetentionPeriod', retentionPeriod_unlimited - 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.
retentionPeriod_unlimited :: Lens' RetentionPeriod (Maybe Bool) Source #
If true, message data is kept indefinitely.