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

Deletes the specified compilation job. This action deletes only the compilation job resource in Amazon SageMaker AI. It doesn't delete other resources that are related to that job, such as the model artifacts that the job creates, the compilation logs in CloudWatch, the compiled model, or the IAM role.

You can delete a compilation job only if its current status is COMPLETED, FAILED, or STOPPED. If the job status is STARTING or INPROGRESS, stop the job, and then delete it after its status becomes STOPPED.

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

Resource being access is not found.

* * @throws {@link SageMakerServiceException} *

Base exception class for all service exceptions from SageMaker service.

* * * @public */ export declare class DeleteCompilationJobCommand extends DeleteCompilationJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteCompilationJobRequest; output: {}; }; sdk: { input: DeleteCompilationJobCommandInput; output: DeleteCompilationJobCommandOutput; }; }; }