Copyright | (c) 2013-2021 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 |
Creates an AWS Mobile Hub project.
Synopsis
- data CreateProject = CreateProject' {}
- newCreateProject :: CreateProject
- createProject_contents :: Lens' CreateProject (Maybe ByteString)
- createProject_name :: Lens' CreateProject (Maybe Text)
- createProject_region :: Lens' CreateProject (Maybe Text)
- createProject_snapshotId :: Lens' CreateProject (Maybe Text)
- data CreateProjectResponse = CreateProjectResponse' {}
- newCreateProjectResponse :: Int -> CreateProjectResponse
- createProjectResponse_details :: Lens' CreateProjectResponse (Maybe ProjectDetails)
- createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int
Creating a Request
data CreateProject Source #
Request structure used to request a project be created.
See: newCreateProject
smart constructor.
CreateProject' | |
|
Instances
newCreateProject :: CreateProject Source #
Create a value of CreateProject
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:contents:CreateProject'
, createProject_contents
- 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.
$sel:name:CreateProject'
, createProject_name
- Name of the project.
$sel:region:CreateProject'
, createProject_region
- Default region where project resources should be created.
$sel:snapshotId:CreateProject'
, createProject_snapshotId
- Unique identifier for an exported snapshot of project configuration.
This snapshot identifier is included in the share URL when a project is
exported.
Request Lenses
createProject_contents :: 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.
createProject_name :: Lens' CreateProject (Maybe Text) Source #
Name of the project.
createProject_region :: Lens' CreateProject (Maybe Text) Source #
Default region where project resources should be created.
createProject_snapshotId :: 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
data CreateProjectResponse Source #
Result structure used in response to a request to create a project.
See: newCreateProjectResponse
smart constructor.
CreateProjectResponse' | |
|
Instances
newCreateProjectResponse Source #
Create a value of CreateProjectResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:details:CreateProjectResponse'
, createProjectResponse_details
- Detailed information about the created AWS Mobile Hub project.
$sel:httpStatus:CreateProjectResponse'
, createProjectResponse_httpStatus
- The response's http status code.
Response Lenses
createProjectResponse_details :: Lens' CreateProjectResponse (Maybe ProjectDetails) Source #
Detailed information about the created AWS Mobile Hub project.
createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int Source #
The response's http status code.