Skip to main content

integration_associations

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

Overview

Nameintegration_associations
TypeResource
Idaws.connect.integration_associations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
instance_idstringThe identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
integration_arnstringThe Amazon Resource Name (ARN) for the AppIntegration.
integration_association_arnstringThe Amazon Resource Name (ARN) for the AppIntegration association.
integration_association_idstringThe identifier for the AppIntegration association.
integration_typestringThe integration type. (EVENT, VOICE_ID, PINPOINT_APP, WISDOM_ASSISTANT, WISDOM_KNOWLEDGE_BASE, WISDOM_QUICK_RESPONSES, Q_MESSAGE_TEMPLATES, CASES_DOMAIN, APPLICATION, FILE_SCANNER, SES_IDENTITY, ANALYTICS_CONNECTOR, CALL_TRANSFER_CONNECTOR, COGNITO_USER_POOL, MESSAGE_PROCESSOR)
source_application_namestringThe user-provided, friendly name for the external application. (pattern: <code>^[a-zA-Z0-9_ -]+$</code>)
source_application_urlstringThe URL for the external application.
source_typestringThe name of the source. (SALESFORCE, ZENDESK, CASES)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_integration_associationsselectinstance_id, regionintegrationType, nextToken, maxResults, integrationArnProvides summary information about the Amazon Web Services resource associations for the specified Connect Customer instance.
create_integration_associationinsertinstance_id, region, IntegrationType, IntegrationArnCreates an Amazon Web Services resource association with an Connect Customer instance.
delete_integration_associationdeleteinstance_id, integration_association_id, regionDeletes an Amazon Web Services resource association from an Connect Customer instance. The association must not have any use cases associated with it.

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 identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
integration_association_idstringThe identifier for the integration association.
regionstringAWS region (default: us-east-1)
integrationArnstringThe Amazon Resource Name (ARN) of the integration.
integrationTypestringThe integration type.
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

Provides summary information about the Amazon Web Services resource associations for the specified Connect Customer instance.

SELECT
instance_id,
integration_arn,
integration_association_arn,
integration_association_id,
integration_type,
source_application_name,
source_application_url,
source_type
FROM aws.connect.integration_associations
WHERE instance_id = '{{ instance_id }}' -- required
AND region = '{{ region }}' -- required
AND integrationType = '{{ integrationType }}'
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
AND integrationArn = '{{ integrationArn }}'
;

INSERT examples

Creates an Amazon Web Services resource association with an Connect Customer instance.

INSERT INTO aws.connect.integration_associations (
IntegrationType,
IntegrationArn,
SourceApplicationUrl,
SourceApplicationName,
SourceType,
Tags,
instance_id,
region
)
SELECT
'{{ IntegrationType }}' /* required */,
'{{ IntegrationArn }}' /* required */,
'{{ SourceApplicationUrl }}',
'{{ SourceApplicationName }}',
'{{ SourceType }}',
'{{ Tags }}',
'{{ instance_id }}',
'{{ region }}'
RETURNING
integration_association_arn,
integration_association_id
;

DELETE examples

Deletes an Amazon Web Services resource association from an Connect Customer instance. The association must not have any use cases associated with it.

DELETE FROM aws.connect.integration_associations
WHERE instance_id = '{{ instance_id }}' --required
AND integration_association_id = '{{ integration_association_id }}' --required
AND region = '{{ region }}' --required
;