Struct aws_sdk_glue::client::fluent_builders::UpdateCrawler
source · pub struct UpdateCrawler { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateCrawler.
Updates a crawler. If a crawler is running, you must stop it using StopCrawler before updating it.
Implementations§
source§impl UpdateCrawler
impl UpdateCrawler
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateCrawler, AwsResponseRetryClassifier>, SdkError<UpdateCrawlerError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateCrawler, AwsResponseRetryClassifier>, SdkError<UpdateCrawlerError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateCrawlerOutput, SdkError<UpdateCrawlerError>>
pub async fn send(
self
) -> Result<UpdateCrawlerOutput, SdkError<UpdateCrawlerError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn role(self, input: impl Into<String>) -> Self
pub fn role(self, input: impl Into<String>) -> Self
The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
sourcepub fn set_role(self, input: Option<String>) -> Self
pub fn set_role(self, input: Option<String>) -> Self
The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the new crawler.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the new crawler.
sourcepub fn targets(self, input: CrawlerTargets) -> Self
pub fn targets(self, input: CrawlerTargets) -> Self
A list of targets to crawl.
sourcepub fn set_targets(self, input: Option<CrawlerTargets>) -> Self
pub fn set_targets(self, input: Option<CrawlerTargets>) -> Self
A list of targets to crawl.
sourcepub fn schedule(self, input: impl Into<String>) -> Self
pub fn schedule(self, input: impl Into<String>) -> Self
A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).
sourcepub fn set_schedule(self, input: Option<String>) -> Self
pub fn set_schedule(self, input: Option<String>) -> Self
A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).
sourcepub fn classifiers(self, input: impl Into<String>) -> Self
pub fn classifiers(self, input: impl Into<String>) -> Self
Appends an item to Classifiers.
To override the contents of this collection use set_classifiers.
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.
sourcepub fn set_classifiers(self, input: Option<Vec<String>>) -> Self
pub fn set_classifiers(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn table_prefix(self, input: impl Into<String>) -> Self
pub fn table_prefix(self, input: impl Into<String>) -> Self
The table prefix used for catalog tables that are created.
sourcepub fn set_table_prefix(self, input: Option<String>) -> Self
pub fn set_table_prefix(self, input: Option<String>) -> Self
The table prefix used for catalog tables that are created.
sourcepub fn schema_change_policy(self, input: SchemaChangePolicy) -> Self
pub fn schema_change_policy(self, input: SchemaChangePolicy) -> Self
The policy for the crawler's update and deletion behavior.
sourcepub fn set_schema_change_policy(self, input: Option<SchemaChangePolicy>) -> Self
pub fn set_schema_change_policy(self, input: Option<SchemaChangePolicy>) -> Self
The policy for the crawler's update and deletion behavior.
sourcepub fn recrawl_policy(self, input: RecrawlPolicy) -> Self
pub fn recrawl_policy(self, input: RecrawlPolicy) -> Self
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
sourcepub fn set_recrawl_policy(self, input: Option<RecrawlPolicy>) -> Self
pub fn set_recrawl_policy(self, input: Option<RecrawlPolicy>) -> Self
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
sourcepub fn lineage_configuration(self, input: LineageConfiguration) -> Self
pub fn lineage_configuration(self, input: LineageConfiguration) -> Self
Specifies data lineage configuration settings for the crawler.
sourcepub fn set_lineage_configuration(
self,
input: Option<LineageConfiguration>
) -> Self
pub fn set_lineage_configuration(
self,
input: Option<LineageConfiguration>
) -> Self
Specifies data lineage configuration settings for the crawler.
sourcepub fn lake_formation_configuration(
self,
input: LakeFormationConfiguration
) -> Self
pub fn lake_formation_configuration(
self,
input: LakeFormationConfiguration
) -> Self
Specifies Lake Formation configuration settings for the crawler.
sourcepub fn set_lake_formation_configuration(
self,
input: Option<LakeFormationConfiguration>
) -> Self
pub fn set_lake_formation_configuration(
self,
input: Option<LakeFormationConfiguration>
) -> Self
Specifies Lake Formation configuration settings for the crawler.
sourcepub fn configuration(self, input: impl Into<String>) -> Self
pub fn configuration(self, input: impl Into<String>) -> Self
Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Setting crawler configuration options.
sourcepub fn set_configuration(self, input: Option<String>) -> Self
pub fn set_configuration(self, input: Option<String>) -> Self
Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Setting crawler configuration options.
sourcepub fn crawler_security_configuration(self, input: impl Into<String>) -> Self
pub fn crawler_security_configuration(self, input: impl Into<String>) -> Self
The name of the SecurityConfiguration structure to be used by this crawler.
sourcepub fn set_crawler_security_configuration(self, input: Option<String>) -> Self
pub fn set_crawler_security_configuration(self, input: Option<String>) -> Self
The name of the SecurityConfiguration structure to be used by this crawler.
Trait Implementations§
source§impl Clone for UpdateCrawler
impl Clone for UpdateCrawler
source§fn clone(&self) -> UpdateCrawler
fn clone(&self) -> UpdateCrawler
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more