Skip to main content

data_integrations

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

Overview

Namedata_integrations
TypeResource
Idaws.appintegrations.data_integrations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) for the DataIntegration. (pattern: <code>^arn:aws:[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9_/.-]{0,63}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$</code>)
descriptionstringThe KMS key ARN for the DataIntegration. (pattern: <code>.*</code>)
file_configurationobjectThe configuration for what files should be pulled from the source.
idstringA unique identifier. (pattern: <code>[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}</code>)
kms_keystringThe KMS key ARN for the DataIntegration. (pattern: <code>.\S.</code>)
namestringThe name of the DataIntegration. (pattern: <code>^[a-zA-Z0-9/._-]+$</code>)
object_configurationobjectThe configuration for what data should be pulled from the source.
schedule_configurationobjectThe name of the data and how often it should be pulled from the source.
source_uristringThe URI of the data source. (pattern: <code>^(\w+://[\w.-]+[\w/!@#+=.-]+$)|(\w+://[\w.-]+[\w/!@#+=.-]+[\w/!@#+=.-]+[\w/!@#+=.,-]+$)</code>)
tagsobjectThe tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_data_integrationselectidentifier, regionReturns information about the DataIntegration. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
list_data_integrationsselectregionnextToken, maxResultsReturns a paginated list of DataIntegrations in the account. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
create_data_integrationinsertregion, KmsKeyCreates and persists a DataIntegration resource. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
update_data_integrationupdateidentifier, regionUpdates the description of a DataIntegration. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.
delete_data_integrationdeleteidentifier, regionDeletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.

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
identifierstringA unique identifier for the DataIntegration.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return per page.
nextTokenstringThe token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

SELECT examples

Returns information about the DataIntegration. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.

SELECT
arn,
description,
file_configuration,
id,
kms_key,
name,
object_configuration,
schedule_configuration,
source_uri,
tags
FROM aws.appintegrations.data_integrations
WHERE identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates and persists a DataIntegration resource. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.

INSERT INTO aws.appintegrations.data_integrations (
Name,
Description,
KmsKey,
SourceURI,
ScheduleConfig,
Tags,
ClientToken,
FileConfiguration,
ObjectConfiguration,
region
)
SELECT
'{{ Name }}',
'{{ Description }}',
'{{ KmsKey }}' /* required */,
'{{ SourceURI }}',
'{{ ScheduleConfig }}',
'{{ Tags }}',
'{{ ClientToken }}',
'{{ FileConfiguration }}',
'{{ ObjectConfiguration }}',
'{{ region }}'
RETURNING
arn,
client_token,
description,
file_configuration,
id,
kms_key,
name,
object_configuration,
schedule_configuration,
source_uri,
tags
;

UPDATE examples

Updates the description of a DataIntegration. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.

UPDATE aws.appintegrations.data_integrations
SET
Name = '{{ Name }}',
Description = '{{ Description }}'
WHERE
identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required;

DELETE examples

Deletes the DataIntegration. Only DataIntegrations that don't have any DataIntegrationAssociations can be deleted. Deleting a DataIntegration also deletes the underlying Amazon AppFlow flow and service linked role. You cannot create a DataIntegration association for a DataIntegration that has been previously associated. Use a different DataIntegration, or recreate the DataIntegration using the CreateDataIntegration API.

DELETE FROM aws.appintegrations.data_integrations
WHERE identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required
;