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 { GetSchemaVersionInput, GetSchemaVersionResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetSchemaVersionCommand}. */ export interface GetSchemaVersionCommandInput extends GetSchemaVersionInput { } /** * @public * * The output of {@link GetSchemaVersionCommand}. */ export interface GetSchemaVersionCommandOutput extends GetSchemaVersionResponse, __MetadataBearer { } declare const GetSchemaVersionCommand_base: { new (input: GetSchemaVersionCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [GetSchemaVersionCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Get the specified schema by its unique ID assigned when a version of the schema is created or registered. Schema versions in Deleted status will not be included in the results.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetSchemaVersionCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetSchemaVersionCommand } = 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 = { // GetSchemaVersionInput * SchemaId: { // SchemaId * SchemaArn: "STRING_VALUE", * SchemaName: "STRING_VALUE", * RegistryName: "STRING_VALUE", * }, * SchemaVersionId: "STRING_VALUE", * SchemaVersionNumber: { // SchemaVersionNumber * LatestVersion: true || false, * VersionNumber: Number("long"), * }, * }; * const command = new GetSchemaVersionCommand(input); * const response = await client.send(command); * // { // GetSchemaVersionResponse * // SchemaVersionId: "STRING_VALUE", * // SchemaDefinition: "STRING_VALUE", * // DataFormat: "AVRO" || "JSON" || "PROTOBUF", * // SchemaArn: "STRING_VALUE", * // VersionNumber: Number("long"), * // Status: "AVAILABLE" || "PENDING" || "FAILURE" || "DELETING", * // CreatedTime: "STRING_VALUE", * // }; * * ``` * * @param GetSchemaVersionCommandInput - {@link GetSchemaVersionCommandInput} * @returns {@link GetSchemaVersionCommandOutput} * @see {@link GetSchemaVersionCommandInput} for command's `input` shape. * @see {@link GetSchemaVersionCommandOutput} 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 GetSchemaVersionCommand extends GetSchemaVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSchemaVersionInput; output: GetSchemaVersionResponse; }; sdk: { input: GetSchemaVersionCommandInput; output: GetSchemaVersionCommandOutput; }; }; }