stop_contact

stop_contact(**kwargs)

Ends the specified contact. This call does not work for the following initiation methods:

  • DISCONNECT
  • TRANSFER
  • QUEUE_TRANSFER

See also: AWS API Documentation

Request Syntax

response = client.stop_contact(
    ContactId='string',
    InstanceId='string'
)
Parameters
  • ContactId (string) --

    [REQUIRED]

    The ID of the contact.

  • InstanceId (string) --

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • Connect.Client.exceptions.InvalidRequestException
  • Connect.Client.exceptions.ContactNotFoundException
  • Connect.Client.exceptions.InvalidParameterException
  • Connect.Client.exceptions.ResourceNotFoundException
  • Connect.Client.exceptions.InternalServiceException