import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GlueClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlueClient"; import type { GetSchemaVersionsDiffInput, GetSchemaVersionsDiffResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetSchemaVersionsDiffCommand}. */ export interface GetSchemaVersionsDiffCommandInput extends GetSchemaVersionsDiffInput { } /** * @public * * The output of {@link GetSchemaVersionsDiffCommand}. */ export interface GetSchemaVersionsDiffCommandOutput extends GetSchemaVersionsDiffResponse, __MetadataBearer { } declare const GetSchemaVersionsDiffCommand_base: { new (input: GetSchemaVersionsDiffCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetSchemaVersionsDiffCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Fetches the schema version difference in the specified difference type between two stored schema versions in the Schema Registry.

*

This API allows you to compare two schema versions between two schema definitions under the same schema.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetSchemaVersionsDiffCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetSchemaVersionsDiffCommand } = require("@aws-sdk/client-glue"); // CommonJS import * // import type { GlueClientConfig } from "@aws-sdk/client-glue"; * const config = {}; // type is GlueClientConfig * const client = new GlueClient(config); * const input = { // GetSchemaVersionsDiffInput * SchemaId: { // SchemaId * SchemaArn: "STRING_VALUE", * SchemaName: "STRING_VALUE", * RegistryName: "STRING_VALUE", * }, * FirstSchemaVersionNumber: { // SchemaVersionNumber * LatestVersion: true || false, * VersionNumber: Number("long"), * }, * SecondSchemaVersionNumber: { * LatestVersion: true || false, * VersionNumber: Number("long"), * }, * SchemaDiffType: "SYNTAX_DIFF", // required * }; * const command = new GetSchemaVersionsDiffCommand(input); * const response = await client.send(command); * // { // GetSchemaVersionsDiffResponse * // Diff: "STRING_VALUE", * // }; * * ``` * * @param GetSchemaVersionsDiffCommandInput - {@link GetSchemaVersionsDiffCommandInput} * @returns {@link GetSchemaVersionsDiffCommandOutput} * @see {@link GetSchemaVersionsDiffCommandInput} for command's `input` shape. * @see {@link GetSchemaVersionsDiffCommandOutput} for command's `response` shape. * @see {@link GlueClientResolvedConfig | config} for GlueClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Access to a resource was denied.

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

A specified entity does not exist

* * @throws {@link InternalServiceException} (server fault) *

An internal service error occurred.

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

The input provided was not valid.

* * @throws {@link GlueServiceException} *

Base exception class for all service exceptions from Glue service.

* * * @public */ export declare class GetSchemaVersionsDiffCommand extends GetSchemaVersionsDiffCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSchemaVersionsDiffInput; output: GetSchemaVersionsDiffResponse; }; sdk: { input: GetSchemaVersionsDiffCommandInput; output: GetSchemaVersionsDiffCommandOutput; }; }; }