Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.S3.Types.Checksum
Description
Synopsis
Documentation
Contains all the possible checksum or digest values for an object.
See: newChecksum
smart constructor.
Constructors
Checksum' | |
Fields
|
Instances
FromXML Checksum Source # | |
Generic Checksum Source # | |
Read Checksum Source # | |
Show Checksum Source # | |
NFData Checksum Source # | |
Defined in Amazonka.S3.Types.Checksum | |
Eq Checksum Source # | |
Hashable Checksum Source # | |
Defined in Amazonka.S3.Types.Checksum | |
type Rep Checksum Source # | |
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.