Struct aws_sdk_deadline::types::StepSearchSummary
source · #[non_exhaustive]pub struct StepSearchSummary {Show 13 fields
pub step_id: Option<String>,
pub job_id: Option<String>,
pub queue_id: Option<String>,
pub name: Option<String>,
pub lifecycle_status: Option<StepLifecycleStatus>,
pub lifecycle_status_message: Option<String>,
pub task_run_status: Option<TaskRunStatus>,
pub target_task_run_status: Option<StepTargetTaskRunStatus>,
pub task_run_status_counts: Option<HashMap<TaskRunStatus, i32>>,
pub created_at: Option<DateTime>,
pub started_at: Option<DateTime>,
pub ended_at: Option<DateTime>,
pub parameter_space: Option<ParameterSpace>,
}Expand description
The details of a step search.
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.step_id: Option<String>The step ID.
job_id: Option<String>The job ID.
queue_id: Option<String>The queue ID.
name: Option<String>The step name.
lifecycle_status: Option<StepLifecycleStatus>The life cycle status.
lifecycle_status_message: Option<String>The life cycle status message.
task_run_status: Option<TaskRunStatus>The task run status for the job.
-
PENDING–pending and waiting for resources. -
READY–ready to be processed. -
ASSIGNED–assigned and will run next on a worker. -
SCHEDULED–scheduled to be run on a worker. -
INTERRUPTING–being interrupted. -
RUNNING–running on a worker. -
SUSPENDED–the task is suspended. -
CANCELED–the task has been canceled. -
FAILED–the task has failed. -
SUCCEEDED–the task has succeeded.
target_task_run_status: Option<StepTargetTaskRunStatus>The task status to start with on the job.
task_run_status_counts: Option<HashMap<TaskRunStatus, i32>>The number of tasks running on the job.
created_at: Option<DateTime>The date and time the resource was created.
started_at: Option<DateTime>The date and time the resource started running.
ended_at: Option<DateTime>The date and time the resource ended running.
parameter_space: Option<ParameterSpace>The parameters and combination expressions for the search.
Implementations§
source§impl StepSearchSummary
impl StepSearchSummary
sourcepub fn lifecycle_status(&self) -> Option<&StepLifecycleStatus>
pub fn lifecycle_status(&self) -> Option<&StepLifecycleStatus>
The life cycle status.
sourcepub fn lifecycle_status_message(&self) -> Option<&str>
pub fn lifecycle_status_message(&self) -> Option<&str>
The life cycle status message.
sourcepub fn task_run_status(&self) -> Option<&TaskRunStatus>
pub fn task_run_status(&self) -> Option<&TaskRunStatus>
The task run status for the job.
-
PENDING–pending and waiting for resources. -
READY–ready to be processed. -
ASSIGNED–assigned and will run next on a worker. -
SCHEDULED–scheduled to be run on a worker. -
INTERRUPTING–being interrupted. -
RUNNING–running on a worker. -
SUSPENDED–the task is suspended. -
CANCELED–the task has been canceled. -
FAILED–the task has failed. -
SUCCEEDED–the task has succeeded.
sourcepub fn target_task_run_status(&self) -> Option<&StepTargetTaskRunStatus>
pub fn target_task_run_status(&self) -> Option<&StepTargetTaskRunStatus>
The task status to start with on the job.
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 created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time the resource was created.
sourcepub fn started_at(&self) -> Option<&DateTime>
pub fn started_at(&self) -> Option<&DateTime>
The date and time the resource started running.
sourcepub fn parameter_space(&self) -> Option<&ParameterSpace>
pub fn parameter_space(&self) -> Option<&ParameterSpace>
The parameters and combination expressions for the search.
source§impl StepSearchSummary
impl StepSearchSummary
sourcepub fn builder() -> StepSearchSummaryBuilder
pub fn builder() -> StepSearchSummaryBuilder
Creates a new builder-style object to manufacture StepSearchSummary.
Trait Implementations§
source§impl Clone for StepSearchSummary
impl Clone for StepSearchSummary
source§fn clone(&self) -> StepSearchSummary
fn clone(&self) -> StepSearchSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StepSearchSummary
impl Debug for StepSearchSummary
source§impl PartialEq for StepSearchSummary
impl PartialEq for StepSearchSummary
source§fn eq(&self, other: &StepSearchSummary) -> bool
fn eq(&self, other: &StepSearchSummary) -> bool
self and other values to be equal, and is used
by ==.