libZSservicesZSamazonka-s3ZSamazonka-s3
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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, 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.

Constructors

NoncurrentVersionTransition' 

Fields

Instances

Instances details
Eq NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

Read NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

Show 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 #

NFData NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

Hashable NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

FromXML NoncurrentVersionTransition Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionTransition

ToXML 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" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "NoncurrentVersionTransition'" 'PrefixI 'True) (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: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.