libZSservicesZSamazonka-robomakerZSamazonka-robomaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.RobOMaker.DescribeWorldGenerationJob

Description

Describes a world generation job.

Synopsis

Creating a Request

data DescribeWorldGenerationJob Source #

See: newDescribeWorldGenerationJob smart constructor.

Constructors

DescribeWorldGenerationJob' 

Fields

  • job :: Text

    The Amazon Resource Name (arn) of the world generation job to describe.

Instances

Instances details
Eq DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

Read DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

Show DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

Generic DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

Associated Types

type Rep DescribeWorldGenerationJob :: Type -> Type #

NFData DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

Hashable DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

ToJSON DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

AWSRequest DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

ToHeaders DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

ToPath DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

ToQuery DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

type Rep DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

type Rep DescribeWorldGenerationJob = D1 ('MetaData "DescribeWorldGenerationJob" "Amazonka.RobOMaker.DescribeWorldGenerationJob" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "DescribeWorldGenerationJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "job") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

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 #

Constructors

DescribeWorldGenerationJobResponse' 

Fields

  • failureReason :: Maybe Text

    The reason why the world generation job failed.

  • status :: Maybe WorldGenerationJobStatus

    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.
  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the world generation job.

  • createdAt :: Maybe POSIX

    The time, in milliseconds since the epoch, when the world generation job was created.

  • failureCode :: Maybe WorldGenerationJobErrorCode

    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.
  • worldCount :: Maybe WorldCount

    Information about the world count.

  • finishedWorldsSummary :: Maybe FinishedWorldsSummary

    Summary information about finished worlds.

  • template :: Maybe Text

    The Amazon Resource Name (arn) of the world template.

  • worldTags :: Maybe (HashMap Text Text)

    A map that contains tag keys and tag values that are attached to the generated worlds.

  • clientRequestToken :: Maybe Text

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

  • tags :: Maybe (HashMap Text Text)

    A map that contains tag keys and tag values that are attached to the world generation job.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

Read DescribeWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

Show DescribeWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

Generic DescribeWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

Associated Types

type Rep DescribeWorldGenerationJobResponse :: Type -> Type #

NFData DescribeWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

type Rep DescribeWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.DescribeWorldGenerationJob

type Rep DescribeWorldGenerationJobResponse = D1 ('MetaData "DescribeWorldGenerationJobResponse" "Amazonka.RobOMaker.DescribeWorldGenerationJob" "libZSservicesZSamazonka-robomakerZSamazonka-robomaker" 'False) (C1 ('MetaCons "DescribeWorldGenerationJobResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorldGenerationJobStatus)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "failureCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorldGenerationJobErrorCode)) :*: S1 ('MetaSel ('Just "worldCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorldCount))))) :*: ((S1 ('MetaSel ('Just "finishedWorldsSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FinishedWorldsSummary)) :*: (S1 ('MetaSel ('Just "template") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "worldTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

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_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_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.