import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteJobRequest, DeleteJobResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteJobCommand}. */ export interface DeleteJobCommandInput extends DeleteJobRequest { } /** * @public * * The output of {@link DeleteJobCommand}. */ export interface DeleteJobCommandOutput extends DeleteJobResponse, __MetadataBearer { } declare const DeleteJobCommand_base: { new (input: DeleteJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a job. This operation is idempotent. If the job is currently running, you must stop it before deleting it by calling StopJob.

The following operations are related to DeleteJob:

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, DeleteJobCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, DeleteJobCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import * // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker"; * const config = {}; // type is SageMakerClientConfig * const client = new SageMakerClient(config); * const input = { // DeleteJobRequest * JobName: "STRING_VALUE", // required * JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required * }; * const command = new DeleteJobCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteJobCommandInput - {@link DeleteJobCommandInput} * @returns {@link DeleteJobCommandOutput} * @see {@link DeleteJobCommandInput} for command's `input` shape. * @see {@link DeleteJobCommandOutput} for command's `response` shape. * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape. * * @throws {@link ResourceInUse} (client fault) *

Resource being accessed is in use.

* * @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 DeleteJobCommand extends DeleteJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteJobRequest; output: {}; }; sdk: { input: DeleteJobCommandInput; output: DeleteJobCommandOutput; }; }; }