logo
pub struct Crawler {
Show 19 fields pub classifiers: Option<Vec<String>>, pub configuration: Option<String>, pub crawl_elapsed_time: Option<i64>, pub crawler_security_configuration: Option<String>, pub creation_time: Option<f64>, pub database_name: Option<String>, pub description: Option<String>, pub last_crawl: Option<LastCrawlInfo>, pub last_updated: Option<f64>, pub lineage_configuration: Option<LineageConfiguration>, pub name: Option<String>, pub recrawl_policy: Option<RecrawlPolicy>, pub role: Option<String>, pub schedule: Option<Schedule>, pub schema_change_policy: Option<SchemaChangePolicy>, pub state: Option<String>, pub table_prefix: Option<String>, pub targets: Option<CrawlerTargets>, pub version: Option<i64>,
}
Expand description

Specifies a crawler program that examines a data source and uses classifiers to try to determine its schema. If successful, the crawler records metadata concerning the data source in the Glue Data Catalog.

Fields

classifiers: Option<Vec<String>>

A list of UTF-8 strings that specify the custom classifiers that are associated with 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 Include and Exclude Patterns.

crawl_elapsed_time: Option<i64>

If the crawler is running, contains the total time elapsed since the last crawl began.

crawler_security_configuration: Option<String>

The name of the SecurityConfiguration structure to be used by this crawler.

creation_time: Option<f64>

The time that the crawler was created.

database_name: Option<String>

The name of the database in which the crawler's output is stored.

description: Option<String>

A description of the crawler.

last_crawl: Option<LastCrawlInfo>

The status of the last crawl, and potentially error information if an error occurred.

last_updated: Option<f64>

The time that the crawler was last updated.

lineage_configuration: Option<LineageConfiguration>

A configuration that specifies whether data lineage is enabled for the crawler.

name: Option<String>

The name of the crawler.

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.

role: Option<String>

The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.

schedule: Option<Schedule>

For scheduled crawlers, the schedule when the crawler runs.

schema_change_policy: Option<SchemaChangePolicy>

The policy that specifies update and delete behaviors for the crawler.

state: Option<String>

Indicates whether the crawler is running, or whether a run is pending.

table_prefix: Option<String>

The prefix added to the names of tables that are created.

targets: Option<CrawlerTargets>

A collection of targets to crawl.

version: Option<i64>

The version of the crawler.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more