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 |
Synopsis
- data RuleSummary = RuleSummary' {}
- newRuleSummary :: RuleSummary
- ruleSummary_description :: Lens' RuleSummary (Maybe Text)
- ruleSummary_identifier :: Lens' RuleSummary (Maybe Text)
- ruleSummary_lockState :: Lens' RuleSummary (Maybe LockState)
- ruleSummary_retentionPeriod :: Lens' RuleSummary (Maybe RetentionPeriod)
Documentation
data RuleSummary Source #
Information about a Recycle Bin retention rule.
See: newRuleSummary
smart constructor.
RuleSummary' | |
|
Instances
newRuleSummary :: RuleSummary Source #
Create a value of RuleSummary
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:description:RuleSummary'
, ruleSummary_description
- The retention rule description.
$sel:identifier:RuleSummary'
, ruleSummary_identifier
- The unique ID of the retention rule.
$sel:lockState:RuleSummary'
, ruleSummary_lockState
- The lock state for the retention rule.
locked
- The retention rule is locked and can't be modified or deleted.pending_unlock
- The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired.unlocked
- The retention rule is unlocked and it can be modified or deleted by any user with the required permissions.null
- The retention rule has never been locked. Once a retention rule has been locked, it can transition between thelocked
andunlocked
states only; it can never transition back tonull
.
$sel:retentionPeriod:RuleSummary'
, ruleSummary_retentionPeriod
- Information about the retention period for which the retention rule is
to retain resources.
ruleSummary_description :: Lens' RuleSummary (Maybe Text) Source #
The retention rule description.
ruleSummary_identifier :: Lens' RuleSummary (Maybe Text) Source #
The unique ID of the retention rule.
ruleSummary_lockState :: Lens' RuleSummary (Maybe LockState) Source #
The lock state for the retention rule.
locked
- The retention rule is locked and can't be modified or deleted.pending_unlock
- The retention rule has been unlocked but it is still within the unlock delay period. The retention rule can be modified or deleted only after the unlock delay period has expired.unlocked
- The retention rule is unlocked and it can be modified or deleted by any user with the required permissions.null
- The retention rule has never been locked. Once a retention rule has been locked, it can transition between thelocked
andunlocked
states only; it can never transition back tonull
.
ruleSummary_retentionPeriod :: Lens' RuleSummary (Maybe RetentionPeriod) Source #
Information about the retention period for which the retention rule is to retain resources.