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 NoncurrentVersionTransition = NoncurrentVersionTransition' {}
- newNoncurrentVersionTransition :: Int -> TransitionStorageClass -> NoncurrentVersionTransition
- noncurrentVersionTransition_newerNoncurrentVersions :: Lens' NoncurrentVersionTransition (Maybe Int)
- 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_IR
, 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_IR
,
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:newerNoncurrentVersions':NoncurrentVersionTransition'
, noncurrentVersionTransition_newerNoncurrentVersions
- Specifies how many noncurrent versions Amazon S3 will retain. If there
are this many more recent noncurrent versions, Amazon S3 will take the
associated action. For more information about noncurrent versions, see
Lifecycle configuration elements
in the Amazon S3 User Guide.
$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_newerNoncurrentVersions :: Lens' NoncurrentVersionTransition (Maybe Int) Source #
Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent versions, see Lifecycle configuration elements in the Amazon S3 User Guide.
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.