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.ListQueues

Description

Provides information about the queues for the specified Amazon Connect instance.

If you do not specify a QueueTypes parameter, both standard and agent queues are returned. This might cause an unexpected truncation of results if you have more than 1000 agents and you limit the number of results of the API call in code.

For more information about queues, see Queues: Standard and Agent in the Amazon Connect Administrator Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data ListQueues Source #

See: newListQueues smart constructor.

Constructors

ListQueues' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • queueTypes :: Maybe [QueueType]

    The type of queue.

  • maxResults :: Maybe Natural

    The maximum number of results to return per page.

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Instances

Instances details
Eq ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Read ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Show ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Generic ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Associated Types

type Rep ListQueues :: Type -> Type #

NFData ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Methods

rnf :: ListQueues -> () #

Hashable ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

AWSPager ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

AWSRequest ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Associated Types

type AWSResponse ListQueues #

ToHeaders ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Methods

toHeaders :: ListQueues -> [Header] #

ToPath ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

ToQuery ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

type Rep ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

type Rep ListQueues = D1 ('MetaData "ListQueues" "Amazonka.Connect.ListQueues" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListQueues'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queueTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueueType]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListQueues Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

newListQueues Source #

Create a value of ListQueues 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:nextToken:ListQueues', listQueues_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

$sel:queueTypes:ListQueues', listQueues_queueTypes - The type of queue.

$sel:maxResults:ListQueues', listQueues_maxResults - The maximum number of results to return per page.

$sel:instanceId:ListQueues', listQueues_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

listQueues_nextToken :: Lens' ListQueues (Maybe Text) Source #

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

listQueues_maxResults :: Lens' ListQueues (Maybe Natural) Source #

The maximum number of results to return per page.

listQueues_instanceId :: Lens' ListQueues Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Destructuring the Response

data ListQueuesResponse Source #

See: newListQueuesResponse smart constructor.

Constructors

ListQueuesResponse' 

Fields

Instances

Instances details
Eq ListQueuesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Read ListQueuesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Show ListQueuesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Generic ListQueuesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Associated Types

type Rep ListQueuesResponse :: Type -> Type #

NFData ListQueuesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

Methods

rnf :: ListQueuesResponse -> () #

type Rep ListQueuesResponse Source # 
Instance details

Defined in Amazonka.Connect.ListQueues

type Rep ListQueuesResponse = D1 ('MetaData "ListQueuesResponse" "Amazonka.Connect.ListQueues" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "ListQueuesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "queueSummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QueueSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListQueuesResponse Source #

Create a value of ListQueuesResponse 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:nextToken:ListQueues', listQueuesResponse_nextToken - If there are additional results, this is the token for the next set of results.

$sel:queueSummaryList:ListQueuesResponse', listQueuesResponse_queueSummaryList - Information about the queues.

$sel:httpStatus:ListQueuesResponse', listQueuesResponse_httpStatus - The response's http status code.

Response Lenses

listQueuesResponse_nextToken :: Lens' ListQueuesResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.