import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListDataSetRevisionsRequest, ListDataSetRevisionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListDataSetRevisionsCommand}. */ export interface ListDataSetRevisionsCommandInput extends ListDataSetRevisionsRequest { } /** * @public * * The output of {@link ListDataSetRevisionsCommand}. */ export interface ListDataSetRevisionsCommandOutput extends ListDataSetRevisionsResponse, __MetadataBearer { } declare const ListDataSetRevisionsCommand_base: { new (input: ListDataSetRevisionsCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListDataSetRevisionsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This operation lists a data set's revisions sorted by CreatedAt in descending order.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataExchangeClient, ListDataSetRevisionsCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import * // const { DataExchangeClient, ListDataSetRevisionsCommand } = require("@aws-sdk/client-dataexchange"); // CommonJS import * // import type { DataExchangeClientConfig } from "@aws-sdk/client-dataexchange"; * const config = {}; // type is DataExchangeClientConfig * const client = new DataExchangeClient(config); * const input = { // ListDataSetRevisionsRequest * DataSetId: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListDataSetRevisionsCommand(input); * const response = await client.send(command); * // { // ListDataSetRevisionsResponse * // NextToken: "STRING_VALUE", * // Revisions: [ // ListOfRevisionEntry * // { // RevisionEntry * // Arn: "STRING_VALUE", // required * // Comment: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), // required * // DataSetId: "STRING_VALUE", // required * // Finalized: true || false, * // Id: "STRING_VALUE", // required * // SourceId: "STRING_VALUE", * // UpdatedAt: new Date("TIMESTAMP"), // required * // RevocationComment: "STRING_VALUE", * // Revoked: true || false, * // RevokedAt: new Date("TIMESTAMP"), * // }, * // ], * // }; * * ``` * * @param ListDataSetRevisionsCommandInput - {@link ListDataSetRevisionsCommandInput} * @returns {@link ListDataSetRevisionsCommandOutput} * @see {@link ListDataSetRevisionsCommandInput} for command's `input` shape. * @see {@link ListDataSetRevisionsCommandOutput} for command's `response` shape. * @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An exception occurred with the service.

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

The resource couldn't be found.

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

The limit on the number of requests per second was exceeded.

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

The request was invalid.

* * @throws {@link DataExchangeServiceException} *

Base exception class for all service exceptions from DataExchange service.

* * * @public */ export declare class ListDataSetRevisionsCommand extends ListDataSetRevisionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDataSetRevisionsRequest; output: ListDataSetRevisionsResponse; }; sdk: { input: ListDataSetRevisionsCommandInput; output: ListDataSetRevisionsCommandOutput; }; }; }