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 ObjectLockRetention Source #
A Retention configuration for an object.
See: newObjectLockRetention
smart constructor.
ObjectLockRetention' | |
|
Instances
newObjectLockRetention :: ObjectLockRetention Source #
Create a value of ObjectLockRetention
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:mode:ObjectLockRetention'
, objectLockRetention_mode
- Indicates the Retention mode for the specified object.
$sel:retainUntilDate:ObjectLockRetention'
, objectLockRetention_retainUntilDate
- The date on which this Object Lock Retention will expire.
objectLockRetention_mode :: Lens' ObjectLockRetention (Maybe ObjectLockRetentionMode) Source #
Indicates the Retention mode for the specified object.
objectLockRetention_retainUntilDate :: Lens' ObjectLockRetention (Maybe UTCTime) Source #
The date on which this Object Lock Retention will expire.