Subscribe a callback function when an Amazon Connect Agent Workspace contact starts ACW
Subscribes a callback function to-be-invoked whenever a contact StartingAcw event occurs in Amazon Connect Agent Workspace. If no contact ID is provided, then it uses the context of the current contact that the 3P app was opened on.
Signature
onStartingAcw(handler: ContactStartingAcwHandler, contactId?: string)
Usage
const handler: ContactStartingAcwHandler = async (data: ContactStartingAcwEventData) => { console.log("Contact StartingAcw occurred! " + data); }; contactClient.onStartingAcw(handler); // ContactStartingAcwEventData Structure { contactId: string; }
Permissions required:
Contact.Details.View