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 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.
DeleteContainer' | |
|
Instances
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.
DeleteContainerResponse' | |
|
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.