Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a project.
Synopsis
- data CreateProject = CreateProject' {}
- newCreateProject :: Text -> CreateProject
- createProject_defaultJobTimeoutMinutes :: Lens' CreateProject (Maybe Int)
- createProject_vpcConfig :: Lens' CreateProject (Maybe VpcConfig)
- 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:
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.
CreateProject
, createProject_vpcConfig
- The VPC security groups and subnets that are attached to a project.
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_vpcConfig :: Lens' CreateProject (Maybe VpcConfig) Source #
The VPC security groups and subnets that are attached to a project.
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.