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 generation job.
Synopsis
- data DescribeWorldGenerationJob = DescribeWorldGenerationJob' {}
- newDescribeWorldGenerationJob :: Text -> DescribeWorldGenerationJob
- describeWorldGenerationJob_job :: Lens' DescribeWorldGenerationJob Text
- data DescribeWorldGenerationJobResponse = DescribeWorldGenerationJobResponse' {
- failureReason :: Maybe Text
- status :: Maybe WorldGenerationJobStatus
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- failureCode :: Maybe WorldGenerationJobErrorCode
- worldCount :: Maybe WorldCount
- finishedWorldsSummary :: Maybe FinishedWorldsSummary
- template :: Maybe Text
- worldTags :: Maybe (HashMap Text Text)
- clientRequestToken :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newDescribeWorldGenerationJobResponse :: Int -> DescribeWorldGenerationJobResponse
- describeWorldGenerationJobResponse_failureReason :: Lens' DescribeWorldGenerationJobResponse (Maybe Text)
- describeWorldGenerationJobResponse_status :: Lens' DescribeWorldGenerationJobResponse (Maybe WorldGenerationJobStatus)
- describeWorldGenerationJobResponse_arn :: Lens' DescribeWorldGenerationJobResponse (Maybe Text)
- describeWorldGenerationJobResponse_createdAt :: Lens' DescribeWorldGenerationJobResponse (Maybe UTCTime)
- describeWorldGenerationJobResponse_failureCode :: Lens' DescribeWorldGenerationJobResponse (Maybe WorldGenerationJobErrorCode)
- describeWorldGenerationJobResponse_worldCount :: Lens' DescribeWorldGenerationJobResponse (Maybe WorldCount)
- describeWorldGenerationJobResponse_finishedWorldsSummary :: Lens' DescribeWorldGenerationJobResponse (Maybe FinishedWorldsSummary)
- describeWorldGenerationJobResponse_template :: Lens' DescribeWorldGenerationJobResponse (Maybe Text)
- describeWorldGenerationJobResponse_worldTags :: Lens' DescribeWorldGenerationJobResponse (Maybe (HashMap Text Text))
- describeWorldGenerationJobResponse_clientRequestToken :: Lens' DescribeWorldGenerationJobResponse (Maybe Text)
- describeWorldGenerationJobResponse_tags :: Lens' DescribeWorldGenerationJobResponse (Maybe (HashMap Text Text))
- describeWorldGenerationJobResponse_httpStatus :: Lens' DescribeWorldGenerationJobResponse Int
Creating a Request
data DescribeWorldGenerationJob Source #
See: newDescribeWorldGenerationJob
smart constructor.
Instances
newDescribeWorldGenerationJob Source #
Create a value of DescribeWorldGenerationJob
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:job:DescribeWorldGenerationJob'
, describeWorldGenerationJob_job
- The Amazon Resource Name (arn) of the world generation job to describe.
Request Lenses
describeWorldGenerationJob_job :: Lens' DescribeWorldGenerationJob Text Source #
The Amazon Resource Name (arn) of the world generation job to describe.
Destructuring the Response
data DescribeWorldGenerationJobResponse Source #
See: newDescribeWorldGenerationJobResponse
smart constructor.
DescribeWorldGenerationJobResponse' | |
|
Instances
newDescribeWorldGenerationJobResponse Source #
Create a value of DescribeWorldGenerationJobResponse
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:failureReason:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_failureReason
- The reason why the world generation job failed.
$sel:status:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_status
- The status of the world generation job:
- Pending
- The world generation job request is pending.
- Running
- The world generation job is running.
- Completed
- The world generation job completed.
- Failed
- The world generation job failed. See
failureCode
for more information. - PartialFailed
- Some worlds did not generate.
- Canceled
- The world generation job was cancelled.
- Canceling
- The world generation job is being cancelled.
$sel:arn:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_arn
- The Amazon Resource Name (ARN) of the world generation job.
$sel:createdAt:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_createdAt
- The time, in milliseconds since the epoch, when the world generation job
was created.
$sel:failureCode:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_failureCode
- The failure code of the world generation job if it failed:
- InternalServiceError
- Internal service error.
- LimitExceeded
- The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
- ResourceNotFound
- The specified resource could not be found.
- RequestThrottled
- The request was throttled.
- InvalidInput
- An input parameter in the request is not valid.
$sel:worldCount:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_worldCount
- Information about the world count.
$sel:finishedWorldsSummary:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_finishedWorldsSummary
- Summary information about finished worlds.
$sel:template:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_template
- The Amazon Resource Name (arn) of the world template.
$sel:worldTags:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_worldTags
- A map that contains tag keys and tag values that are attached to the
generated worlds.
$sel:clientRequestToken:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:tags:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_tags
- A map that contains tag keys and tag values that are attached to the
world generation job.
$sel:httpStatus:DescribeWorldGenerationJobResponse'
, describeWorldGenerationJobResponse_httpStatus
- The response's http status code.
Response Lenses
describeWorldGenerationJobResponse_failureReason :: Lens' DescribeWorldGenerationJobResponse (Maybe Text) Source #
The reason why the world generation job failed.
describeWorldGenerationJobResponse_status :: Lens' DescribeWorldGenerationJobResponse (Maybe WorldGenerationJobStatus) Source #
The status of the world generation job:
- Pending
- The world generation job request is pending.
- Running
- The world generation job is running.
- Completed
- The world generation job completed.
- Failed
- The world generation job failed. See
failureCode
for more information. - PartialFailed
- Some worlds did not generate.
- Canceled
- The world generation job was cancelled.
- Canceling
- The world generation job is being cancelled.
describeWorldGenerationJobResponse_arn :: Lens' DescribeWorldGenerationJobResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the world generation job.
describeWorldGenerationJobResponse_createdAt :: Lens' DescribeWorldGenerationJobResponse (Maybe UTCTime) Source #
The time, in milliseconds since the epoch, when the world generation job was created.
describeWorldGenerationJobResponse_failureCode :: Lens' DescribeWorldGenerationJobResponse (Maybe WorldGenerationJobErrorCode) Source #
The failure code of the world generation job if it failed:
- InternalServiceError
- Internal service error.
- LimitExceeded
- The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.
- ResourceNotFound
- The specified resource could not be found.
- RequestThrottled
- The request was throttled.
- InvalidInput
- An input parameter in the request is not valid.
describeWorldGenerationJobResponse_worldCount :: Lens' DescribeWorldGenerationJobResponse (Maybe WorldCount) Source #
Information about the world count.
describeWorldGenerationJobResponse_finishedWorldsSummary :: Lens' DescribeWorldGenerationJobResponse (Maybe FinishedWorldsSummary) Source #
Summary information about finished worlds.
describeWorldGenerationJobResponse_template :: Lens' DescribeWorldGenerationJobResponse (Maybe Text) Source #
The Amazon Resource Name (arn) of the world template.
describeWorldGenerationJobResponse_worldTags :: Lens' DescribeWorldGenerationJobResponse (Maybe (HashMap Text Text)) Source #
A map that contains tag keys and tag values that are attached to the generated worlds.
describeWorldGenerationJobResponse_clientRequestToken :: Lens' DescribeWorldGenerationJobResponse (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
describeWorldGenerationJobResponse_tags :: Lens' DescribeWorldGenerationJobResponse (Maybe (HashMap Text Text)) Source #
A map that contains tag keys and tag values that are attached to the world generation job.
describeWorldGenerationJobResponse_httpStatus :: Lens' DescribeWorldGenerationJobResponse Int Source #
The response's http status code.