Module Values_0.CreateContactResponseSource

Only the VOICE, EMAIL, and TASK channels are supported. For VOICE: The supported initiation method is TRANSFER. The contacts created with this initiation method have a subtype connect:ExternalAudio. For EMAIL: The supported initiation methods are OUTBOUND, AGENT_REPLY, and FLOW. For TASK: The supported initiation method is API. Contacts created with this API have a sub-type of connect:ExternalTask. Creates a new VOICE, EMAIL, or TASK contact. After a contact is created, you can move it to the desired state by using the InitiateAs parameter. While you can use API to create task contacts that are in the COMPLETED state, you must contact Amazon Web Services Support before using it for bulk import use cases. Bulk import causes your requests to be throttled or fail if your CreateContact limits aren't high enough.

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

    The identifier of the contact in this instance of Amazon Connect.

    *)
  2. contactArn : ARN.t option;
    (*

    The Amazon Resource Name (ARN) of the created contact.

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