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

Description

 
Synopsis

Documentation

data Checksum Source #

Contains all the possible checksum or digest values for an object.

See: newChecksum smart constructor.

Constructors

Checksum' 

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.

Instances

Instances details
FromXML Checksum Source # 
Instance details

Defined in Amazonka.S3.Types.Checksum

Generic Checksum Source # 
Instance details

Defined in Amazonka.S3.Types.Checksum

Associated Types

type Rep Checksum :: Type -> Type #

Methods

from :: Checksum -> Rep Checksum x #

to :: Rep Checksum x -> Checksum #

Read Checksum Source # 
Instance details

Defined in Amazonka.S3.Types.Checksum

Show Checksum Source # 
Instance details

Defined in Amazonka.S3.Types.Checksum

NFData Checksum Source # 
Instance details

Defined in Amazonka.S3.Types.Checksum

Methods

rnf :: Checksum -> () #

Eq Checksum Source # 
Instance details

Defined in Amazonka.S3.Types.Checksum

Hashable Checksum Source # 
Instance details

Defined in Amazonka.S3.Types.Checksum

Methods

hashWithSalt :: Int -> Checksum -> Int #

hash :: Checksum -> Int #

type Rep Checksum Source # 
Instance details

Defined in Amazonka.S3.Types.Checksum

type Rep Checksum = D1 ('MetaData "Checksum" "Amazonka.S3.Types.Checksum" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "Checksum'" '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)))))

newChecksum :: Checksum Source #

Create a value of Checksum 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:Checksum', checksum_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:Checksum', checksum_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:Checksum', checksum_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:Checksum', checksum_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.

checksum_checksumCRC32 :: Lens' Checksum (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.

checksum_checksumCRC32C :: Lens' Checksum (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.

checksum_checksumSHA1 :: Lens' Checksum (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.

checksum_checksumSHA256 :: Lens' Checksum (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.