import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListConfigurationRevisionsRequest, ListConfigurationRevisionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListConfigurationRevisionsCommand}. */ export interface ListConfigurationRevisionsCommandInput extends ListConfigurationRevisionsRequest { } /** * @public * * The output of {@link ListConfigurationRevisionsCommand}. */ export interface ListConfigurationRevisionsCommandOutput extends ListConfigurationRevisionsResponse, __MetadataBearer { } declare const ListConfigurationRevisionsCommand_base: { new (input: ListConfigurationRevisionsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListConfigurationRevisionsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of all revisions for the specified configuration.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MqClient, ListConfigurationRevisionsCommand } from "@aws-sdk/client-mq"; // ES Modules import * // const { MqClient, ListConfigurationRevisionsCommand } = 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 = { // ListConfigurationRevisionsRequest * ConfigurationId: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListConfigurationRevisionsCommand(input); * const response = await client.send(command); * // { // ListConfigurationRevisionsResponse * // ConfigurationId: "STRING_VALUE", * // MaxResults: Number("int"), * // NextToken: "STRING_VALUE", * // Revisions: [ // __listOfConfigurationRevision * // { // ConfigurationRevision * // Created: new Date("TIMESTAMP"), // required * // Description: "STRING_VALUE", * // Revision: Number("int"), // required * // }, * // ], * // }; * * ``` * * @param ListConfigurationRevisionsCommandInput - {@link ListConfigurationRevisionsCommandInput} * @returns {@link ListConfigurationRevisionsCommandOutput} * @see {@link ListConfigurationRevisionsCommandInput} for command's `input` shape. * @see {@link ListConfigurationRevisionsCommandOutput} 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 ListConfigurationRevisionsCommand extends ListConfigurationRevisionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListConfigurationRevisionsRequest; output: ListConfigurationRevisionsResponse; }; sdk: { input: ListConfigurationRevisionsCommandInput; output: ListConfigurationRevisionsCommandOutput; }; }; }