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.
Trait Implementations§
source§impl PartialEq for S3Target
impl PartialEq for S3Target
impl StructuralPartialEq for S3Target
Auto Trait Implementations§
impl Freeze for S3Target
impl RefUnwindSafe for S3Target
impl Send for S3Target
impl Sync for S3Target
impl Unpin for S3Target
impl UnwindSafe for S3Target
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