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 [`ReportTaskProgress`](crate::operation::report_task_progress::builders::ReportTaskProgressFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`task_id(impl Into<String>)`](crate::operation::report_task_progress::builders::ReportTaskProgressFluentBuilder::task_id) / [`set_task_id(Option<String>)`](crate::operation::report_task_progress::builders::ReportTaskProgressFluentBuilder::set_task_id): <p>The ID of the task assigned to the task runner. This value is provided in the response for <code>PollForTask</code>.</p>
    ///   - [`fields(Vec<Field>)`](crate::operation::report_task_progress::builders::ReportTaskProgressFluentBuilder::fields) / [`set_fields(Option<Vec<Field>>)`](crate::operation::report_task_progress::builders::ReportTaskProgressFluentBuilder::set_fields): <p>Key-value pairs that define the properties of the ReportTaskProgressInput object.</p>
    /// - On success, responds with [`ReportTaskProgressOutput`](crate::operation::report_task_progress::ReportTaskProgressOutput) with field(s):
    ///   - [`canceled(bool)`](crate::operation::report_task_progress::ReportTaskProgressOutput::canceled): <p>If true, the calling task runner should cancel processing of the task. The task runner does not need to call <code>SetTaskStatus</code> for canceled tasks.</p>
    /// - On failure, responds with [`SdkError<ReportTaskProgressError>`](crate::operation::report_task_progress::ReportTaskProgressError)
    pub fn report_task_progress(
        &self,
    ) -> crate::operation::report_task_progress::builders::ReportTaskProgressFluentBuilder {
        crate::operation::report_task_progress::builders::ReportTaskProgressFluentBuilder::new(
            self.handle.clone(),
        )
    }
}