aws_sdk_swf/client/count_pending_activity_tasks.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CountPendingActivityTasks`](crate::operation::count_pending_activity_tasks::builders::CountPendingActivityTasksFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain(impl Into<String>)`](crate::operation::count_pending_activity_tasks::builders::CountPendingActivityTasksFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::count_pending_activity_tasks::builders::CountPendingActivityTasksFluentBuilder::set_domain):<br>required: **true**<br><p>The name of the domain that contains the task list.</p><br>
7 /// - [`task_list(TaskList)`](crate::operation::count_pending_activity_tasks::builders::CountPendingActivityTasksFluentBuilder::task_list) / [`set_task_list(Option<TaskList>)`](crate::operation::count_pending_activity_tasks::builders::CountPendingActivityTasksFluentBuilder::set_task_list):<br>required: **true**<br><p>The name of the task list.</p><br>
8 /// - On success, responds with [`CountPendingActivityTasksOutput`](crate::operation::count_pending_activity_tasks::CountPendingActivityTasksOutput) with field(s):
9 /// - [`count(i32)`](crate::operation::count_pending_activity_tasks::CountPendingActivityTasksOutput::count): <p>The number of tasks in the task list.</p>
10 /// - [`truncated(bool)`](crate::operation::count_pending_activity_tasks::CountPendingActivityTasksOutput::truncated): <p>If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.</p>
11 /// - On failure, responds with [`SdkError<CountPendingActivityTasksError>`](crate::operation::count_pending_activity_tasks::CountPendingActivityTasksError)
12 pub fn count_pending_activity_tasks(&self) -> crate::operation::count_pending_activity_tasks::builders::CountPendingActivityTasksFluentBuilder {
13 crate::operation::count_pending_activity_tasks::builders::CountPendingActivityTasksFluentBuilder::new(self.handle.clone())
14 }
15}