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 NoncurrentVersionExpiration Source #
Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime.
See: newNoncurrentVersionExpiration
smart constructor.
NoncurrentVersionExpiration' | |
|
Instances
newNoncurrentVersionExpiration Source #
Create a value of NoncurrentVersionExpiration
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:noncurrentDays:NoncurrentVersionExpiration'
, noncurrentVersionExpiration_noncurrentDays
- Specifies the number of days an object is noncurrent before Amazon S3
can perform the associated action. For information about the noncurrent
days calculations, see
How Amazon S3 Calculates When an Object Became Noncurrent
in the Amazon S3 User Guide.
noncurrentVersionExpiration_noncurrentDays :: Lens' NoncurrentVersionExpiration Int Source #
Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. For information about the noncurrent days calculations, see How Amazon S3 Calculates When an Object Became Noncurrent in the Amazon S3 User Guide.