// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CountPendingActivityTasks`](crate::operation::count_pending_activity_tasks::builders::CountPendingActivityTasksFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - [`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>
/// - On success, responds with [`CountPendingActivityTasksOutput`](crate::operation::count_pending_activity_tasks::CountPendingActivityTasksOutput) with field(s):
/// - [`count(i32)`](crate::operation::count_pending_activity_tasks::CountPendingActivityTasksOutput::count): <p>The number of tasks in the task list.</p>
/// - [`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>
/// - On failure, responds with [`SdkError<CountPendingActivityTasksError>`](crate::operation::count_pending_activity_tasks::CountPendingActivityTasksError)
pub fn count_pending_activity_tasks(&self) -> crate::operation::count_pending_activity_tasks::builders::CountPendingActivityTasksFluentBuilder {
crate::operation::count_pending_activity_tasks::builders::CountPendingActivityTasksFluentBuilder::new(self.handle.clone())
}
}