| 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.IoTSiteWise.Types.RetentionPeriod
Description
Documentation
data RetentionPeriod Source #
How many days your data is kept in the hot tier. By default, your data is kept indefinitely in the hot tier.
See: newRetentionPeriod smart constructor.
Constructors
| RetentionPeriod' | |
Fields
| |
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 your data is kept.
If you specified a value for this parameter, the unlimited parameter
must be false.
$sel:unlimited:RetentionPeriod', retentionPeriod_unlimited - If true, your data is kept indefinitely.
If configured to true, you must not specify a value for the
numberOfDays parameter.
retentionPeriod_numberOfDays :: Lens' RetentionPeriod (Maybe Natural) Source #
The number of days that your data is kept.
If you specified a value for this parameter, the unlimited parameter
must be false.
retentionPeriod_unlimited :: Lens' RetentionPeriod (Maybe Bool) Source #
If true, your data is kept indefinitely.
If configured to true, you must not specify a value for the
numberOfDays parameter.