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 |
Completes a multipart upload by assembling previously uploaded parts.
You first initiate the multipart upload and then upload all parts using
the
UploadPart
operation. After successfully uploading all relevant parts of an upload,
you call this action to complete the upload. Upon receiving this
request, Amazon S3 concatenates all the parts in ascending order by part
number to create a new object. In the Complete Multipart Upload request,
you must provide the parts list. You must ensure that the parts list is
complete. This action concatenates the parts that you provide in the
list. For each part in the list, you must provide the part number and
the ETag
value, returned after that part was uploaded.
Processing of a Complete Multipart Upload request could take several minutes to complete. After Amazon S3 begins processing the request, it sends an HTTP response header that specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white space characters to keep the connection from timing out. Because a request could fail after the initial 200 OK response has been sent, it is important that you check the response body to determine whether the request succeeded.
Note that if CompleteMultipartUpload
fails, applications should be
prepared to retry the failed requests. For more information, see
Amazon S3 Error Best Practices.
You cannot use Content-Type: application/x-www-form-urlencoded
with
Complete Multipart Upload requests. Also, if you do not provide a
Content-Type
header, CompleteMultipartUpload
returns a 200 OK
response.
For more information about multipart uploads, see Uploading Objects Using Multipart Upload.
For information about permissions required to use the multipart upload API, see Multipart Upload and Permissions.
CompleteMultipartUpload
has the following special errors:
Error code:
EntityTooSmall
- Description: Your proposed upload is smaller than the minimum allowed object size. Each part must be at least 5 MB in size, except the last part.
- 400 Bad Request
Error code:
InvalidPart
- Description: One or more of the specified parts could not be found. The part might not have been uploaded, or the specified entity tag might not have matched the part's entity tag.
- 400 Bad Request
Error code:
InvalidPartOrder
- Description: The list of parts was not in ascending order. The parts list must be specified in order by part number.
- 400 Bad Request
Error code:
NoSuchUpload
- Description: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.
- 404 Not Found
The following operations are related to CompleteMultipartUpload
:
Synopsis
- data CompleteMultipartUpload = CompleteMultipartUpload' {
- checksumCRC32 :: Maybe Text
- checksumCRC32C :: Maybe Text
- checksumSHA1 :: Maybe Text
- checksumSHA256 :: Maybe Text
- expectedBucketOwner :: Maybe Text
- multipartUpload :: Maybe CompletedMultipartUpload
- requestPayer :: Maybe RequestPayer
- sSECustomerAlgorithm :: Maybe Text
- sSECustomerKey :: Maybe (Sensitive Text)
- sSECustomerKeyMD5 :: Maybe Text
- bucket :: BucketName
- key :: ObjectKey
- uploadId :: Text
- newCompleteMultipartUpload :: BucketName -> ObjectKey -> Text -> CompleteMultipartUpload
- completeMultipartUpload_checksumCRC32 :: Lens' CompleteMultipartUpload (Maybe Text)
- completeMultipartUpload_checksumCRC32C :: Lens' CompleteMultipartUpload (Maybe Text)
- completeMultipartUpload_checksumSHA1 :: Lens' CompleteMultipartUpload (Maybe Text)
- completeMultipartUpload_checksumSHA256 :: Lens' CompleteMultipartUpload (Maybe Text)
- completeMultipartUpload_expectedBucketOwner :: Lens' CompleteMultipartUpload (Maybe Text)
- completeMultipartUpload_multipartUpload :: Lens' CompleteMultipartUpload (Maybe CompletedMultipartUpload)
- completeMultipartUpload_requestPayer :: Lens' CompleteMultipartUpload (Maybe RequestPayer)
- completeMultipartUpload_sSECustomerAlgorithm :: Lens' CompleteMultipartUpload (Maybe Text)
- completeMultipartUpload_sSECustomerKey :: Lens' CompleteMultipartUpload (Maybe Text)
- completeMultipartUpload_sSECustomerKeyMD5 :: Lens' CompleteMultipartUpload (Maybe Text)
- completeMultipartUpload_bucket :: Lens' CompleteMultipartUpload BucketName
- completeMultipartUpload_key :: Lens' CompleteMultipartUpload ObjectKey
- completeMultipartUpload_uploadId :: Lens' CompleteMultipartUpload Text
- data CompleteMultipartUploadResponse = CompleteMultipartUploadResponse' {
- bucket :: Maybe BucketName
- bucketKeyEnabled :: Maybe Bool
- checksumCRC32 :: Maybe Text
- checksumCRC32C :: Maybe Text
- checksumSHA1 :: Maybe Text
- checksumSHA256 :: Maybe Text
- eTag :: Maybe ETag
- expiration :: Maybe Text
- key :: Maybe ObjectKey
- location :: Maybe Text
- requestCharged :: Maybe RequestCharged
- sSEKMSKeyId :: Maybe (Sensitive Text)
- serverSideEncryption :: Maybe ServerSideEncryption
- versionId :: Maybe ObjectVersionId
- httpStatus :: Int
- newCompleteMultipartUploadResponse :: Int -> CompleteMultipartUploadResponse
- completeMultipartUploadResponse_bucket :: Lens' CompleteMultipartUploadResponse (Maybe BucketName)
- completeMultipartUploadResponse_bucketKeyEnabled :: Lens' CompleteMultipartUploadResponse (Maybe Bool)
- completeMultipartUploadResponse_checksumCRC32 :: Lens' CompleteMultipartUploadResponse (Maybe Text)
- completeMultipartUploadResponse_checksumCRC32C :: Lens' CompleteMultipartUploadResponse (Maybe Text)
- completeMultipartUploadResponse_checksumSHA1 :: Lens' CompleteMultipartUploadResponse (Maybe Text)
- completeMultipartUploadResponse_checksumSHA256 :: Lens' CompleteMultipartUploadResponse (Maybe Text)
- completeMultipartUploadResponse_eTag :: Lens' CompleteMultipartUploadResponse (Maybe ETag)
- completeMultipartUploadResponse_expiration :: Lens' CompleteMultipartUploadResponse (Maybe Text)
- completeMultipartUploadResponse_key :: Lens' CompleteMultipartUploadResponse (Maybe ObjectKey)
- completeMultipartUploadResponse_location :: Lens' CompleteMultipartUploadResponse (Maybe Text)
- completeMultipartUploadResponse_requestCharged :: Lens' CompleteMultipartUploadResponse (Maybe RequestCharged)
- completeMultipartUploadResponse_sSEKMSKeyId :: Lens' CompleteMultipartUploadResponse (Maybe Text)
- completeMultipartUploadResponse_serverSideEncryption :: Lens' CompleteMultipartUploadResponse (Maybe ServerSideEncryption)
- completeMultipartUploadResponse_versionId :: Lens' CompleteMultipartUploadResponse (Maybe ObjectVersionId)
- completeMultipartUploadResponse_httpStatus :: Lens' CompleteMultipartUploadResponse Int
Creating a Request
data CompleteMultipartUpload Source #
See: newCompleteMultipartUpload
smart constructor.
CompleteMultipartUpload' | |
|
Instances
newCompleteMultipartUpload Source #
:: BucketName | |
-> ObjectKey | |
-> Text | |
-> CompleteMultipartUpload |
Create a value of CompleteMultipartUpload
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:
CompleteMultipartUpload
, completeMultipartUpload_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.
CompleteMultipartUpload
, completeMultipartUpload_checksumCRC32C
- 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 CRC32C checksum of the object. For
more information, see
Checking object integrity
in the Amazon S3 User Guide.
CompleteMultipartUpload
, completeMultipartUpload_checksumSHA1
- 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, 160-bit SHA-1 digest of the object. For
more information, see
Checking object integrity
in the Amazon S3 User Guide.
CompleteMultipartUpload
, completeMultipartUpload_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:expectedBucketOwner:CompleteMultipartUpload'
, completeMultipartUpload_expectedBucketOwner
- The account ID of the expected bucket owner. If the bucket is owned by a
different account, the request fails with the HTTP status code
403 Forbidden
(access denied).
$sel:multipartUpload:CompleteMultipartUpload'
, completeMultipartUpload_multipartUpload
- The container for the multipart upload request information.
$sel:requestPayer:CompleteMultipartUpload'
, completeMultipartUpload_requestPayer
- Undocumented member.
$sel:sSECustomerAlgorithm:CompleteMultipartUpload'
, completeMultipartUpload_sSECustomerAlgorithm
- The server-side encryption (SSE) algorithm used to encrypt the object.
This parameter is needed only when the object was created using a
checksum algorithm. For more information, see
Protecting data using SSE-C keys
in the Amazon S3 User Guide.
$sel:sSECustomerKey:CompleteMultipartUpload'
, completeMultipartUpload_sSECustomerKey
- The server-side encryption (SSE) customer managed key. This parameter is
needed only when the object was created using a checksum algorithm. For
more information, see
Protecting data using SSE-C keys
in the Amazon S3 User Guide.
$sel:sSECustomerKeyMD5:CompleteMultipartUpload'
, completeMultipartUpload_sSECustomerKeyMD5
- The MD5 server-side encryption (SSE) customer managed key. This
parameter is needed only when the object was created using a checksum
algorithm. For more information, see
Protecting data using SSE-C keys
in the Amazon S3 User Guide.
CompleteMultipartUpload
, completeMultipartUpload_bucket
- Name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When using this action with Amazon S3 on Outposts, you must direct
requests to the S3 on Outposts hostname. The S3 on Outposts hostname
takes the form
AccessPointName
-
AccountId
.
outpostID
.s3-outposts.
Region
.amazonaws.com
.
When using this action with S3 on Outposts through the Amazon Web
Services SDKs, you provide the Outposts bucket ARN in place of the
bucket name. For more information about S3 on Outposts ARNs, see
Using Amazon S3 on Outposts
in the Amazon S3 User Guide.
CompleteMultipartUpload
, completeMultipartUpload_key
- Object key for which the multipart upload was initiated.
CompleteMultipartUpload
, completeMultipartUpload_uploadId
- ID for the initiated multipart upload.
Request Lenses
completeMultipartUpload_checksumCRC32 :: Lens' CompleteMultipartUpload (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.
completeMultipartUpload_checksumCRC32C :: Lens' CompleteMultipartUpload (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 CRC32C checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
completeMultipartUpload_checksumSHA1 :: Lens' CompleteMultipartUpload (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, 160-bit SHA-1 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
completeMultipartUpload_checksumSHA256 :: Lens' CompleteMultipartUpload (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.
completeMultipartUpload_expectedBucketOwner :: Lens' CompleteMultipartUpload (Maybe Text) Source #
The account ID of the expected bucket owner. If the bucket is owned by a
different account, the request fails with the HTTP status code
403 Forbidden
(access denied).
completeMultipartUpload_multipartUpload :: Lens' CompleteMultipartUpload (Maybe CompletedMultipartUpload) Source #
The container for the multipart upload request information.
completeMultipartUpload_requestPayer :: Lens' CompleteMultipartUpload (Maybe RequestPayer) Source #
Undocumented member.
completeMultipartUpload_sSECustomerAlgorithm :: Lens' CompleteMultipartUpload (Maybe Text) Source #
The server-side encryption (SSE) algorithm used to encrypt the object. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
completeMultipartUpload_sSECustomerKey :: Lens' CompleteMultipartUpload (Maybe Text) Source #
The server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
completeMultipartUpload_sSECustomerKeyMD5 :: Lens' CompleteMultipartUpload (Maybe Text) Source #
The MD5 server-side encryption (SSE) customer managed key. This parameter is needed only when the object was created using a checksum algorithm. For more information, see Protecting data using SSE-C keys in the Amazon S3 User Guide.
completeMultipartUpload_bucket :: Lens' CompleteMultipartUpload BucketName Source #
Name of the bucket to which the multipart upload was initiated.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When using this action with Amazon S3 on Outposts, you must direct
requests to the S3 on Outposts hostname. The S3 on Outposts hostname
takes the form
AccessPointName
-
AccountId
.
outpostID
.s3-outposts.
Region
.amazonaws.com
.
When using this action with S3 on Outposts through the Amazon Web
Services SDKs, you provide the Outposts bucket ARN in place of the
bucket name. For more information about S3 on Outposts ARNs, see
Using Amazon S3 on Outposts
in the Amazon S3 User Guide.
completeMultipartUpload_key :: Lens' CompleteMultipartUpload ObjectKey Source #
Object key for which the multipart upload was initiated.
completeMultipartUpload_uploadId :: Lens' CompleteMultipartUpload Text Source #
ID for the initiated multipart upload.
Destructuring the Response
data CompleteMultipartUploadResponse Source #
See: newCompleteMultipartUploadResponse
smart constructor.
CompleteMultipartUploadResponse' | |
|
Instances
newCompleteMultipartUploadResponse Source #
Create a value of CompleteMultipartUploadResponse
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:
CompleteMultipartUpload
, completeMultipartUploadResponse_bucket
- The name of the bucket that contains the newly created object. Does not
return the access point ARN or access point alias if used.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When using this action with Amazon S3 on Outposts, you must direct
requests to the S3 on Outposts hostname. The S3 on Outposts hostname
takes the form
AccessPointName
-
AccountId
.
outpostID
.s3-outposts.
Region
.amazonaws.com
.
When using this action with S3 on Outposts through the Amazon Web
Services SDKs, you provide the Outposts bucket ARN in place of the
bucket name. For more information about S3 on Outposts ARNs, see
Using Amazon S3 on Outposts
in the Amazon S3 User Guide.
CompleteMultipartUploadResponse
, completeMultipartUploadResponse_bucketKeyEnabled
- Indicates whether the multipart upload uses an S3 Bucket Key for
server-side encryption with Amazon Web Services KMS (SSE-KMS).
CompleteMultipartUpload
, completeMultipartUploadResponse_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.
CompleteMultipartUpload
, completeMultipartUploadResponse_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.
CompleteMultipartUpload
, completeMultipartUploadResponse_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.
CompleteMultipartUpload
, completeMultipartUploadResponse_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.
CompleteMultipartUploadResponse
, completeMultipartUploadResponse_eTag
- Entity tag that identifies the newly created object's data. Objects
with different object data will have different entity tags. The entity
tag is an opaque string. The entity tag may or may not be an MD5 digest
of the object data. If the entity tag is not an MD5 digest of the object
data, it will contain one or more nonhexadecimal characters and/or will
consist of less than 32 or more than 32 hexadecimal digits. For more
information about how the entity tag is calculated, see
Checking object integrity
in the Amazon S3 User Guide.
CompleteMultipartUploadResponse
, completeMultipartUploadResponse_expiration
- If the object expiration is configured, this will contain the expiration
date (expiry-date
) and rule ID (rule-id
). The value of rule-id
is
URL-encoded.
CompleteMultipartUpload
, completeMultipartUploadResponse_key
- The object key of the newly created object.
$sel:location:CompleteMultipartUploadResponse'
, completeMultipartUploadResponse_location
- The URI that identifies the newly created object.
$sel:requestCharged:CompleteMultipartUploadResponse'
, completeMultipartUploadResponse_requestCharged
- Undocumented member.
$sel:sSEKMSKeyId:CompleteMultipartUploadResponse'
, completeMultipartUploadResponse_sSEKMSKeyId
- If present, specifies the ID of the Amazon Web Services Key Management
Service (Amazon Web Services KMS) symmetric customer managed key that
was used for the object.
$sel:serverSideEncryption:CompleteMultipartUploadResponse'
, completeMultipartUploadResponse_serverSideEncryption
- If you specified server-side encryption either with an Amazon S3-managed
encryption key or an Amazon Web Services KMS key in your initiate
multipart upload request, the response includes this header. It confirms
the encryption algorithm that Amazon S3 used to encrypt the object.
CompleteMultipartUploadResponse
, completeMultipartUploadResponse_versionId
- Version ID of the newly created object, in case the bucket has
versioning turned on.
$sel:httpStatus:CompleteMultipartUploadResponse'
, completeMultipartUploadResponse_httpStatus
- The response's http status code.
Response Lenses
completeMultipartUploadResponse_bucket :: Lens' CompleteMultipartUploadResponse (Maybe BucketName) Source #
The name of the bucket that contains the newly created object. Does not return the access point ARN or access point alias if used.
When using this action with an access point, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see Using access points in the Amazon S3 User Guide.
When using this action with Amazon S3 on Outposts, you must direct
requests to the S3 on Outposts hostname. The S3 on Outposts hostname
takes the form
AccessPointName
-
AccountId
.
outpostID
.s3-outposts.
Region
.amazonaws.com
.
When using this action with S3 on Outposts through the Amazon Web
Services SDKs, you provide the Outposts bucket ARN in place of the
bucket name. For more information about S3 on Outposts ARNs, see
Using Amazon S3 on Outposts
in the Amazon S3 User Guide.
completeMultipartUploadResponse_bucketKeyEnabled :: Lens' CompleteMultipartUploadResponse (Maybe Bool) Source #
Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
completeMultipartUploadResponse_checksumCRC32 :: Lens' CompleteMultipartUploadResponse (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.
completeMultipartUploadResponse_checksumCRC32C :: Lens' CompleteMultipartUploadResponse (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.
completeMultipartUploadResponse_checksumSHA1 :: Lens' CompleteMultipartUploadResponse (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.
completeMultipartUploadResponse_checksumSHA256 :: Lens' CompleteMultipartUploadResponse (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.
completeMultipartUploadResponse_eTag :: Lens' CompleteMultipartUploadResponse (Maybe ETag) Source #
Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits. For more information about how the entity tag is calculated, see Checking object integrity in the Amazon S3 User Guide.
completeMultipartUploadResponse_expiration :: Lens' CompleteMultipartUploadResponse (Maybe Text) Source #
If the object expiration is configured, this will contain the expiration
date (expiry-date
) and rule ID (rule-id
). The value of rule-id
is
URL-encoded.
completeMultipartUploadResponse_key :: Lens' CompleteMultipartUploadResponse (Maybe ObjectKey) Source #
The object key of the newly created object.
completeMultipartUploadResponse_location :: Lens' CompleteMultipartUploadResponse (Maybe Text) Source #
The URI that identifies the newly created object.
completeMultipartUploadResponse_requestCharged :: Lens' CompleteMultipartUploadResponse (Maybe RequestCharged) Source #
Undocumented member.
completeMultipartUploadResponse_sSEKMSKeyId :: Lens' CompleteMultipartUploadResponse (Maybe Text) Source #
If present, specifies the ID of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric customer managed key that was used for the object.
completeMultipartUploadResponse_serverSideEncryption :: Lens' CompleteMultipartUploadResponse (Maybe ServerSideEncryption) Source #
If you specified server-side encryption either with an Amazon S3-managed encryption key or an Amazon Web Services KMS key in your initiate multipart upload request, the response includes this header. It confirms the encryption algorithm that Amazon S3 used to encrypt the object.
completeMultipartUploadResponse_versionId :: Lens' CompleteMultipartUploadResponse (Maybe ObjectVersionId) Source #
Version ID of the newly created object, in case the bucket has versioning turned on.
completeMultipartUploadResponse_httpStatus :: Lens' CompleteMultipartUploadResponse Int Source #
The response's http status code.