amazonka-s3-2.0: Amazon Simple Storage Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.S3.Types.CopyObjectResult

Description

 
Synopsis

Documentation

data CopyObjectResult Source #

Container for all response elements.

See: newCopyObjectResult smart constructor.

Constructors

CopyObjectResult' 

Fields

  • checksumCRC32 :: Maybe Text

    The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

  • checksumCRC32C :: Maybe Text

    The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

  • checksumSHA1 :: Maybe Text

    The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

  • checksumSHA256 :: Maybe Text

    The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

  • 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 RFC822

    Creation date of the object.

Instances

Instances details
FromXML 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 #

Read CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

Show CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

NFData CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

Methods

rnf :: CopyObjectResult -> () #

Eq CopyObjectResult Source # 
Instance details

Defined in Amazonka.S3.Types.CopyObjectResult

Hashable 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" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "CopyObjectResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "checksumCRC32") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "checksumCRC32C") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "checksumSHA1") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "checksumSHA256") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ETag)) :*: S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RFC822))))))

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:checksumCRC32:CopyObjectResult', copyObjectResult_checksumCRC32 - The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

$sel:checksumCRC32C:CopyObjectResult', copyObjectResult_checksumCRC32C - The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

$sel:checksumSHA1:CopyObjectResult', copyObjectResult_checksumSHA1 - The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

$sel:checksumSHA256:CopyObjectResult', copyObjectResult_checksumSHA256 - The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

$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_checksumCRC32 :: Lens' CopyObjectResult (Maybe Text) Source #

The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

copyObjectResult_checksumCRC32C :: Lens' CopyObjectResult (Maybe Text) Source #

The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

copyObjectResult_checksumSHA1 :: Lens' CopyObjectResult (Maybe Text) Source #

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

copyObjectResult_checksumSHA256 :: Lens' CopyObjectResult (Maybe Text) Source #

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. With multipart uploads, this may not be a checksum value of the object. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide.

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.