amazonka-appflow-2.0: Amazon Appflow SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppFlow.Types.PrefixConfig

Description

 
Synopsis

Documentation

data PrefixConfig Source #

Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.

See: newPrefixConfig smart constructor.

Constructors

PrefixConfig' 

Fields

  • pathPrefixHierarchy :: Maybe [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
  • prefixFormat :: Maybe PrefixFormat

    Determines the level of granularity for the date and time that's included in the prefix.

  • prefixType :: Maybe PrefixType

    Determines the format of the prefix, and whether it applies to the file name, file path, or both.

Instances

Instances details
FromJSON PrefixConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.PrefixConfig

ToJSON PrefixConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.PrefixConfig

Generic PrefixConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.PrefixConfig

Associated Types

type Rep PrefixConfig :: Type -> Type #

Read PrefixConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.PrefixConfig

Show PrefixConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.PrefixConfig

NFData PrefixConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.PrefixConfig

Methods

rnf :: PrefixConfig -> () #

Eq PrefixConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.PrefixConfig

Hashable PrefixConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.PrefixConfig

type Rep PrefixConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.PrefixConfig

type Rep PrefixConfig = D1 ('MetaData "PrefixConfig" "Amazonka.AppFlow.Types.PrefixConfig" "amazonka-appflow-2.0-3aJWKTszi6ZKDtrkFSqVAB" 'False) (C1 ('MetaCons "PrefixConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pathPrefixHierarchy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PathPrefix])) :*: (S1 ('MetaSel ('Just "prefixFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrefixFormat)) :*: S1 ('MetaSel ('Just "prefixType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrefixType)))))

newPrefixConfig :: PrefixConfig Source #

Create a value of PrefixConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:pathPrefixHierarchy:PrefixConfig', prefixConfig_pathPrefixHierarchy - 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

$sel:prefixFormat:PrefixConfig', prefixConfig_prefixFormat - Determines the level of granularity for the date and time that's included in the prefix.

$sel:prefixType:PrefixConfig', prefixConfig_prefixType - Determines the format of the prefix, and whether it applies to the file name, file path, or both.

prefixConfig_pathPrefixHierarchy :: Lens' PrefixConfig (Maybe [PathPrefix]) Source #

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

prefixConfig_prefixFormat :: Lens' PrefixConfig (Maybe PrefixFormat) Source #

Determines the level of granularity for the date and time that's included in the prefix.

prefixConfig_prefixType :: Lens' PrefixConfig (Maybe PrefixType) Source #

Determines the format of the prefix, and whether it applies to the file name, file path, or both.