Struct aws_sdk_robomaker::operation::describe_simulation_job_batch::DescribeSimulationJobBatchOutput
source · #[non_exhaustive]pub struct DescribeSimulationJobBatchOutput {
pub arn: Option<String>,
pub status: Option<SimulationJobBatchStatus>,
pub last_updated_at: Option<DateTime>,
pub created_at: Option<DateTime>,
pub client_request_token: Option<String>,
pub batch_policy: Option<BatchPolicy>,
pub failure_code: Option<SimulationJobBatchErrorCode>,
pub failure_reason: Option<String>,
pub failed_requests: Option<Vec<FailedCreateSimulationJobRequest>>,
pub pending_requests: Option<Vec<SimulationJobRequest>>,
pub created_requests: Option<Vec<SimulationJobSummary>>,
pub 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 batch.
status: Option<SimulationJobBatchStatus>The status of the 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.
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.
client_request_token: Option<String>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
batch_policy: Option<BatchPolicy>The batch policy.
failure_code: Option<SimulationJobBatchErrorCode>The failure code of the simulation job batch.
failure_reason: Option<String>The reason the simulation job batch failed.
failed_requests: Option<Vec<FailedCreateSimulationJobRequest>>A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed requests do not have a simulation job ID.
pending_requests: Option<Vec<SimulationJobRequest>>A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
created_requests: Option<Vec<SimulationJobSummary>>A list of created simulation job summaries.
A map that contains tag keys and tag values that are attached to the simulation job batch.
Implementations§
source§impl DescribeSimulationJobBatchOutput
impl DescribeSimulationJobBatchOutput
sourcepub fn status(&self) -> Option<&SimulationJobBatchStatus>
pub fn status(&self) -> Option<&SimulationJobBatchStatus>
The status of the 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 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 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 batch_policy(&self) -> Option<&BatchPolicy>
pub fn batch_policy(&self) -> Option<&BatchPolicy>
The batch policy.
sourcepub fn failure_code(&self) -> Option<&SimulationJobBatchErrorCode>
pub fn failure_code(&self) -> Option<&SimulationJobBatchErrorCode>
The failure code of the simulation job batch.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
The reason the simulation job batch failed.
sourcepub fn failed_requests(&self) -> &[FailedCreateSimulationJobRequest]
pub fn failed_requests(&self) -> &[FailedCreateSimulationJobRequest]
A list of failed create simulation job requests. The request failed to be created into a simulation job. Failed requests do not have a simulation job ID.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .failed_requests.is_none().
sourcepub fn pending_requests(&self) -> &[SimulationJobRequest]
pub fn pending_requests(&self) -> &[SimulationJobRequest]
A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .pending_requests.is_none().
sourcepub fn created_requests(&self) -> &[SimulationJobSummary]
pub fn created_requests(&self) -> &[SimulationJobSummary]
A list of created simulation job summaries.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .created_requests.is_none().
A map that contains tag keys and tag values that are attached to the simulation job batch.
source§impl DescribeSimulationJobBatchOutput
impl DescribeSimulationJobBatchOutput
sourcepub fn builder() -> DescribeSimulationJobBatchOutputBuilder
pub fn builder() -> DescribeSimulationJobBatchOutputBuilder
Creates a new builder-style object to manufacture DescribeSimulationJobBatchOutput.
Trait Implementations§
source§impl Clone for DescribeSimulationJobBatchOutput
impl Clone for DescribeSimulationJobBatchOutput
source§fn clone(&self) -> DescribeSimulationJobBatchOutput
fn clone(&self) -> DescribeSimulationJobBatchOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DescribeSimulationJobBatchOutput
impl PartialEq for DescribeSimulationJobBatchOutput
source§fn eq(&self, other: &DescribeSimulationJobBatchOutput) -> bool
fn eq(&self, other: &DescribeSimulationJobBatchOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for DescribeSimulationJobBatchOutput
impl RequestId for DescribeSimulationJobBatchOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for DescribeSimulationJobBatchOutput
Auto Trait Implementations§
impl Freeze for DescribeSimulationJobBatchOutput
impl RefUnwindSafe for DescribeSimulationJobBatchOutput
impl Send for DescribeSimulationJobBatchOutput
impl Sync for DescribeSimulationJobBatchOutput
impl Unpin for DescribeSimulationJobBatchOutput
impl UnwindSafe for DescribeSimulationJobBatchOutput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more