AWS announces preview of AWS Interconnect - multicloud
AWS announces AWS Interconnect – multicloud (preview), providing simple, resilient, high-speed private connections to other cloud service providers. AWS Interconnect - multicloud is easy to configure and provides high-speed, resilient connectivity with dedicated bandwidth, enabling customers to interconnect AWS networking services such as AWS Transit Gateway, AWS Cloud WAN, and Amazon VPC to other cloud service providers with ease.
Integrating an Amazon Connect Customer Profiles Domain with Amazon Connect by API
This article provides guidance for customers using API-driven Amazon Connect implementations to integrate Customer Profiles with Amazon Connect Data.
Integrating an Amazon Connect Customer Profiles Domain with Amazon Connect by API
Overview
This article provides guidance for customers using API-driven Amazon Connect implementations to integrate Customer Profiles with Amazon Connect Data.
Pre-Requisites:
- Have an Amazon Connect Instance created either by using the AWS Console, AWS SDK, or AWS CloudFormation deployment.
- Have a Customer Profiles Domain created either through the AWS SDK or AWS CloudFormation deployment.
Key Step: To Integrate an existing Amazon Connect Instance with an existing Customer Profiles Domain, you have to create a Customer Profiles Integration using the Amazon Connect Instance ARN as the Integration URI.
- Set
DomainNameto your Customer Profiles domain name - Set
Urito your Connect Instance ARN
Integration Method using PutIntegration API
The PutIntegration API can be used to integrate a Customer Profiles domain with Amazon Connect. Below are two sample code snippets written using Javascript (AWS SDK V3) and Python3.
Javascript (AWS SDK V3) Example
import { CustomerProfilesClient, PutIntegrationCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import // const { CustomerProfilesClient, PutIntegrationCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import const client = new CustomerProfilesClient({}); await client.send(new PutIntegrationCommand({ DomainName: 'ExampleDomain', Uri: 'arn:aws:connect:us-east-1:123456789012:instance/11111111-1111-1111-1111-111111111111' }));
Python3 (Boto3 SDK) Example
import boto3 client = boto3.client('customer-profiles') client.put_integration( DomainName='ExampleDomain', Uri='arn:aws:connect:us-east-1:123456789012:instance/11111111-1111-1111-1111-111111111111', )
Integration using AWS CloudFormation
The AWS::CustomerProfiles::Integration resource can be used to integrate a Customer Profiles domain with Amazon Connect in CloudFormation. Below are two sample templates written in YAML and JSON format that will integrate a given Customer Profiles domain with the specified Connect Instance ARN.
YAML
AWSTemplateFormatVersion: 2010-09-09 Resources: CustomerProfilesConnectIntegration: Type: AWS::CustomerProfiles::Integration Properties: DomainName: ExampleDomain ObjectTypeName: CTR Uri: arn:aws:connect:us-east-1:123456789012:instance/11111111-1111-1111-1111-111111111111
JSON
{ "AWSTemplateFormatVersion": "2010-09-09", "Resources": { "CustomerProfilesConnectIntegration": { "Type": "AWS::CustomerProfiles::Integration", "Properties": { "DomainName": "ExampleDomain", "ObjectTypeName": "CTR", "Uri": "arn:aws:connect:us-east-1:123456789012:instance/11111111-1111-1111-1111-111111111111" } } } }
Summary
Integrating Amazon Connect with Customer Profiles provides a unified customer profile across channels. This can be achieved through the PutIntegration API or CloudFormation. The key to enabling this integration is to specifying the Connect Instance ARN as the integration URI in either integration method.
Contenuto pertinente
AWS UFFICIALEAggiornata un anno fa