Struct aws_sdk_glue::types::S3DirectTarget
source · #[non_exhaustive]pub struct S3DirectTarget {
pub name: String,
pub inputs: Vec<String>,
pub partition_keys: Option<Vec<Vec<String>>>,
pub path: String,
pub compression: Option<String>,
pub format: TargetFormat,
pub schema_change_policy: Option<DirectSchemaChangePolicy>,
}Expand description
Specifies a data target that writes to 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.name: StringThe name of the data target.
inputs: Vec<String>The nodes that are inputs to the data target.
partition_keys: Option<Vec<Vec<String>>>Specifies native partitioning using a sequence of keys.
path: StringA single Amazon S3 path to write to.
compression: Option<String>Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are "gzip" and "bzip").
format: TargetFormatSpecifies the data output format for the target.
schema_change_policy: Option<DirectSchemaChangePolicy>A policy that specifies update behavior for the crawler.
Implementations§
source§impl S3DirectTarget
impl S3DirectTarget
sourcepub fn partition_keys(&self) -> &[Vec<String>]
pub fn partition_keys(&self) -> &[Vec<String>]
Specifies native partitioning using a sequence of keys.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .partition_keys.is_none().
sourcepub fn compression(&self) -> Option<&str>
pub fn compression(&self) -> Option<&str>
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are "gzip" and "bzip").
sourcepub fn format(&self) -> &TargetFormat
pub fn format(&self) -> &TargetFormat
Specifies the data output format for the target.
sourcepub fn schema_change_policy(&self) -> Option<&DirectSchemaChangePolicy>
pub fn schema_change_policy(&self) -> Option<&DirectSchemaChangePolicy>
A policy that specifies update behavior for the crawler.
source§impl S3DirectTarget
impl S3DirectTarget
sourcepub fn builder() -> S3DirectTargetBuilder
pub fn builder() -> S3DirectTargetBuilder
Creates a new builder-style object to manufacture S3DirectTarget.
Trait Implementations§
source§impl Clone for S3DirectTarget
impl Clone for S3DirectTarget
source§fn clone(&self) -> S3DirectTarget
fn clone(&self) -> S3DirectTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3DirectTarget
impl Debug for S3DirectTarget
source§impl PartialEq for S3DirectTarget
impl PartialEq for S3DirectTarget
source§fn eq(&self, other: &S3DirectTarget) -> bool
fn eq(&self, other: &S3DirectTarget) -> bool
self and other values to be equal, and is used
by ==.