AWS.ConnectParticipant (aws-elixir v0.7.0) View Source
Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect enables customer contacts through voice or chat.
The APIs described here are used by chat participants, such as agents and customers.
Link to this section Summary
Functions
Creates the participant's connection.
Disconnects a participant.
Retrieves a transcript of the session.
Sends an event.
Sends a message.
Link to this section Functions
Creates the participant's connection.
Note that ParticipantToken is used for invoking this API instead of ConnectionToken.
The participant token is valid for the lifetime of the participant – until the they are part of a contact.
The response URL for WEBSOCKET
Type has a connect expiry timeout of 100s.
Clients must manually connect to the returned websocket URL and subscribe to the
desired topic.
For chat, you need to publish the following on the established websocket connection:
{"topic":"aws/subscribe","content":{"topics":["aws/chat"]}}
Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before.
Disconnects a participant.
Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
Retrieves a transcript of the session.
Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
Sends an event.
Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
Sends a message.
Note that ConnectionToken is used for invoking this API instead of ParticipantToken.