import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetRevisionRequest, GetRevisionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetRevisionCommand}. */ export interface GetRevisionCommandInput extends GetRevisionRequest { } /** * @public * * The output of {@link GetRevisionCommand}. */ export interface GetRevisionCommandOutput extends GetRevisionResponse, __MetadataBearer { } declare const GetRevisionCommand_base: { new (input: GetRevisionCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetRevisionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This operation returns information about a revision.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataExchangeClient, GetRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import * // const { DataExchangeClient, GetRevisionCommand } = 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 = { // GetRevisionRequest * DataSetId: "STRING_VALUE", // required * RevisionId: "STRING_VALUE", // required * }; * const command = new GetRevisionCommand(input); * const response = await client.send(command); * // { // GetRevisionResponse * // Arn: "STRING_VALUE", * // Comment: "STRING_VALUE", * // CreatedAt: new Date("TIMESTAMP"), * // DataSetId: "STRING_VALUE", * // Finalized: true || false, * // Id: "STRING_VALUE", * // SourceId: "STRING_VALUE", * // Tags: { // MapOf__string * // "": "STRING_VALUE", * // }, * // UpdatedAt: new Date("TIMESTAMP"), * // RevocationComment: "STRING_VALUE", * // Revoked: true || false, * // RevokedAt: new Date("TIMESTAMP"), * // }; * * ``` * * @param GetRevisionCommandInput - {@link GetRevisionCommandInput} * @returns {@link GetRevisionCommandOutput} * @see {@link GetRevisionCommandInput} for command's `input` shape. * @see {@link GetRevisionCommandOutput} 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 GetRevisionCommand extends GetRevisionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetRevisionRequest; output: GetRevisionResponse; }; sdk: { input: GetRevisionCommandInput; output: GetRevisionCommandOutput; }; }; }