libZSservicesZSamazonka-batchZSamazonka-batch
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.Batch.DescribeJobQueues

Description

Describes one or more of your job queues.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeJobQueues Source #

Contains the parameters for DescribeJobQueues.

See: newDescribeJobQueues smart constructor.

Constructors

DescribeJobQueues' 

Fields

  • nextToken :: Maybe Text

    The nextToken value returned from a previous paginated DescribeJobQueues request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

    This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.

  • jobQueues :: Maybe [Text]

    A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.

  • maxResults :: Maybe Int

    The maximum number of results returned by DescribeJobQueues in paginated output. When this parameter is used, DescribeJobQueues only returns maxResults results in a single page and a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobQueues request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then DescribeJobQueues returns up to 100 results and a nextToken value if applicable.

Instances

Instances details
Eq DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Read DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Show DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Generic DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Associated Types

type Rep DescribeJobQueues :: Type -> Type #

NFData DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Methods

rnf :: DescribeJobQueues -> () #

Hashable DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

ToJSON DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

AWSPager DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

AWSRequest DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Associated Types

type AWSResponse DescribeJobQueues #

ToHeaders DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

ToPath DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

ToQuery DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

type Rep DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

type Rep DescribeJobQueues = D1 ('MetaData "DescribeJobQueues" "Amazonka.Batch.DescribeJobQueues" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "DescribeJobQueues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobQueues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))
type AWSResponse DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

newDescribeJobQueues :: DescribeJobQueues Source #

Create a value of DescribeJobQueues 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:DescribeJobQueues', describeJobQueues_nextToken - The nextToken value returned from a previous paginated DescribeJobQueues request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.

$sel:jobQueues:DescribeJobQueues', describeJobQueues_jobQueues - A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.

$sel:maxResults:DescribeJobQueues', describeJobQueues_maxResults - The maximum number of results returned by DescribeJobQueues in paginated output. When this parameter is used, DescribeJobQueues only returns maxResults results in a single page and a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobQueues request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then DescribeJobQueues returns up to 100 results and a nextToken value if applicable.

Request Lenses

describeJobQueues_nextToken :: Lens' DescribeJobQueues (Maybe Text) Source #

The nextToken value returned from a previous paginated DescribeJobQueues request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.

This token should be treated as an opaque identifier that's only used to retrieve the next items in a list and not for other programmatic purposes.

describeJobQueues_jobQueues :: Lens' DescribeJobQueues (Maybe [Text]) Source #

A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.

describeJobQueues_maxResults :: Lens' DescribeJobQueues (Maybe Int) Source #

The maximum number of results returned by DescribeJobQueues in paginated output. When this parameter is used, DescribeJobQueues only returns maxResults results in a single page and a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobQueues request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then DescribeJobQueues returns up to 100 results and a nextToken value if applicable.

Destructuring the Response

data DescribeJobQueuesResponse Source #

See: newDescribeJobQueuesResponse smart constructor.

Constructors

DescribeJobQueuesResponse' 

Fields

  • nextToken :: Maybe Text

    The nextToken value to include in a future DescribeJobQueues request. When the results of a DescribeJobQueues request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

  • jobQueues :: Maybe [JobQueueDetail]

    The list of job queues.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeJobQueuesResponse Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Read DescribeJobQueuesResponse Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Show DescribeJobQueuesResponse Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Generic DescribeJobQueuesResponse Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Associated Types

type Rep DescribeJobQueuesResponse :: Type -> Type #

NFData DescribeJobQueuesResponse Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

type Rep DescribeJobQueuesResponse Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

type Rep DescribeJobQueuesResponse = D1 ('MetaData "DescribeJobQueuesResponse" "Amazonka.Batch.DescribeJobQueues" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "DescribeJobQueuesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobQueues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobQueueDetail])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeJobQueuesResponse Source #

Create a value of DescribeJobQueuesResponse 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:DescribeJobQueues', describeJobQueuesResponse_nextToken - The nextToken value to include in a future DescribeJobQueues request. When the results of a DescribeJobQueues request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

$sel:jobQueues:DescribeJobQueues', describeJobQueuesResponse_jobQueues - The list of job queues.

$sel:httpStatus:DescribeJobQueuesResponse', describeJobQueuesResponse_httpStatus - The response's http status code.

Response Lenses

describeJobQueuesResponse_nextToken :: Lens' DescribeJobQueuesResponse (Maybe Text) Source #

The nextToken value to include in a future DescribeJobQueues request. When the results of a DescribeJobQueues request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.