#[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). SeefailureCodeandfailureReasonfor 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
InternalServiceErrorand (2) when all created simulation jobs have reached a terminal state (for example,CompletedorFailed). - 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: i32The number of failed simulation job requests.
pending_request_count: i32The number of pending simulation job requests.
created_request_count: i32The number of created simulation job requests.
Implementations§
source§impl 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). SeefailureCodeandfailureReasonfor 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
InternalServiceErrorand (2) when all created simulation jobs have reached a terminal state (for example,CompletedorFailed). - 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.
source§impl SimulationJobBatchSummary
impl SimulationJobBatchSummary
sourcepub fn builder() -> SimulationJobBatchSummaryBuilder
pub fn builder() -> SimulationJobBatchSummaryBuilder
Creates a new builder-style object to manufacture SimulationJobBatchSummary.
Trait Implementations§
source§impl Clone for SimulationJobBatchSummary
impl Clone for SimulationJobBatchSummary
source§fn clone(&self) -> SimulationJobBatchSummary
fn clone(&self) -> SimulationJobBatchSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SimulationJobBatchSummary
impl Debug for SimulationJobBatchSummary
source§impl PartialEq for SimulationJobBatchSummary
impl PartialEq for SimulationJobBatchSummary
source§fn eq(&self, other: &SimulationJobBatchSummary) -> bool
fn eq(&self, other: &SimulationJobBatchSummary) -> bool
self and other values to be equal, and is used
by ==.