Struct aws_sdk_appflow::types::PrefixConfig
source · #[non_exhaustive]pub struct PrefixConfig {
pub prefix_type: Option<PrefixType>,
pub prefix_format: Option<PrefixFormat>,
pub path_prefix_hierarchy: Option<Vec<PathPrefix>>,
}
Expand description
Specifies elements that Amazon AppFlow includes in the file and folder names in the flow 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.prefix_type: Option<PrefixType>
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
prefix_format: Option<PrefixFormat>
Determines the level of granularity for the date and time that's included in the prefix.
path_prefix_hierarchy: Option<Vec<PathPrefix>>
Specifies whether the destination file path includes either or both of the following elements:
- EXECUTION_ID
-
The ID that Amazon AppFlow assigns to the flow run.
- SCHEMA_VERSION
-
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
-
Source-to-destination field mappings
-
Field data types
-
Partition keys
-
Implementations§
source§impl PrefixConfig
impl PrefixConfig
sourcepub fn prefix_type(&self) -> Option<&PrefixType>
pub fn prefix_type(&self) -> Option<&PrefixType>
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
sourcepub fn prefix_format(&self) -> Option<&PrefixFormat>
pub fn prefix_format(&self) -> Option<&PrefixFormat>
Determines the level of granularity for the date and time that's included in the prefix.
sourcepub fn path_prefix_hierarchy(&self) -> &[PathPrefix]
pub fn path_prefix_hierarchy(&self) -> &[PathPrefix]
Specifies whether the destination file path includes either or both of the following elements:
- EXECUTION_ID
-
The ID that Amazon AppFlow assigns to the flow run.
- SCHEMA_VERSION
-
The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases by one when you change any of the following settings in your flow configuration:
-
Source-to-destination field mappings
-
Field data types
-
Partition 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 .path_prefix_hierarchy.is_none()
.
source§impl PrefixConfig
impl PrefixConfig
sourcepub fn builder() -> PrefixConfigBuilder
pub fn builder() -> PrefixConfigBuilder
Creates a new builder-style object to manufacture PrefixConfig
.
Trait Implementations§
source§impl Clone for PrefixConfig
impl Clone for PrefixConfig
source§fn clone(&self) -> PrefixConfig
fn clone(&self) -> PrefixConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PrefixConfig
impl Debug for PrefixConfig
source§impl PartialEq for PrefixConfig
impl PartialEq for PrefixConfig
source§fn eq(&self, other: &PrefixConfig) -> bool
fn eq(&self, other: &PrefixConfig) -> bool
self
and other
values to be equal, and is used
by ==
.