Appflow.Client.
describe_flow
(**kwargs)¶Provides a description of the specified flow.
See also: AWS API Documentation
Request Syntax
response = client.describe_flow(
flowName='string'
)
[REQUIRED]
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
{
'flowArn': 'string',
'description': 'string',
'flowName': 'string',
'kmsArn': 'string',
'flowStatus': 'Active'|'Deprecated'|'Deleted'|'Draft'|'Errored'|'Suspended',
'flowStatusMessage': 'string',
'sourceFlowConfig': {
'connectorType': 'Salesforce'|'Singular'|'Slack'|'Redshift'|'S3'|'Marketo'|'Googleanalytics'|'Zendesk'|'Servicenow'|'Datadog'|'Trendmicro'|'Snowflake'|'Dynatrace'|'Infornexus'|'Amplitude'|'Veeva'|'EventBridge'|'LookoutMetrics'|'Upsolver'|'Honeycode'|'CustomerProfiles'|'SAPOData'|'CustomConnector'|'Pardot',
'apiVersion': 'string',
'connectorProfileName': 'string',
'sourceConnectorProperties': {
'Amplitude': {
'object': 'string'
},
'Datadog': {
'object': 'string'
},
'Dynatrace': {
'object': 'string'
},
'GoogleAnalytics': {
'object': 'string'
},
'InforNexus': {
'object': 'string'
},
'Marketo': {
'object': 'string'
},
'S3': {
'bucketName': 'string',
'bucketPrefix': 'string',
's3InputFormatConfig': {
's3InputFileType': 'CSV'|'JSON'
}
},
'Salesforce': {
'object': 'string',
'enableDynamicFieldUpdate': True|False,
'includeDeletedRecords': True|False,
'dataTransferApi': 'AUTOMATIC'|'BULKV2'|'REST_SYNC'
},
'ServiceNow': {
'object': 'string'
},
'Singular': {
'object': 'string'
},
'Slack': {
'object': 'string'
},
'Trendmicro': {
'object': 'string'
},
'Veeva': {
'object': 'string',
'documentType': 'string',
'includeSourceFiles': True|False,
'includeRenditions': True|False,
'includeAllVersions': True|False
},
'Zendesk': {
'object': 'string'
},
'SAPOData': {
'objectPath': 'string'
},
'CustomConnector': {
'entityName': 'string',
'customProperties': {
'string': 'string'
}
},
'Pardot': {
'object': 'string'
}
},
'incrementalPullConfig': {
'datetimeTypeFieldName': 'string'
}
},
'destinationFlowConfigList': [
{
'connectorType': 'Salesforce'|'Singular'|'Slack'|'Redshift'|'S3'|'Marketo'|'Googleanalytics'|'Zendesk'|'Servicenow'|'Datadog'|'Trendmicro'|'Snowflake'|'Dynatrace'|'Infornexus'|'Amplitude'|'Veeva'|'EventBridge'|'LookoutMetrics'|'Upsolver'|'Honeycode'|'CustomerProfiles'|'SAPOData'|'CustomConnector'|'Pardot',
'apiVersion': 'string',
'connectorProfileName': 'string',
'destinationConnectorProperties': {
'Redshift': {
'object': 'string',
'intermediateBucketName': 'string',
'bucketPrefix': 'string',
'errorHandlingConfig': {
'failOnFirstDestinationError': True|False,
'bucketPrefix': 'string',
'bucketName': 'string'
}
},
'S3': {
'bucketName': 'string',
'bucketPrefix': 'string',
's3OutputFormatConfig': {
'fileType': 'CSV'|'JSON'|'PARQUET',
'prefixConfig': {
'prefixType': 'FILENAME'|'PATH'|'PATH_AND_FILENAME',
'prefixFormat': 'YEAR'|'MONTH'|'DAY'|'HOUR'|'MINUTE',
'pathPrefixHierarchy': [
'EXECUTION_ID'|'SCHEMA_VERSION',
]
},
'aggregationConfig': {
'aggregationType': 'None'|'SingleFile',
'targetFileSize': 123
},
'preserveSourceDataTyping': True|False
}
},
'Salesforce': {
'object': 'string',
'idFieldNames': [
'string',
],
'errorHandlingConfig': {
'failOnFirstDestinationError': True|False,
'bucketPrefix': 'string',
'bucketName': 'string'
},
'writeOperationType': 'INSERT'|'UPSERT'|'UPDATE'|'DELETE',
'dataTransferApi': 'AUTOMATIC'|'BULKV2'|'REST_SYNC'
},
'Snowflake': {
'object': 'string',
'intermediateBucketName': 'string',
'bucketPrefix': 'string',
'errorHandlingConfig': {
'failOnFirstDestinationError': True|False,
'bucketPrefix': 'string',
'bucketName': 'string'
}
},
'EventBridge': {
'object': 'string',
'errorHandlingConfig': {
'failOnFirstDestinationError': True|False,
'bucketPrefix': 'string',
'bucketName': 'string'
}
},
'LookoutMetrics': {},
'Upsolver': {
'bucketName': 'string',
'bucketPrefix': 'string',
's3OutputFormatConfig': {
'fileType': 'CSV'|'JSON'|'PARQUET',
'prefixConfig': {
'prefixType': 'FILENAME'|'PATH'|'PATH_AND_FILENAME',
'prefixFormat': 'YEAR'|'MONTH'|'DAY'|'HOUR'|'MINUTE',
'pathPrefixHierarchy': [
'EXECUTION_ID'|'SCHEMA_VERSION',
]
},
'aggregationConfig': {
'aggregationType': 'None'|'SingleFile',
'targetFileSize': 123
}
}
},
'Honeycode': {
'object': 'string',
'errorHandlingConfig': {
'failOnFirstDestinationError': True|False,
'bucketPrefix': 'string',
'bucketName': 'string'
}
},
'CustomerProfiles': {
'domainName': 'string',
'objectTypeName': 'string'
},
'Zendesk': {
'object': 'string',
'idFieldNames': [
'string',
],
'errorHandlingConfig': {
'failOnFirstDestinationError': True|False,
'bucketPrefix': 'string',
'bucketName': 'string'
},
'writeOperationType': 'INSERT'|'UPSERT'|'UPDATE'|'DELETE'
},
'Marketo': {
'object': 'string',
'errorHandlingConfig': {
'failOnFirstDestinationError': True|False,
'bucketPrefix': 'string',
'bucketName': 'string'
}
},
'CustomConnector': {
'entityName': 'string',
'errorHandlingConfig': {
'failOnFirstDestinationError': True|False,
'bucketPrefix': 'string',
'bucketName': 'string'
},
'writeOperationType': 'INSERT'|'UPSERT'|'UPDATE'|'DELETE',
'idFieldNames': [
'string',
],
'customProperties': {
'string': 'string'
}
},
'SAPOData': {
'objectPath': 'string',
'successResponseHandlingConfig': {
'bucketPrefix': 'string',
'bucketName': 'string'
},
'idFieldNames': [
'string',
],
'errorHandlingConfig': {
'failOnFirstDestinationError': True|False,
'bucketPrefix': 'string',
'bucketName': 'string'
},
'writeOperationType': 'INSERT'|'UPSERT'|'UPDATE'|'DELETE'
}
}
},
],
'lastRunExecutionDetails': {
'mostRecentExecutionMessage': 'string',
'mostRecentExecutionTime': datetime(2015, 1, 1),
'mostRecentExecutionStatus': 'InProgress'|'Successful'|'Error'
},
'triggerConfig': {
'triggerType': 'Scheduled'|'Event'|'OnDemand',
'triggerProperties': {
'Scheduled': {
'scheduleExpression': 'string',
'dataPullMode': 'Incremental'|'Complete',
'scheduleStartTime': datetime(2015, 1, 1),
'scheduleEndTime': datetime(2015, 1, 1),
'timezone': 'string',
'scheduleOffset': 123,
'firstExecutionFrom': datetime(2015, 1, 1),
'flowErrorDeactivationThreshold': 123
}
}
},
'tasks': [
{
'sourceFields': [
'string',
],
'connectorOperator': {
'Amplitude': 'BETWEEN',
'Datadog': 'PROJECTION'|'BETWEEN'|'EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'Dynatrace': 'PROJECTION'|'BETWEEN'|'EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'GoogleAnalytics': 'PROJECTION'|'BETWEEN',
'InforNexus': 'PROJECTION'|'BETWEEN'|'EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'Marketo': 'PROJECTION'|'LESS_THAN'|'GREATER_THAN'|'BETWEEN'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'S3': 'PROJECTION'|'LESS_THAN'|'GREATER_THAN'|'BETWEEN'|'LESS_THAN_OR_EQUAL_TO'|'GREATER_THAN_OR_EQUAL_TO'|'EQUAL_TO'|'NOT_EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'Salesforce': 'PROJECTION'|'LESS_THAN'|'CONTAINS'|'GREATER_THAN'|'BETWEEN'|'LESS_THAN_OR_EQUAL_TO'|'GREATER_THAN_OR_EQUAL_TO'|'EQUAL_TO'|'NOT_EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'ServiceNow': 'PROJECTION'|'CONTAINS'|'LESS_THAN'|'GREATER_THAN'|'BETWEEN'|'LESS_THAN_OR_EQUAL_TO'|'GREATER_THAN_OR_EQUAL_TO'|'EQUAL_TO'|'NOT_EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'Singular': 'PROJECTION'|'EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'Slack': 'PROJECTION'|'LESS_THAN'|'GREATER_THAN'|'BETWEEN'|'LESS_THAN_OR_EQUAL_TO'|'GREATER_THAN_OR_EQUAL_TO'|'EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'Trendmicro': 'PROJECTION'|'EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'Veeva': 'PROJECTION'|'LESS_THAN'|'GREATER_THAN'|'CONTAINS'|'BETWEEN'|'LESS_THAN_OR_EQUAL_TO'|'GREATER_THAN_OR_EQUAL_TO'|'EQUAL_TO'|'NOT_EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'Zendesk': 'PROJECTION'|'GREATER_THAN'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'SAPOData': 'PROJECTION'|'LESS_THAN'|'CONTAINS'|'GREATER_THAN'|'BETWEEN'|'LESS_THAN_OR_EQUAL_TO'|'GREATER_THAN_OR_EQUAL_TO'|'EQUAL_TO'|'NOT_EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'CustomConnector': 'PROJECTION'|'LESS_THAN'|'GREATER_THAN'|'CONTAINS'|'BETWEEN'|'LESS_THAN_OR_EQUAL_TO'|'GREATER_THAN_OR_EQUAL_TO'|'EQUAL_TO'|'NOT_EQUAL_TO'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'|'NO_OP',
'Pardot': 'PROJECTION'|'EQUAL_TO'|'NO_OP'|'ADDITION'|'MULTIPLICATION'|'DIVISION'|'SUBTRACTION'|'MASK_ALL'|'MASK_FIRST_N'|'MASK_LAST_N'|'VALIDATE_NON_NULL'|'VALIDATE_NON_ZERO'|'VALIDATE_NON_NEGATIVE'|'VALIDATE_NUMERIC'
},
'destinationField': 'string',
'taskType': 'Arithmetic'|'Filter'|'Map'|'Map_all'|'Mask'|'Merge'|'Passthrough'|'Truncate'|'Validate'|'Partition',
'taskProperties': {
'string': 'string'
}
},
],
'createdAt': datetime(2015, 1, 1),
'lastUpdatedAt': datetime(2015, 1, 1),
'createdBy': 'string',
'lastUpdatedBy': 'string',
'tags': {
'string': 'string'
},
'metadataCatalogConfig': {
'glueDataCatalog': {
'roleArn': 'string',
'databaseName': 'string',
'tablePrefix': 'string'
}
},
'lastRunMetadataCatalogDetails': [
{
'catalogType': 'GLUE',
'tableName': 'string',
'tableRegistrationOutput': {
'message': 'string',
'result': 'string',
'status': 'InProgress'|'Successful'|'Error'
},
'partitionRegistrationOutput': {
'message': 'string',
'result': 'string',
'status': 'InProgress'|'Successful'|'Error'
}
},
],
'schemaVersion': 123
}
Response Structure
The flow's Amazon Resource Name (ARN).
A description of the flow.
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.
Indicates the current status of the flow.
Contains an error message if the flow status is in a suspended or error state. This applies only to scheduled or event-triggered flows.
The configuration that controls how Amazon AppFlow retrieves data from the source connector.
The type of connector, such as Salesforce, Amplitude, and so on.
The API version of the connector when it's used as a source in the flow.
The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.
Specifies the information that is required to query a particular source connector.
Specifies the information that is required for querying Amplitude.
The object specified in the Amplitude flow source.
Specifies the information that is required for querying Datadog.
The object specified in the Datadog flow source.
Specifies the information that is required for querying Dynatrace.
The object specified in the Dynatrace flow source.
Specifies the information that is required for querying Google Analytics.
The object specified in the Google Analytics flow source.
Specifies the information that is required for querying Infor Nexus.
The object specified in the Infor Nexus flow source.
Specifies the information that is required for querying Marketo.
The object specified in the Marketo flow source.
Specifies the information that is required for querying Amazon S3.
The Amazon S3 bucket name where the source files are stored.
The object key for the Amazon S3 bucket in which the source files are stored.
When you use Amazon S3 as the source, the configuration format that you provide the flow input data.
The file type that Amazon AppFlow gets from your Amazon S3 bucket.
Specifies the information that is required for querying Salesforce.
The object specified in the Salesforce flow source.
The flag that enables dynamic fetching of new (recently added) fields in the Salesforce objects while running a flow.
Indicates whether Amazon AppFlow includes deleted files in the flow run.
Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data from Salesforce.
AUTOMATIC
The default. Amazon AppFlow selects which API to use based on the number of records that your flow transfers from Salesforce. If your flow transfers fewer than 1,000,000 records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000,000 records or more, Amazon AppFlow uses Salesforce Bulk API 2.0.
Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900,000 records, and it might use Bulk API 2.0 on the next day to transfer 1,100,000 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields.
By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output.
BULKV2
Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data transfers, and it's optimal for large sets of data. By choosing this option, you ensure that your flow writes consistent output, but you optimize performance only for large data transfers.
Note that Bulk API 2.0 does not transfer Salesforce compound fields.
REST_SYNC
Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure that your flow writes consistent output, but you decrease performance for large data transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts to transfer a vary large set of data, it might fail wituh a timed out error.
Specifies the information that is required for querying ServiceNow.
The object specified in the ServiceNow flow source.
Specifies the information that is required for querying Singular.
The object specified in the Singular flow source.
Specifies the information that is required for querying Slack.
The object specified in the Slack flow source.
Specifies the information that is required for querying Trend Micro.
The object specified in the Trend Micro flow source.
Specifies the information that is required for querying Veeva.
The object specified in the Veeva flow source.
The document type specified in the Veeva document extract flow.
Boolean value to include source files in Veeva document extract flow.
Boolean value to include file renditions in Veeva document extract flow.
Boolean value to include All Versions of files in Veeva document extract flow.
Specifies the information that is required for querying Zendesk.
The object specified in the Zendesk flow source.
The properties that are applied when using SAPOData as a flow source.
The object path specified in the SAPOData flow source.
The properties that are applied when the custom connector is being used as a source.
The entity specified in the custom connector as a source in the flow.
Custom properties that are required to use the custom connector as a source.
Specifies the information that is required for querying Salesforce Pardot.
The object specified in the Salesforce Pardot flow source.
Defines the configuration for a scheduled incremental data pull. If a valid configuration is provided, the fields specified in the configuration are used when querying for the incremental data pull.
A field that specifies the date time or timestamp field as the criteria to use when importing incremental records from the source.
The configuration that controls how Amazon AppFlow transfers data to the destination connector.
Contains information about the configuration of destination connectors present in the flow.
The type of connector, such as Salesforce, Amplitude, and so on.
The API version that the destination connector uses.
The name of the connector profile. This name must be unique for each connector profile in the Amazon Web Services account.
This stores the information that is required to query a particular connector.
The properties required to query Amazon Redshift.
The object specified in the Amazon Redshift flow destination.
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
The object key for the bucket in which Amazon AppFlow places the destination files.
The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
Specifies the Amazon S3 bucket prefix.
Specifies the name of the Amazon S3 bucket.
The properties required to query Amazon S3.
The Amazon S3 bucket name in which Amazon AppFlow places the transferred data.
The object key for the destination bucket in which Amazon AppFlow places the files.
The configuration that determines how Amazon AppFlow should format the flow output data when Amazon S3 is used as the destination.
Indicates the file type that Amazon AppFlow places in the Amazon S3 bucket.
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.
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
Determines the level of granularity for the date and time that's included in the prefix.
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:
The aggregation settings that you can use to customize the output format of your flow data.
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains.
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 or 1
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 of 1
in your source data becomes the string "1"
in the output.The properties required to query Salesforce.
The object specified in the Salesforce flow destination.
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.
The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
Specifies the Amazon S3 bucket prefix.
Specifies the name of the Amazon S3 bucket.
This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT
, then idFieldNames
is required.
Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data to Salesforce.
AUTOMATIC
The default. Amazon AppFlow selects which API to use based on the number of records that your flow transfers to Salesforce. If your flow transfers fewer than 1,000 records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000 records or more, Amazon AppFlow uses Salesforce Bulk API 2.0.
Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900 records, and it might use Bulk API 2.0 on the next day to transfer 1,100 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields.
By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output.
BULKV2
Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data transfers, and it's optimal for large sets of data. By choosing this option, you ensure that your flow writes consistent output, but you optimize performance only for large data transfers.
Note that Bulk API 2.0 does not transfer Salesforce compound fields.
REST_SYNC
Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure that your flow writes consistent output, but you decrease performance for large data transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts to transfer a vary large set of data, it might fail with a timed out error.
The properties required to query Snowflake.
The object specified in the Snowflake flow destination.
The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake.
The object key for the destination bucket in which Amazon AppFlow places the files.
The settings that determine how Amazon AppFlow handles an error when placing data in the Snowflake destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
Specifies the Amazon S3 bucket prefix.
Specifies the name of the Amazon S3 bucket.
The properties required to query Amazon EventBridge.
The object specified in the Amazon EventBridge flow destination.
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
Specifies the Amazon S3 bucket prefix.
Specifies the name of the Amazon S3 bucket.
The properties required to query Amazon Lookout for Metrics.
The properties required to query Upsolver.
The Upsolver Amazon S3 bucket name in which Amazon AppFlow places the transferred data.
The object key for the destination Upsolver Amazon S3 bucket in which Amazon AppFlow places the files.
The configuration that determines how data is formatted when Upsolver is used as the flow destination.
Indicates the file type that Amazon AppFlow places in the Upsolver Amazon S3 bucket.
Specifies elements that Amazon AppFlow includes in the file and folder names in the flow destination.
Determines the format of the prefix, and whether it applies to the file name, file path, or both.
Determines the level of granularity for the date and time that's included in the prefix.
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:
The aggregation settings that you can use to customize the output format of your flow data.
Specifies whether Amazon AppFlow aggregates the flow records into a single file, or leave them unaggregated.
The desired file size, in MB, for each output file that Amazon AppFlow writes to the flow destination. For each file, Amazon AppFlow attempts to achieve the size that you specify. The actual file sizes might differ from this target based on the number and size of the records that each file contains.
The properties required to query Amazon Honeycode.
The object specified in the Amazon Honeycode flow destination.
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
Specifies the Amazon S3 bucket prefix.
Specifies the name of the Amazon S3 bucket.
The properties required to query Amazon Connect Customer Profiles.
The unique name of the Amazon Connect Customer Profiles domain.
The object specified in the Amazon Connect Customer Profiles flow destination.
The properties required to query Zendesk.
The object specified in the Zendesk flow destination.
A list of field names that can be used as an ID field when performing a write operation.
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
Specifies the Amazon S3 bucket prefix.
Specifies the name of the Amazon S3 bucket.
The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT
operation.
The properties required to query Marketo.
The object specified in the Marketo flow destination.
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
Specifies the Amazon S3 bucket prefix.
Specifies the name of the Amazon S3 bucket.
The properties that are required to query the custom Connector.
The entity specified in the custom connector as a destination in the flow.
The settings that determine how Amazon AppFlow handles an error when placing data in the custom connector as destination.
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
Specifies the Amazon S3 bucket prefix.
Specifies the name of the Amazon S3 bucket.
Specifies the type of write operation to be performed in the custom connector when it's used as destination.
The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update, delete, or upsert.
The custom properties that are specific to the connector when it's used as a destination in the flow.
The properties required to query SAPOData.
The object path specified in the SAPOData flow destination.
Determines how Amazon AppFlow handles the success response that it gets from the connector after placing data.
For example, this setting would determine where to write the response from a destination connector upon a successful insert operation.
The Amazon S3 bucket prefix.
The name of the Amazon S3 bucket.
A list of field names that can be used as an ID field when performing a write operation.
The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig
is a part of the destination connector details.
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
Specifies the Amazon S3 bucket prefix.
Specifies the name of the Amazon S3 bucket.
The possible write operations in the destination connector. When this value is not provided, this defaults to the INSERT
operation.
Describes the details of the most recent flow run.
Describes the details of the most recent flow run.
Specifies the time of the most recent flow run.
Specifies the status of the most recent flow run.
The trigger settings that determine how and when the flow runs.
Specifies the type of flow trigger. This can be OnDemand
, Scheduled
, or Event
.
Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these settings only apply to the Scheduled
trigger type.
Specifies the configuration details of a schedule-triggered flow as defined by the user.
The scheduling expression that determines the rate at which the schedule will run, for example rate(5minutes)
.
Specifies whether a scheduled flow has an incremental data transfer or a complete data transfer for each flow run.
The time at which the scheduled flow starts. The time is formatted as a timestamp that follows the ISO 8601 standard, such as 2022-04-26T13:00:00-07:00
.
The time at which the scheduled flow ends. The time is formatted as a timestamp that follows the ISO 8601 standard, such as 2022-04-27T13:00:00-07:00
.
Specifies the time zone used when referring to the dates and times of a scheduled flow, such as America/New_York
. This time zone is only a descriptive label. It doesn't affect how Amazon AppFlow interprets the timestamps that you specify to schedule the flow.
If you want to schedule a flow by using times in a particular time zone, indicate the time zone as a UTC offset in your timestamps. For example, the UTC offsets for the America/New_York
timezone are -04:00
EDT and -05:00 EST
.
Specifies the optional offset that is added to the time interval for a schedule-triggered flow.
Specifies the date range for the records to import from the connector in the first flow run.
Defines how many times a scheduled flow fails consecutively before Amazon AppFlow deactivates it.
A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
A class for modeling different type of tasks. Task implementation varies based on the TaskType
.
The source fields to which a particular task is applied.
The operation to be performed on the provided source fields.
The operation to be performed on the provided Amplitude source fields.
The operation to be performed on the provided Datadog source fields.
The operation to be performed on the provided Dynatrace source fields.
The operation to be performed on the provided Google Analytics source fields.
The operation to be performed on the provided Infor Nexus source fields.
The operation to be performed on the provided Marketo source fields.
The operation to be performed on the provided Amazon S3 source fields.
The operation to be performed on the provided Salesforce source fields.
The operation to be performed on the provided ServiceNow source fields.
The operation to be performed on the provided Singular source fields.
The operation to be performed on the provided Slack source fields.
The operation to be performed on the provided Trend Micro source fields.
The operation to be performed on the provided Veeva source fields.
The operation to be performed on the provided Zendesk source fields.
The operation to be performed on the provided SAPOData source fields.
Operators supported by the custom connector.
The operation to be performed on the provided Salesforce Pardot source fields.
A field in a destination connector, or a field value against which Amazon AppFlow validates a source field.
Specifies the particular task implementation that Amazon AppFlow performs.
A map used to store task-related information. The execution service looks for particular information based on the TaskType
.
Specifies when the flow was created.
Specifies when the flow was last updated.
The ARN of the user who created the flow.
Specifies the user name of the account that performed the most recent update.
The tags used to organize, track, or control access for your flow.
Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
Specifies the configuration that Amazon AppFlow uses when it catalogs your data with the Glue Data Catalog.
The Amazon Resource Name (ARN) of an IAM role that grants Amazon AppFlow the permissions it needs to create Data Catalog tables, databases, and partitions.
For an example IAM policy that has the required permissions, see Identity-based policy examples for Amazon AppFlow.
The name of the Data Catalog database that stores the metadata tables that Amazon AppFlow creates in your Amazon Web Services account. These tables contain metadata for the data that's transferred by the flow that you configure with this parameter.
Note
When you configure a new flow with this parameter, you must specify an existing database.
A naming prefix for each Data Catalog table that Amazon AppFlow creates for the flow that you configure with this setting. Amazon AppFlow adds the prefix to the beginning of the each table name.
Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
The type of metadata catalog that Amazon AppFlow used for the associated flow run. This parameter returns the following value:
GLUE
The metadata catalog is provided by the Glue Data Catalog. Glue includes the Glue Data Catalog as a component.
The name of the table that stores the metadata for the associated flow run. The table stores metadata that represents the data that the flow transferred. Amazon AppFlow stores the table in the metadata catalog.
Describes the status of the attempt from Amazon AppFlow to register the metadata table with the metadata catalog. Amazon AppFlow creates or updates this table for the associated flow run.
Explains the status of the registration attempt from Amazon AppFlow. If the attempt fails, the message explains why.
Indicates the number of resources that Amazon AppFlow created or updated. Possible resources include metadata tables and data partitions.
Indicates the status of the registration attempt from Amazon AppFlow.
Describes the status of the attempt from Amazon AppFlow to register the data partitions with the metadata catalog. The data partitions organize the flow output into a hierarchical path, such as a folder path in an S3 bucket. Amazon AppFlow creates the partitions (if they don't already exist) based on your flow configuration.
Explains the status of the registration attempt from Amazon AppFlow. If the attempt fails, the message explains why.
Indicates the number of resources that Amazon AppFlow created or updated. Possible resources include metadata tables and data partitions.
Indicates the status of the registration attempt from Amazon AppFlow.
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:
Exceptions
Appflow.Client.exceptions.ResourceNotFoundException
Appflow.Client.exceptions.InternalServerException