Struct aws_sdk_batch::types::JobTimeout
source · #[non_exhaustive]pub struct JobTimeout {
pub attempt_duration_seconds: Option<i32>,
}
Expand description
An object that represents a job timeout configuration.
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.attempt_duration_seconds: Option<i32>
The job timeout time (in seconds) that's measured from the job attempt's startedAt
timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.
For array jobs, the timeout applies to the child jobs, not to the parent array job.
For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.
Implementations§
source§impl JobTimeout
impl JobTimeout
sourcepub fn attempt_duration_seconds(&self) -> Option<i32>
pub fn attempt_duration_seconds(&self) -> Option<i32>
The job timeout time (in seconds) that's measured from the job attempt's startedAt
timestamp. After this time passes, Batch terminates your jobs if they aren't finished. The minimum value for the timeout is 60 seconds.
For array jobs, the timeout applies to the child jobs, not to the parent array job.
For multi-node parallel (MNP) jobs, the timeout applies to the whole job, not to the individual nodes.
source§impl JobTimeout
impl JobTimeout
sourcepub fn builder() -> JobTimeoutBuilder
pub fn builder() -> JobTimeoutBuilder
Creates a new builder-style object to manufacture JobTimeout
.
Trait Implementations§
source§impl Clone for JobTimeout
impl Clone for JobTimeout
source§fn clone(&self) -> JobTimeout
fn clone(&self) -> JobTimeout
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for JobTimeout
impl Debug for JobTimeout
source§impl PartialEq<JobTimeout> for JobTimeout
impl PartialEq<JobTimeout> for JobTimeout
source§fn eq(&self, other: &JobTimeout) -> bool
fn eq(&self, other: &JobTimeout) -> bool
self
and other
values to be equal, and is used
by ==
.