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

Description

 
Synopsis

Documentation

data Part Source #

Container for elements related to a part.

See: newPart smart constructor.

Constructors

Part' 

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

    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, 256-bit SHA-256 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

  • eTag :: Maybe ETag

    Entity tag returned when the part was uploaded.

  • lastModified :: Maybe RFC822

    Date and time at which the part was uploaded.

  • partNumber :: Maybe Int

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

  • size :: Maybe Integer

    Size in bytes of the uploaded part data.

Instances

Instances details
FromXML Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Methods

parseXML :: [Node] -> Either String Part #

Generic Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Associated Types

type Rep Part :: Type -> Type #

Methods

from :: Part -> Rep Part x #

to :: Rep Part x -> Part #

Read Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Show Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Methods

showsPrec :: Int -> Part -> ShowS #

show :: Part -> String #

showList :: [Part] -> ShowS #

NFData Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Methods

rnf :: Part -> () #

Eq Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Methods

(==) :: Part -> Part -> Bool #

(/=) :: Part -> Part -> Bool #

Hashable Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

Methods

hashWithSalt :: Int -> Part -> Int #

hash :: Part -> Int #

type Rep Part Source # 
Instance details

Defined in Amazonka.S3.Types.Part

newPart :: Part Source #

Create a value of Part 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:Part', part_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:Part', part_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:Part', part_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:Part', part_checksumSHA256 - 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, 256-bit SHA-256 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

$sel:eTag:Part', part_eTag - Entity tag returned when the part was uploaded.

$sel:lastModified:Part', part_lastModified - Date and time at which the part was uploaded.

$sel:partNumber:Part', part_partNumber - Part number identifying the part. This is a positive integer between 1 and 10,000.

$sel:size:Part', part_size - Size in bytes of the uploaded part data.

part_checksumCRC32 :: Lens' Part (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.

part_checksumCRC32C :: Lens' Part (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.

part_checksumSHA1 :: Lens' Part (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.

part_checksumSHA256 :: Lens' Part (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, 256-bit SHA-256 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

part_eTag :: Lens' Part (Maybe ETag) Source #

Entity tag returned when the part was uploaded.

part_lastModified :: Lens' Part (Maybe UTCTime) Source #

Date and time at which the part was uploaded.

part_partNumber :: Lens' Part (Maybe Int) Source #

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

part_size :: Lens' Part (Maybe Integer) Source #

Size in bytes of the uploaded part data.