Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Aborts a multipart upload.
To verify that all parts have been removed, so you don't get charged for the part storage, you should call the List Parts operation and ensure the parts list is empty.
See: AWS API Reference for AbortMultipartUpload.
- abortMultipartUpload :: BucketName -> ObjectKey -> Text -> AbortMultipartUpload
- data AbortMultipartUpload
- amuRequestPayer :: Lens' AbortMultipartUpload (Maybe RequestPayer)
- amuBucket :: Lens' AbortMultipartUpload BucketName
- amuKey :: Lens' AbortMultipartUpload ObjectKey
- amuUploadId :: Lens' AbortMultipartUpload Text
- abortMultipartUploadResponse :: Int -> AbortMultipartUploadResponse
- data AbortMultipartUploadResponse
- amursRequestCharged :: Lens' AbortMultipartUploadResponse (Maybe RequestCharged)
- amursStatus :: Lens' AbortMultipartUploadResponse Int
Creating a Request
Creates a value of AbortMultipartUpload
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AbortMultipartUpload Source
See: abortMultipartUpload
smart constructor.
Request Lenses
amuRequestPayer :: Lens' AbortMultipartUpload (Maybe RequestPayer) Source
Undocumented member.
amuBucket :: Lens' AbortMultipartUpload BucketName Source
Undocumented member.
amuKey :: Lens' AbortMultipartUpload ObjectKey Source
Undocumented member.
amuUploadId :: Lens' AbortMultipartUpload Text Source
Undocumented member.
Destructuring the Response
abortMultipartUploadResponse Source
Creates a value of AbortMultipartUploadResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AbortMultipartUploadResponse Source
See: abortMultipartUploadResponse
smart constructor.
Response Lenses
amursRequestCharged :: Lens' AbortMultipartUploadResponse (Maybe RequestCharged) Source
Undocumented member.
amursStatus :: Lens' AbortMultipartUploadResponse Int Source
The response status code.