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