Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a world template.
Synopsis
- data CreateWorldTemplate = CreateWorldTemplate' {}
- newCreateWorldTemplate :: CreateWorldTemplate
- createWorldTemplate_clientRequestToken :: Lens' CreateWorldTemplate (Maybe Text)
- createWorldTemplate_name :: Lens' CreateWorldTemplate (Maybe Text)
- createWorldTemplate_tags :: Lens' CreateWorldTemplate (Maybe (HashMap Text Text))
- createWorldTemplate_templateBody :: Lens' CreateWorldTemplate (Maybe Text)
- createWorldTemplate_templateLocation :: Lens' CreateWorldTemplate (Maybe TemplateLocation)
- data CreateWorldTemplateResponse = CreateWorldTemplateResponse' {}
- newCreateWorldTemplateResponse :: Int -> CreateWorldTemplateResponse
- createWorldTemplateResponse_arn :: Lens' CreateWorldTemplateResponse (Maybe Text)
- createWorldTemplateResponse_clientRequestToken :: Lens' CreateWorldTemplateResponse (Maybe Text)
- createWorldTemplateResponse_createdAt :: Lens' CreateWorldTemplateResponse (Maybe UTCTime)
- createWorldTemplateResponse_name :: 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:
CreateWorldTemplate
, createWorldTemplate_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
CreateWorldTemplate
, createWorldTemplate_name
- The name of the world template.
CreateWorldTemplate
, createWorldTemplate_tags
- A map that contains tag keys and tag values that are attached to the
world template.
$sel:templateBody:CreateWorldTemplate'
, createWorldTemplate_templateBody
- The world template body.
$sel:templateLocation:CreateWorldTemplate'
, createWorldTemplate_templateLocation
- The location of the world template.
Request Lenses
createWorldTemplate_clientRequestToken :: Lens' CreateWorldTemplate (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
createWorldTemplate_name :: Lens' CreateWorldTemplate (Maybe Text) Source #
The name of the world template.
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.
createWorldTemplate_templateBody :: Lens' CreateWorldTemplate (Maybe Text) Source #
The world template body.
createWorldTemplate_templateLocation :: Lens' CreateWorldTemplate (Maybe TemplateLocation) Source #
The location of 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:
CreateWorldTemplateResponse
, createWorldTemplateResponse_arn
- The Amazon Resource Name (ARN) of the world template.
CreateWorldTemplate
, createWorldTemplateResponse_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
CreateWorldTemplateResponse
, createWorldTemplateResponse_createdAt
- The time, in milliseconds since the epoch, when the world template was
created.
CreateWorldTemplate
, createWorldTemplateResponse_name
- The name of the world template.
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_clientRequestToken :: Lens' CreateWorldTemplateResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
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_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.