| 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.RBin.Types.RetentionPeriod
Description
Documentation
data RetentionPeriod Source #
Information about the retention period for which the retention rule is to retain resources.
See: newRetentionPeriod smart constructor.
Constructors
| RetentionPeriod' | |
Fields
| |
Instances
Arguments
| :: Natural | |
| -> RetentionPeriodUnit | |
| -> RetentionPeriod |
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:retentionPeriodValue:RetentionPeriod', retentionPeriod_retentionPeriodValue - The period value for which the retention rule is to retain resources.
The period is measured using the unit specified for
RetentionPeriodUnit.
$sel:retentionPeriodUnit:RetentionPeriod', retentionPeriod_retentionPeriodUnit - The unit of time in which the retention period is measured. Currently,
only DAYS is supported.
retentionPeriod_retentionPeriodValue :: Lens' RetentionPeriod Natural Source #
The period value for which the retention rule is to retain resources. The period is measured using the unit specified for RetentionPeriodUnit.
retentionPeriod_retentionPeriodUnit :: Lens' RetentionPeriod RetentionPeriodUnit Source #
The unit of time in which the retention period is measured. Currently,
only DAYS is supported.