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 |
Updates an IoT SiteWise Monitor project.
Synopsis
- data UpdateProject = UpdateProject' {}
- newUpdateProject :: Text -> Text -> UpdateProject
- updateProject_clientToken :: Lens' UpdateProject (Maybe Text)
- updateProject_projectDescription :: Lens' UpdateProject (Maybe Text)
- updateProject_projectId :: Lens' UpdateProject Text
- updateProject_projectName :: Lens' UpdateProject Text
- data UpdateProjectResponse = UpdateProjectResponse' {
- httpStatus :: Int
- newUpdateProjectResponse :: Int -> UpdateProjectResponse
- updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int
Creating a Request
data UpdateProject Source #
See: newUpdateProject
smart constructor.
UpdateProject' | |
|
Instances
Create a value of UpdateProject
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:UpdateProject'
, updateProject_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:projectDescription:UpdateProject'
, updateProject_projectDescription
- A new description for the project.
$sel:projectId:UpdateProject'
, updateProject_projectId
- The ID of the project to update.
$sel:projectName:UpdateProject'
, updateProject_projectName
- A new friendly name for the project.
Request Lenses
updateProject_clientToken :: Lens' UpdateProject (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.
updateProject_projectDescription :: Lens' UpdateProject (Maybe Text) Source #
A new description for the project.
updateProject_projectId :: Lens' UpdateProject Text Source #
The ID of the project to update.
updateProject_projectName :: Lens' UpdateProject Text Source #
A new friendly name for the project.
Destructuring the Response
data UpdateProjectResponse Source #
See: newUpdateProjectResponse
smart constructor.
UpdateProjectResponse' | |
|
Instances
newUpdateProjectResponse Source #
Create a value of UpdateProjectResponse
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:UpdateProjectResponse'
, updateProjectResponse_httpStatus
- The response's http status code.
Response Lenses
updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int Source #
The response's http status code.