Connect / Client / dismiss_user_contact

dismiss_user_contact#

Connect.Client.dismiss_user_contact(**kwargs)#

Dismisses contacts from an agent’s CCP and returns the agent to an available state, which allows the agent to receive a new routed contact. Contacts can only be dismissed if they are in a MISSED, ERROR, ENDED, or REJECTED state in the Agent Event Stream.

See also: AWS API Documentation

Request Syntax

response = client.dismiss_user_contact(
    UserId='string',
    InstanceId='string',
    ContactId='string'
)
Parameters:
  • UserId (string) –

    [REQUIRED]

    The identifier of the user account.

  • InstanceId (string) –

    [REQUIRED]

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

  • ContactId (string) –

    [REQUIRED]

    The identifier of the contact.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.AccessDeniedException

  • Connect.Client.exceptions.InternalServiceException