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 |
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.
Creating a Request
Creates a value of DeleteContainer
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcContainerName
- The name of the container to delete.
data DeleteContainer Source #
See: deleteContainer
smart constructor.
Instances
Request Lenses
dcContainerName :: Lens' DeleteContainer Text Source #
The name of the container to delete.
Destructuring the Response
deleteContainerResponse Source #
Creates a value of DeleteContainerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcrsResponseStatus
- -- | The response status code.
data DeleteContainerResponse Source #
See: deleteContainerResponse
smart constructor.
Instances
Response Lenses
dcrsResponseStatus :: Lens' DeleteContainerResponse Int Source #
- - | The response status code.