import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListQueuesInput, ListQueuesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListQueuesCommand}. */ export interface ListQueuesCommandInput extends ListQueuesInput { } /** * @public * * The output of {@link ListQueuesCommand}. */ export interface ListQueuesCommandOutput extends ListQueuesOutput, __MetadataBearer { } declare const ListQueuesCommand_base: { new (input: ListQueuesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListQueuesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a summary of each queue in the Amazon Web Services account and Region used by the * request. Use StreamFilter to list only the queues on a particular data * stream.

*

If the response contains a NextToken, more queues are available. Call * ListQueues again with that value to retrieve the next page.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { KinesisClient, ListQueuesCommand } from "@aws-sdk/client-kinesis"; // ES Modules import * // const { KinesisClient, ListQueuesCommand } = require("@aws-sdk/client-kinesis"); // CommonJS import * // import type { KinesisClientConfig } from "@aws-sdk/client-kinesis"; * const config = {}; // type is KinesisClientConfig * const client = new KinesisClient(config); * const input = { // ListQueuesInput * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * StreamFilter: [ // QueueStreamFilterList * { // QueueStreamFilter * StreamARN: "STRING_VALUE", // required * StreamCreationTimestamp: new Date("TIMESTAMP"), * }, * ], * }; * const command = new ListQueuesCommand(input); * const response = await client.send(command); * // { // ListQueuesOutput * // QueueSummaries: [ // QueueSummaryList // required * // { // QueueSummary * // QueueName: "STRING_VALUE", // required * // QueueARN: "STRING_VALUE", // required * // QueueStatus: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING", // required * // QueueCreationTimestamp: new Date("TIMESTAMP"), // required * // Streams: [ // QueueStreamIdentifierList // required * // { // QueueStreamIdentifier * // StreamARN: "STRING_VALUE", // required * // StreamCreationTimestamp: new Date("TIMESTAMP"), // required * // }, * // ], * // }, * // ], * // 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 KinesisClientResolvedConfig | config} for KinesisClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Specifies that you do not have the permissions required to perform this * operation.

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

The pagination token passed to the operation is expired.

* * @throws {@link InternalFailureException} (server fault) *

The processing of the request failed because of an unknown error, exception, or * failure.

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

A specified parameter exceeds its restrictions, is not supported, or can't be used. * For more information, see the returned message.

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

The requested resource exceeds the maximum number allowed, or the number of concurrent * stream requests exceeds the maximum number allowed.

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

The request failed validation. For example, a parameter value is not valid, a * combination of parameters is not supported, or the operation is not supported for the * stream's capacity mode. The error message describes the specific reason.

* * @throws {@link KinesisServiceException} *

Base exception class for all service exceptions from Kinesis service.

* * * @public */ export declare class ListQueuesCommand extends ListQueuesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListQueuesInput; output: ListQueuesOutput; }; sdk: { input: ListQueuesCommandInput; output: ListQueuesCommandOutput; }; }; }