amazonka-robomaker-2.0: Amazon RoboMaker SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.RobOMaker.CreateWorldGenerationJob

Description

Creates worlds using the specified template.

Synopsis

Creating a Request

data CreateWorldGenerationJob Source #

See: newCreateWorldGenerationJob smart constructor.

Constructors

CreateWorldGenerationJob' 

Fields

Instances

Instances details
ToJSON CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

ToHeaders CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

ToPath CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

ToQuery CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

AWSRequest CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

Generic CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

Associated Types

type Rep CreateWorldGenerationJob :: Type -> Type #

Read CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

Show CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

NFData CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

Eq CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

Hashable CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

type AWSResponse CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

type Rep CreateWorldGenerationJob Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

type Rep CreateWorldGenerationJob = D1 ('MetaData "CreateWorldGenerationJob" "Amazonka.RobOMaker.CreateWorldGenerationJob" "amazonka-robomaker-2.0-7StvfiX8F7FIYnuj4Jp3Jq" 'False) (C1 ('MetaCons "CreateWorldGenerationJob'" 'PrefixI 'True) ((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 "worldTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: (S1 ('MetaSel ('Just "template") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "worldCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorldCount)))))

newCreateWorldGenerationJob Source #

Create a value of CreateWorldGenerationJob 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:

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

CreateWorldGenerationJob, createWorldGenerationJob_tags - A map that contains tag keys and tag values that are attached to the world generator job.

CreateWorldGenerationJob, createWorldGenerationJob_worldTags - A map that contains tag keys and tag values that are attached to the generated worlds.

CreateWorldGenerationJob, createWorldGenerationJob_template - The Amazon Resource Name (arn) of the world template describing the worlds you want to create.

CreateWorldGenerationJob, createWorldGenerationJob_worldCount - Information about the world count.

Request Lenses

createWorldGenerationJob_clientRequestToken :: Lens' CreateWorldGenerationJob (Maybe Text) Source #

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

createWorldGenerationJob_tags :: Lens' CreateWorldGenerationJob (Maybe (HashMap Text Text)) Source #

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

createWorldGenerationJob_worldTags :: Lens' CreateWorldGenerationJob (Maybe (HashMap Text Text)) Source #

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

createWorldGenerationJob_template :: Lens' CreateWorldGenerationJob Text Source #

The Amazon Resource Name (arn) of the world template describing the worlds you want to create.

Destructuring the Response

data CreateWorldGenerationJobResponse Source #

See: newCreateWorldGenerationJobResponse smart constructor.

Constructors

CreateWorldGenerationJobResponse' 

Fields

  • arn :: Maybe Text

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

  • clientRequestToken :: Maybe Text

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

  • createdAt :: Maybe POSIX

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

  • failureCode :: Maybe WorldGenerationJobErrorCode

    The failure code of the world generator 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.
  • status :: Maybe WorldGenerationJobStatus

    The status of the world generator job.

    Pending
    The world generator job request is pending.
    Running
    The world generator job is running.
    Completed
    The world generator job completed.
    Failed
    The world generator job failed. See failureCode for more information.
    PartialFailed
    Some worlds did not generate.
    Canceled
    The world generator job was cancelled.
    Canceling
    The world generator job is being cancelled.
  • tags :: Maybe (HashMap Text Text)

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

  • template :: Maybe Text

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

  • worldCount :: Maybe WorldCount

    Information about the world count.

  • worldTags :: Maybe (HashMap Text Text)

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic CreateWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

Associated Types

type Rep CreateWorldGenerationJobResponse :: Type -> Type #

Read CreateWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

Show CreateWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

NFData CreateWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

Eq CreateWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

type Rep CreateWorldGenerationJobResponse Source # 
Instance details

Defined in Amazonka.RobOMaker.CreateWorldGenerationJob

newCreateWorldGenerationJobResponse Source #

Create a value of CreateWorldGenerationJobResponse 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:

CreateWorldGenerationJobResponse, createWorldGenerationJobResponse_arn - The Amazon Resource Name (ARN) of the world generator job.

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

CreateWorldGenerationJobResponse, createWorldGenerationJobResponse_createdAt - The time, in milliseconds since the epoch, when the world generator job was created.

CreateWorldGenerationJobResponse, createWorldGenerationJobResponse_failureCode - The failure code of the world generator 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.

CreateWorldGenerationJobResponse, createWorldGenerationJobResponse_status - The status of the world generator job.

Pending
The world generator job request is pending.
Running
The world generator job is running.
Completed
The world generator job completed.
Failed
The world generator job failed. See failureCode for more information.
PartialFailed
Some worlds did not generate.
Canceled
The world generator job was cancelled.
Canceling
The world generator job is being cancelled.

CreateWorldGenerationJob, createWorldGenerationJobResponse_tags - A map that contains tag keys and tag values that are attached to the world generator job.

CreateWorldGenerationJob, createWorldGenerationJobResponse_template - The Amazon Resource Name (arn) of the world template.

CreateWorldGenerationJob, createWorldGenerationJobResponse_worldCount - Information about the world count.

CreateWorldGenerationJob, createWorldGenerationJobResponse_worldTags - A map that contains tag keys and tag values that are attached to the generated worlds.

$sel:httpStatus:CreateWorldGenerationJobResponse', createWorldGenerationJobResponse_httpStatus - The response's http status code.

Response Lenses

createWorldGenerationJobResponse_arn :: Lens' CreateWorldGenerationJobResponse (Maybe Text) Source #

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

createWorldGenerationJobResponse_clientRequestToken :: Lens' CreateWorldGenerationJobResponse (Maybe Text) Source #

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

createWorldGenerationJobResponse_createdAt :: Lens' CreateWorldGenerationJobResponse (Maybe UTCTime) Source #

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

createWorldGenerationJobResponse_failureCode :: Lens' CreateWorldGenerationJobResponse (Maybe WorldGenerationJobErrorCode) Source #

The failure code of the world generator 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.

createWorldGenerationJobResponse_status :: Lens' CreateWorldGenerationJobResponse (Maybe WorldGenerationJobStatus) Source #

The status of the world generator job.

Pending
The world generator job request is pending.
Running
The world generator job is running.
Completed
The world generator job completed.
Failed
The world generator job failed. See failureCode for more information.
PartialFailed
Some worlds did not generate.
Canceled
The world generator job was cancelled.
Canceling
The world generator job is being cancelled.

createWorldGenerationJobResponse_tags :: Lens' CreateWorldGenerationJobResponse (Maybe (HashMap Text Text)) Source #

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

createWorldGenerationJobResponse_template :: Lens' CreateWorldGenerationJobResponse (Maybe Text) Source #

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

createWorldGenerationJobResponse_worldTags :: Lens' CreateWorldGenerationJobResponse (Maybe (HashMap Text Text)) Source #

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