Module Values_0.CreateQueueRequestSource

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. instanceId : InstanceId.t;
    (*

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    *)
  2. name : CommonNameLength127.t;
    (*

    The name of the queue.

    *)
  3. description : QueueDescription.t option;
    (*

    The description of the queue.

    *)
  4. outboundCallerConfig : OutboundCallerConfig.t option;
    (*

    The outbound caller ID name, number, and outbound whisper flow.

    *)
  5. outboundEmailConfig : OutboundEmailConfig.t option;
    (*

    The outbound email address ID for a specified queue.

    *)
  6. hoursOfOperationId : HoursOfOperationId.t;
    (*

    The identifier for the hours of operation.

    *)
  7. maxContacts : QueueMaxContacts.t option;
    (*

    The maximum number of contacts that can be in the queue before it is considered full.

    *)
  8. quickConnectIds : QuickConnectsList.t option;
    (*

    The quick connects available to agents who are working the queue.

    *)
  9. emailAddressesConfig : EmailAddressConfigList.t option;
    (*

    Configuration list containing the email addresses to associate with the queue during creation. Each configuration specifies an email address ID that agents can select when handling email contacts in this queue.

    *)
  10. tags : TagMap.t option;
    (*

    The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?outboundCallerConfig:??? -> ?outboundEmailConfig:??? -> ?maxContacts:??? -> ?quickConnectIds:??? -> ?emailAddressesConfig:??? -> ?tags:??? -> instanceId:InstanceId.t -> name:CommonNameLength127.t -> hoursOfOperationId:HoursOfOperationId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of QueueMaxContacts.t | `List of [> `String of QuickConnectId.t | `Structure of (string * [> `String of EmailAddressId.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of InstanceId.t | `Structure of (string * [> `String of OutboundCallerIdName.t ]) list ]) 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