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 |
Modifies the specified project name, given the project ARN and a new name.
Synopsis
- data UpdateProject = UpdateProject' {}
- newUpdateProject :: Text -> UpdateProject
- updateProject_name :: Lens' UpdateProject (Maybe Text)
- updateProject_defaultJobTimeoutMinutes :: Lens' UpdateProject (Maybe Int)
- updateProject_arn :: Lens' UpdateProject Text
- data UpdateProjectResponse = UpdateProjectResponse' {
- project :: Maybe Project
- httpStatus :: Int
- newUpdateProjectResponse :: Int -> UpdateProjectResponse
- updateProjectResponse_project :: Lens' UpdateProjectResponse (Maybe Project)
- updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int
Creating a Request
data UpdateProject Source #
Represents a request to the update project operation.
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
- A string that represents the new name of the project that you are
updating.
$sel:defaultJobTimeoutMinutes:UpdateProject'
, updateProject_defaultJobTimeoutMinutes
- The number of minutes a test run in the project executes before it times
out.
$sel:arn:UpdateProject'
, updateProject_arn
- The Amazon Resource Name (ARN) of the project whose name to update.
Request Lenses
updateProject_name :: Lens' UpdateProject (Maybe Text) Source #
A string that represents the new name of the project that you are updating.
updateProject_defaultJobTimeoutMinutes :: Lens' UpdateProject (Maybe Int) Source #
The number of minutes a test run in the project executes before it times out.
updateProject_arn :: Lens' UpdateProject Text Source #
The Amazon Resource Name (ARN) of the project whose name to update.
Destructuring the Response
data UpdateProjectResponse Source #
Represents the result of an update project request.
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:project:UpdateProjectResponse'
, updateProjectResponse_project
- The project to update.
$sel:httpStatus:UpdateProjectResponse'
, updateProjectResponse_httpStatus
- The response's http status code.
Response Lenses
updateProjectResponse_project :: Lens' UpdateProjectResponse (Maybe Project) Source #
The project to update.
updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int Source #
The response's http status code.