aws_sdk_glue/client/list_crawlers.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 [`ListCrawlers`](crate::operation::list_crawlers::builders::ListCrawlersFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_crawlers::builders::ListCrawlersFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`max_results(i32)`](crate::operation::list_crawlers::builders::ListCrawlersFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_crawlers::builders::ListCrawlersFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum size of a list to return.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_crawlers::builders::ListCrawlersFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_crawlers::builders::ListCrawlersFluentBuilder::set_next_token):<br>required: **false**<br><p>A continuation token, if this is a continuation request.</p><br>
9 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::list_crawlers::builders::ListCrawlersFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::list_crawlers::builders::ListCrawlersFluentBuilder::set_tags):<br>required: **false**<br><p>Specifies to return only these tagged resources.</p><br>
10 /// - On success, responds with [`ListCrawlersOutput`](crate::operation::list_crawlers::ListCrawlersOutput) with field(s):
11 /// - [`crawler_names(Option<Vec::<String>>)`](crate::operation::list_crawlers::ListCrawlersOutput::crawler_names): <p>The names of all crawlers in the account, or the crawlers with the specified tags.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::list_crawlers::ListCrawlersOutput::next_token): <p>A continuation token, if the returned list does not contain the last metric available.</p>
13 /// - On failure, responds with [`SdkError<ListCrawlersError>`](crate::operation::list_crawlers::ListCrawlersError)
14 pub fn list_crawlers(&self) -> crate::operation::list_crawlers::builders::ListCrawlersFluentBuilder {
15 crate::operation::list_crawlers::builders::ListCrawlersFluentBuilder::new(self.handle.clone())
16 }
17}