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

Description

 
Synopsis

Documentation

data ObjectLockLegalHold Source #

A Legal Hold configuration for an object.

See: newObjectLockLegalHold smart constructor.

Constructors

ObjectLockLegalHold' 

Fields

Instances

Instances details
Eq ObjectLockLegalHold Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockLegalHold

Read ObjectLockLegalHold Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockLegalHold

Show ObjectLockLegalHold Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockLegalHold

Generic ObjectLockLegalHold Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockLegalHold

Associated Types

type Rep ObjectLockLegalHold :: Type -> Type #

NFData ObjectLockLegalHold Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockLegalHold

Methods

rnf :: ObjectLockLegalHold -> () #

Hashable ObjectLockLegalHold Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockLegalHold

FromXML ObjectLockLegalHold Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockLegalHold

ToXML ObjectLockLegalHold Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockLegalHold

type Rep ObjectLockLegalHold Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectLockLegalHold

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

newObjectLockLegalHold :: ObjectLockLegalHold Source #

Create a value of ObjectLockLegalHold 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:status:ObjectLockLegalHold', objectLockLegalHold_status - Indicates whether the specified object has a Legal Hold in place.

objectLockLegalHold_status :: Lens' ObjectLockLegalHold (Maybe ObjectLockLegalHoldStatus) Source #

Indicates whether the specified object has a Legal Hold in place.