| 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.CreateWorldGenerationJob
Description
Creates worlds using the specified template.
Synopsis
- data CreateWorldGenerationJob = CreateWorldGenerationJob' {}
- newCreateWorldGenerationJob :: Text -> WorldCount -> CreateWorldGenerationJob
- createWorldGenerationJob_clientRequestToken :: Lens' CreateWorldGenerationJob (Maybe Text)
- createWorldGenerationJob_tags :: Lens' CreateWorldGenerationJob (Maybe (HashMap Text Text))
- createWorldGenerationJob_worldTags :: Lens' CreateWorldGenerationJob (Maybe (HashMap Text Text))
- createWorldGenerationJob_template :: Lens' CreateWorldGenerationJob Text
- createWorldGenerationJob_worldCount :: Lens' CreateWorldGenerationJob WorldCount
- data CreateWorldGenerationJobResponse = CreateWorldGenerationJobResponse' {
- arn :: Maybe Text
- clientRequestToken :: Maybe Text
- createdAt :: Maybe POSIX
- failureCode :: Maybe WorldGenerationJobErrorCode
- status :: Maybe WorldGenerationJobStatus
- tags :: Maybe (HashMap Text Text)
- template :: Maybe Text
- worldCount :: Maybe WorldCount
- worldTags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newCreateWorldGenerationJobResponse :: Int -> CreateWorldGenerationJobResponse
- createWorldGenerationJobResponse_arn :: Lens' CreateWorldGenerationJobResponse (Maybe Text)
- createWorldGenerationJobResponse_clientRequestToken :: Lens' CreateWorldGenerationJobResponse (Maybe Text)
- createWorldGenerationJobResponse_createdAt :: Lens' CreateWorldGenerationJobResponse (Maybe UTCTime)
- createWorldGenerationJobResponse_failureCode :: Lens' CreateWorldGenerationJobResponse (Maybe WorldGenerationJobErrorCode)
- createWorldGenerationJobResponse_status :: Lens' CreateWorldGenerationJobResponse (Maybe WorldGenerationJobStatus)
- createWorldGenerationJobResponse_tags :: Lens' CreateWorldGenerationJobResponse (Maybe (HashMap Text Text))
- createWorldGenerationJobResponse_template :: Lens' CreateWorldGenerationJobResponse (Maybe Text)
- createWorldGenerationJobResponse_worldCount :: Lens' CreateWorldGenerationJobResponse (Maybe WorldCount)
- createWorldGenerationJobResponse_worldTags :: Lens' CreateWorldGenerationJobResponse (Maybe (HashMap Text Text))
- createWorldGenerationJobResponse_httpStatus :: Lens' CreateWorldGenerationJobResponse Int
Creating a Request
data CreateWorldGenerationJob Source #
See: newCreateWorldGenerationJob smart constructor.
Constructors
| CreateWorldGenerationJob' | |
Fields
| |
Instances
newCreateWorldGenerationJob Source #
Arguments
| :: Text | |
| -> WorldCount | |
| -> CreateWorldGenerationJob |
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.
createWorldGenerationJob_worldCount :: Lens' CreateWorldGenerationJob WorldCount Source #
Information about the world count.
Destructuring the Response
data CreateWorldGenerationJobResponse Source #
See: newCreateWorldGenerationJobResponse smart constructor.
Constructors
| CreateWorldGenerationJobResponse' | |
Fields
| |
Instances
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
failureCodefor 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
failureCodefor 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_worldCount :: Lens' CreateWorldGenerationJobResponse (Maybe WorldCount) Source #
Information about the world count.
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.
createWorldGenerationJobResponse_httpStatus :: Lens' CreateWorldGenerationJobResponse Int Source #
The response's http status code.