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
sourceimpl 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.
sourceimpl AttemptContainerDetail
impl AttemptContainerDetail
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AttemptContainerDetail
.
Trait Implementations
sourceimpl Clone for AttemptContainerDetail
impl Clone for AttemptContainerDetail
sourcefn clone(&self) -> AttemptContainerDetail
fn clone(&self) -> AttemptContainerDetail
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 AttemptContainerDetail
impl Debug for AttemptContainerDetail
sourceimpl PartialEq<AttemptContainerDetail> for AttemptContainerDetail
impl PartialEq<AttemptContainerDetail> for AttemptContainerDetail
sourcefn eq(&self, other: &AttemptContainerDetail) -> bool
fn eq(&self, other: &AttemptContainerDetail) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for AttemptContainerDetail
Auto Trait Implementations
impl RefUnwindSafe for AttemptContainerDetail
impl Send for AttemptContainerDetail
impl Sync for AttemptContainerDetail
impl Unpin for AttemptContainerDetail
impl UnwindSafe for AttemptContainerDetail
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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