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

Description

 
Synopsis

Documentation

data CopyObjectResult Source #

Container for all response elements.

See: newCopyObjectResult smart constructor.

Constructors

CopyObjectResult' 

Fields

  • eTag :: Maybe ETag

    Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.

  • lastModified :: Maybe ISO8601

    Creation date of the object.

Instances

Instances details
Eq CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

Read CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

Show CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

Generic CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

Associated Types

type Rep CopyObjectResult :: Type -> Type #

NFData CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

Methods

rnf :: CopyObjectResult -> () #

Hashable CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

FromXML CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

type Rep CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

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

newCopyObjectResult :: CopyObjectResult Source #

Create a value of CopyObjectResult 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:CopyObjectResult', copyObjectResult_eTag - Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.

$sel:lastModified:CopyObjectResult', copyObjectResult_lastModified - Creation date of the object.

copyObjectResult_eTag :: Lens' CopyObjectResult (Maybe ETag) Source #

Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.