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 |
Describes one or more of your job queues.
This operation returns paginated results.
Synopsis
- data DescribeJobQueues = DescribeJobQueues' {}
- newDescribeJobQueues :: DescribeJobQueues
- describeJobQueues_nextToken :: Lens' DescribeJobQueues (Maybe Text)
- describeJobQueues_jobQueues :: Lens' DescribeJobQueues (Maybe [Text])
- describeJobQueues_maxResults :: Lens' DescribeJobQueues (Maybe Int)
- data DescribeJobQueuesResponse = DescribeJobQueuesResponse' {
- nextToken :: Maybe Text
- jobQueues :: Maybe [JobQueueDetail]
- httpStatus :: Int
- newDescribeJobQueuesResponse :: Int -> DescribeJobQueuesResponse
- describeJobQueuesResponse_nextToken :: Lens' DescribeJobQueuesResponse (Maybe Text)
- describeJobQueuesResponse_jobQueues :: Lens' DescribeJobQueuesResponse (Maybe [JobQueueDetail])
- describeJobQueuesResponse_httpStatus :: Lens' DescribeJobQueuesResponse Int
Creating a Request
data DescribeJobQueues Source #
Contains the parameters for DescribeJobQueues
.
See: newDescribeJobQueues
smart constructor.
DescribeJobQueues' | |
|
Instances
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.
DescribeJobQueuesResponse' | |
|
Instances
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.
describeJobQueuesResponse_jobQueues :: Lens' DescribeJobQueuesResponse (Maybe [JobQueueDetail]) Source #
The list of job queues.
describeJobQueuesResponse_httpStatus :: Lens' DescribeJobQueuesResponse Int Source #
The response's http status code.