Struct aws_sdk_batch::model::AttemptContainerDetail
source · #[non_exhaustive]pub struct AttemptContainerDetail { /* private fields */ }
Expand description
An object representing the details of a container that's part of a job attempt.
Implementations§
source§impl AttemptContainerDetail
impl AttemptContainerDetail
sourcepub fn container_instance_arn(&self) -> Option<&str>
pub fn container_instance_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.
sourcepub fn task_arn(&self) -> Option<&str>
pub fn task_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with the job attempt. Each container attempt receives a task ARN when they reach the STARTING
status.
sourcepub fn exit_code(&self) -> Option<i32>
pub fn exit_code(&self) -> Option<i32>
The exit code for the job attempt. A non-zero exit code is considered a failure.
sourcepub fn reason(&self) -> Option<&str>
pub fn reason(&self) -> Option<&str>
A short (255 max characters) human-readable string to provide additional details about a running or stopped container.
sourcepub fn log_stream_name(&self) -> Option<&str>
pub fn log_stream_name(&self) -> Option<&str>
The name of the CloudWatch Logs log stream associated with the container. The log group for Batch jobs is /aws/batch/job
. Each container attempt receives a log stream name when they reach the RUNNING
status.
sourcepub fn network_interfaces(&self) -> Option<&[NetworkInterface]>
pub fn network_interfaces(&self) -> Option<&[NetworkInterface]>
The network interfaces associated with the job attempt.
source§impl AttemptContainerDetail
impl AttemptContainerDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AttemptContainerDetail
.
Trait Implementations§
source§impl Clone for AttemptContainerDetail
impl Clone for AttemptContainerDetail
source§fn clone(&self) -> AttemptContainerDetail
fn clone(&self) -> AttemptContainerDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more