import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListQueuesRequest, ListQueuesResult } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, SQSClientResolvedConfig } from "../SQSClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListQueuesCommand}. */ export interface ListQueuesCommandInput extends ListQueuesRequest { } /** * @public * * The output of {@link ListQueuesCommand}. */ export interface ListQueuesCommandOutput extends ListQueuesResult, __MetadataBearer { } declare const ListQueuesCommand_base: { new (input: ListQueuesCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListQueuesCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns a list of your queues in the current region. The response includes a maximum * of 1,000 results. If you specify a value for the optional QueueNamePrefix * parameter, only queues with a name that begins with the specified value are * returned.

*

The listQueues 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 * listQueues to receive the next page of results.

* *

Cross-account permissions don't apply to this action. For more information, * see Grant * cross-account permissions to a role and a username 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, ListQueuesCommand } from "@aws-sdk/client-sqs"; // ES Modules import * // const { SQSClient, ListQueuesCommand } = 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 = { // ListQueuesRequest * QueueNamePrefix: "STRING_VALUE", * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new ListQueuesCommand(input); * const response = await client.send(command); * // { // ListQueuesResult * // QueueUrls: [ // QueueUrlList * // "STRING_VALUE", * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListQueuesCommandInput - {@link ListQueuesCommandInput} * @returns {@link ListQueuesCommandOutput} * @see {@link ListQueuesCommandInput} for command's `input` shape. * @see {@link ListQueuesCommandOutput} 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 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 ListQueuesCommand extends ListQueuesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListQueuesRequest; output: ListQueuesResult; }; sdk: { input: ListQueuesCommandInput; output: ListQueuesCommandOutput; }; }; }