| 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.S3.Types.ObjectLockRetention
Description
Documentation
data ObjectLockRetention Source #
A Retention configuration for an object.
See: newObjectLockRetention smart constructor.
Constructors
| ObjectLockRetention' | |
Fields
| |
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.