Deletes the mapping definition with the provided ID.

Example

Use a bare-bones client and the command you need to make an API call.

import { MappingsClient, DeleteMappingCommand } from "@stedi/sdk-client-mappings"; // ES Modules import
// const { MappingsClient, DeleteMappingCommand } = require("@stedi/sdk-client-mappings"); // CommonJS import
const client = new MappingsClient(config);
const input = { // DeleteMappingInput
id: "STRING_VALUE", // required
};
const command = new DeleteMappingCommand(input);
const response = await client.send(command);
// {};

Param

DeleteMappingCommandInput

Returns

DeleteMappingCommandOutput

See

Throws

ResourceNotFoundException (client fault) The server response when the specified resource cannot be found after an API request passes authentication and authorization.

Throws

AccessDeniedException (client fault) The server response for authorization failure.

Throws

ResourceLockedException (client fault) The server response when the resource is locked and updates are not allowed.

Throws

ThrottlingException (client fault) The server response when usage plan or account-level throttling limits exceeded.

Throws

UnauthorizedException (client fault) The server response when the authorizer failed to authenticate the caller.

Throws

BadParametersException (client fault) The server cannot process the request due to an apparent client error.

Throws

MappingsServiceException

Base exception class for all service exceptions from Mappings service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions