aws_sdk_deadline/client/search_tasks.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SearchTasks`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`farm_id(impl Into<String>)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::farm_id) / [`set_farm_id(Option<String>)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::set_farm_id):<br>required: **true**<br><p>The farm ID of the task.</p><br>
/// - [`queue_ids(impl Into<String>)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::queue_ids) / [`set_queue_ids(Option<Vec::<String>>)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::set_queue_ids):<br>required: **true**<br><p>The queue IDs to include in the search.</p><br>
/// - [`job_id(impl Into<String>)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::set_job_id):<br>required: **false**<br><p>The job ID for the task search.</p><br>
/// - [`filter_expressions(SearchGroupedFilterExpressions)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::filter_expressions) / [`set_filter_expressions(Option<SearchGroupedFilterExpressions>)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::set_filter_expressions):<br>required: **false**<br><p>The filter expression, <code>AND</code> or <code>OR</code>, to use when searching among a group of search strings in a resource. You can use two groupings per search each within parenthesis <code>()</code>.</p><br>
/// - [`sort_expressions(SearchSortExpression)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::sort_expressions) / [`set_sort_expressions(Option<Vec::<SearchSortExpression>>)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::set_sort_expressions):<br>required: **false**<br><p>The search terms for a resource.</p><br>
/// - [`item_offset(i32)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::item_offset) / [`set_item_offset(Option<i32>)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::set_item_offset):<br>required: **true**<br><p>Defines how far into the scrollable list to start the return of results.</p><br>
/// - [`page_size(i32)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::page_size) / [`set_page_size(Option<i32>)`](crate::operation::search_tasks::builders::SearchTasksFluentBuilder::set_page_size):<br>required: **false**<br><p>Specifies the number of items per page for the resource.</p><br>
/// - On success, responds with [`SearchTasksOutput`](crate::operation::search_tasks::SearchTasksOutput) with field(s):
/// - [`tasks(Vec::<TaskSearchSummary>)`](crate::operation::search_tasks::SearchTasksOutput::tasks): <p>Tasks in the search.</p>
/// - [`next_item_offset(Option<i32>)`](crate::operation::search_tasks::SearchTasksOutput::next_item_offset): <p>The next incremental starting point after the defined <code>itemOffset</code>.</p>
/// - [`total_results(i32)`](crate::operation::search_tasks::SearchTasksOutput::total_results): <p>The total number of results in the search.</p>
/// - On failure, responds with [`SdkError<SearchTasksError>`](crate::operation::search_tasks::SearchTasksError)
pub fn search_tasks(&self) -> crate::operation::search_tasks::builders::SearchTasksFluentBuilder {
crate::operation::search_tasks::builders::SearchTasksFluentBuilder::new(self.handle.clone())
}
}