| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Connect.CreateQueue
Description
This API is in preview release for Amazon Connect and is subject to change.
Creates a new queue for the specified Amazon Connect instance.
If the number being used in the input is claimed to a traffic
distribution group, and you are calling this API using an instance in
the Amazon Web Services Region where the traffic distribution group was
created, you can use either a full phone number ARN or UUID value for
the OutboundCallerIdNumberId value of the
OutboundCallerConfig
request body parameter. However, if the number is claimed to a traffic
distribution group and you are calling this API using an instance in the
alternate Amazon Web Services Region 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.
Synopsis
- data CreateQueue = CreateQueue' {}
- newCreateQueue :: Text -> Text -> Text -> CreateQueue
- createQueue_description :: Lens' CreateQueue (Maybe Text)
- createQueue_maxContacts :: Lens' CreateQueue (Maybe Natural)
- createQueue_outboundCallerConfig :: Lens' CreateQueue (Maybe OutboundCallerConfig)
- createQueue_quickConnectIds :: Lens' CreateQueue (Maybe (NonEmpty Text))
- createQueue_tags :: Lens' CreateQueue (Maybe (HashMap Text Text))
- createQueue_instanceId :: Lens' CreateQueue Text
- createQueue_name :: Lens' CreateQueue Text
- createQueue_hoursOfOperationId :: Lens' CreateQueue Text
- data CreateQueueResponse = CreateQueueResponse' {}
- newCreateQueueResponse :: Int -> CreateQueueResponse
- createQueueResponse_queueArn :: Lens' CreateQueueResponse (Maybe Text)
- createQueueResponse_queueId :: Lens' CreateQueueResponse (Maybe Text)
- createQueueResponse_httpStatus :: Lens' CreateQueueResponse Int
Creating a Request
data CreateQueue Source #
See: newCreateQueue smart constructor.
Constructors
| CreateQueue' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> CreateQueue |
Create a value of CreateQueue with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateQueue, createQueue_description - The description of the queue.
CreateQueue, createQueue_maxContacts - The maximum number of contacts that can be in the queue before it is
considered full.
CreateQueue, createQueue_outboundCallerConfig - The outbound caller ID name, number, and outbound whisper flow.
$sel:quickConnectIds:CreateQueue', createQueue_quickConnectIds - The quick connects available to agents who are working the queue.
CreateQueue, createQueue_tags - The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
CreateQueue, createQueue_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
CreateQueue, createQueue_name - The name of the queue.
CreateQueue, createQueue_hoursOfOperationId - The identifier for the hours of operation.
Request Lenses
createQueue_description :: Lens' CreateQueue (Maybe Text) Source #
The description of the queue.
createQueue_maxContacts :: Lens' CreateQueue (Maybe Natural) Source #
The maximum number of contacts that can be in the queue before it is considered full.
createQueue_outboundCallerConfig :: Lens' CreateQueue (Maybe OutboundCallerConfig) Source #
The outbound caller ID name, number, and outbound whisper flow.
createQueue_quickConnectIds :: Lens' CreateQueue (Maybe (NonEmpty Text)) Source #
The quick connects available to agents who are working the queue.
createQueue_tags :: Lens' CreateQueue (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
createQueue_instanceId :: Lens' CreateQueue Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
createQueue_name :: Lens' CreateQueue Text Source #
The name of the queue.
createQueue_hoursOfOperationId :: Lens' CreateQueue Text Source #
The identifier for the hours of operation.
Destructuring the Response
data CreateQueueResponse Source #
See: newCreateQueueResponse smart constructor.
Constructors
| CreateQueueResponse' | |
Instances
newCreateQueueResponse Source #
Arguments
| :: Int | |
| -> CreateQueueResponse |
Create a value of CreateQueueResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateQueueResponse, createQueueResponse_queueArn - The Amazon Resource Name (ARN) of the queue.
CreateQueueResponse, createQueueResponse_queueId - The identifier for the queue.
$sel:httpStatus:CreateQueueResponse', createQueueResponse_httpStatus - The response's http status code.
Response Lenses
createQueueResponse_queueArn :: Lens' CreateQueueResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the queue.
createQueueResponse_queueId :: Lens' CreateQueueResponse (Maybe Text) Source #
The identifier for the queue.
createQueueResponse_httpStatus :: Lens' CreateQueueResponse Int Source #
The response's http status code.