Struct aws_sdk_robomaker::model::SimulationJobBatchSummary
source · [−]#[non_exhaustive]pub struct SimulationJobBatchSummary {
pub arn: Option<String>,
pub last_updated_at: Option<DateTime>,
pub created_at: Option<DateTime>,
pub status: Option<SimulationJobBatchStatus>,
pub failed_request_count: i32,
pub pending_request_count: i32,
pub created_request_count: i32,
}
Expand description
Information about a simulation job batch.
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 batch.
last_updated_at: Option<DateTime>
The time, in milliseconds since the epoch, when the simulation job batch was last updated.
created_at: Option<DateTime>
The time, in milliseconds since the epoch, when the simulation job batch was created.
status: Option<SimulationJobBatchStatus>
The status of the simulation job batch.
- Pending
-
The simulation job batch request is pending.
- InProgress
-
The simulation job batch is in progress.
- Failed
-
The simulation job batch failed. One or more simulation job requests could not be completed due to an internal failure (like
InternalServiceError
). SeefailureCode
andfailureReason
for more information. - Completed
-
The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in the batch and none of the failed simulation job requests are due to
InternalServiceError
and (2) when all created simulation jobs have reached a terminal state (for example,Completed
orFailed
). - Canceled
-
The simulation batch job was cancelled.
- Canceling
-
The simulation batch job is being cancelled.
- Completing
-
The simulation batch job is completing.
- TimingOut
-
The simulation job batch is timing out.
If a batch timing out, and there are pending requests that were failing due to an internal failure (like
InternalServiceError
), the batch status will beFailed
. If there are no such failing request, the batch status will beTimedOut
. - TimedOut
-
The simulation batch job timed out.
failed_request_count: i32
The number of failed simulation job requests.
pending_request_count: i32
The number of pending simulation job requests.
created_request_count: i32
The number of created simulation job requests.
Implementations
sourceimpl SimulationJobBatchSummary
impl SimulationJobBatchSummary
sourcepub fn last_updated_at(&self) -> Option<&DateTime>
pub fn last_updated_at(&self) -> Option<&DateTime>
The time, in milliseconds since the epoch, when the simulation job batch was last updated.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The time, in milliseconds since the epoch, when the simulation job batch was created.
sourcepub fn status(&self) -> Option<&SimulationJobBatchStatus>
pub fn status(&self) -> Option<&SimulationJobBatchStatus>
The status of the simulation job batch.
- Pending
-
The simulation job batch request is pending.
- InProgress
-
The simulation job batch is in progress.
- Failed
-
The simulation job batch failed. One or more simulation job requests could not be completed due to an internal failure (like
InternalServiceError
). SeefailureCode
andfailureReason
for more information. - Completed
-
The simulation batch job completed. A batch is complete when (1) there are no pending simulation job requests in the batch and none of the failed simulation job requests are due to
InternalServiceError
and (2) when all created simulation jobs have reached a terminal state (for example,Completed
orFailed
). - Canceled
-
The simulation batch job was cancelled.
- Canceling
-
The simulation batch job is being cancelled.
- Completing
-
The simulation batch job is completing.
- TimingOut
-
The simulation job batch is timing out.
If a batch timing out, and there are pending requests that were failing due to an internal failure (like
InternalServiceError
), the batch status will beFailed
. If there are no such failing request, the batch status will beTimedOut
. - TimedOut
-
The simulation batch job timed out.
sourcepub fn failed_request_count(&self) -> i32
pub fn failed_request_count(&self) -> i32
The number of failed simulation job requests.
sourcepub fn pending_request_count(&self) -> i32
pub fn pending_request_count(&self) -> i32
The number of pending simulation job requests.
sourcepub fn created_request_count(&self) -> i32
pub fn created_request_count(&self) -> i32
The number of created simulation job requests.
sourceimpl SimulationJobBatchSummary
impl SimulationJobBatchSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SimulationJobBatchSummary
Trait Implementations
sourceimpl Clone for SimulationJobBatchSummary
impl Clone for SimulationJobBatchSummary
sourcefn clone(&self) -> SimulationJobBatchSummary
fn clone(&self) -> SimulationJobBatchSummary
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 Debug for SimulationJobBatchSummary
impl Debug for SimulationJobBatchSummary
sourceimpl PartialEq<SimulationJobBatchSummary> for SimulationJobBatchSummary
impl PartialEq<SimulationJobBatchSummary> for SimulationJobBatchSummary
sourcefn eq(&self, other: &SimulationJobBatchSummary) -> bool
fn eq(&self, other: &SimulationJobBatchSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SimulationJobBatchSummary) -> bool
fn ne(&self, other: &SimulationJobBatchSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for SimulationJobBatchSummary
Auto Trait Implementations
impl RefUnwindSafe for SimulationJobBatchSummary
impl Send for SimulationJobBatchSummary
impl Sync for SimulationJobBatchSummary
impl Unpin for SimulationJobBatchSummary
impl UnwindSafe for SimulationJobBatchSummary
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