import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StopJobRequest, StopJobResponse } from "../models/models_4"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StopJobCommand}. */ export interface StopJobCommandInput extends StopJobRequest { } /** * @public * * The output of {@link StopJobCommand}. */ export interface StopJobCommandOutput extends StopJobResponse, __MetadataBearer { } declare const StopJobCommand_base: { new (input: StopJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: StopJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Stops a running job. When you call StopJob, Amazon SageMaker sets the job status to Stopping. After the job stops, the status changes to Stopped. Partial results may be available in the output location if the job was in progress. To delete a stopped job, call DeleteJob.

The following operations are related to StopJob:

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SageMakerClient, StopJobCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import * // const { SageMakerClient, StopJobCommand } = 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 = { // StopJobRequest * JobName: "STRING_VALUE", // required * JobCategory: "AgentRFT" || "AgentRFTEvaluation", // required * }; * const command = new StopJobCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param StopJobCommandInput - {@link StopJobCommandInput} * @returns {@link StopJobCommandOutput} * @see {@link StopJobCommandInput} for command's `input` shape. * @see {@link StopJobCommandOutput} 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 StopJobCommand extends StopJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopJobRequest; output: {}; }; sdk: { input: StopJobCommandInput; output: StopJobCommandOutput; }; }; }