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 |
Describes a world.
Synopsis
- data DescribeWorld = DescribeWorld' {}
- newDescribeWorld :: Text -> DescribeWorld
- describeWorld_world :: Lens' DescribeWorld Text
- data DescribeWorldResponse = DescribeWorldResponse' {}
- newDescribeWorldResponse :: Int -> DescribeWorldResponse
- describeWorldResponse_worldDescriptionBody :: Lens' DescribeWorldResponse (Maybe Text)
- describeWorldResponse_arn :: Lens' DescribeWorldResponse (Maybe Text)
- describeWorldResponse_createdAt :: Lens' DescribeWorldResponse (Maybe UTCTime)
- describeWorldResponse_template :: Lens' DescribeWorldResponse (Maybe Text)
- describeWorldResponse_tags :: Lens' DescribeWorldResponse (Maybe (HashMap Text Text))
- describeWorldResponse_generationJob :: Lens' DescribeWorldResponse (Maybe Text)
- describeWorldResponse_httpStatus :: Lens' DescribeWorldResponse Int
Creating a Request
data DescribeWorld Source #
See: newDescribeWorld
smart constructor.
Instances
Create a value of DescribeWorld
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:world:DescribeWorld'
, describeWorld_world
- The Amazon Resource Name (arn) of the world you want to describe.
Request Lenses
describeWorld_world :: Lens' DescribeWorld Text Source #
The Amazon Resource Name (arn) of the world you want to describe.
Destructuring the Response
data DescribeWorldResponse Source #
See: newDescribeWorldResponse
smart constructor.
DescribeWorldResponse' | |
|
Instances
newDescribeWorldResponse Source #
Create a value of DescribeWorldResponse
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:worldDescriptionBody:DescribeWorldResponse'
, describeWorldResponse_worldDescriptionBody
- Returns the JSON formatted string that describes the contents of your
world.
$sel:arn:DescribeWorldResponse'
, describeWorldResponse_arn
- The Amazon Resource Name (arn) of the world.
$sel:createdAt:DescribeWorldResponse'
, describeWorldResponse_createdAt
- The time, in milliseconds since the epoch, when the world was created.
$sel:template:DescribeWorldResponse'
, describeWorldResponse_template
- The world template.
$sel:tags:DescribeWorldResponse'
, describeWorldResponse_tags
- A map that contains tag keys and tag values that are attached to the
world.
$sel:generationJob:DescribeWorldResponse'
, describeWorldResponse_generationJob
- The Amazon Resource Name (arn) of the world generation job that
generated the world.
$sel:httpStatus:DescribeWorldResponse'
, describeWorldResponse_httpStatus
- The response's http status code.
Response Lenses
describeWorldResponse_worldDescriptionBody :: Lens' DescribeWorldResponse (Maybe Text) Source #
Returns the JSON formatted string that describes the contents of your world.
describeWorldResponse_arn :: Lens' DescribeWorldResponse (Maybe Text) Source #
The Amazon Resource Name (arn) of the world.
describeWorldResponse_createdAt :: Lens' DescribeWorldResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the world was created.
describeWorldResponse_template :: Lens' DescribeWorldResponse (Maybe Text) Source #
The world template.
describeWorldResponse_tags :: Lens' DescribeWorldResponse (Maybe (HashMap Text Text)) Source #
A map that contains tag keys and tag values that are attached to the world.
describeWorldResponse_generationJob :: Lens' DescribeWorldResponse (Maybe Text) Source #
The Amazon Resource Name (arn) of the world generation job that generated the world.
describeWorldResponse_httpStatus :: Lens' DescribeWorldResponse Int Source #
The response's http status code.