| 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.MediaStore.DeleteContainer
Description
Deletes the specified container. Before you make a DeleteContainer
request, delete any objects in the container or in any folders in the
container. You can delete only empty containers.
Synopsis
- data DeleteContainer = DeleteContainer' {}
- newDeleteContainer :: Text -> DeleteContainer
- deleteContainer_containerName :: Lens' DeleteContainer Text
- data DeleteContainerResponse = DeleteContainerResponse' {
- httpStatus :: Int
- newDeleteContainerResponse :: Int -> DeleteContainerResponse
- deleteContainerResponse_httpStatus :: Lens' DeleteContainerResponse Int
Creating a Request
data DeleteContainer Source #
See: newDeleteContainer smart constructor.
Constructors
| DeleteContainer' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteContainer |
Create a value of DeleteContainer 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:containerName:DeleteContainer', deleteContainer_containerName - The name of the container to delete.
Request Lenses
deleteContainer_containerName :: Lens' DeleteContainer Text Source #
The name of the container to delete.
Destructuring the Response
data DeleteContainerResponse Source #
See: newDeleteContainerResponse smart constructor.
Constructors
| DeleteContainerResponse' | |
Fields
| |
Instances
newDeleteContainerResponse Source #
Create a value of DeleteContainerResponse 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:DeleteContainerResponse', deleteContainerResponse_httpStatus - The response's http status code.
Response Lenses
deleteContainerResponse_httpStatus :: Lens' DeleteContainerResponse Int Source #
The response's http status code.