aws_sdk_deadline/client/
get_step.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetStep`](crate::operation::get_step::builders::GetStepFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`farm_id(impl Into<String>)`](crate::operation::get_step::builders::GetStepFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::get_step::builders::GetStepFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID for the step.</p><br>
    ///   - [`queue_id(impl Into<String>)`](crate::operation::get_step::builders::GetStepFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::get_step::builders::GetStepFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID for the step.</p><br>
    ///   - [`job_id(impl Into<String>)`](crate::operation::get_step::builders::GetStepFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_step::builders::GetStepFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID for the step.</p><br>
    ///   - [`step_id(impl Into<String>)`](crate::operation::get_step::builders::GetStepFluentBuilder::step_id) / [`set_step_id(Option<String>)`](crate::operation::get_step::builders::GetStepFluentBuilder::set_step_id):<br>required: **true**<br><p>The step ID.</p><br>
    /// - On success, responds with [`GetStepOutput`](crate::operation::get_step::GetStepOutput) with field(s):
    ///   - [`step_id(String)`](crate::operation::get_step::GetStepOutput::step_id): <p>The step ID.</p>
    ///   - [`name(String)`](crate::operation::get_step::GetStepOutput::name): <p>The name of the step.</p>
    ///   - [`lifecycle_status(StepLifecycleStatus)`](crate::operation::get_step::GetStepOutput::lifecycle_status): <p>The life cycle status of the step.</p>
    ///   - [`lifecycle_status_message(Option<String>)`](crate::operation::get_step::GetStepOutput::lifecycle_status_message): <p>A message that describes the lifecycle status of the step.</p>
    ///   - [`task_run_status(TaskRunStatus)`](crate::operation::get_step::GetStepOutput::task_run_status): <p>The task run status for the job.</p>
    ///   - [`task_run_status_counts(HashMap::<TaskRunStatus, i32>)`](crate::operation::get_step::GetStepOutput::task_run_status_counts): <p>The number of tasks running on the job.</p>
    ///   - [`target_task_run_status(Option<StepTargetTaskRunStatus>)`](crate::operation::get_step::GetStepOutput::target_task_run_status): <p>The task status with which the job started.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_step::GetStepOutput::created_at): <p>The date and time the resource was created.</p>
    ///   - [`created_by(String)`](crate::operation::get_step::GetStepOutput::created_by): <p>The user or system that created this resource.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_step::GetStepOutput::updated_at): <p>The date and time the resource was updated.</p>
    ///   - [`updated_by(Option<String>)`](crate::operation::get_step::GetStepOutput::updated_by): <p>The user or system that updated this resource.</p>
    ///   - [`started_at(Option<DateTime>)`](crate::operation::get_step::GetStepOutput::started_at): <p>The date and time the resource started running.</p>
    ///   - [`ended_at(Option<DateTime>)`](crate::operation::get_step::GetStepOutput::ended_at): <p>The date and time the resource ended running.</p>
    ///   - [`dependency_counts(Option<DependencyCounts>)`](crate::operation::get_step::GetStepOutput::dependency_counts): <p>The number of dependencies in the step.</p>
    ///   - [`required_capabilities(Option<StepRequiredCapabilities>)`](crate::operation::get_step::GetStepOutput::required_capabilities): <p>The required capabilities of the step.</p>
    ///   - [`parameter_space(Option<ParameterSpace>)`](crate::operation::get_step::GetStepOutput::parameter_space): <p>A list of step parameters and the combination expression for the step.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_step::GetStepOutput::description): <p>The description of the step.</p><important>  <p>This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.</p> </important>
    /// - On failure, responds with [`SdkError<GetStepError>`](crate::operation::get_step::GetStepError)
    pub fn get_step(&self) -> crate::operation::get_step::builders::GetStepFluentBuilder {
        crate::operation::get_step::builders::GetStepFluentBuilder::new(self.handle.clone())
    }
}