| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SQS.ListDeadLetterSourceQueues
Description
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_maxResults :: Lens' ListDeadLetterSourceQueues (Maybe Int)
- listDeadLetterSourceQueues_nextToken :: Lens' ListDeadLetterSourceQueues (Maybe Text)
- 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.
Constructors
| ListDeadLetterSourceQueues' | |
Fields
| |
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: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.
ListDeadLetterSourceQueues, listDeadLetterSourceQueues_nextToken - Pagination token to request the next set of results.
$sel:queueUrl:ListDeadLetterSourceQueues', listDeadLetterSourceQueues_queueUrl - The URL of a dead-letter queue.
Queue URLs and names are case-sensitive.
Request Lenses
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_nextToken :: Lens' ListDeadLetterSourceQueues (Maybe Text) Source #
Pagination token to request the next set of results.
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.
Constructors
| ListDeadLetterSourceQueuesResponse' | |
Fields
| |
Instances
newListDeadLetterSourceQueuesResponse Source #
Arguments
| :: Int | |
| -> ListDeadLetterSourceQueuesResponse |
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:
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.