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 ObjectPart = ObjectPart' {}
- newObjectPart :: ObjectPart
- objectPart_checksumCRC32 :: Lens' ObjectPart (Maybe Text)
- objectPart_checksumCRC32C :: Lens' ObjectPart (Maybe Text)
- objectPart_checksumSHA1 :: Lens' ObjectPart (Maybe Text)
- objectPart_checksumSHA256 :: Lens' ObjectPart (Maybe Text)
- objectPart_partNumber :: Lens' ObjectPart (Maybe Int)
- objectPart_size :: Lens' ObjectPart (Maybe Integer)
Documentation
data ObjectPart Source #
A container for elements related to an individual part.
See: newObjectPart
smart constructor.
ObjectPart' | |
|
Instances
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.