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 |
Returns a list of your queues that have the RedrivePolicy
queue
attribute configured with a dead-letter queue.
The ListDeadLetterSourceQueues
methods supports pagination. Set
parameter MaxResults
in the request to specify the maximum number of
results to be returned in the response. If you do not set MaxResults
,
the response includes a maximum of 1,000 results. If you set
MaxResults
and there are additional results to display, the response
includes a value for NextToken
. Use NextToken
as a parameter in your
next request to ListDeadLetterSourceQueues
to receive the next page of
results.
For more information about using dead-letter queues, see Using Amazon SQS Dead-Letter Queues in the Amazon SQS Developer Guide.
This operation returns paginated results.
Synopsis
- data ListDeadLetterSourceQueues = ListDeadLetterSourceQueues' {}
- newListDeadLetterSourceQueues :: Text -> ListDeadLetterSourceQueues
- listDeadLetterSourceQueues_nextToken :: Lens' ListDeadLetterSourceQueues (Maybe Text)
- listDeadLetterSourceQueues_maxResults :: Lens' ListDeadLetterSourceQueues (Maybe Int)
- listDeadLetterSourceQueues_queueUrl :: Lens' ListDeadLetterSourceQueues Text
- data ListDeadLetterSourceQueuesResponse = ListDeadLetterSourceQueuesResponse' {}
- newListDeadLetterSourceQueuesResponse :: Int -> ListDeadLetterSourceQueuesResponse
- listDeadLetterSourceQueuesResponse_nextToken :: Lens' ListDeadLetterSourceQueuesResponse (Maybe Text)
- listDeadLetterSourceQueuesResponse_httpStatus :: Lens' ListDeadLetterSourceQueuesResponse Int
- listDeadLetterSourceQueuesResponse_queueUrls :: Lens' ListDeadLetterSourceQueuesResponse [Text]
Creating a Request
data ListDeadLetterSourceQueues Source #
See: newListDeadLetterSourceQueues
smart constructor.
ListDeadLetterSourceQueues' | |
|
Instances
newListDeadLetterSourceQueues Source #
Create a value of ListDeadLetterSourceQueues
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:ListDeadLetterSourceQueues'
, listDeadLetterSourceQueues_nextToken
- Pagination token to request the next set of results.
$sel:maxResults:ListDeadLetterSourceQueues'
, listDeadLetterSourceQueues_maxResults
- Maximum number of results to include in the response. Value range is 1
to 1000. You must set MaxResults
to receive a value for NextToken
in
the response.
$sel:queueUrl:ListDeadLetterSourceQueues'
, listDeadLetterSourceQueues_queueUrl
- The URL of a dead-letter queue.
Queue URLs and names are case-sensitive.
Request Lenses
listDeadLetterSourceQueues_nextToken :: Lens' ListDeadLetterSourceQueues (Maybe Text) Source #
Pagination token to request the next set of results.
listDeadLetterSourceQueues_maxResults :: Lens' ListDeadLetterSourceQueues (Maybe Int) Source #
Maximum number of results to include in the response. Value range is 1
to 1000. You must set MaxResults
to receive a value for NextToken
in
the response.
listDeadLetterSourceQueues_queueUrl :: Lens' ListDeadLetterSourceQueues Text Source #
The URL of a dead-letter queue.
Queue URLs and names are case-sensitive.
Destructuring the Response
data ListDeadLetterSourceQueuesResponse Source #
A list of your dead letter source queues.
See: newListDeadLetterSourceQueuesResponse
smart constructor.
ListDeadLetterSourceQueuesResponse' | |
|
Instances
newListDeadLetterSourceQueuesResponse Source #
Create a value of ListDeadLetterSourceQueuesResponse
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:ListDeadLetterSourceQueues'
, listDeadLetterSourceQueuesResponse_nextToken
- Pagination token to include in the next request. Token value is null
if there are no additional results to request, or if you did not set
MaxResults
in the request.
$sel:httpStatus:ListDeadLetterSourceQueuesResponse'
, listDeadLetterSourceQueuesResponse_httpStatus
- The response's http status code.
$sel:queueUrls:ListDeadLetterSourceQueuesResponse'
, listDeadLetterSourceQueuesResponse_queueUrls
- A list of source queue URLs that have the RedrivePolicy
queue
attribute configured with a dead-letter queue.
Response Lenses
listDeadLetterSourceQueuesResponse_nextToken :: Lens' ListDeadLetterSourceQueuesResponse (Maybe Text) Source #
Pagination token to include in the next request. Token value is null
if there are no additional results to request, or if you did not set
MaxResults
in the request.
listDeadLetterSourceQueuesResponse_httpStatus :: Lens' ListDeadLetterSourceQueuesResponse Int Source #
The response's http status code.
listDeadLetterSourceQueuesResponse_queueUrls :: Lens' ListDeadLetterSourceQueuesResponse [Text] Source #
A list of source queue URLs that have the RedrivePolicy
queue
attribute configured with a dead-letter queue.