Values_2.SendChatIntegrationEventResponseSourceProcesses chat integration events from Amazon Web Services or external integrations to Amazon Connect. A chat integration event includes: SourceId, DestinationId, and Subtype: a set of identifiers, uniquely representing a chat ChatEvent: details of the chat action to perform such as sending a message, event, or disconnecting from a chat When a chat integration event is sent with chat identifiers that do not map to an active chat contact, a new chat contact is also created before handling chat action. Access to this API is currently restricted to Amazon Web Services End User Messaging for supporting SMS integration.
type nonrec t = {initialContactId : Values_0.ContactId.t option;Identifier of chat contact used to handle integration event. This may be null if the integration event is not valid without an already existing chat contact.
*)newChatCreated : NewChatCreated.t option;Whether handling the integration event resulted in creating a new chat or acting on existing chat.
*)}type nonrec error = [ | `AccessDeniedException of Values_0.AccessDeniedException.t| `InternalServiceException of Values_0.InternalServiceException.t| `InvalidRequestException of Values_0.InvalidRequestException.t| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t| `ThrottlingException of Values_0.ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
| `ThrottlingException of Values_0.ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
| `ThrottlingException of Values_0.ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Boolean of NewChatCreated.t | `String of Values_0.ContactId.t ])
list ]