Struct aws_sdk_glue::operation::update_crawler::UpdateCrawlerInput
source · #[non_exhaustive]pub struct UpdateCrawlerInput {Show 14 fields
pub name: Option<String>,
pub role: Option<String>,
pub database_name: Option<String>,
pub description: Option<String>,
pub targets: Option<CrawlerTargets>,
pub schedule: Option<String>,
pub classifiers: Option<Vec<String>>,
pub table_prefix: Option<String>,
pub schema_change_policy: Option<SchemaChangePolicy>,
pub recrawl_policy: Option<RecrawlPolicy>,
pub lineage_configuration: Option<LineageConfiguration>,
pub lake_formation_configuration: Option<LakeFormationConfiguration>,
pub configuration: Option<String>,
pub crawler_security_configuration: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
Name of the new crawler.
role: Option<String>
The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
database_name: Option<String>
The Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*
.
description: Option<String>
A description of the new crawler.
targets: Option<CrawlerTargets>
A list of targets to crawl.
schedule: Option<String>
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 * * ? *)
.
classifiers: Option<Vec<String>>
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.
table_prefix: Option<String>
The table prefix used for catalog tables that are created.
schema_change_policy: Option<SchemaChangePolicy>
The policy for the crawler's update and deletion behavior.
recrawl_policy: Option<RecrawlPolicy>
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
lineage_configuration: Option<LineageConfiguration>
Specifies data lineage configuration settings for the crawler.
lake_formation_configuration: Option<LakeFormationConfiguration>
Specifies Lake Formation configuration settings for the crawler.
configuration: Option<String>
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.
crawler_security_configuration: Option<String>
The name of the SecurityConfiguration
structure to be used by this crawler.
Implementations§
source§impl UpdateCrawlerInput
impl UpdateCrawlerInput
sourcepub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
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) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the new crawler.
sourcepub fn targets(&self) -> Option<&CrawlerTargets>
pub fn targets(&self) -> Option<&CrawlerTargets>
A list of targets to crawl.
sourcepub fn schedule(&self) -> Option<&str>
pub fn schedule(&self) -> Option<&str>
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) -> &[String]
pub fn classifiers(&self) -> &[String]
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .classifiers.is_none()
.
sourcepub fn table_prefix(&self) -> Option<&str>
pub fn table_prefix(&self) -> Option<&str>
The table prefix used for catalog tables that are created.
sourcepub fn schema_change_policy(&self) -> Option<&SchemaChangePolicy>
pub fn schema_change_policy(&self) -> Option<&SchemaChangePolicy>
The policy for the crawler's update and deletion behavior.
sourcepub fn recrawl_policy(&self) -> Option<&RecrawlPolicy>
pub fn recrawl_policy(&self) -> Option<&RecrawlPolicy>
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) -> Option<&LineageConfiguration>
pub fn lineage_configuration(&self) -> Option<&LineageConfiguration>
Specifies data lineage configuration settings for the crawler.
sourcepub fn lake_formation_configuration(
&self
) -> Option<&LakeFormationConfiguration>
pub fn lake_formation_configuration( &self ) -> Option<&LakeFormationConfiguration>
Specifies Lake Formation configuration settings for the crawler.
sourcepub fn configuration(&self) -> Option<&str>
pub fn configuration(&self) -> Option<&str>
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) -> Option<&str>
pub fn crawler_security_configuration(&self) -> Option<&str>
The name of the SecurityConfiguration
structure to be used by this crawler.
source§impl UpdateCrawlerInput
impl UpdateCrawlerInput
sourcepub fn builder() -> UpdateCrawlerInputBuilder
pub fn builder() -> UpdateCrawlerInputBuilder
Creates a new builder-style object to manufacture UpdateCrawlerInput
.
Trait Implementations§
source§impl Clone for UpdateCrawlerInput
impl Clone for UpdateCrawlerInput
source§fn clone(&self) -> UpdateCrawlerInput
fn clone(&self) -> UpdateCrawlerInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateCrawlerInput
impl Debug for UpdateCrawlerInput
source§impl PartialEq for UpdateCrawlerInput
impl PartialEq for UpdateCrawlerInput
source§fn eq(&self, other: &UpdateCrawlerInput) -> bool
fn eq(&self, other: &UpdateCrawlerInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateCrawlerInput
Auto Trait Implementations§
impl Freeze for UpdateCrawlerInput
impl RefUnwindSafe for UpdateCrawlerInput
impl Send for UpdateCrawlerInput
impl Sync for UpdateCrawlerInput
impl Unpin for UpdateCrawlerInput
impl UnwindSafe for UpdateCrawlerInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more