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 Part = Part' {
- checksumCRC32 :: Maybe Text
- checksumCRC32C :: Maybe Text
- checksumSHA1 :: Maybe Text
- checksumSHA256 :: Maybe Text
- eTag :: Maybe ETag
- lastModified :: Maybe RFC822
- partNumber :: Maybe Int
- size :: Maybe Integer
- newPart :: Part
- part_checksumCRC32 :: Lens' Part (Maybe Text)
- part_checksumCRC32C :: Lens' Part (Maybe Text)
- part_checksumSHA1 :: Lens' Part (Maybe Text)
- part_checksumSHA256 :: Lens' Part (Maybe Text)
- part_eTag :: Lens' Part (Maybe ETag)
- part_lastModified :: Lens' Part (Maybe UTCTime)
- part_partNumber :: Lens' Part (Maybe Int)
- part_size :: Lens' Part (Maybe Integer)
Documentation
Container for elements related to a part.
See: newPart
smart constructor.
Part' | |
|
Instances
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_lastModified :: Lens' Part (Maybe UTCTime) Source #
Date and time at which the part was uploaded.