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 |
Delets a project in AWS Mobile Hub.
Synopsis
- data DeleteProject = DeleteProject' {}
- newDeleteProject :: Text -> DeleteProject
- deleteProject_projectId :: Lens' DeleteProject Text
- data DeleteProjectResponse = DeleteProjectResponse' {
- deletedResources :: Maybe [Resource]
- orphanedResources :: Maybe [Resource]
- httpStatus :: Int
- newDeleteProjectResponse :: Int -> DeleteProjectResponse
- deleteProjectResponse_deletedResources :: Lens' DeleteProjectResponse (Maybe [Resource])
- deleteProjectResponse_orphanedResources :: Lens' DeleteProjectResponse (Maybe [Resource])
- deleteProjectResponse_httpStatus :: Lens' DeleteProjectResponse Int
Creating a Request
data DeleteProject Source #
Request structure used to request a project be deleted.
See: newDeleteProject
smart constructor.
Instances
Create a value of DeleteProject
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:projectId:DeleteProject'
, deleteProject_projectId
- Unique project identifier.
Request Lenses
deleteProject_projectId :: Lens' DeleteProject Text Source #
Unique project identifier.
Destructuring the Response
data DeleteProjectResponse Source #
Result structure used in response to request to delete a project.
See: newDeleteProjectResponse
smart constructor.
DeleteProjectResponse' | |
|
Instances
newDeleteProjectResponse Source #
Create a value of DeleteProjectResponse
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:deletedResources:DeleteProjectResponse'
, deleteProjectResponse_deletedResources
- Resources which were deleted.
$sel:orphanedResources:DeleteProjectResponse'
, deleteProjectResponse_orphanedResources
- Resources which were not deleted, due to a risk of losing potentially
important data or files.
$sel:httpStatus:DeleteProjectResponse'
, deleteProjectResponse_httpStatus
- The response's http status code.
Response Lenses
deleteProjectResponse_deletedResources :: Lens' DeleteProjectResponse (Maybe [Resource]) Source #
Resources which were deleted.
deleteProjectResponse_orphanedResources :: Lens' DeleteProjectResponse (Maybe [Resource]) Source #
Resources which were not deleted, due to a risk of losing potentially important data or files.
deleteProjectResponse_httpStatus :: Lens' DeleteProjectResponse Int Source #
The response's http status code.