import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateRevisionRequest, CreateRevisionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateRevisionCommand}. */ export interface CreateRevisionCommandInput extends CreateRevisionRequest { } /** * @public * * The output of {@link CreateRevisionCommand}. */ export interface CreateRevisionCommandOutput extends CreateRevisionResponse, __MetadataBearer { } declare const CreateRevisionCommand_base: { new (input: CreateRevisionCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateRevisionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

This operation creates a revision for a data set.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DataExchangeClient, CreateRevisionCommand } from "@aws-sdk/client-dataexchange"; // ES Modules import * // const { DataExchangeClient, CreateRevisionCommand } = 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 = { // CreateRevisionRequest * Comment: "STRING_VALUE", * DataSetId: "STRING_VALUE", // required * Tags: { // MapOf__string * "": "STRING_VALUE", * }, * }; * const command = new CreateRevisionCommand(input); * const response = await client.send(command); * // { // CreateRevisionResponse * // 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 CreateRevisionCommandInput - {@link CreateRevisionCommandInput} * @returns {@link CreateRevisionCommandOutput} * @see {@link CreateRevisionCommandInput} for command's `input` shape. * @see {@link CreateRevisionCommandOutput} for command's `response` shape. * @see {@link DataExchangeClientResolvedConfig | config} for DataExchangeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Access to the resource is denied.

* * @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 CreateRevisionCommand extends CreateRevisionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateRevisionRequest; output: CreateRevisionResponse; }; sdk: { input: CreateRevisionCommandInput; output: CreateRevisionCommandOutput; }; }; }