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

Description

 
Synopsis

Documentation

data ObjectVersion Source #

The version of an object.

See: newObjectVersion smart constructor.

Constructors

ObjectVersion' 

Fields

Instances

Instances details
Eq ObjectVersion Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectVersion

Read ObjectVersion Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectVersion

Show ObjectVersion Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectVersion

Generic ObjectVersion Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectVersion

Associated Types

type Rep ObjectVersion :: Type -> Type #

NFData ObjectVersion Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectVersion

Methods

rnf :: ObjectVersion -> () #

Hashable ObjectVersion Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectVersion

FromXML ObjectVersion Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectVersion

type Rep ObjectVersion Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectVersion

newObjectVersion :: ObjectVersion Source #

Create a value of ObjectVersion 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:eTag:ObjectVersion', objectVersion_eTag - The entity tag is an MD5 hash of that version of the object.

$sel:versionId:ObjectVersion', objectVersion_versionId - Version ID of an object.

$sel:size:ObjectVersion', objectVersion_size - Size in bytes of the object.

$sel:isLatest:ObjectVersion', objectVersion_isLatest - Specifies whether the object is (true) or is not (false) the latest version of an object.

$sel:owner:ObjectVersion', objectVersion_owner - Specifies the owner of the object.

$sel:key:ObjectVersion', objectVersion_key - The object key.

$sel:storageClass:ObjectVersion', objectVersion_storageClass - The class of storage used to store the object.

$sel:lastModified:ObjectVersion', objectVersion_lastModified - Date and time the object was last modified.

objectVersion_eTag :: Lens' ObjectVersion (Maybe ETag) Source #

The entity tag is an MD5 hash of that version of the object.

objectVersion_size :: Lens' ObjectVersion (Maybe Integer) Source #

Size in bytes of the object.

objectVersion_isLatest :: Lens' ObjectVersion (Maybe Bool) Source #

Specifies whether the object is (true) or is not (false) the latest version of an object.

objectVersion_owner :: Lens' ObjectVersion (Maybe Owner) Source #

Specifies the owner of the object.

objectVersion_storageClass :: Lens' ObjectVersion (Maybe ObjectVersionStorageClass) Source #

The class of storage used to store the object.

objectVersion_lastModified :: Lens' ObjectVersion (Maybe UTCTime) Source #

Date and time the object was last modified.