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 |
Network.AWS.DeviceFarm.CreateProject
Description
Creates a new project.
Creating a Request
Arguments
:: 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 #
Represents a request to the create project operation.
See: createProject
smart constructor.
Instances
Request Lenses
cpName :: Lens' CreateProject Text #
The project's name.
Destructuring the Response
Arguments
:: Int | |
-> CreateProjectResponse |
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 #
Represents the result of a create project request.
See: createProjectResponse
smart constructor.
Response Lenses
cprsProject :: Lens' CreateProjectResponse (Maybe Project) #
The newly created project.
cprsResponseStatus :: Lens' CreateProjectResponse Int #
- - | The response status code.