amazonka-s3-2.0: Amazon Simple Storage Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.S3.Types.NoncurrentVersionTransition

Description

 
Synopsis

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.

Constructors

NoncurrentVersionTransition' 

Fields

Instances

Instances details
FromXML NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

ToXML NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

Generic NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

Associated Types

type Rep NoncurrentVersionTransition :: Type -> Type #

Read NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

Show NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

NFData NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

Eq NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

Hashable NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

type Rep NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

type Rep NoncurrentVersionTransition = D1 ('MetaData "NoncurrentVersionTransition" "Amazonka.S3.Types.NoncurrentVersionTransition" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "NoncurrentVersionTransition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "newerNoncurrentVersions'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "noncurrentDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "storageClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TransitionStorageClass))))

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.