Skip to main content

integrations

Creates, updates, deletes or gets an integration resource or lists integrations in a region

Overview

Nameintegrations
TypeResource
DescriptionThe resource schema for creating an Amazon Connect Customer Profiles Integration.
Idaws.customerprofiles.integrations

Fields

NameDatatypeDescription
domain_namestringThe unique name of the domain.
uristringThe URI of the S3 bucket or any other type of data source.
flow_definitionobject
object_type_namestringThe name of the ObjectType defined for the 3rd party data in Profile Service
created_atstringThe time of this integration got created
last_updated_atstringThe time of this integration got last updated at
tagsarrayThe tags (keys and values) associated with the integration
object_type_namesarrayThe mapping between 3rd party event types and ObjectType names
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTDomainName, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all integrations in a region.

SELECT
region,
domain_name,
uri,
flow_definition,
object_type_name,
created_at,
last_updated_at,
tags,
object_type_names
FROM aws.customerprofiles.integrations
WHERE region = 'us-east-1';

Gets all properties from an individual integration.

SELECT
region,
domain_name,
uri,
flow_definition,
object_type_name,
created_at,
last_updated_at,
tags,
object_type_names
FROM aws.customerprofiles.integrations
WHERE region = 'us-east-1' AND data__Identifier = '<DomainName>|<Uri>';

INSERT example

Use the following StackQL query and manifest file to create a new integration resource, using stack-deploy.

/*+ create */
INSERT INTO aws.customerprofiles.integrations (
DomainName,
region
)
SELECT
'{{ DomainName }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.customerprofiles.integrations
WHERE data__Identifier = '<DomainName|Uri>'
AND region = 'us-east-1';

Permissions

To operate on the integrations resource, the following permissions are required:

Create

profile:GetIntegration,
profile:PutIntegration,
appflow:CreateFlow,
app-integrations:CreateEventIntegrationAssociation,
app-integrations:GetEventIntegration,
events:ListTargetsByRule,
events:PutRule,
events:PutTargets,
events:PutEvents,
profile:TagResource

Read

profile:GetIntegration

Delete

profile:DeleteIntegration,
appflow:DeleteFlow,
app-integrations:ListEventIntegrationAssociations,
app-integrations:DeleteEventIntegrationAssociation,
events:RemoveTargets,
events:ListTargetsByRule,
events:DeleteRule

Update

profile:PutIntegration,
profile:GetIntegration,
appflow:CreateFlow,
app-integrations:GetEventIntegration,
app-integrations:CreateEventIntegrationAssociation,
app-integrations:ListEventIntegrationAssociations,
app-integrations:DeleteEventIntegrationAssociation,
events:ListTargetsByRule,
events:RemoveTargets,
events:DeleteRule,
events:PutRule,
events:PutTargets,
events:PutEvents,
profile:UntagResource,
profile:TagResource

List

profile:ListIntegrations