Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . connect ]



This API is in preview release for Amazon Connect and is subject to change.

Describes the specified contact.


Contact information remains available in Amazon Connect for 24 months, and then it is deleted.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.


--instance-id <value>
--contact-id <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--instance-id (string)

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

--contact-id (string)

The identifier of the contact.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.


Contact -> (structure)

Information about the contact.

Arn -> (string)

The Amazon Resource Name (ARN) for the contact.

Id -> (string)

The identifier for the contact.

InitialContactId -> (string)

If this contact is related to other contacts, this is the ID of the initial contact.

PreviousContactId -> (string)

If this contact is not the first contact, this is the ID of the previous contact.

InitiationMethod -> (string)

Indicates how the contact was initiated.

Name -> (string)

The name of the contact.

Description -> (string)

The description of the contact.

Channel -> (string)

How the contact reached your contact center.

QueueInfo -> (structure)

If this contact was queued, this contains information about the queue.

Id -> (string)

The identifier of the agent who accepted the contact.

EnqueueTimestamp -> (timestamp)

The timestamp when the contact was added to the queue.

AgentInfo -> (structure)

Information about the agent who accepted the contact.

Id -> (string)

The identifier of the agent who accepted the contact.

ConnectedToAgentTimestamp -> (timestamp)

The timestamp when the contact was connected to the agent.

InitiationTimestamp -> (timestamp)

The date and time this contact was initiated, in UTC time. For INBOUND , this is when the contact arrived. For OUTBOUND , this is when the agent began dialing. For CALLBACK , this is when the callback contact was created. For TRANSFER and QUEUE_TRANSFER , this is when the transfer was initiated. For API , this is when the request arrived.

DisconnectTimestamp -> (timestamp)

The timestamp when the customer endpoint disconnected from Amazon Connect.

LastUpdateTimestamp -> (timestamp)

The timestamp when contact was last updated.

ScheduledTimestamp -> (timestamp)

The timestamp, in Unix epoch time format, at which to start running the inbound flow.