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

Description

 
Synopsis

Documentation

data ObjectPart Source #

A container for elements related to an individual part.

See: newObjectPart smart constructor.

Constructors

ObjectPart' 

Fields

  • checksumCRC32 :: Maybe Text

    This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, 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.

  • partNumber :: Maybe Int

    The part number identifying the part. This value is a positive integer between 1 and 10,000.

  • size :: Maybe Integer

    The size of the uploaded part in bytes.

Instances

Instances details
FromXML ObjectPart Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectPart

Generic ObjectPart Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectPart

Associated Types

type Rep ObjectPart :: Type -> Type #

Read ObjectPart Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectPart

Show ObjectPart Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectPart

NFData ObjectPart Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectPart

Methods

rnf :: ObjectPart -> () #

Eq ObjectPart Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectPart

Hashable ObjectPart Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectPart

type Rep ObjectPart Source # 
Instance details

Defined in Amazonka.S3.Types.ObjectPart

type Rep ObjectPart = D1 ('MetaData "ObjectPart" "Amazonka.S3.Types.ObjectPart" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "ObjectPart'" '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 "partNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newObjectPart :: ObjectPart Source #

Create a value of ObjectPart 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:ObjectPart', objectPart_checksumCRC32 - This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

$sel:checksumCRC32C:ObjectPart', objectPart_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:ObjectPart', objectPart_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:ObjectPart', objectPart_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:partNumber:ObjectPart', objectPart_partNumber - The part number identifying the part. This value is a positive integer between 1 and 10,000.

$sel:size:ObjectPart', objectPart_size - The size of the uploaded part in bytes.

objectPart_checksumCRC32 :: Lens' ObjectPart (Maybe Text) Source #

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC32 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

objectPart_checksumCRC32C :: Lens' ObjectPart (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.

objectPart_checksumSHA1 :: Lens' ObjectPart (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.

objectPart_checksumSHA256 :: Lens' ObjectPart (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.

objectPart_partNumber :: Lens' ObjectPart (Maybe Int) Source #

The part number identifying the part. This value is a positive integer between 1 and 10,000.

objectPart_size :: Lens' ObjectPart (Maybe Integer) Source #

The size of the uploaded part in bytes.