Skip to content

AgentInfo

Source code in docs_src/capo_connect/types/agent_info.py
class AgentInfo(TypedDict, closed=True):
    id: NotRequired["capo_connect.types.agent_resource_id.AgentResourceId"]
    """<p>The identifier of the agent who accepted the contact.</p>"""
    accepted_by_agent_timestamp: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>The timestamp when the contact was accepted by the agent.</p>"""
    preview_end_timestamp: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>The timestamp when the agent finished previewing the contact.</p>"""
    connected_to_agent_timestamp: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>The timestamp when the contact was connected to the agent.</p>"""
    agent_pause_duration_in_seconds: NotRequired[
        "capo_connect.types.agent_pause_duration_in_seconds.AgentPauseDurationInSeconds"
    ]
    """<p>Agent pause duration for a contact in seconds.</p>"""
    hierarchy_groups: NotRequired["capo_connect.types.hierarchy_groups.HierarchyGroups"]
    """<p>The agent hierarchy groups for the agent.</p>"""
    device_info: NotRequired["capo_connect.types.device_info.DeviceInfo"]
    """<p>Information regarding Agent’s device.</p>"""
    capabilities: NotRequired[
        "capo_connect.types.participant_capabilities.ParticipantCapabilities"
    ]
    after_contact_work_duration: NotRequired["capo_connect.types.duration.Duration"]
    """<p>The difference in time, in whole seconds, between <code>AfterContactWorkStartTimestamp</code> and <code>AfterContactWorkEndTimestamp</code>.</p>"""
    after_contact_work_start_timestamp: NotRequired[
        "capo_connect.types.timestamp.Timestamp"
    ]
    """<p>The date and time when the agent started doing After Contact Work for the contact, in UTC time.</p>"""
    after_contact_work_end_timestamp: NotRequired[
        "capo_connect.types.timestamp.Timestamp"
    ]
    """<p>The date and time when the agent ended After Contact Work for the contact, in UTC time. In cases when agent finishes doing <code>AfterContactWork</code> for chat contacts and switches their activity status to offline or equivalent without clearing the contact in CCP, discrepancies may be noticed for <code>AfterContactWorkEndTimestamp</code>.</p>"""
    agent_initiated_hold_duration: NotRequired["capo_connect.types.duration.Duration"]
    """<p>The total hold duration in seconds initiated by the agent.</p>"""
    state_transitions: NotRequired[
        "capo_connect.types.state_transitions.StateTransitions"
    ]
    """<p>List of <code>StateTransition</code> for a supervisor.</p>"""
    voice_enhancement_mode: NotRequired[
        "capo_connect.types.voice_enhancement_mode.VoiceEnhancementMode"
    ]
    """<p>The voice enhancement mode used by the agent as the call is ending. Valid values: VOICE_ISOLATION | NOISE_SUPPRESSION | NONE. A value of null indicates this mode has not yet been set for this user.</p>"""
    active_region: NotRequired["capo_connect.types.active_region.ActiveRegion"]
    """<p>The Region where the agent was active when they handled the contact. For Amazon Connect Global Resiliency instances enabled for global routing, this indicates the Region in which the agent's session was established at the time of the contact.</p>"""

accepted_by_agent_timestamp instance-attribute

accepted_by_agent_timestamp: NotRequired[Timestamp]

The timestamp when the contact was accepted by the agent.

active_region instance-attribute

active_region: NotRequired[ActiveRegion]

The Region where the agent was active when they handled the contact. For Amazon Connect Global Resiliency instances enabled for global routing, this indicates the Region in which the agent's session was established at the time of the contact.

after_contact_work_duration instance-attribute

after_contact_work_duration: NotRequired[Duration]

The difference in time, in whole seconds, between AfterContactWorkStartTimestamp and AfterContactWorkEndTimestamp.

after_contact_work_end_timestamp instance-attribute

after_contact_work_end_timestamp: NotRequired[Timestamp]

The date and time when the agent ended After Contact Work for the contact, in UTC time. In cases when agent finishes doing AfterContactWork for chat contacts and switches their activity status to offline or equivalent without clearing the contact in CCP, discrepancies may be noticed for AfterContactWorkEndTimestamp.

after_contact_work_start_timestamp instance-attribute

after_contact_work_start_timestamp: NotRequired[Timestamp]

The date and time when the agent started doing After Contact Work for the contact, in UTC time.

agent_initiated_hold_duration instance-attribute

agent_initiated_hold_duration: NotRequired[Duration]

The total hold duration in seconds initiated by the agent.

agent_pause_duration_in_seconds instance-attribute

agent_pause_duration_in_seconds: NotRequired[AgentPauseDurationInSeconds]

Agent pause duration for a contact in seconds.

capabilities instance-attribute

capabilities: NotRequired[ParticipantCapabilities]

connected_to_agent_timestamp instance-attribute

connected_to_agent_timestamp: NotRequired[Timestamp]

The timestamp when the contact was connected to the agent.

device_info instance-attribute

device_info: NotRequired[DeviceInfo]

Information regarding Agent’s device.

hierarchy_groups instance-attribute

hierarchy_groups: NotRequired[HierarchyGroups]

The agent hierarchy groups for the agent.

id instance-attribute

id: NotRequired[AgentResourceId]

The identifier of the agent who accepted the contact.

preview_end_timestamp instance-attribute

preview_end_timestamp: NotRequired[Timestamp]

The timestamp when the agent finished previewing the contact.

state_transitions instance-attribute

state_transitions: NotRequired[StateTransitions]

List of StateTransition for a supervisor.

voice_enhancement_mode instance-attribute

voice_enhancement_mode: NotRequired[VoiceEnhancementMode]

The voice enhancement mode used by the agent as the call is ending. Valid values: VOICE_ISOLATION | NOISE_SUPPRESSION | NONE. A value of null indicates this mode has not yet been set for this user.