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 world template.
Synopsis
- data CreateWorldTemplate = CreateWorldTemplate' {}
- newCreateWorldTemplate :: CreateWorldTemplate
- createWorldTemplate_name :: Lens' CreateWorldTemplate (Maybe Text)
- createWorldTemplate_templateLocation :: Lens' CreateWorldTemplate (Maybe TemplateLocation)
- createWorldTemplate_templateBody :: Lens' CreateWorldTemplate (Maybe Text)
- createWorldTemplate_clientRequestToken :: Lens' CreateWorldTemplate (Maybe Text)
- createWorldTemplate_tags :: Lens' CreateWorldTemplate (Maybe (HashMap Text Text))
- data CreateWorldTemplateResponse = CreateWorldTemplateResponse' {}
- newCreateWorldTemplateResponse :: Int -> CreateWorldTemplateResponse
- createWorldTemplateResponse_arn :: Lens' CreateWorldTemplateResponse (Maybe Text)
- createWorldTemplateResponse_createdAt :: Lens' CreateWorldTemplateResponse (Maybe UTCTime)
- createWorldTemplateResponse_name :: Lens' CreateWorldTemplateResponse (Maybe Text)
- createWorldTemplateResponse_clientRequestToken :: Lens' CreateWorldTemplateResponse (Maybe Text)
- createWorldTemplateResponse_tags :: Lens' CreateWorldTemplateResponse (Maybe (HashMap Text Text))
- createWorldTemplateResponse_httpStatus :: Lens' CreateWorldTemplateResponse Int
Creating a Request
data CreateWorldTemplate Source #
See: newCreateWorldTemplate
smart constructor.
CreateWorldTemplate' | |
|
Instances
newCreateWorldTemplate :: CreateWorldTemplate Source #
Create a value of CreateWorldTemplate
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:name:CreateWorldTemplate'
, createWorldTemplate_name
- The name of the world template.
$sel:templateLocation:CreateWorldTemplate'
, createWorldTemplate_templateLocation
- The location of the world template.
$sel:templateBody:CreateWorldTemplate'
, createWorldTemplate_templateBody
- The world template body.
$sel:clientRequestToken:CreateWorldTemplate'
, createWorldTemplate_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:tags:CreateWorldTemplate'
, createWorldTemplate_tags
- A map that contains tag keys and tag values that are attached to the
world template.
Request Lenses
createWorldTemplate_name :: Lens' CreateWorldTemplate (Maybe Text) Source #
The name of the world template.
createWorldTemplate_templateLocation :: Lens' CreateWorldTemplate (Maybe TemplateLocation) Source #
The location of the world template.
createWorldTemplate_templateBody :: Lens' CreateWorldTemplate (Maybe Text) Source #
The world template body.
createWorldTemplate_clientRequestToken :: Lens' CreateWorldTemplate (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
createWorldTemplate_tags :: Lens' CreateWorldTemplate (Maybe (HashMap Text Text)) Source #
A map that contains tag keys and tag values that are attached to the world template.
Destructuring the Response
data CreateWorldTemplateResponse Source #
See: newCreateWorldTemplateResponse
smart constructor.
CreateWorldTemplateResponse' | |
|
Instances
newCreateWorldTemplateResponse Source #
Create a value of CreateWorldTemplateResponse
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:arn:CreateWorldTemplateResponse'
, createWorldTemplateResponse_arn
- The Amazon Resource Name (ARN) of the world template.
$sel:createdAt:CreateWorldTemplateResponse'
, createWorldTemplateResponse_createdAt
- The time, in milliseconds since the epoch, when the world template was
created.
$sel:name:CreateWorldTemplate'
, createWorldTemplateResponse_name
- The name of the world template.
$sel:clientRequestToken:CreateWorldTemplate'
, createWorldTemplateResponse_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:tags:CreateWorldTemplate'
, createWorldTemplateResponse_tags
- A map that contains tag keys and tag values that are attached to the
world template.
$sel:httpStatus:CreateWorldTemplateResponse'
, createWorldTemplateResponse_httpStatus
- The response's http status code.
Response Lenses
createWorldTemplateResponse_arn :: Lens' CreateWorldTemplateResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the world template.
createWorldTemplateResponse_createdAt :: Lens' CreateWorldTemplateResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the world template was created.
createWorldTemplateResponse_name :: Lens' CreateWorldTemplateResponse (Maybe Text) Source #
The name of the world template.
createWorldTemplateResponse_clientRequestToken :: Lens' CreateWorldTemplateResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
createWorldTemplateResponse_tags :: Lens' CreateWorldTemplateResponse (Maybe (HashMap Text Text)) Source #
A map that contains tag keys and tag values that are attached to the world template.
createWorldTemplateResponse_httpStatus :: Lens' CreateWorldTemplateResponse Int Source #
The response's http status code.