Module Values_0.CreateQueueResponseSource

Creates a new queue for the specified Amazon Connect instance. If the phone number is claimed to a traffic distribution group that was created in the same Region as the Amazon Connect instance where you are calling this API, then you can use a full phone number ARN or a UUID for OutboundCallerIdNumberId. However, if the phone number is claimed to a traffic distribution group that is in one Region, and you are calling this API from an instance in another Amazon Web Services Region that is associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException. Only use the phone number ARN format that doesn't contain instance in the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. This is the same ARN format that is returned when you call the ListPhoneNumbersV2 API. If you plan to use IAM policies to allow/deny access to this API for phone number resources claimed to a traffic distribution group, see Allow or Deny queue API actions for phone numbers in a replica Region.

Sourcetype nonrec t = {
  1. queueArn : ARN.t option;
    (*

    The Amazon Resource Name (ARN) of the queue.

    *)
  2. queueId : QueueId.t option;
    (*

    The identifier for the queue.

    *)
}
Sourcetype nonrec error = [
  1. | `DuplicateResourceException of DuplicateResourceException.t
  2. | `InternalServiceException of InternalServiceException.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `InvalidRequestException of InvalidRequestException.t
  5. | `LimitExceededException of LimitExceededException.t
  6. | `ResourceNotFoundException of ResourceNotFoundException.t
  7. | `ThrottlingException of ThrottlingException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?queueArn:??? -> ?queueId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DuplicateResourceException of DuplicateResourceException.t | `InternalServiceException of InternalServiceException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidRequestException of InvalidRequestException.t | `LimitExceededException of LimitExceededException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DuplicateResourceException of DuplicateResourceException.t | `InternalServiceException of InternalServiceException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidRequestException of InvalidRequestException.t | `LimitExceededException of LimitExceededException.t | `ResourceNotFoundException of ResourceNotFoundException.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 ARN.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