Module Values_2.StartOutboundChatContactResponseSource

Initiates a new outbound SMS or WhatsApp contact to a customer. Response of this API provides the ContactId of the outbound SMS or WhatsApp contact created. SourceEndpoint only supports Endpoints with CONNECT_PHONENUMBER_ARN as Type and DestinationEndpoint only supports Endpoints with TELEPHONE_NUMBER as Type. ContactFlowId initiates the flow to manage the new contact created. This API can be used to initiate outbound SMS or WhatsApp contacts for an agent, or it can also deflect an ongoing contact to an outbound SMS or WhatsApp contact by using the StartOutboundChatContact Flow Action. For more information about using SMS or WhatsApp in Amazon Connect, see the following topics in the Amazon Connect Administrator Guide: Set up SMS messaging Request an SMS-enabled phone number through Amazon Web Services End User Messaging SMS Set up WhatsApp Business messaging

Sourcetype nonrec t = {
  1. contactId : Values_0.ContactId.t option;
    (*

    The identifier of this contact within the Amazon Connect instance.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of Values_0.AccessDeniedException.t
  2. | `ConflictException of Values_0.ConflictException.t
  3. | `InternalServiceException of Values_0.InternalServiceException.t
  4. | `InvalidRequestException of Values_0.InvalidRequestException.t
  5. | `LimitExceededException of Values_0.LimitExceededException.t
  6. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  7. | `ThrottlingException of Values_0.ThrottlingException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?contactId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `ConflictException of Values_0.ConflictException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `LimitExceededException of Values_0.LimitExceededException.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 | `ConflictException of Values_0.ConflictException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `LimitExceededException of Values_0.LimitExceededException.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 * [> `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