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 in AWS CodeStar.
Synopsis
- data UpdateProject = UpdateProject' {}
- newUpdateProject :: Text -> UpdateProject
- updateProject_name :: Lens' UpdateProject (Maybe Text)
- updateProject_description :: Lens' UpdateProject (Maybe Text)
- updateProject_id :: 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.
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:name:UpdateProject'
, updateProject_name
- The name of the project you want to update.
$sel:description:UpdateProject'
, updateProject_description
- The description of the project, if any.
$sel:id:UpdateProject'
, updateProject_id
- The ID of the project you want to update.
Request Lenses
updateProject_name :: Lens' UpdateProject (Maybe Text) Source #
The name of the project you want to update.
updateProject_description :: Lens' UpdateProject (Maybe Text) Source #
The description of the project, if any.
updateProject_id :: Lens' UpdateProject Text Source #
The ID of the project you want to update.
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.