Module Values_2.SendChatIntegrationEventResponseSource

Processes 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.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. newChatCreated : NewChatCreated.t option;
    (*

    Whether handling the integration event resulted in creating a new chat or acting on existing chat.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of Values_0.AccessDeniedException.t
  2. | `InternalServiceException of Values_0.InternalServiceException.t
  3. | `InvalidRequestException of Values_0.InvalidRequestException.t
  4. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  5. | `ThrottlingException of Values_0.ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?initialContactId:??? -> ?newChatCreated:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of NewChatCreated.t | `String of Values_0.ContactId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t