aws_sdk_datapipeline/client/report_task_progress.rs
// 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):<br>required: **true**<br><p>The ID of the task assigned to the task runner. This value is provided in the response for <code>PollForTask</code>.</p><br>
/// - [`fields(Field)`](crate::operation::report_task_progress::builders::ReportTaskProgressFluentBuilder::fields) / [`set_fields(Option<Vec::<Field>>)`](crate::operation::report_task_progress::builders::ReportTaskProgressFluentBuilder::set_fields):<br>required: **false**<br><p>Key-value pairs that define the properties of the ReportTaskProgressInput object.</p><br>
/// - 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())
}
}