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 empty project with a placement template. A project contains zero or more placements that adhere to the placement template defined in the project.
Synopsis
- data CreateProject = CreateProject' {}
- newCreateProject :: Text -> CreateProject
- createProject_placementTemplate :: Lens' CreateProject (Maybe PlacementTemplate)
- createProject_description :: Lens' CreateProject (Maybe Text)
- createProject_tags :: Lens' CreateProject (Maybe (HashMap Text Text))
- createProject_projectName :: Lens' CreateProject Text
- data CreateProjectResponse = CreateProjectResponse' {
- httpStatus :: Int
- newCreateProjectResponse :: Int -> CreateProjectResponse
- createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int
Creating a Request
data CreateProject Source #
See: newCreateProject
smart constructor.
CreateProject' | |
|
Instances
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:placementTemplate:CreateProject'
, createProject_placementTemplate
- The schema defining the placement to be created. A placement template
defines placement default attributes and device templates. You cannot
add or remove device templates after the project has been created.
However, you can update callbackOverrides
for the device templates
using the UpdateProject
API.
$sel:description:CreateProject'
, createProject_description
- An optional description for the project.
$sel:tags:CreateProject'
, createProject_tags
- Optional tags (metadata key/value pairs) to be associated with the
project. For example,
{ {"key1": "value1", "key2": "value2"} }
. For more
information, see
AWS Tagging Strategies.
$sel:projectName:CreateProject'
, createProject_projectName
- The name of the project to create.
Request Lenses
createProject_placementTemplate :: Lens' CreateProject (Maybe PlacementTemplate) Source #
The schema defining the placement to be created. A placement template
defines placement default attributes and device templates. You cannot
add or remove device templates after the project has been created.
However, you can update callbackOverrides
for the device templates
using the UpdateProject
API.
createProject_description :: Lens' CreateProject (Maybe Text) Source #
An optional description for the project.
createProject_tags :: Lens' CreateProject (Maybe (HashMap Text Text)) Source #
Optional tags (metadata key/value pairs) to be associated with the
project. For example,
{ {"key1": "value1", "key2": "value2"} }
. For more
information, see
AWS Tagging Strategies.
createProject_projectName :: Lens' CreateProject Text Source #
The name of the project to create.
Destructuring the Response
data CreateProjectResponse Source #
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:httpStatus:CreateProjectResponse'
, createProjectResponse_httpStatus
- The response's http status code.
Response Lenses
createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int Source #
The response's http status code.