| 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 |
Amazonka.RobOMaker.GetWorldTemplateBody
Description
Gets the world template body.
Synopsis
- data GetWorldTemplateBody = GetWorldTemplateBody' {}
- newGetWorldTemplateBody :: GetWorldTemplateBody
- getWorldTemplateBody_generationJob :: Lens' GetWorldTemplateBody (Maybe Text)
- getWorldTemplateBody_template :: 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.
Constructors
| GetWorldTemplateBody' | |
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:
GetWorldTemplateBody, getWorldTemplateBody_generationJob - The Amazon Resource Name (arn) of the world generator job.
GetWorldTemplateBody, getWorldTemplateBody_template - The Amazon Resource Name (arn) of the world template.
Request Lenses
getWorldTemplateBody_generationJob :: Lens' GetWorldTemplateBody (Maybe Text) Source #
The Amazon Resource Name (arn) of the world generator job.
getWorldTemplateBody_template :: Lens' GetWorldTemplateBody (Maybe Text) Source #
The Amazon Resource Name (arn) of the world template.
Destructuring the Response
data GetWorldTemplateBodyResponse Source #
See: newGetWorldTemplateBodyResponse smart constructor.
Constructors
| GetWorldTemplateBodyResponse' | |
Fields
| |
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.