| 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 |
Network.AWS.Mobile.DeleteProject
Description
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
Arguments
| :: Text | |
| -> DeleteProject |
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.
Instances
Request Lenses
dpProjectId :: Lens' DeleteProject Text Source #
Unique project identifier.
Destructuring the Response
deleteProjectResponse Source #
Arguments
| :: Int | |
| -> DeleteProjectResponse |
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.