import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DeleteEndpointInput } from "../models/models_2"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteEndpointCommand}. */ export interface DeleteEndpointCommandInput extends DeleteEndpointInput { } /** * @public * * The output of {@link DeleteEndpointCommand}. */ export interface DeleteEndpointCommandOutput extends __MetadataBearer { } declare const DeleteEndpointCommand_base: { new (input: DeleteEndpointCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeleteEndpointCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes an endpoint. SageMaker frees up all of the resources that were deployed when the endpoint was created.

SageMaker retires any custom KMS key grants associated with the endpoint, meaning you don't need to use the RevokeGrant API call.

When you delete your endpoint, SageMaker asynchronously deletes associated endpoint resources such as KMS key grants. You might still see these resources in your account for a few minutes after deleting your endpoint. Do not delete or revoke the permissions for your ExecutionRoleArn , otherwise SageMaker cannot delete these resources.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, DeleteEndpointCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, DeleteEndpointCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * const client = new SageMakerClient(config); * const input = { // DeleteEndpointInput * EndpointName: "STRING_VALUE", // required * }; * const command = new DeleteEndpointCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteEndpointCommandInput - {@link DeleteEndpointCommandInput} * @returns {@link DeleteEndpointCommandOutput} * @see {@link DeleteEndpointCommandInput} for command's `input` shape. * @see {@link DeleteEndpointCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

* * * @public */ export declare class DeleteEndpointCommand extends DeleteEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteEndpointInput; output: {}; }; sdk: { input: DeleteEndpointCommandInput; output: DeleteEndpointCommandOutput; }; }; }