Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <[email protected]> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.Mobile.CreateProject
Description
Creates an AWS Mobile Hub project.
Synopsis
- createProject :: CreateProject
- data CreateProject
- cpContents :: Lens' CreateProject (Maybe ByteString)
- cpName :: Lens' CreateProject (Maybe Text)
- cpRegion :: Lens' CreateProject (Maybe Text)
- cpSnapshotId :: Lens' CreateProject (Maybe Text)
- createProjectResponse :: Int -> CreateProjectResponse
- data CreateProjectResponse
- cprsDetails :: Lens' CreateProjectResponse (Maybe ProjectDetails)
- cprsResponseStatus :: Lens' CreateProjectResponse Int
Creating a Request
createProject :: CreateProject Source #
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:
cpContents
- ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.cpName
- Name of the project.cpRegion
- Default region where project resources should be created.cpSnapshotId
- Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.
data CreateProject Source #
Request structure used to request a project be created.
See: createProject
smart constructor.
Instances
Request Lenses
cpContents :: Lens' CreateProject (Maybe ByteString) Source #
ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.
cpRegion :: Lens' CreateProject (Maybe Text) Source #
Default region where project resources should be created.
cpSnapshotId :: Lens' CreateProject (Maybe Text) Source #
Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.
Destructuring the Response
createProjectResponse Source #
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:
cprsDetails
- Detailed information about the created AWS Mobile Hub project.cprsResponseStatus
- -- | The response status code.
data CreateProjectResponse Source #
Result structure used in response to a request to create a project.
See: createProjectResponse
smart constructor.
Instances
Response Lenses
cprsDetails :: Lens' CreateProjectResponse (Maybe ProjectDetails) Source #
Detailed information about the created AWS Mobile Hub project.
cprsResponseStatus :: Lens' CreateProjectResponse Int Source #
- - | The response status code.