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 |
Synopsis
- data NoncurrentVersionTransition = NoncurrentVersionTransition' {}
- newNoncurrentVersionTransition :: Int -> TransitionStorageClass -> NoncurrentVersionTransition
- noncurrentVersionTransition_noncurrentDays :: Lens' NoncurrentVersionTransition Int
- noncurrentVersionTransition_storageClass :: Lens' NoncurrentVersionTransition TransitionStorageClass
Documentation
data NoncurrentVersionTransition Source #
Container for the transition rule that describes when noncurrent objects
transition to the STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
,
GLACIER
, or DEEP_ARCHIVE
storage class. If your bucket is
versioning-enabled (or versioning is suspended), you can set this action
to request that Amazon S3 transition noncurrent object versions to the
STANDARD_IA
, ONEZONE_IA
, INTELLIGENT_TIERING
, GLACIER
, or
DEEP_ARCHIVE
storage class at a specific period in the object's
lifetime.
See: newNoncurrentVersionTransition
smart constructor.
NoncurrentVersionTransition' | |
|
Instances
newNoncurrentVersionTransition Source #
Create a value of NoncurrentVersionTransition
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:NoncurrentVersionTransition'
, noncurrentVersionTransition_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 How Long an Object Has Been Noncurrent
in the Amazon S3 User Guide.
$sel:storageClass:NoncurrentVersionTransition'
, noncurrentVersionTransition_storageClass
- The class of storage used to store the object.
noncurrentVersionTransition_noncurrentDays :: Lens' NoncurrentVersionTransition 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 How Long an Object Has Been Noncurrent in the Amazon S3 User Guide.
noncurrentVersionTransition_storageClass :: Lens' NoncurrentVersionTransition TransitionStorageClass Source #
The class of storage used to store the object.