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 { CheckSchemaVersionValidityInput, CheckSchemaVersionValidityResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CheckSchemaVersionValidityCommand}. */ export interface CheckSchemaVersionValidityCommandInput extends CheckSchemaVersionValidityInput { } /** * @public * * The output of {@link CheckSchemaVersionValidityCommand}. */ export interface CheckSchemaVersionValidityCommandOutput extends CheckSchemaVersionValidityResponse, __MetadataBearer { } declare const CheckSchemaVersionValidityCommand_base: { new (input: CheckSchemaVersionValidityCommandInput): import("@smithy/core/client").CommandImpl; new (input: CheckSchemaVersionValidityCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Validates the supplied schema. This call has no side effects, it simply validates using the supplied schema using DataFormat as the format. Since it does not take a schema set name, no compatibility checks are performed.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, CheckSchemaVersionValidityCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, CheckSchemaVersionValidityCommand } = 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 = { // CheckSchemaVersionValidityInput * DataFormat: "AVRO" || "JSON" || "PROTOBUF", // required * SchemaDefinition: "STRING_VALUE", // required * }; * const command = new CheckSchemaVersionValidityCommand(input); * const response = await client.send(command); * // { // CheckSchemaVersionValidityResponse * // Valid: true || false, * // Error: "STRING_VALUE", * // }; * * ``` * * @param CheckSchemaVersionValidityCommandInput - {@link CheckSchemaVersionValidityCommandInput} * @returns {@link CheckSchemaVersionValidityCommandOutput} * @see {@link CheckSchemaVersionValidityCommandInput} for command's `input` shape. * @see {@link CheckSchemaVersionValidityCommandOutput} 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 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 CheckSchemaVersionValidityCommand extends CheckSchemaVersionValidityCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CheckSchemaVersionValidityInput; output: CheckSchemaVersionValidityResponse; }; sdk: { input: CheckSchemaVersionValidityCommandInput; output: CheckSchemaVersionValidityCommandOutput; }; }; }