Skip to main content

data_integration_flows

Creates, updates, deletes, gets or lists a data_integration_flows resource.

Overview

Namedata_integration_flows
TypeResource
Idaws.supplychain.data_integration_flows

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe DataIntegrationFlow name. (pattern: <code>[A-Za-z0-9-]+</code>)
created_timestring (date-time)The DataIntegrationFlow creation timestamp.
instance_idstringThe DataIntegrationFlow instance ID. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)
last_modified_timestring (date-time)The DataIntegrationFlow last modified timestamp.
sourcesarrayThe DataIntegrationFlow source configurations.
targetobjectThe DataIntegrationFlow target parameters.
transformationobjectThe DataIntegrationFlow transformation parameters.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_data_integration_flowselectinstance_id, name, regionEnables you to programmatically view a specific data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.
list_data_integration_flowsselectinstance_id, regionnextToken, maxResultsEnables you to programmatically list all data pipelines for the provided Amazon Web Services Supply Chain instance.
create_data_integration_flowinsertinstance_id, name, region, sources, transformation, targetEnables you to programmatically create a data pipeline to ingest data from source systems such as Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.
update_data_integration_flowupdateinstance_id, name, regionEnables you to programmatically update an existing data pipeline to ingest data from the source systems such as, Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.
delete_data_integration_flowdeleteinstance_id, name, regionEnable you to programmatically delete an existing data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
instance_idstringThe Amazon Web Services Supply Chain instance identifier.
namestringThe name of the DataIntegrationFlow to be deleted.
regionstringAWS region (default: us-east-1)
maxResultsintegerSpecify the maximum number of DataIntegrationFlows to fetch in one paginated request.
nextTokenstringThe pagination token to fetch the next page of the DataIntegrationFlows.

SELECT examples

Enables you to programmatically view a specific data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.

SELECT
name,
created_time,
instance_id,
last_modified_time,
sources,
target,
transformation
FROM aws.supplychain.data_integration_flows
WHERE instance_id = '{{ instance_id }}' -- required
AND name = '{{ name }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Enables you to programmatically create a data pipeline to ingest data from source systems such as Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.

INSERT INTO aws.supplychain.data_integration_flows (
sources,
transformation,
target,
tags,
instance_id,
name,
region
)
SELECT
'{{ sources }}' /* required */,
'{{ transformation }}' /* required */,
'{{ target }}' /* required */,
'{{ tags }}',
'{{ instance_id }}',
'{{ name }}',
'{{ region }}'
RETURNING
name,
instance_id
;

UPDATE examples

Enables you to programmatically update an existing data pipeline to ingest data from the source systems such as, Amazon S3 buckets, to a predefined Amazon Web Services Supply Chain dataset (product, inbound_order) or a temporary dataset along with the data transformation query provided with the API.

UPDATE aws.supplychain.data_integration_flows
SET
sources = '{{ sources }}',
transformation = '{{ transformation }}',
target = '{{ target }}'
WHERE
instance_id = '{{ instance_id }}' --required
AND name = '{{ name }}' --required
AND region = '{{ region }}' --required
RETURNING
flow;

DELETE examples

Enable you to programmatically delete an existing data pipeline for the provided Amazon Web Services Supply Chain instance and DataIntegrationFlow name.

DELETE FROM aws.supplychain.data_integration_flows
WHERE instance_id = '{{ instance_id }}' --required
AND name = '{{ name }}' --required
AND region = '{{ region }}' --required
;