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 |
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.
Synopsis
- 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)
- amursResponseStatus :: 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:
amuRequestPayer
- Undocumented member.amuBucket
- Undocumented member.amuKey
- Undocumented member.amuUploadId
- Undocumented member.
data AbortMultipartUpload Source #
See: abortMultipartUpload
smart constructor.
Instances
Request Lenses
amuRequestPayer :: Lens' AbortMultipartUpload (Maybe RequestPayer) Source #
Undocumented member.
amuBucket :: Lens' AbortMultipartUpload BucketName 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:
amursRequestCharged
- Undocumented member.amursResponseStatus
- -- | The response status code.
data AbortMultipartUploadResponse Source #
See: abortMultipartUploadResponse
smart constructor.
Instances
Response Lenses
amursRequestCharged :: Lens' AbortMultipartUploadResponse (Maybe RequestCharged) Source #
Undocumented member.
amursResponseStatus :: Lens' AbortMultipartUploadResponse Int Source #
- - | The response status code.