| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MediaStoreData.DeleteObject
Description
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.
Constructors
| DeleteObject' | |
Instances
Arguments
| :: Text | |
| -> DeleteObject |
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.
Constructors
| DeleteObjectResponse' | |
Fields
| |
Instances
newDeleteObjectResponse Source #
Arguments
| :: Int | |
| -> DeleteObjectResponse |
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.