Struct aws_sdk_glue::types::S3Target
source · #[non_exhaustive]pub struct S3Target {
pub path: Option<String>,
pub exclusions: Option<Vec<String>>,
pub connection_name: Option<String>,
pub sample_size: Option<i32>,
pub event_queue_arn: Option<String>,
pub dlq_event_queue_arn: Option<String>,
}Expand description
Specifies a data store in Amazon Simple Storage Service (Amazon S3).
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.path: Option<String>The path to the Amazon S3 target.
exclusions: Option<Vec<String>>A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
connection_name: Option<String>The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
sample_size: Option<i32>Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
event_queue_arn: Option<String>A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs.
dlq_event_queue_arn: Option<String>A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue.
Implementations§
source§impl S3Target
impl S3Target
sourcepub fn exclusions(&self) -> &[String]
pub fn exclusions(&self) -> &[String]
A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .exclusions.is_none().
sourcepub fn connection_name(&self) -> Option<&str>
pub fn connection_name(&self) -> Option<&str>
The name of a connection which allows a job or crawler to access data in Amazon S3 within an Amazon Virtual Private Cloud environment (Amazon VPC).
sourcepub fn sample_size(&self) -> Option<i32>
pub fn sample_size(&self) -> Option<i32>
Sets the number of files in each leaf folder to be crawled when crawling sample files in a dataset. If not set, all the files are crawled. A valid value is an integer between 1 and 249.
sourcepub fn event_queue_arn(&self) -> Option<&str>
pub fn event_queue_arn(&self) -> Option<&str>
A valid Amazon SQS ARN. For example, arn:aws:sqs:region:account:sqs.
sourcepub fn dlq_event_queue_arn(&self) -> Option<&str>
pub fn dlq_event_queue_arn(&self) -> Option<&str>
A valid Amazon dead-letter SQS ARN. For example, arn:aws:sqs:region:account:deadLetterQueue.