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

Description

 
Synopsis

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.

Constructors

NoncurrentVersionExpiration' 

Fields

Instances

Instances details
Eq NoncurrentVersionExpiration Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionExpiration

Read NoncurrentVersionExpiration Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionExpiration

Show NoncurrentVersionExpiration Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionExpiration

Generic NoncurrentVersionExpiration Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionExpiration

Associated Types

type Rep NoncurrentVersionExpiration :: Type -> Type #

NFData NoncurrentVersionExpiration Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionExpiration

Hashable NoncurrentVersionExpiration Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionExpiration

FromXML NoncurrentVersionExpiration Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionExpiration

ToXML NoncurrentVersionExpiration Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionExpiration

type Rep NoncurrentVersionExpiration Source # 
Instance details

Defined in Amazonka.S3.Types.NoncurrentVersionExpiration

type Rep NoncurrentVersionExpiration = D1 ('MetaData "NoncurrentVersionExpiration" "Amazonka.S3.Types.NoncurrentVersionExpiration" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "NoncurrentVersionExpiration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "noncurrentDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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.