Skip to content

AgentContactReference

Source code in docs_src/capo_connect/types/agent_contact_reference.py
class AgentContactReference(TypedDict, closed=True):
    contact_id: NotRequired["capo_connect.types.contact_id.ContactId"]
    """<p>The identifier of the contact in this instance of Connect Customer. </p>"""
    channel: NotRequired["capo_connect.types.channel.Channel"]
    """<p>The channel of the contact.</p>"""
    initiation_method: NotRequired[
        "capo_connect.types.contact_initiation_method.ContactInitiationMethod"
    ]
    """<p>How the contact was initiated.</p>"""
    agent_contact_state: NotRequired["capo_connect.types.contact_state.ContactState"]
    """<p>The <a href="https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html">state of the contact</a>.</p> <note> <p>When <code>AgentContactState</code> is set to <code>CONNECTED_ONHOLD</code>, <code>StateStartTimestamp</code> is not changed. Instead, <code>StateStartTimestamp</code> reflects the time the contact was <code>CONNECTED</code> to the agent.</p> </note>"""
    state_start_timestamp: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>The epoch timestamp when the contact state started.</p>"""
    connected_to_agent_timestamp: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>The time at which the contact was connected to an agent.</p>"""
    queue: NotRequired["capo_connect.types.queue_reference.QueueReference"]

agent_contact_state instance-attribute

agent_contact_state: NotRequired[ContactState]

The state of the contact.

When AgentContactState is set to CONNECTED_ONHOLD, StateStartTimestamp is not changed. Instead, StateStartTimestamp reflects the time the contact was CONNECTED to the agent.

channel instance-attribute

channel: NotRequired[Channel]

The channel of the contact.

connected_to_agent_timestamp instance-attribute

connected_to_agent_timestamp: NotRequired[Timestamp]

The time at which the contact was connected to an agent.

contact_id instance-attribute

contact_id: NotRequired[ContactId]

The identifier of the contact in this instance of Connect Customer.

initiation_method instance-attribute

initiation_method: NotRequired[ContactInitiationMethod]

How the contact was initiated.

queue instance-attribute

queue: NotRequired[QueueReference]

state_start_timestamp instance-attribute

state_start_timestamp: NotRequired[Timestamp]

The epoch timestamp when the contact state started.