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 |
This operation enables you to delete multiple objects from a bucket using a single HTTP request. You may specify up to 1000 keys.
Synopsis
- deleteObjects :: BucketName -> Delete -> DeleteObjects
- data DeleteObjects
- dosMFA :: Lens' DeleteObjects (Maybe Text)
- dosRequestPayer :: Lens' DeleteObjects (Maybe RequestPayer)
- dosBucket :: Lens' DeleteObjects BucketName
- dosDelete :: Lens' DeleteObjects Delete
- deleteObjectsResponse :: Int -> DeleteObjectsResponse
- data DeleteObjectsResponse
- drsRequestCharged :: Lens' DeleteObjectsResponse (Maybe RequestCharged)
- drsDeleted :: Lens' DeleteObjectsResponse [DeletedObject]
- drsErrors :: Lens' DeleteObjectsResponse [S3ServiceError]
- drsResponseStatus :: Lens' DeleteObjectsResponse Int
Creating a Request
Creates a value of DeleteObjects
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dosMFA
- The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.dosRequestPayer
- Undocumented member.dosBucket
- Undocumented member.dosDelete
- Undocumented member.
data DeleteObjects Source #
See: deleteObjects
smart constructor.
Instances
Request Lenses
dosMFA :: Lens' DeleteObjects (Maybe Text) Source #
The concatenation of the authentication device's serial number, a space, and the value that is displayed on your authentication device.
dosRequestPayer :: Lens' DeleteObjects (Maybe RequestPayer) Source #
Undocumented member.
dosBucket :: Lens' DeleteObjects BucketName Source #
Undocumented member.
Destructuring the Response
deleteObjectsResponse Source #
Creates a value of DeleteObjectsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drsRequestCharged
- Undocumented member.drsDeleted
- Undocumented member.drsErrors
- Undocumented member.drsResponseStatus
- -- | The response status code.
data DeleteObjectsResponse Source #
See: deleteObjectsResponse
smart constructor.
Instances
Response Lenses
drsRequestCharged :: Lens' DeleteObjectsResponse (Maybe RequestCharged) Source #
Undocumented member.
drsDeleted :: Lens' DeleteObjectsResponse [DeletedObject] Source #
Undocumented member.
drsErrors :: Lens' DeleteObjectsResponse [S3ServiceError] Source #
Undocumented member.
drsResponseStatus :: Lens' DeleteObjectsResponse Int Source #
- - | The response status code.