Copyright | (c) 2013-2021 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 |
Deletes an object at the specified path.
Synopsis
- data DeleteObject = DeleteObject' {}
- newDeleteObject :: Text -> DeleteObject
- deleteObject_path :: Lens' DeleteObject Text
- data DeleteObjectResponse = DeleteObjectResponse' {
- httpStatus :: Int
- newDeleteObjectResponse :: Int -> DeleteObjectResponse
- deleteObjectResponse_httpStatus :: Lens' DeleteObjectResponse Int
Creating a Request
data DeleteObject Source #
See: newDeleteObject
smart constructor.
Instances
Create a value of DeleteObject
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:
$sel:path:DeleteObject'
, deleteObject_path
- The path (including the file name) where the object is stored in the
container. Format: <folder name>/<folder name>/<file name>
Request Lenses
deleteObject_path :: Lens' DeleteObject Text Source #
The path (including the file name) where the object is stored in the container. Format: <folder name>/<folder name>/<file name>
Destructuring the Response
data DeleteObjectResponse Source #
See: newDeleteObjectResponse
smart constructor.
DeleteObjectResponse' | |
|
Instances
newDeleteObjectResponse Source #
Create a value of DeleteObjectResponse
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:
$sel:httpStatus:DeleteObjectResponse'
, deleteObjectResponse_httpStatus
- The response's http status code.
Response Lenses
deleteObjectResponse_httpStatus :: Lens' DeleteObjectResponse Int Source #
The response's http status code.