aws_sdk_deadline/client/
update_task.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateTask`](crate::operation::update_task::builders::UpdateTaskFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::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_task::builders::UpdateTaskFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID to update.</p><br>
    ///   - [`queue_id(impl Into<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::queue_id) / [`set_queue_id(Option<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::set_queue_id):<br>required: **true**<br><p>The queue ID to update.</p><br>
    ///   - [`job_id(impl Into<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID to update.</p><br>
    ///   - [`step_id(impl Into<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::step_id) / [`set_step_id(Option<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::set_step_id):<br>required: **true**<br><p>The step ID to update.</p><br>
    ///   - [`task_id(impl Into<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::task_id) / [`set_task_id(Option<String>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::set_task_id):<br>required: **true**<br><p>The task ID to update.</p><br>
    ///   - [`target_run_status(TaskTargetRunStatus)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::target_run_status) / [`set_target_run_status(Option<TaskTargetRunStatus>)`](crate::operation::update_task::builders::UpdateTaskFluentBuilder::set_target_run_status):<br>required: **true**<br><p>The run status with which to start the task.</p><br>
    /// - On success, responds with [`UpdateTaskOutput`](crate::operation::update_task::UpdateTaskOutput)
    /// - On failure, responds with [`SdkError<UpdateTaskError>`](crate::operation::update_task::UpdateTaskError)
    pub fn update_task(&self) -> crate::operation::update_task::builders::UpdateTaskFluentBuilder {
        crate::operation::update_task::builders::UpdateTaskFluentBuilder::new(self.handle.clone())
    }
}