aws_sdk_glue/client/get_crawler.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 [`GetCrawler`](crate::operation::get_crawler::builders::GetCrawlerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::get_crawler::builders::GetCrawlerFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_crawler::builders::GetCrawlerFluentBuilder::set_name):<br>required: **true**<br><p>The name of the crawler to retrieve metadata for.</p><br>
7 /// - On success, responds with [`GetCrawlerOutput`](crate::operation::get_crawler::GetCrawlerOutput) with field(s):
8 /// - [`crawler(Option<Crawler>)`](crate::operation::get_crawler::GetCrawlerOutput::crawler): <p>The metadata for the specified crawler.</p>
9 /// - On failure, responds with [`SdkError<GetCrawlerError>`](crate::operation::get_crawler::GetCrawlerError)
10 pub fn get_crawler(&self) -> crate::operation::get_crawler::builders::GetCrawlerFluentBuilder {
11 crate::operation::get_crawler::builders::GetCrawlerFluentBuilder::new(self.handle.clone())
12 }
13}