aws_sdk_deadline/client/
update_step.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateStep`](crate::operation::update_step::builders::UpdateStepFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::set_client_token):<br>required: **false**<br><p>The unique token which the server uses to recognize retries of the same request.</p><br>
    ///   - [`farm_id(impl Into<String>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID to update.</p><br>
    ///   - [`queue_id(impl Into<String>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID to update.</p><br>
    ///   - [`job_id(impl Into<String>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID to update.</p><br>
    ///   - [`step_id(impl Into<String>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::step_id) / [`set_step_id(Option<String>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::set_step_id):<br>required: **true**<br><p>The step ID to update.</p><br>
    ///   - [`target_task_run_status(StepTargetTaskRunStatus)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::target_task_run_status) / [`set_target_task_run_status(Option<StepTargetTaskRunStatus>)`](crate::operation::update_step::builders::UpdateStepFluentBuilder::set_target_task_run_status):<br>required: **true**<br><p>The task status to update the step's tasks to.</p><br>
    /// - On success, responds with [`UpdateStepOutput`](crate::operation::update_step::UpdateStepOutput)
    /// - On failure, responds with [`SdkError<UpdateStepError>`](crate::operation::update_step::UpdateStepError)
    pub fn update_step(&self) -> crate::operation::update_step::builders::UpdateStepFluentBuilder {
        crate::operation::update_step::builders::UpdateStepFluentBuilder::new(self.handle.clone())
    }
}