// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListCrawls`](crate::operation::list_crawls::builders::ListCrawlsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`crawler_name(impl Into<String>)`](crate::operation::list_crawls::builders::ListCrawlsFluentBuilder::crawler_name) / [`set_crawler_name(Option<String>)`](crate::operation::list_crawls::builders::ListCrawlsFluentBuilder::set_crawler_name):<br>required: **true**<br><p>The name of the crawler whose runs you want to retrieve.</p><br>
/// - [`max_results(i32)`](crate::operation::list_crawls::builders::ListCrawlsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_crawls::builders::ListCrawlsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return. The default is 20, and maximum is 100.</p><br>
/// - [`filters(CrawlsFilter)`](crate::operation::list_crawls::builders::ListCrawlsFluentBuilder::filters) / [`set_filters(Option<Vec::<CrawlsFilter>>)`](crate::operation::list_crawls::builders::ListCrawlsFluentBuilder::set_filters):<br>required: **false**<br><p>Filters the crawls by the criteria you specify in a list of <code>CrawlsFilter</code> objects.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_crawls::builders::ListCrawlsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_crawls::builders::ListCrawlsFluentBuilder::set_next_token):<br>required: **false**<br><p>A continuation token, if this is a continuation call.</p><br>
/// - On success, responds with [`ListCrawlsOutput`](crate::operation::list_crawls::ListCrawlsOutput) with field(s):
/// - [`crawls(Option<Vec::<CrawlerHistory>>)`](crate::operation::list_crawls::ListCrawlsOutput::crawls): <p>A list of <code>CrawlerHistory</code> objects representing the crawl runs that meet your criteria.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_crawls::ListCrawlsOutput::next_token): <p>A continuation token for paginating the returned list of tokens, returned if the current segment of the list is not the last.</p>
/// - On failure, responds with [`SdkError<ListCrawlsError>`](crate::operation::list_crawls::ListCrawlsError)
pub fn list_crawls(&self) -> crate::operation::list_crawls::builders::ListCrawlsFluentBuilder {
crate::operation::list_crawls::builders::ListCrawlsFluentBuilder::new(self.handle.clone())
}
}