import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteSchemaRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteSchemaCommand}. */ export interface DeleteSchemaCommandInput extends DeleteSchemaRequest { } /** * @public * * The output of {@link DeleteSchemaCommand}. */ export interface DeleteSchemaCommandOutput extends __MetadataBearer { } declare const DeleteSchemaCommand_base: { new (input: DeleteSchemaCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteSchemaCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a schema. Before deleting a schema, you must delete all * datasets referencing the schema. For more information on schemas, see * CreateSchema.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { PersonalizeClient, DeleteSchemaCommand } from "@aws-sdk/client-personalize"; // ES Modules import * // const { PersonalizeClient, DeleteSchemaCommand } = require("@aws-sdk/client-personalize"); // CommonJS import * // import type { PersonalizeClientConfig } from "@aws-sdk/client-personalize"; * const config = {}; // type is PersonalizeClientConfig * const client = new PersonalizeClient(config); * const input = { // DeleteSchemaRequest * schemaArn: "STRING_VALUE", // required * }; * const command = new DeleteSchemaCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @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 PersonalizeClientResolvedConfig | config} for PersonalizeClient's `config` shape. * * @throws {@link InvalidInputException} (client fault) *

Provide a valid value for the field or parameter.

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

The specified resource is in use.

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

Could not find the specified resource.

* * @throws {@link PersonalizeServiceException} *

Base exception class for all service exceptions from Personalize service.

* * * @public */ export declare class DeleteSchemaCommand extends DeleteSchemaCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteSchemaRequest; output: {}; }; sdk: { input: DeleteSchemaCommandInput; output: DeleteSchemaCommandOutput; }; }; }