| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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.
Synopsis
- data CreateQueue = CreateQueue' {}
- newCreateQueue :: Text -> Text -> Text -> CreateQueue
- createQueue_maxContacts :: Lens' CreateQueue (Maybe Natural)
- createQueue_quickConnectIds :: Lens' CreateQueue (Maybe (NonEmpty Text))
- createQueue_outboundCallerConfig :: Lens' CreateQueue (Maybe OutboundCallerConfig)
- createQueue_description :: Lens' CreateQueue (Maybe 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:
$sel:maxContacts:CreateQueue', createQueue_maxContacts - The maximum number of contacts that can be in the queue before it is
considered full.
$sel:quickConnectIds:CreateQueue', createQueue_quickConnectIds - The quick connects available to agents who are working the queue.
$sel:outboundCallerConfig:CreateQueue', createQueue_outboundCallerConfig - The outbound caller ID name, number, and outbound whisper flow.
$sel:description:CreateQueue', createQueue_description - The description of the queue.
$sel:tags:CreateQueue', createQueue_tags - One or more tags.
$sel:instanceId:CreateQueue', createQueue_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:name:CreateQueue', createQueue_name - The name of the queue.
$sel:hoursOfOperationId:CreateQueue', createQueue_hoursOfOperationId - The identifier for the hours of operation.
Request Lenses
createQueue_maxContacts :: Lens' CreateQueue (Maybe Natural) Source #
The maximum number of contacts that can be in the queue before it is considered full.
createQueue_quickConnectIds :: Lens' CreateQueue (Maybe (NonEmpty Text)) Source #
The quick connects available to agents who are working the queue.
createQueue_outboundCallerConfig :: Lens' CreateQueue (Maybe OutboundCallerConfig) Source #
The outbound caller ID name, number, and outbound whisper flow.
createQueue_description :: Lens' CreateQueue (Maybe Text) Source #
The description of the queue.
createQueue_tags :: Lens' CreateQueue (Maybe (HashMap Text Text)) Source #
One or more tags.
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:
$sel:queueArn:CreateQueueResponse', createQueueResponse_queueArn - The Amazon Resource Name (ARN) of the queue.
$sel:queueId: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.