Struct rusoto_batch::JobDetail
source · [−]pub struct JobDetail {Show 22 fields
pub array_properties: Option<ArrayPropertiesDetail>,
pub attempts: Option<Vec<AttemptDetail>>,
pub container: Option<ContainerDetail>,
pub created_at: Option<i64>,
pub depends_on: Option<Vec<JobDependency>>,
pub job_arn: Option<String>,
pub job_definition: String,
pub job_id: String,
pub job_name: String,
pub job_queue: String,
pub node_details: Option<NodeDetails>,
pub node_properties: Option<NodeProperties>,
pub parameters: Option<HashMap<String, String>>,
pub platform_capabilities: Option<Vec<String>>,
pub propagate_tags: Option<bool>,
pub retry_strategy: Option<RetryStrategy>,
pub started_at: Option<i64>,
pub status: String,
pub status_reason: Option<String>,
pub stopped_at: Option<i64>,
pub tags: Option<HashMap<String, String>>,
pub timeout: Option<JobTimeout>,
}
Expand description
An object representing an AWS Batch job.
Fields
array_properties: Option<ArrayPropertiesDetail>
The array properties of the job, if it is an array job.
attempts: Option<Vec<AttemptDetail>>
A list of job attempts associated with this job.
container: Option<ContainerDetail>
An object representing the details of the container that's associated with the job.
created_at: Option<i64>
The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the SUBMITTED
state (at the time SubmitJob was called). For array child jobs, this is when the child job was spawned by its parent and entered the PENDING
state.
depends_on: Option<Vec<JobDependency>>
A list of job IDs that this job depends on.
job_arn: Option<String>
The Amazon Resource Name (ARN) of the job.
job_definition: String
The job definition that's used by this job.
job_id: String
The ID for the job.
job_name: String
The name of the job.
job_queue: String
The Amazon Resource Name (ARN) of the job queue that the job is associated with.
node_details: Option<NodeDetails>
An object representing the details of a node that's associated with a multi-node parallel job.
node_properties: Option<NodeProperties>
An object representing the node properties of a multi-node parallel job.
This isn't applicable to jobs running on Fargate resources.
parameters: Option<HashMap<String, String>>
Additional parameters passed to the job that replace parameter substitution placeholders or override any corresponding parameter defaults from the job definition.
platform_capabilities: Option<Vec<String>>
The platform capabilities required by the job definition. If no value is specified, it defaults to EC2
. Jobs run on Fargate resources specify FARGATE
.
Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no value is specified, the tags aren't propagated. Tags can only be propagated to the tasks during task creation. For tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags from the job and job definition is over 50, the job is moved to the FAILED
state.
retry_strategy: Option<RetryStrategy>
The retry strategy to use for this job if an attempt fails.
started_at: Option<i64>
The Unix timestamp (in milliseconds) for when the job was started (when the job transitioned from the STARTING
state to the RUNNING
state). This parameter isn't provided for child jobs of array jobs or multi-node parallel jobs.
status: String
The current status for the job.
If your jobs don't progress to STARTING
, see Jobs Stuck in RUNNABLE Status in the troubleshooting section of the AWS Batch User Guide.
status_reason: Option<String>
A short, human-readable string to provide additional details about the current status of the job.
stopped_at: Option<i64>
The Unix timestamp (in milliseconds) for when the job was stopped (when the job transitioned from the RUNNING
state to a terminal state, such as SUCCEEDED
or FAILED
).
The tags applied to the job.
timeout: Option<JobTimeout>
The timeout configuration for the job.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for JobDetail
impl<'de> Deserialize<'de> for JobDetail
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for JobDetail
Auto Trait Implementations
impl RefUnwindSafe for JobDetail
impl Send for JobDetail
impl Sync for JobDetail
impl Unpin for JobDetail
impl UnwindSafe for JobDetail
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> 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.
sourcefn clone_into(&self, target: &mut T)
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