import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteSchemaMappingInput, DeleteSchemaMappingOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteSchemaMappingCommand}. */ export interface DeleteSchemaMappingCommandInput extends DeleteSchemaMappingInput { } /** * @public * * The output of {@link DeleteSchemaMappingCommand}. */ export interface DeleteSchemaMappingCommandOutput extends DeleteSchemaMappingOutput, __MetadataBearer { } declare const DeleteSchemaMappingCommand_base: { new (input: DeleteSchemaMappingCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteSchemaMappingCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the SchemaMapping with a given name. This operation returns a ResourceNotFoundException if a schema with the given name does not exist. This operation will fail if there is a MatchingWorkflow object that references the SchemaMapping in the workflow's InputSourceConfig.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EntityResolutionClient, DeleteSchemaMappingCommand } from "@aws-sdk/client-entityresolution"; // ES Modules import * // const { EntityResolutionClient, DeleteSchemaMappingCommand } = require("@aws-sdk/client-entityresolution"); // CommonJS import * // import type { EntityResolutionClientConfig } from "@aws-sdk/client-entityresolution"; * const config = {}; // type is EntityResolutionClientConfig * const client = new EntityResolutionClient(config); * const input = { // DeleteSchemaMappingInput * schemaName: "STRING_VALUE", // required * }; * const command = new DeleteSchemaMappingCommand(input); * const response = await client.send(command); * // { // DeleteSchemaMappingOutput * // message: "STRING_VALUE", // required * // }; * * ``` * * @param DeleteSchemaMappingCommandInput - {@link DeleteSchemaMappingCommandInput} * @returns {@link DeleteSchemaMappingCommandOutput} * @see {@link DeleteSchemaMappingCommandInput} for command's `input` shape. * @see {@link DeleteSchemaMappingCommandOutput} for command's `response` shape. * @see {@link EntityResolutionClientResolvedConfig | config} for EntityResolutionClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The request couldn't be processed because of conflict in the current state of the resource. Example: Workflow already exists, Schema already exists, Workflow is currently running, etc.

* * @throws {@link InternalServerException} (server fault) *

This exception occurs when there is an internal failure in the Entity Resolution service.

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

The resource couldn't be found.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by Entity Resolution.

* * @throws {@link EntityResolutionServiceException} *

Base exception class for all service exceptions from EntityResolution service.

* * * @public */ export declare class DeleteSchemaMappingCommand extends DeleteSchemaMappingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteSchemaMappingInput; output: DeleteSchemaMappingOutput; }; sdk: { input: DeleteSchemaMappingCommandInput; output: DeleteSchemaMappingCommandOutput; }; }; }