Copyright | (c) 2013-2017 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 |
Delets a project in AWS Mobile Hub.
- deleteProject :: Text -> DeleteProject
- data DeleteProject
- dpProjectId :: Lens' DeleteProject Text
- deleteProjectResponse :: Int -> DeleteProjectResponse
- data DeleteProjectResponse
- dprsDeletedResources :: Lens' DeleteProjectResponse [Resource]
- dprsOrphanedResources :: Lens' DeleteProjectResponse [Resource]
- dprsResponseStatus :: Lens' DeleteProjectResponse Int
Creating a Request
Creates a value of DeleteProject
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpProjectId
- Unique project identifier.
data DeleteProject Source #
Request structure used to request a project be deleted.
See: deleteProject
smart constructor.
Request Lenses
dpProjectId :: Lens' DeleteProject Text Source #
Unique project identifier.
Destructuring the Response
deleteProjectResponse Source #
Creates a value of DeleteProjectResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dprsDeletedResources
- Resources which were deleted.dprsOrphanedResources
- Resources which were not deleted, due to a risk of losing potentially important data or files.dprsResponseStatus
- -- | The response status code.
data DeleteProjectResponse Source #
Result structure used in response to request to delete a project.
See: deleteProjectResponse
smart constructor.
Response Lenses
dprsDeletedResources :: Lens' DeleteProjectResponse [Resource] Source #
Resources which were deleted.
dprsOrphanedResources :: Lens' DeleteProjectResponse [Resource] Source #
Resources which were not deleted, due to a risk of losing potentially important data or files.
dprsResponseStatus :: Lens' DeleteProjectResponse Int Source #
- - | The response status code.