Struct aws_sdk_deadline::operation::get_job::GetJobOutput
source · #[non_exhaustive]pub struct GetJobOutput {Show 20 fields
pub job_id: String,
pub name: String,
pub lifecycle_status: JobLifecycleStatus,
pub lifecycle_status_message: String,
pub priority: i32,
pub created_at: DateTime,
pub created_by: String,
pub updated_at: Option<DateTime>,
pub updated_by: Option<String>,
pub started_at: Option<DateTime>,
pub ended_at: Option<DateTime>,
pub task_run_status: Option<TaskRunStatus>,
pub target_task_run_status: Option<JobTargetTaskRunStatus>,
pub task_run_status_counts: Option<HashMap<TaskRunStatus, i32>>,
pub storage_profile_id: Option<String>,
pub max_failed_tasks_count: Option<i32>,
pub max_retries_per_task: Option<i32>,
pub parameters: Option<HashMap<String, JobParameter>>,
pub attachments: Option<Attachments>,
pub description: Option<String>,
/* private fields */
}
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.job_id: String
The job ID.
name: String
The name of the job.
lifecycle_status: JobLifecycleStatus
The life cycle status for the job.
lifecycle_status_message: String
A message that communicates the status of the life cycle for the job.
priority: i32
The job priority.
created_at: DateTime
The date and time the resource was created.
created_by: String
The user or system that created this resource.
updated_at: Option<DateTime>
The date and time the resource was updated.
updated_by: Option<String>
The user or system that updated this resource.
started_at: Option<DateTime>
The date and time the resource started running.
ended_at: Option<DateTime>
The date and time the resource ended running.
task_run_status: Option<TaskRunStatus>
The task run status for the job.
target_task_run_status: Option<JobTargetTaskRunStatus>
The task status with which the job started.
task_run_status_counts: Option<HashMap<TaskRunStatus, i32>>
The number of tasks running on the job.
storage_profile_id: Option<String>
The storage profile ID associated with the job.
max_failed_tasks_count: Option<i32>
The number of task failures before the job stops running and is marked as FAILED
.
max_retries_per_task: Option<i32>
The maximum number of retries per failed tasks.
parameters: Option<HashMap<String, JobParameter>>
The parameters for the job.
attachments: Option<Attachments>
The attachments for the job.
description: Option<String>
The description of the job.
Implementations§
source§impl GetJobOutput
impl GetJobOutput
sourcepub fn lifecycle_status(&self) -> &JobLifecycleStatus
pub fn lifecycle_status(&self) -> &JobLifecycleStatus
The life cycle status for the job.
sourcepub fn lifecycle_status_message(&self) -> &str
pub fn lifecycle_status_message(&self) -> &str
A message that communicates the status of the life cycle for the job.
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The date and time the resource was created.
sourcepub fn created_by(&self) -> &str
pub fn created_by(&self) -> &str
The user or system that created this resource.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The date and time the resource was updated.
sourcepub fn updated_by(&self) -> Option<&str>
pub fn updated_by(&self) -> Option<&str>
The user or system that updated this resource.
sourcepub fn started_at(&self) -> Option<&DateTime>
pub fn started_at(&self) -> Option<&DateTime>
The date and time the resource started running.
sourcepub fn task_run_status(&self) -> Option<&TaskRunStatus>
pub fn task_run_status(&self) -> Option<&TaskRunStatus>
The task run status for the job.
sourcepub fn target_task_run_status(&self) -> Option<&JobTargetTaskRunStatus>
pub fn target_task_run_status(&self) -> Option<&JobTargetTaskRunStatus>
The task status with which the job started.
sourcepub fn task_run_status_counts(&self) -> Option<&HashMap<TaskRunStatus, i32>>
pub fn task_run_status_counts(&self) -> Option<&HashMap<TaskRunStatus, i32>>
The number of tasks running on the job.
sourcepub fn storage_profile_id(&self) -> Option<&str>
pub fn storage_profile_id(&self) -> Option<&str>
The storage profile ID associated with the job.
sourcepub fn max_failed_tasks_count(&self) -> Option<i32>
pub fn max_failed_tasks_count(&self) -> Option<i32>
The number of task failures before the job stops running and is marked as FAILED
.
sourcepub fn max_retries_per_task(&self) -> Option<i32>
pub fn max_retries_per_task(&self) -> Option<i32>
The maximum number of retries per failed tasks.
sourcepub fn parameters(&self) -> Option<&HashMap<String, JobParameter>>
pub fn parameters(&self) -> Option<&HashMap<String, JobParameter>>
The parameters for the job.
sourcepub fn attachments(&self) -> Option<&Attachments>
pub fn attachments(&self) -> Option<&Attachments>
The attachments for the job.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the job.
source§impl GetJobOutput
impl GetJobOutput
sourcepub fn builder() -> GetJobOutputBuilder
pub fn builder() -> GetJobOutputBuilder
Creates a new builder-style object to manufacture GetJobOutput
.
Trait Implementations§
source§impl Clone for GetJobOutput
impl Clone for GetJobOutput
source§fn clone(&self) -> GetJobOutput
fn clone(&self) -> GetJobOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetJobOutput
impl Debug for GetJobOutput
source§impl PartialEq for GetJobOutput
impl PartialEq for GetJobOutput
source§fn eq(&self, other: &GetJobOutput) -> bool
fn eq(&self, other: &GetJobOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetJobOutput
impl RequestId for GetJobOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.