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 |
Creates a project.
Synopsis
- data CreateProject = CreateProject' {}
- newCreateProject :: Text -> CreateProject
- createProject_defaultJobTimeoutMinutes :: Lens' CreateProject (Maybe Int)
- createProject_name :: Lens' CreateProject Text
- data CreateProjectResponse = CreateProjectResponse' {
- project :: Maybe Project
- httpStatus :: Int
- newCreateProjectResponse :: Int -> CreateProjectResponse
- createProjectResponse_project :: Lens' CreateProjectResponse (Maybe Project)
- createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int
Creating a Request
data CreateProject Source #
Represents a request to the create project operation.
See: newCreateProject
smart constructor.
CreateProject' | |
|
Instances
Create a value of CreateProject
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:defaultJobTimeoutMinutes:CreateProject'
, createProject_defaultJobTimeoutMinutes
- Sets the execution timeout value (in minutes) for a project. All test
runs in this project use the specified execution timeout value unless
overridden when scheduling a run.
$sel:name:CreateProject'
, createProject_name
- The project's name.
Request Lenses
createProject_defaultJobTimeoutMinutes :: Lens' CreateProject (Maybe Int) Source #
Sets the execution timeout value (in minutes) for a project. All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.
createProject_name :: Lens' CreateProject Text Source #
The project's name.
Destructuring the Response
data CreateProjectResponse Source #
Represents the result of a create project request.
See: newCreateProjectResponse
smart constructor.
CreateProjectResponse' | |
|
Instances
newCreateProjectResponse Source #
Create a value of CreateProjectResponse
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:CreateProjectResponse'
, createProjectResponse_project
- The newly created project.
$sel:httpStatus:CreateProjectResponse'
, createProjectResponse_httpStatus
- The response's http status code.
Response Lenses
createProjectResponse_project :: Lens' CreateProjectResponse (Maybe Project) Source #
The newly created project.
createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int Source #
The response's http status code.