1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateCrawler`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_name):<br>required: **true**<br><p>Name of the new crawler.</p><br>
    ///   - [`role(impl Into<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::role) / [`set_role(Option<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_role):<br>required: **false**<br><p>The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.</p><br>
    ///   - [`database_name(impl Into<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_database_name):<br>required: **false**<br><p>The Glue database where results are stored, such as: <code>arn:aws:daylight:us-east-1::database/sometable/*</code>.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_description):<br>required: **false**<br><p>A description of the new crawler.</p><br>
    ///   - [`targets(CrawlerTargets)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::targets) / [`set_targets(Option<CrawlerTargets>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_targets):<br>required: **false**<br><p>A list of targets to crawl.</p><br>
    ///   - [`schedule(impl Into<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::schedule) / [`set_schedule(Option<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_schedule):<br>required: **false**<br><p>A <code>cron</code> expression used to specify the schedule (see <a href="https://docs.aws.amazon.com/glue/latest/dg/monitor-data-warehouse-schedule.html">Time-Based Schedules for Jobs and Crawlers</a>. For example, to run something every day at 12:15 UTC, you would specify: <code>cron(15 12 * * ? *)</code>.</p><br>
    ///   - [`classifiers(impl Into<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::classifiers) / [`set_classifiers(Option<Vec::<String>>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_classifiers):<br>required: **false**<br><p>A list of custom classifiers that the user has registered. By default, all built-in classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.</p><br>
    ///   - [`table_prefix(impl Into<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::table_prefix) / [`set_table_prefix(Option<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_table_prefix):<br>required: **false**<br><p>The table prefix used for catalog tables that are created.</p><br>
    ///   - [`schema_change_policy(SchemaChangePolicy)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::schema_change_policy) / [`set_schema_change_policy(Option<SchemaChangePolicy>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_schema_change_policy):<br>required: **false**<br><p>The policy for the crawler's update and deletion behavior.</p><br>
    ///   - [`recrawl_policy(RecrawlPolicy)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::recrawl_policy) / [`set_recrawl_policy(Option<RecrawlPolicy>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_recrawl_policy):<br>required: **false**<br><p>A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.</p><br>
    ///   - [`lineage_configuration(LineageConfiguration)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::lineage_configuration) / [`set_lineage_configuration(Option<LineageConfiguration>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_lineage_configuration):<br>required: **false**<br><p>Specifies data lineage configuration settings for the crawler.</p><br>
    ///   - [`lake_formation_configuration(LakeFormationConfiguration)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::lake_formation_configuration) / [`set_lake_formation_configuration(Option<LakeFormationConfiguration>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_lake_formation_configuration):<br>required: **false**<br><p>Specifies Lake Formation configuration settings for the crawler.</p><br>
    ///   - [`configuration(impl Into<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::configuration) / [`set_configuration(Option<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_configuration):<br>required: **false**<br><p>Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see <a href="https://docs.aws.amazon.com/glue/latest/dg/crawler-configuration.html">Setting crawler configuration options</a>.</p><br>
    ///   - [`crawler_security_configuration(impl Into<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::crawler_security_configuration) / [`set_crawler_security_configuration(Option<String>)`](crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::set_crawler_security_configuration):<br>required: **false**<br><p>The name of the <code>SecurityConfiguration</code> structure to be used by this crawler.</p><br>
    /// - On success, responds with [`UpdateCrawlerOutput`](crate::operation::update_crawler::UpdateCrawlerOutput)
    /// - On failure, responds with [`SdkError<UpdateCrawlerError>`](crate::operation::update_crawler::UpdateCrawlerError)
    pub fn update_crawler(&self) -> crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder {
        crate::operation::update_crawler::builders::UpdateCrawlerFluentBuilder::new(self.handle.clone())
    }
}