import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListBrokersRequest, ListBrokersResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListBrokersCommand}. */ export interface ListBrokersCommandInput extends ListBrokersRequest { } /** * @public * * The output of {@link ListBrokersCommand}. */ export interface ListBrokersCommandOutput extends ListBrokersResponse, __MetadataBearer { } declare const ListBrokersCommand_base: { new (input: ListBrokersCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListBrokersCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of all brokers.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MqClient, ListBrokersCommand } from "@aws-sdk/client-mq"; // ES Modules import * // const { MqClient, ListBrokersCommand } = require("@aws-sdk/client-mq"); // CommonJS import * // import type { MqClientConfig } from "@aws-sdk/client-mq"; * const config = {}; // type is MqClientConfig * const client = new MqClient(config); * const input = { // ListBrokersRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListBrokersCommand(input); * const response = await client.send(command); * // { // ListBrokersResponse * // BrokerSummaries: [ // __listOfBrokerSummary * // { // BrokerSummary * // BrokerArn: "STRING_VALUE", * // BrokerId: "STRING_VALUE", * // BrokerName: "STRING_VALUE", * // BrokerState: "CREATION_IN_PROGRESS" || "CREATION_FAILED" || "DELETION_IN_PROGRESS" || "RUNNING" || "REBOOT_IN_PROGRESS" || "CRITICAL_ACTION_REQUIRED" || "REPLICA", * // Created: new Date("TIMESTAMP"), * // DeploymentMode: "SINGLE_INSTANCE" || "ACTIVE_STANDBY_MULTI_AZ" || "CLUSTER_MULTI_AZ", // required * // EngineType: "ACTIVEMQ" || "RABBITMQ", // required * // HostInstanceType: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListBrokersCommandInput - {@link ListBrokersCommandInput} * @returns {@link ListBrokersCommandOutput} * @see {@link ListBrokersCommandInput} for command's `input` shape. * @see {@link ListBrokersCommandOutput} for command's `response` shape. * @see {@link MqClientResolvedConfig | config} for MqClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

Returns information about an error.

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

Returns information about an error.

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

Returns information about an error.

* * @throws {@link MqServiceException} *

Base exception class for all service exceptions from Mq service.

* * * @public */ export declare class ListBrokersCommand extends ListBrokersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListBrokersRequest; output: ListBrokersResponse; }; sdk: { input: ListBrokersCommandInput; output: ListBrokersCommandOutput; }; }; }