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 |
Gets the world template body.
Synopsis
- data GetWorldTemplateBody = GetWorldTemplateBody' {}
- newGetWorldTemplateBody :: GetWorldTemplateBody
- getWorldTemplateBody_template :: Lens' GetWorldTemplateBody (Maybe Text)
- getWorldTemplateBody_generationJob :: Lens' GetWorldTemplateBody (Maybe Text)
- data GetWorldTemplateBodyResponse = GetWorldTemplateBodyResponse' {
- templateBody :: Maybe Text
- httpStatus :: Int
- newGetWorldTemplateBodyResponse :: Int -> GetWorldTemplateBodyResponse
- getWorldTemplateBodyResponse_templateBody :: Lens' GetWorldTemplateBodyResponse (Maybe Text)
- getWorldTemplateBodyResponse_httpStatus :: Lens' GetWorldTemplateBodyResponse Int
Creating a Request
data GetWorldTemplateBody Source #
See: newGetWorldTemplateBody
smart constructor.
Instances
newGetWorldTemplateBody :: GetWorldTemplateBody Source #
Create a value of GetWorldTemplateBody
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:template:GetWorldTemplateBody'
, getWorldTemplateBody_template
- The Amazon Resource Name (arn) of the world template.
$sel:generationJob:GetWorldTemplateBody'
, getWorldTemplateBody_generationJob
- The Amazon Resource Name (arn) of the world generator job.
Request Lenses
getWorldTemplateBody_template :: Lens' GetWorldTemplateBody (Maybe Text) Source #
The Amazon Resource Name (arn) of the world template.
getWorldTemplateBody_generationJob :: Lens' GetWorldTemplateBody (Maybe Text) Source #
The Amazon Resource Name (arn) of the world generator job.
Destructuring the Response
data GetWorldTemplateBodyResponse Source #
See: newGetWorldTemplateBodyResponse
smart constructor.
GetWorldTemplateBodyResponse' | |
|
Instances
newGetWorldTemplateBodyResponse Source #
Create a value of GetWorldTemplateBodyResponse
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:templateBody:GetWorldTemplateBodyResponse'
, getWorldTemplateBodyResponse_templateBody
- The world template body.
$sel:httpStatus:GetWorldTemplateBodyResponse'
, getWorldTemplateBodyResponse_httpStatus
- The response's http status code.
Response Lenses
getWorldTemplateBodyResponse_templateBody :: Lens' GetWorldTemplateBodyResponse (Maybe Text) Source #
The world template body.
getWorldTemplateBodyResponse_httpStatus :: Lens' GetWorldTemplateBodyResponse Int Source #
The response's http status code.