Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Completes a multipart upload by assembling previously uploaded parts.
Synopsis
- completeMultipartUpload :: BucketName -> ObjectKey -> Text -> CompleteMultipartUpload
- data CompleteMultipartUpload
- cRequestPayer :: Lens' CompleteMultipartUpload (Maybe RequestPayer)
- cMultipartUpload :: Lens' CompleteMultipartUpload (Maybe CompletedMultipartUpload)
- cBucket :: Lens' CompleteMultipartUpload BucketName
- cKey :: Lens' CompleteMultipartUpload ObjectKey
- cUploadId :: Lens' CompleteMultipartUpload Text
- completeMultipartUploadResponse :: Int -> CompleteMultipartUploadResponse
- data CompleteMultipartUploadResponse
- crsRequestCharged :: Lens' CompleteMultipartUploadResponse (Maybe RequestCharged)
- crsETag :: Lens' CompleteMultipartUploadResponse (Maybe ETag)
- crsVersionId :: Lens' CompleteMultipartUploadResponse (Maybe ObjectVersionId)
- crsLocation :: Lens' CompleteMultipartUploadResponse (Maybe Text)
- crsExpiration :: Lens' CompleteMultipartUploadResponse (Maybe Text)
- crsBucket :: Lens' CompleteMultipartUploadResponse (Maybe BucketName)
- crsKey :: Lens' CompleteMultipartUploadResponse (Maybe ObjectKey)
- crsSSEKMSKeyId :: Lens' CompleteMultipartUploadResponse (Maybe Text)
- crsServerSideEncryption :: Lens' CompleteMultipartUploadResponse (Maybe ServerSideEncryption)
- crsResponseStatus :: Lens' CompleteMultipartUploadResponse Int
Creating a Request
completeMultipartUpload Source #
Creates a value of CompleteMultipartUpload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cRequestPayer
- Undocumented member.cMultipartUpload
- Undocumented member.cBucket
- Undocumented member.cKey
- Undocumented member.cUploadId
- Undocumented member.
data CompleteMultipartUpload Source #
See: completeMultipartUpload
smart constructor.
Instances
Request Lenses
cRequestPayer :: Lens' CompleteMultipartUpload (Maybe RequestPayer) Source #
Undocumented member.
cMultipartUpload :: Lens' CompleteMultipartUpload (Maybe CompletedMultipartUpload) Source #
Undocumented member.
cBucket :: Lens' CompleteMultipartUpload BucketName Source #
Undocumented member.
Destructuring the Response
completeMultipartUploadResponse Source #
Creates a value of CompleteMultipartUploadResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
crsRequestCharged
- Undocumented member.crsETag
- Entity tag of the object.crsVersionId
- Version of the object.crsLocation
- Undocumented member.crsExpiration
- 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.crsBucket
- Undocumented member.crsKey
- Undocumented member.crsSSEKMSKeyId
- If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object.crsServerSideEncryption
- The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).crsResponseStatus
- -- | The response status code.
data CompleteMultipartUploadResponse Source #
See: completeMultipartUploadResponse
smart constructor.
Instances
Response Lenses
crsRequestCharged :: Lens' CompleteMultipartUploadResponse (Maybe RequestCharged) Source #
Undocumented member.
crsVersionId :: Lens' CompleteMultipartUploadResponse (Maybe ObjectVersionId) Source #
Version of the object.
crsLocation :: Lens' CompleteMultipartUploadResponse (Maybe Text) Source #
Undocumented member.
crsExpiration :: 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.
crsBucket :: Lens' CompleteMultipartUploadResponse (Maybe BucketName) Source #
Undocumented member.
crsSSEKMSKeyId :: Lens' CompleteMultipartUploadResponse (Maybe Text) Source #
If present, specifies the ID of the AWS Key Management Service (KMS) master encryption key that was used for the object.
crsServerSideEncryption :: Lens' CompleteMultipartUploadResponse (Maybe ServerSideEncryption) Source #
The Server-side encryption algorithm used when storing this object in S3 (e.g., AES256, aws:kms).
crsResponseStatus :: Lens' CompleteMultipartUploadResponse Int Source #
- - | The response status code.