Skip to main content

integrations

Creates, updates, deletes, gets or lists an integrations resource.

Overview

Nameintegrations
TypeResource
Idaws.rds.integrations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
additional_encryption_contextstringThe encryption context for the integration. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide.
create_timestringThe time when the integration was created, in Universal Coordinated Time (UTC).
data_filterstringData filters for the integration. These filters determine which tables from the source database are sent to the target Amazon Redshift data warehouse.
descriptionstringA description of the integration.
errorsstringAny errors associated with the integration.
integration_arnstringThe ARN of the integration.
integration_namestringThe name of the integration.
kms_key_idstringThe Amazon Web Services Key Management System (Amazon Web Services KMS) key identifier for the key used to to encrypt the integration.
source_arnstringThe Amazon Resource Name (ARN) of the database used as the source for replication.
statusstringThe current status of the integration.
tagsstringA list of tags. For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide.
target_arnstringThe ARN of the Redshift data warehouse used as the target for replication.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_integrationsselectregionIntegrationIdentifier, Filters, MaxRecords, MarkerDescribe one or more zero-ETL integrations with Amazon Redshift.
create_integrationinsertSourceArn, TargetArn, IntegrationName, regionKMSKeyId, AdditionalEncryptionContext, Tags, DataFilter, DescriptionCreates a zero-ETL integration with Amazon Redshift.
modify_integrationupdateIntegrationIdentifier, regionIntegrationName, DataFilter, DescriptionModifies a zero-ETL integration with Amazon Redshift.
delete_integrationdeleteIntegrationIdentifier, regionDeletes a zero-ETL integration with Amazon Redshift.

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
IntegrationIdentifierstringThe unique identifier of the integration.
IntegrationNamestringThe name of the integration.
SourceArnstringThe Amazon Resource Name (ARN) of the database to use as the source for replication.
TargetArnstringThe ARN of the Redshift data warehouse to use as the target for replication.
regionstringAWS region (default: us-east-1)
AdditionalEncryptionContextobjectAn optional set of non-secret key–value pairs that contains additional contextual information about the data. For more information, see Encryption context in the Amazon Web Services Key Management Service Developer Guide. You can only include this parameter if you specify the KMSKeyId parameter.
DataFilterstringA new data filter for the integration. For more information, see Data filtering for Aurora zero-ETL integrations with Amazon Redshift or Data filtering for Amazon RDS zero-ETL integrations with Amazon Redshift.
DescriptionstringA new description for the integration.
FiltersarrayA filter that specifies one or more resources to return.
IntegrationIdentifierstringThe unique identifier of the integration.
IntegrationNamestringA new name for the integration.
KMSKeyIdstringThe Amazon Web Services Key Management System (Amazon Web Services KMS) key identifier for the key to use to encrypt the integration. If you don't specify an encryption key, RDS uses a default Amazon Web Services owned key.
MarkerstringAn optional pagination token provided by a previous DescribeIntegrations request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.
MaxRecordsintegerThe maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that you can retrieve the remaining results. Default: 100 Constraints: Minimum 20, maximum 100.
Tagsarray

SELECT examples

Describe one or more zero-ETL integrations with Amazon Redshift.

SELECT
additional_encryption_context,
create_time,
data_filter,
description,
errors,
integration_arn,
integration_name,
kms_key_id,
source_arn,
status,
tags,
target_arn
FROM aws.rds.integrations
WHERE region = '{{ region }}' -- required
AND IntegrationIdentifier = '{{ IntegrationIdentifier }}'
AND Filters = '{{ Filters }}'
AND MaxRecords = '{{ MaxRecords }}'
AND Marker = '{{ Marker }}'
;

INSERT examples

Creates a zero-ETL integration with Amazon Redshift.

INSERT INTO aws.rds.integrations (
SourceArn,
TargetArn,
IntegrationName,
region,
KMSKeyId,
AdditionalEncryptionContext,
Tags,
DataFilter,
Description
)
SELECT
'{{ SourceArn }}',
'{{ TargetArn }}',
'{{ IntegrationName }}',
'{{ region }}',
'{{ KMSKeyId }}',
'{{ AdditionalEncryptionContext }}',
'{{ Tags }}',
'{{ DataFilter }}',
'{{ Description }}'
RETURNING
additional_encryption_context,
create_time,
data_filter,
description,
errors,
integration_arn,
integration_name,
kms_key_id,
source_arn,
status,
tags,
target_arn
;

UPDATE examples

Modifies a zero-ETL integration with Amazon Redshift.

UPDATE aws.rds.integrations
SET
-- No updatable properties
WHERE
IntegrationIdentifier = '{{ IntegrationIdentifier }}' --required
AND region = '{{ region }}' --required
AND IntegrationName = '{{ IntegrationName}}'
AND DataFilter = '{{ DataFilter}}'
AND Description = '{{ Description}}'
RETURNING
additional_encryption_context,
create_time,
data_filter,
description,
errors,
integration_arn,
integration_name,
kms_key_id,
source_arn,
status,
tags,
target_arn;

DELETE examples

Deletes a zero-ETL integration with Amazon Redshift.

DELETE FROM aws.rds.integrations
WHERE IntegrationIdentifier = '{{ IntegrationIdentifier }}' --required
AND region = '{{ region }}' --required
;