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 { DeleteSchemaInput, DeleteSchemaResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteSchemaCommand}. */ export interface DeleteSchemaCommandInput extends DeleteSchemaInput { } /** * @public * * The output of {@link DeleteSchemaCommand}. */ export interface DeleteSchemaCommandOutput extends DeleteSchemaResponse, __MetadataBearer { } declare const DeleteSchemaCommand_base: { new (input: DeleteSchemaCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteSchemaCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Deletes the entire schema set, including the schema set and all of its versions. To get the status of the delete operation, you can call GetSchema API after the asynchronous call. Deleting a registry will deactivate all online operations for the schema, such as the GetSchemaByDefinition, and RegisterSchemaVersion APIs.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { GlueClient, DeleteSchemaCommand } from "@aws-sdk/client-glue"; // ES Modules import * // const { GlueClient, DeleteSchemaCommand } = 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 = { // DeleteSchemaInput * SchemaId: { // SchemaId * SchemaArn: "STRING_VALUE", * SchemaName: "STRING_VALUE", * RegistryName: "STRING_VALUE", * }, * }; * const command = new DeleteSchemaCommand(input); * const response = await client.send(command); * // { // DeleteSchemaResponse * // SchemaArn: "STRING_VALUE", * // SchemaName: "STRING_VALUE", * // Status: "AVAILABLE" || "PENDING" || "DELETING", * // }; * * ``` * * @param DeleteSchemaCommandInput - {@link DeleteSchemaCommandInput} * @returns {@link DeleteSchemaCommandOutput} * @see {@link DeleteSchemaCommandInput} for command's `input` shape. * @see {@link DeleteSchemaCommandOutput} 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 ConcurrentModificationException} (client fault) *

Two processes are trying to modify a resource simultaneously.

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

A specified entity does not exist

* * @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 DeleteSchemaCommand extends DeleteSchemaCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteSchemaInput; output: DeleteSchemaResponse; }; sdk: { input: DeleteSchemaCommandInput; output: DeleteSchemaCommandOutput; }; }; }