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 a system. The system is validated against the entities in the latest version of the user's namespace unless another namespace version is specified in the request.
Synopsis
- data CreateSystemTemplate = CreateSystemTemplate' {}
- newCreateSystemTemplate :: DefinitionDocument -> CreateSystemTemplate
- createSystemTemplate_compatibleNamespaceVersion :: Lens' CreateSystemTemplate (Maybe Integer)
- createSystemTemplate_definition :: Lens' CreateSystemTemplate DefinitionDocument
- data CreateSystemTemplateResponse = CreateSystemTemplateResponse' {}
- newCreateSystemTemplateResponse :: Int -> CreateSystemTemplateResponse
- createSystemTemplateResponse_summary :: Lens' CreateSystemTemplateResponse (Maybe SystemTemplateSummary)
- createSystemTemplateResponse_httpStatus :: Lens' CreateSystemTemplateResponse Int
Creating a Request
data CreateSystemTemplate Source #
See: newCreateSystemTemplate
smart constructor.
CreateSystemTemplate' | |
|
Instances
newCreateSystemTemplate Source #
Create a value of CreateSystemTemplate
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:compatibleNamespaceVersion:CreateSystemTemplate'
, createSystemTemplate_compatibleNamespaceVersion
- The namespace version in which the system is to be created.
If no value is specified, the latest version is used by default.
$sel:definition:CreateSystemTemplate'
, createSystemTemplate_definition
- The DefinitionDocument
used to create the system.
Request Lenses
createSystemTemplate_compatibleNamespaceVersion :: Lens' CreateSystemTemplate (Maybe Integer) Source #
The namespace version in which the system is to be created.
If no value is specified, the latest version is used by default.
createSystemTemplate_definition :: Lens' CreateSystemTemplate DefinitionDocument Source #
The DefinitionDocument
used to create the system.
Destructuring the Response
data CreateSystemTemplateResponse Source #
See: newCreateSystemTemplateResponse
smart constructor.
CreateSystemTemplateResponse' | |
|
Instances
newCreateSystemTemplateResponse Source #
Create a value of CreateSystemTemplateResponse
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:summary:CreateSystemTemplateResponse'
, createSystemTemplateResponse_summary
- The summary object that describes the created system.
$sel:httpStatus:CreateSystemTemplateResponse'
, createSystemTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
createSystemTemplateResponse_summary :: Lens' CreateSystemTemplateResponse (Maybe SystemTemplateSummary) Source #
The summary object that describes the created system.
createSystemTemplateResponse_httpStatus :: Lens' CreateSystemTemplateResponse Int Source #
The response's http status code.