Struct aws_sdk_robomaker::operation::create_world_generation_job::CreateWorldGenerationJobOutput
source · #[non_exhaustive]pub struct CreateWorldGenerationJobOutput {
pub arn: Option<String>,
pub status: Option<WorldGenerationJobStatus>,
pub created_at: Option<DateTime>,
pub failure_code: Option<WorldGenerationJobErrorCode>,
pub client_request_token: Option<String>,
pub template: Option<String>,
pub world_count: Option<WorldCount>,
pub tags: Option<HashMap<String, String>>,
pub world_tags: Option<HashMap<String, String>>,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.arn: Option<String>The Amazon Resource Name (ARN) of the world generator job.
status: Option<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
failureCodefor more information. - PartialFailed
-
Some worlds did not generate.
- Canceled
-
The world generator job was cancelled.
- Canceling
-
The world generator job is being cancelled.
created_at: Option<DateTime>The time, in milliseconds since the epoch, when the world generator job was created.
failure_code: Option<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.
client_request_token: Option<String>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
template: Option<String>The Amazon Resource Name (arn) of the world template.
world_count: Option<WorldCount>Information about the world count.
A map that contains tag keys and tag values that are attached to the world generator job.
A map that contains tag keys and tag values that are attached to the generated worlds.
Implementations§
source§impl CreateWorldGenerationJobOutput
impl CreateWorldGenerationJobOutput
sourcepub fn status(&self) -> Option<&WorldGenerationJobStatus>
pub fn status(&self) -> Option<&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
failureCodefor more information. - PartialFailed
-
Some worlds did not generate.
- Canceled
-
The world generator job was cancelled.
- Canceling
-
The world generator job is being cancelled.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time, in milliseconds since the epoch, when the world generator job was created.
sourcepub fn failure_code(&self) -> Option<&WorldGenerationJobErrorCode>
pub fn failure_code(&self) -> Option<&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.
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn world_count(&self) -> Option<&WorldCount>
pub fn world_count(&self) -> Option<&WorldCount>
Information about the world count.
A map that contains tag keys and tag values that are attached to the world generator job.
A map that contains tag keys and tag values that are attached to the generated worlds.
source§impl CreateWorldGenerationJobOutput
impl CreateWorldGenerationJobOutput
sourcepub fn builder() -> CreateWorldGenerationJobOutputBuilder
pub fn builder() -> CreateWorldGenerationJobOutputBuilder
Creates a new builder-style object to manufacture CreateWorldGenerationJobOutput.
Trait Implementations§
source§impl Clone for CreateWorldGenerationJobOutput
impl Clone for CreateWorldGenerationJobOutput
source§fn clone(&self) -> CreateWorldGenerationJobOutput
fn clone(&self) -> CreateWorldGenerationJobOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for CreateWorldGenerationJobOutput
impl PartialEq for CreateWorldGenerationJobOutput
source§fn eq(&self, other: &CreateWorldGenerationJobOutput) -> bool
fn eq(&self, other: &CreateWorldGenerationJobOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateWorldGenerationJobOutput
impl RequestId for CreateWorldGenerationJobOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.