2026/09/16 - Amazon Connect Service - 1 updated api methods
Changes Adds support for ContactAnalysis via ListContactReferences.
{'ReferenceSummaryList': {'ContactAnalysis': {'AnalyticsMode': 'PostContact | '
'RealTime | '
'ContactLens | '
'AutomatedInteraction',
'Arn': 'string',
'IsRedacted': 'boolean',
'Name': 'string',
'Status': 'AVAILABLE | DELETED | '
'APPROVED | REJECTED | '
'PROCESSING | FAILED',
'Value': 'string'}}}
This API is in preview release for Connect Customer and is subject to change.
For the specified referenceTypes, returns a list of references associated with the contact. References are links to documents that are related to a contact, such as emails, attachments, or URLs.
See also: AWS API Documentation
Request Syntax
client.list_contact_references(
InstanceId='string',
ContactId='string',
ReferenceTypes=[
'URL'|'ATTACHMENT'|'CONTACT_ANALYSIS'|'NUMBER'|'STRING'|'DATE'|'EMAIL'|'EMAIL_MESSAGE'|'EMAIL_MESSAGE_PLAIN_TEXT'|'EMAIL_MESSAGE_PLAIN_TEXT_REDACTED'|'EMAIL_MESSAGE_REDACTED',
],
NextToken='string'
)
string
[REQUIRED]
The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
string
[REQUIRED]
The identifier of the initial contact.
list
[REQUIRED]
The type of reference.
(string) --
string
The 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.
dict
Response Syntax
{
'ReferenceSummaryList': [
{
'Url': {
'Name': 'string',
'Value': 'string'
},
'Attachment': {
'Name': 'string',
'Value': 'string',
'Status': 'AVAILABLE'|'DELETED'|'APPROVED'|'REJECTED'|'PROCESSING'|'FAILED',
'Arn': 'string'
},
'EmailMessage': {
'Name': 'string',
'Arn': 'string'
},
'EmailMessageRedacted': {
'Name': 'string',
'Arn': 'string'
},
'EmailMessagePlainText': {
'Name': 'string',
'Arn': 'string'
},
'EmailMessagePlainTextRedacted': {
'Name': 'string',
'Arn': 'string'
},
'String': {
'Name': 'string',
'Value': 'string'
},
'Number': {
'Name': 'string',
'Value': 'string'
},
'Date': {
'Name': 'string',
'Value': 'string'
},
'Email': {
'Name': 'string',
'Value': 'string'
},
'ContactAnalysis': {
'Name': 'string',
'Value': 'string',
'Status': 'AVAILABLE'|'DELETED'|'APPROVED'|'REJECTED'|'PROCESSING'|'FAILED',
'Arn': 'string',
'AnalyticsMode': 'PostContact'|'RealTime'|'ContactLens'|'AutomatedInteraction',
'IsRedacted': True|False
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ReferenceSummaryList (list) --
Information about the flows.
(dict) --
Contains summary information about a reference. ReferenceSummary contains only one non null field between the URL and attachment based on the reference type.
Url (dict) --
Information about the reference when the referenceType is URL. Otherwise, null.
Name (string) --
Identifier of the URL reference.
Value (string) --
A valid URL.
Attachment (dict) --
Information about the reference when the referenceType is ATTACHMENT. Otherwise, null.
Name (string) --
Identifier of the attachment reference.
Value (string) --
The location path of the attachment reference.
Status (string) --
Status of the attachment reference type.
Arn (string) --
The Amazon Resource Name (ARN) of the attachment reference.
EmailMessage (dict) --
Information about the reference when the referenceType is EMAIL_MESSAGE. Otherwise, null.
Name (string) --
The name of the email message reference
Arn (string) --
The Amazon Resource Name (ARN) of the email message reference
EmailMessageRedacted (dict) --
Information about the reference when the referenceType is EMAIL_MESSAGE. Otherwise, null.
Name (string) --
The name of the email message reference
Arn (string) --
The Amazon Resource Name (ARN) of the email message reference
EmailMessagePlainText (dict) --
Information about the reference when the referenceType is EMAIL_MESSAGE. Otherwise, null.
Name (string) --
The name of the email message reference
Arn (string) --
The Amazon Resource Name (ARN) of the email message reference
EmailMessagePlainTextRedacted (dict) --
Information about the reference when the referenceType is EMAIL_MESSAGE. Otherwise, null.
Name (string) --
The name of the email message reference
Arn (string) --
The Amazon Resource Name (ARN) of the email message reference
String (dict) --
Information about a reference when the referenceType is STRING. Otherwise, null.
Name (string) --
Identifier of the string reference.
Value (string) --
A valid string.
Number (dict) --
Information about a reference when the referenceType is NUMBER. Otherwise, null.
Name (string) --
Identifier of the number reference.
Value (string) --
A valid number.
Date (dict) --
Information about a reference when the referenceType is DATE. Otherwise, null.
Name (string) --
Identifier of the date reference.
Value (string) --
A valid date.
Email (dict) --
Information about a reference when the referenceType is EMAIL. Otherwise, null.
Name (string) --
Identifier of the email reference.
Value (string) --
A valid email address.
ContactAnalysis (dict) --
Information about a reference when the referenceType is CONTACT_ANALYSIS. Otherwise, null.
Name (string) --
Identifier of the contact analysis reference.
Value (string) --
The location path of the contact analysis reference.
Status (string) --
Status of the contact analysis reference type.
Arn (string) --
The Amazon Resource Name (ARN) of the contact analysis reference.
AnalyticsMode (string) --
The analytics mode of the contact analysis.
IsRedacted (boolean) --
Indicates whether sensitive data has been redacted from the contact analysis.
NextToken (string) --
If there are additional results, this is the token for the next set of results.