Struct aws_sdk_appflow::model::S3OutputFormatConfig
source · [−]#[non_exhaustive]pub struct S3OutputFormatConfig {
pub file_type: Option<FileType>,
pub prefix_config: Option<PrefixConfig>,
pub aggregation_config: Option<AggregationConfig>,
pub preserve_source_data_typing: Option<bool>,
}
Expand description
The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.
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.file_type: Option<FileType>
Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
prefix_config: Option<PrefixConfig>
Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.
aggregation_config: Option<AggregationConfig>
The aggregation settings that you can use to customize the output format of your flow data.
preserve_source_data_typing: Option<bool>
If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3.
-
true
: Amazon AppFlow preserves the data types when it writes to Amazon S3. For example, an integer or1
in your source data is still an integer in your output. -
false
: Amazon AppFlow converts all of the source data into strings when it writes to Amazon S3. For example, an integer of1
in your source data becomes the string"1"
in the output.
Implementations
sourceimpl S3OutputFormatConfig
impl S3OutputFormatConfig
sourcepub fn file_type(&self) -> Option<&FileType>
pub fn file_type(&self) -> Option<&FileType>
Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
sourcepub fn prefix_config(&self) -> Option<&PrefixConfig>
pub fn prefix_config(&self) -> Option<&PrefixConfig>
Determines the prefix that Amazon AppFlow applies to the folder name in the Amazon S3 bucket. You can name folders according to the flow frequency and date.
sourcepub fn aggregation_config(&self) -> Option<&AggregationConfig>
pub fn aggregation_config(&self) -> Option<&AggregationConfig>
The aggregation settings that you can use to customize the output format of your flow data.
sourcepub fn preserve_source_data_typing(&self) -> Option<bool>
pub fn preserve_source_data_typing(&self) -> Option<bool>
If your file output format is Parquet, use this parameter to set whether Amazon AppFlow preserves the data types in your source data when it writes the output to Amazon S3.
-
true
: Amazon AppFlow preserves the data types when it writes to Amazon S3. For example, an integer or1
in your source data is still an integer in your output. -
false
: Amazon AppFlow converts all of the source data into strings when it writes to Amazon S3. For example, an integer of1
in your source data becomes the string"1"
in the output.
sourceimpl S3OutputFormatConfig
impl S3OutputFormatConfig
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3OutputFormatConfig
Trait Implementations
sourceimpl Clone for S3OutputFormatConfig
impl Clone for S3OutputFormatConfig
sourcefn clone(&self) -> S3OutputFormatConfig
fn clone(&self) -> S3OutputFormatConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for S3OutputFormatConfig
impl Debug for S3OutputFormatConfig
sourceimpl PartialEq<S3OutputFormatConfig> for S3OutputFormatConfig
impl PartialEq<S3OutputFormatConfig> for S3OutputFormatConfig
sourcefn eq(&self, other: &S3OutputFormatConfig) -> bool
fn eq(&self, other: &S3OutputFormatConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &S3OutputFormatConfig) -> bool
fn ne(&self, other: &S3OutputFormatConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for S3OutputFormatConfig
Auto Trait Implementations
impl RefUnwindSafe for S3OutputFormatConfig
impl Send for S3OutputFormatConfig
impl Sync for S3OutputFormatConfig
impl Unpin for S3OutputFormatConfig
impl UnwindSafe for S3OutputFormatConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more