Connect / Client / list_associated_contacts

list_associated_contacts#

Connect.Client.list_associated_contacts(**kwargs)#

See also: AWS API Documentation

Request Syntax

response = client.list_associated_contacts(
    InstanceId='string',
    ContactId='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • InstanceId (string) – [REQUIRED]

  • ContactId (string) – [REQUIRED]

  • MaxResults (integer) –

  • NextToken (string) –

Return type:

dict

Returns:

Response Syntax

{
    'ContactSummaryList': [
        {
            'ContactId': 'string',
            'ContactArn': 'string',
            'InitiationTimestamp': datetime(2015, 1, 1),
            'DisconnectTimestamp': datetime(2015, 1, 1),
            'InitialContactId': 'string',
            'PreviousContactId': 'string',
            'RelatedContactId': 'string',
            'InitiationMethod': 'INBOUND'|'OUTBOUND'|'TRANSFER'|'QUEUE_TRANSFER'|'CALLBACK'|'API'|'DISCONNECT'|'MONITOR'|'EXTERNAL_OUTBOUND'|'WEBRTC_API'|'AGENT_REPLY'|'FLOW',
            'Channel': 'VOICE'|'CHAT'|'TASK'|'EMAIL'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ContactSummaryList (list) –

      • (dict) –

        • ContactId (string) –

        • ContactArn (string) –

        • InitiationTimestamp (datetime) –

        • DisconnectTimestamp (datetime) –

        • InitialContactId (string) –

        • PreviousContactId (string) –

        • RelatedContactId (string) –

        • InitiationMethod (string) –

        • Channel (string) –

    • NextToken (string) –

Exceptions