Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a new project.
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:
cpName
- The project's name.
data CreateProject Source #
Represents a request to the create project operation.
See: createProject
smart constructor.
Request Lenses
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.