#[non_exhaustive]pub struct StartSimulationJobBatchOutput {
pub arn: Option<String>,
pub status: Option<SimulationJobBatchStatus>,
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>>,
}
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 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.
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 if the simulation job batch failed.
failure_reason: Option<String>
The reason the simulation job batch failed.
failed_requests: Option<Vec<FailedCreateSimulationJobRequest>>
A list of failed 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 request summaries.
A map that contains tag keys and tag values that are attached to the deployment job batch.
Implementations
sourceimpl StartSimulationJobBatchOutput
impl StartSimulationJobBatchOutput
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 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 if the simulation job batch failed.
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) -> Option<&[FailedCreateSimulationJobRequest]>
pub fn failed_requests(&self) -> Option<&[FailedCreateSimulationJobRequest]>
A list of failed simulation job requests. The request failed to be created into a simulation job. Failed requests do not have a simulation job ID.
sourcepub fn pending_requests(&self) -> Option<&[SimulationJobRequest]>
pub fn pending_requests(&self) -> Option<&[SimulationJobRequest]>
A list of pending simulation job requests. These requests have not yet been created into simulation jobs.
sourcepub fn created_requests(&self) -> Option<&[SimulationJobSummary]>
pub fn created_requests(&self) -> Option<&[SimulationJobSummary]>
A list of created simulation job request summaries.
A map that contains tag keys and tag values that are attached to the deployment job batch.
sourceimpl StartSimulationJobBatchOutput
impl StartSimulationJobBatchOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartSimulationJobBatchOutput
Trait Implementations
sourceimpl Clone for StartSimulationJobBatchOutput
impl Clone for StartSimulationJobBatchOutput
sourcefn clone(&self) -> StartSimulationJobBatchOutput
fn clone(&self) -> StartSimulationJobBatchOutput
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 StartSimulationJobBatchOutput
impl Debug for StartSimulationJobBatchOutput
sourceimpl PartialEq<StartSimulationJobBatchOutput> for StartSimulationJobBatchOutput
impl PartialEq<StartSimulationJobBatchOutput> for StartSimulationJobBatchOutput
sourcefn eq(&self, other: &StartSimulationJobBatchOutput) -> bool
fn eq(&self, other: &StartSimulationJobBatchOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartSimulationJobBatchOutput) -> bool
fn ne(&self, other: &StartSimulationJobBatchOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartSimulationJobBatchOutput
Auto Trait Implementations
impl RefUnwindSafe for StartSimulationJobBatchOutput
impl Send for StartSimulationJobBatchOutput
impl Sync for StartSimulationJobBatchOutput
impl Unpin for StartSimulationJobBatchOutput
impl UnwindSafe for StartSimulationJobBatchOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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