import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListUsersRequest, ListUsersResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListUsersCommand}. */ export interface ListUsersCommandInput extends ListUsersRequest { } /** * @public * * The output of {@link ListUsersCommand}. */ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBearer { } declare const ListUsersCommand_base: { new (input: ListUsersCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListUsersCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of all ActiveMQ users.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MqClient, ListUsersCommand } from "@aws-sdk/client-mq"; // ES Modules import * // const { MqClient, ListUsersCommand } = 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 = { // ListUsersRequest * BrokerId: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListUsersCommand(input); * const response = await client.send(command); * // { // ListUsersResponse * // BrokerId: "STRING_VALUE", * // MaxResults: Number("int"), * // NextToken: "STRING_VALUE", * // Users: [ // __listOfUserSummary * // { // UserSummary * // PendingChange: "CREATE" || "UPDATE" || "DELETE", * // Username: "STRING_VALUE", // required * // }, * // ], * // }; * * ``` * * @param ListUsersCommandInput - {@link ListUsersCommandInput} * @returns {@link ListUsersCommandOutput} * @see {@link ListUsersCommandInput} for command's `input` shape. * @see {@link ListUsersCommandOutput} 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 NotFoundException} (client fault) *

Returns information about an error.

* * @throws {@link MqServiceException} *

Base exception class for all service exceptions from Mq service.

* * * @public */ export declare class ListUsersCommand extends ListUsersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListUsersRequest; output: ListUsersResponse; }; sdk: { input: ListUsersCommandInput; output: ListUsersCommandOutput; }; }; }