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

Description

 
Synopsis

Documentation

data ObjectLockRetention Source #

A Retention configuration for an object.

See: newObjectLockRetention smart constructor.

Constructors

ObjectLockRetention' 

Fields

Instances

Instances details
Eq ObjectLockRetention Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockRetention

Read ObjectLockRetention Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockRetention

Show ObjectLockRetention Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockRetention

Generic ObjectLockRetention Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockRetention

Associated Types

type Rep ObjectLockRetention :: Type -> Type #

NFData ObjectLockRetention Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockRetention

Methods

rnf :: ObjectLockRetention -> () #

Hashable ObjectLockRetention Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockRetention

FromXML ObjectLockRetention Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockRetention

ToXML ObjectLockRetention Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockRetention

type Rep ObjectLockRetention Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockRetention

type Rep ObjectLockRetention = D1 ('MetaData "ObjectLockRetention" "Amazonka.S3.Types.ObjectLockRetention" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "ObjectLockRetention'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectLockRetentionMode)) :*: S1 ('MetaSel ('Just "retainUntilDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))

newObjectLockRetention :: ObjectLockRetention Source #

Create a value of ObjectLockRetention 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:mode:ObjectLockRetention', objectLockRetention_mode - Indicates the Retention mode for the specified object.

$sel:retainUntilDate:ObjectLockRetention', objectLockRetention_retainUntilDate - The date on which this Object Lock Retention will expire.

objectLockRetention_mode :: Lens' ObjectLockRetention (Maybe ObjectLockRetentionMode) Source #

Indicates the Retention mode for the specified object.

objectLockRetention_retainUntilDate :: Lens' ObjectLockRetention (Maybe UTCTime) Source #

The date on which this Object Lock Retention will expire.