Unsubscribe a callback function when an Amazon Connect Agent Workspace contact is destroyed - Agent Workspace

Unsubscribe a callback function when an Amazon Connect Agent Workspace contact is destroyed

Unsubscribes the callback function from the contact destroyed event in Amazon Connect Agent Workspace.

Signature

offDestroyed(handler: ContactDestroyedHandler, contactId?: string)

Usage

contactClient.offDestroyed(handler);