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 |
Synopsis
- data CompletedPart = CompletedPart' {
- checksumCRC32 :: Maybe Text
- checksumCRC32C :: Maybe Text
- checksumSHA1 :: Maybe Text
- checksumSHA256 :: Maybe Text
- partNumber :: Int
- eTag :: ETag
- newCompletedPart :: Int -> ETag -> CompletedPart
- completedPart_checksumCRC32 :: Lens' CompletedPart (Maybe Text)
- completedPart_checksumCRC32C :: Lens' CompletedPart (Maybe Text)
- completedPart_checksumSHA1 :: Lens' CompletedPart (Maybe Text)
- completedPart_checksumSHA256 :: Lens' CompletedPart (Maybe Text)
- completedPart_partNumber :: Lens' CompletedPart Int
- completedPart_eTag :: Lens' CompletedPart ETag
Documentation
data CompletedPart Source #
Details of the parts that were uploaded.
See: newCompletedPart
smart constructor.
CompletedPart' | |
|
Instances
Create a value of CompletedPart
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:CompletedPart'
, completedPart_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:CompletedPart'
, completedPart_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:CompletedPart'
, completedPart_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:CompletedPart'
, completedPart_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:CompletedPart'
, completedPart_partNumber
- Part number that identifies the part. This is a positive integer between
1 and 10,000.
$sel:eTag:CompletedPart'
, completedPart_eTag
- Entity tag returned when the part was uploaded.
completedPart_checksumCRC32 :: Lens' CompletedPart (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.
completedPart_checksumCRC32C :: Lens' CompletedPart (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.
completedPart_checksumSHA1 :: Lens' CompletedPart (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.
completedPart_checksumSHA256 :: Lens' CompletedPart (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.
completedPart_partNumber :: Lens' CompletedPart Int Source #
Part number that identifies the part. This is a positive integer between 1 and 10,000.
completedPart_eTag :: Lens' CompletedPart ETag Source #
Entity tag returned when the part was uploaded.