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 a project associated with your AWS account and region. With the
exception of device template names, you can pass just the values that
need to be updated because the update request will change only the
values that are provided. To clear a value, pass the empty string (i.e.,
""
).
Synopsis
- data UpdateProject = UpdateProject' {}
- newUpdateProject :: Text -> UpdateProject
- updateProject_placementTemplate :: Lens' UpdateProject (Maybe PlacementTemplate)
- updateProject_description :: Lens' UpdateProject (Maybe 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:placementTemplate:UpdateProject'
, updateProject_placementTemplate
- An object defining the project update. Once a project has been created,
you cannot add device template names to the project. However, for a
given placementTemplate
, you can update the associated
callbackOverrides
for the device definition using this API.
$sel:description:UpdateProject'
, updateProject_description
- An optional user-defined description for the project.
$sel:projectName:UpdateProject'
, updateProject_projectName
- The name of the project to be updated.
Request Lenses
updateProject_placementTemplate :: Lens' UpdateProject (Maybe PlacementTemplate) Source #
An object defining the project update. Once a project has been created,
you cannot add device template names to the project. However, for a
given placementTemplate
, you can update the associated
callbackOverrides
for the device definition using this API.
updateProject_description :: Lens' UpdateProject (Maybe Text) Source #
An optional user-defined description for the project.
updateProject_projectName :: Lens' UpdateProject Text Source #
The name of the project to be updated.
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.