libZSservicesZSamazonka-connectZSamazonka-connect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data CreateQueue Source #

See: newCreateQueue smart constructor.

Constructors

CreateQueue' 

Fields

Instances

Instances details
Eq CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Read CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Show CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Generic CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Associated Types

type Rep CreateQueue :: Type -> Type #

NFData CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Methods

rnf :: CreateQueue -> () #

Hashable CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

ToJSON CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

AWSRequest CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Associated Types

type AWSResponse CreateQueue #

ToHeaders CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Methods

toHeaders :: CreateQueue -> [Header] #

ToPath CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

ToQuery CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

type Rep CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

type AWSResponse CreateQueue Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

newCreateQueue Source #

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_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' 

Fields

Instances

Instances details
Eq CreateQueueResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Read CreateQueueResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Show CreateQueueResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Generic CreateQueueResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Associated Types

type Rep CreateQueueResponse :: Type -> Type #

NFData CreateQueueResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

Methods

rnf :: CreateQueueResponse -> () #

type Rep CreateQueueResponse Source # 
Instance details

Defined in Amazonka.Connect.CreateQueue

type Rep CreateQueueResponse = D1 ('MetaData "CreateQueueResponse" "Amazonka.Connect.CreateQueue" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "CreateQueueResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "queueArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "queueId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateQueueResponse Source #

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.