import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListDeadLetterSourceQueuesRequest, ListDeadLetterSourceQueuesResult } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListDeadLetterSourceQueuesCommand}. */ export interface ListDeadLetterSourceQueuesCommandInput extends ListDeadLetterSourceQueuesRequest { } /** * @public * * The output of {@link ListDeadLetterSourceQueuesCommand}. */ export interface ListDeadLetterSourceQueuesCommandOutput extends ListDeadLetterSourceQueuesResult, __MetadataBearer { } declare const ListDeadLetterSourceQueuesCommand_base: { new (input: ListDeadLetterSourceQueuesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListDeadLetterSourceQueuesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SQSClient, ListDeadLetterSourceQueuesCommand } from "@aws-sdk/client-sqs"; // ES Modules import * // const { SQSClient, ListDeadLetterSourceQueuesCommand } = require("@aws-sdk/client-sqs"); // CommonJS import * // import type { SQSClientConfig } from "@aws-sdk/client-sqs"; * const config = {}; // type is SQSClientConfig * const client = new SQSClient(config); * const input = { // ListDeadLetterSourceQueuesRequest * QueueUrl: "STRING_VALUE", // required * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListDeadLetterSourceQueuesCommand(input); * const response = await client.send(command); * // { // ListDeadLetterSourceQueuesResult * // queueUrls: [ // QueueUrlList // required * // "STRING_VALUE", * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDeadLetterSourceQueuesCommandInput - {@link ListDeadLetterSourceQueuesCommandInput} * @returns {@link ListDeadLetterSourceQueuesCommandOutput} * @see {@link ListDeadLetterSourceQueuesCommandInput} for command's `input` shape. * @see {@link ListDeadLetterSourceQueuesCommandOutput} for command's `response` shape. * @see {@link SQSClientResolvedConfig | config} for SQSClient's `config` shape. * * @throws {@link InvalidAddress} (client fault) *

The specified ID is invalid.

* * @throws {@link InvalidSecurity} (client fault) *

The request was not made over HTTPS or did not use SigV4 for signing.

* * @throws {@link QueueDoesNotExist} (client fault) *

Ensure that the QueueUrl is correct and that the queue has not been * deleted.

* * @throws {@link RequestThrottled} (client fault) *

The request was denied due to request throttling.

* * * @throws {@link UnsupportedOperation} (client fault) *

Error code 400. Unsupported operation.

* * @throws {@link SQSServiceException} *

Base exception class for all service exceptions from SQS service.

* * * @public */ export declare class ListDeadLetterSourceQueuesCommand extends ListDeadLetterSourceQueuesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDeadLetterSourceQueuesRequest; output: ListDeadLetterSourceQueuesResult; }; sdk: { input: ListDeadLetterSourceQueuesCommandInput; output: ListDeadLetterSourceQueuesCommandOutput; }; }; }