| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTSiteWise.DeleteProject
Description
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.
Constructors
| DeleteProject' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteProject |
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.
Constructors
| DeleteProjectResponse' | |
Fields
| |
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.