1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RecordActivityTaskHeartbeat`](crate::operation::record_activity_task_heartbeat::builders::RecordActivityTaskHeartbeatFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`task_token(impl Into<String>)`](crate::operation::record_activity_task_heartbeat::builders::RecordActivityTaskHeartbeatFluentBuilder::task_token) / [`set_task_token(Option<String>)`](crate::operation::record_activity_task_heartbeat::builders::RecordActivityTaskHeartbeatFluentBuilder::set_task_token):<br>required: **true**<br><p>The <code>taskToken</code> of the <code>ActivityTask</code>.</p><important>  <p><code>taskToken</code> is generated by the service and should be treated as an opaque value. If the task is passed to another process, its <code>taskToken</code> must also be passed. This enables it to provide its progress and respond with results.</p> </important><br>
    ///   - [`details(impl Into<String>)`](crate::operation::record_activity_task_heartbeat::builders::RecordActivityTaskHeartbeatFluentBuilder::details) / [`set_details(Option<String>)`](crate::operation::record_activity_task_heartbeat::builders::RecordActivityTaskHeartbeatFluentBuilder::set_details):<br>required: **false**<br><p>If specified, contains details about the progress of the task.</p><br>
    /// - On success, responds with [`RecordActivityTaskHeartbeatOutput`](crate::operation::record_activity_task_heartbeat::RecordActivityTaskHeartbeatOutput) with field(s):
    ///   - [`cancel_requested(bool)`](crate::operation::record_activity_task_heartbeat::RecordActivityTaskHeartbeatOutput::cancel_requested): <p>Set to <code>true</code> if cancellation of the task is requested.</p>
    /// - On failure, responds with [`SdkError<RecordActivityTaskHeartbeatError>`](crate::operation::record_activity_task_heartbeat::RecordActivityTaskHeartbeatError)
    pub fn record_activity_task_heartbeat(
        &self,
    ) -> crate::operation::record_activity_task_heartbeat::builders::RecordActivityTaskHeartbeatFluentBuilder {
        crate::operation::record_activity_task_heartbeat::builders::RecordActivityTaskHeartbeatFluentBuilder::new(self.handle.clone())
    }
}