#[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>>,
}
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
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.
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
sourceimpl 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
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.
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.
sourceimpl CreateWorldGenerationJobOutput
impl CreateWorldGenerationJobOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateWorldGenerationJobOutput
Trait Implementations
sourceimpl Clone for CreateWorldGenerationJobOutput
impl Clone for CreateWorldGenerationJobOutput
sourcefn clone(&self) -> CreateWorldGenerationJobOutput
fn clone(&self) -> CreateWorldGenerationJobOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<CreateWorldGenerationJobOutput> for CreateWorldGenerationJobOutput
impl PartialEq<CreateWorldGenerationJobOutput> for CreateWorldGenerationJobOutput
sourcefn eq(&self, other: &CreateWorldGenerationJobOutput) -> bool
fn eq(&self, other: &CreateWorldGenerationJobOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateWorldGenerationJobOutput) -> bool
fn ne(&self, other: &CreateWorldGenerationJobOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateWorldGenerationJobOutput
Auto Trait Implementations
impl RefUnwindSafe for CreateWorldGenerationJobOutput
impl Send for CreateWorldGenerationJobOutput
impl Sync for CreateWorldGenerationJobOutput
impl Unpin for CreateWorldGenerationJobOutput
impl UnwindSafe for CreateWorldGenerationJobOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more