Copyright | (c) 2013-2015 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.
See: AWS API Reference for CreateProject.
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:
data CreateProject Source
Represents a request to the create project operation.
See: createProject
smart constructor.
Request Lenses
cpName :: Lens' CreateProject Text Source
The project's name.
Destructuring the Response
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:
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.
cprsStatus :: Lens' CreateProjectResponse Int Source
The response status code.