amazonka-batch-2.0: Amazon Batch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

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

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

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

Instances

Instances details
ToJSON DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.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

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 #

Generic DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Associated Types

type Rep DescribeJobQueues :: Type -> Type #

Read DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Show DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

NFData DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Methods

rnf :: DescribeJobQueues -> () #

Eq DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Hashable DescribeJobQueues Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

type AWSResponse 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" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "DescribeJobQueues'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobQueues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:

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.

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.

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

Request Lenses

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.

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.

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

Destructuring the Response

data DescribeJobQueuesResponse Source #

See: newDescribeJobQueuesResponse smart constructor.

Constructors

DescribeJobQueuesResponse' 

Fields

  • jobQueues :: Maybe [JobQueueDetail]

    The list of job queues.

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeJobQueuesResponse Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Associated Types

type Rep DescribeJobQueuesResponse :: Type -> Type #

Read DescribeJobQueuesResponse Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Show DescribeJobQueuesResponse Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

NFData DescribeJobQueuesResponse Source # 
Instance details

Defined in Amazonka.Batch.DescribeJobQueues

Eq 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" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "DescribeJobQueuesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobQueues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [JobQueueDetail])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:

DescribeJobQueues, describeJobQueuesResponse_jobQueues - The list of job queues.

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