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

Describes the specified schema in detail.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, GetSchemaCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, GetSchemaCommand } = 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 = { // GetSchemaInput * SchemaId: { // SchemaId * SchemaArn: "STRING_VALUE", * SchemaName: "STRING_VALUE", * RegistryName: "STRING_VALUE", * }, * }; * const command = new GetSchemaCommand(input); * const response = await client.send(command); * // { // GetSchemaResponse * // RegistryName: "STRING_VALUE", * // RegistryArn: "STRING_VALUE", * // SchemaName: "STRING_VALUE", * // SchemaArn: "STRING_VALUE", * // Description: "STRING_VALUE", * // DataFormat: "AVRO" || "JSON" || "PROTOBUF", * // Compatibility: "NONE" || "DISABLED" || "BACKWARD" || "BACKWARD_ALL" || "FORWARD" || "FORWARD_ALL" || "FULL" || "FULL_ALL", * // SchemaCheckpoint: Number("long"), * // LatestSchemaVersion: Number("long"), * // NextSchemaVersion: Number("long"), * // SchemaStatus: "AVAILABLE" || "PENDING" || "DELETING", * // CreatedTime: "STRING_VALUE", * // UpdatedTime: "STRING_VALUE", * // }; * * ``` * * @param GetSchemaCommandInput - {@link GetSchemaCommandInput} * @returns {@link GetSchemaCommandOutput} * @see {@link GetSchemaCommandInput} for command's `input` shape. * @see {@link GetSchemaCommandOutput} 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 GetSchemaCommand extends GetSchemaCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetSchemaInput; output: GetSchemaResponse; }; sdk: { input: GetSchemaCommandInput; output: GetSchemaCommandOutput; }; }; }