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 a project from IoT SiteWise Monitor.
Synopsis
- data DeleteProject = DeleteProject' {
- clientToken :: Maybe Text
- projectId :: Text
- newDeleteProject :: Text -> DeleteProject
- deleteProject_clientToken :: Lens' DeleteProject (Maybe Text)
- deleteProject_projectId :: Lens' DeleteProject Text
- data DeleteProjectResponse = DeleteProjectResponse' {
- httpStatus :: Int
- newDeleteProjectResponse :: Int -> DeleteProjectResponse
- deleteProjectResponse_httpStatus :: Lens' DeleteProjectResponse Int
Creating a Request
data DeleteProject Source #
See: newDeleteProject
smart constructor.
DeleteProject' | |
|
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:clientToken:DeleteProject'
, deleteProject_clientToken
- A unique case-sensitive identifier that you can provide to ensure the
idempotency of the request. Don't reuse this client token if a new
idempotent request is required.
$sel:projectId:DeleteProject'
, deleteProject_projectId
- The ID of the project.
Request Lenses
deleteProject_clientToken :: Lens' DeleteProject (Maybe Text) Source #
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
deleteProject_projectId :: Lens' DeleteProject Text Source #
The ID of the project.
Destructuring the Response
data DeleteProjectResponse Source #
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:httpStatus:DeleteProjectResponse'
, deleteProjectResponse_httpStatus
- The response's http status code.
Response Lenses
deleteProjectResponse_httpStatus :: Lens' DeleteProjectResponse Int Source #
The response's http status code.