Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Creates a new project.
- createProject :: Text -> CreateProject
- data CreateProject
- cpDefaultJobTimeoutMinutes :: Lens' CreateProject (Maybe Int)
- cpName :: Lens' CreateProject Text
- createProjectResponse :: Int -> CreateProjectResponse
- data CreateProjectResponse
- cprsProject :: Lens' CreateProjectResponse (Maybe Project)
- cprsResponseStatus :: Lens' CreateProjectResponse Int
Creating a Request
:: Text | |
-> CreateProject |
Creates a value of CreateProject
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpDefaultJobTimeoutMinutes
- Sets the execution timeout value (in minutes) for a project. All test runs in this project will use the specified execution timeout value unless overridden when scheduling a run.cpName
- The project's name.
data CreateProject Source #
Represents a request to the create project operation.
See: createProject
smart constructor.
Request Lenses
cpDefaultJobTimeoutMinutes :: Lens' CreateProject (Maybe Int) Source #
Sets the execution timeout value (in minutes) for a project. All test runs in this project will use the specified execution timeout value unless overridden when scheduling a run.
Destructuring the Response
createProjectResponse Source #
Creates a value of CreateProjectResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cprsProject
- The newly created project.cprsResponseStatus
- -- | The response status code.
data CreateProjectResponse Source #
Represents the result of a create project request.
See: createProjectResponse
smart constructor.
Response Lenses
cprsProject :: Lens' CreateProjectResponse (Maybe Project) Source #
The newly created project.
cprsResponseStatus :: Lens' CreateProjectResponse Int Source #
- - | The response status code.