Struct aws_sdk_batch::types::EksAttemptDetail
source · #[non_exhaustive]pub struct EksAttemptDetail {
pub containers: Option<Vec<EksAttemptContainerDetail>>,
pub pod_name: Option<String>,
pub node_name: Option<String>,
pub started_at: Option<i64>,
pub stopped_at: Option<i64>,
pub status_reason: Option<String>,
}
Expand description
An object that represents the details of a job attempt for a job attempt by an Amazon EKS container.
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.containers: Option<Vec<EksAttemptContainerDetail>>
The details for the final status of the containers for this job attempt.
pod_name: Option<String>
The name of the pod for this job attempt.
node_name: Option<String>
The name of the node for this job attempt.
started_at: Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING
state to the RUNNING
state).
stopped_at: Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
.
status_reason: Option<String>
A short, human-readable string to provide additional details for the current status of the job attempt.
Implementations§
source§impl EksAttemptDetail
impl EksAttemptDetail
sourcepub fn containers(&self) -> Option<&[EksAttemptContainerDetail]>
pub fn containers(&self) -> Option<&[EksAttemptContainerDetail]>
The details for the final status of the containers for this job attempt.
sourcepub fn started_at(&self) -> Option<i64>
pub fn started_at(&self) -> Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING
state to the RUNNING
state).
sourcepub fn stopped_at(&self) -> Option<i64>
pub fn stopped_at(&self) -> Option<i64>
The Unix timestamp (in milliseconds) for when the attempt was stopped. This happens when the attempt transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
A short, human-readable string to provide additional details for the current status of the job attempt.
source§impl EksAttemptDetail
impl EksAttemptDetail
sourcepub fn builder() -> EksAttemptDetailBuilder
pub fn builder() -> EksAttemptDetailBuilder
Creates a new builder-style object to manufacture EksAttemptDetail
.
Trait Implementations§
source§impl Clone for EksAttemptDetail
impl Clone for EksAttemptDetail
source§fn clone(&self) -> EksAttemptDetail
fn clone(&self) -> EksAttemptDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EksAttemptDetail
impl Debug for EksAttemptDetail
source§impl PartialEq<EksAttemptDetail> for EksAttemptDetail
impl PartialEq<EksAttemptDetail> for EksAttemptDetail
source§fn eq(&self, other: &EksAttemptDetail) -> bool
fn eq(&self, other: &EksAttemptDetail) -> bool
self
and other
values to be equal, and is used
by ==
.