import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StopEntitiesDetectionV2JobRequest, StopEntitiesDetectionV2JobResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StopEntitiesDetectionV2JobCommand}. */ export interface StopEntitiesDetectionV2JobCommandInput extends StopEntitiesDetectionV2JobRequest { } /** * @public * * The output of {@link StopEntitiesDetectionV2JobCommand}. */ export interface StopEntitiesDetectionV2JobCommandOutput extends StopEntitiesDetectionV2JobResponse, __MetadataBearer { } declare const StopEntitiesDetectionV2JobCommand_base: { new (input: StopEntitiesDetectionV2JobCommandInput): import("@smithy/core/client").CommandImpl; new (input: StopEntitiesDetectionV2JobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Stops a medical entities detection job in progress.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ComprehendMedicalClient, StopEntitiesDetectionV2JobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import * // const { ComprehendMedicalClient, StopEntitiesDetectionV2JobCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import * // import type { ComprehendMedicalClientConfig } from "@aws-sdk/client-comprehendmedical"; * const config = {}; // type is ComprehendMedicalClientConfig * const client = new ComprehendMedicalClient(config); * const input = { // StopEntitiesDetectionV2JobRequest * JobId: "STRING_VALUE", // required * }; * const command = new StopEntitiesDetectionV2JobCommand(input); * const response = await client.send(command); * // { // StopEntitiesDetectionV2JobResponse * // JobId: "STRING_VALUE", * // }; * * ``` * * @param StopEntitiesDetectionV2JobCommandInput - {@link StopEntitiesDetectionV2JobCommandInput} * @returns {@link StopEntitiesDetectionV2JobCommandOutput} * @see {@link StopEntitiesDetectionV2JobCommandInput} for command's `input` shape. * @see {@link StopEntitiesDetectionV2JobCommandOutput} for command's `response` shape. * @see {@link ComprehendMedicalClientResolvedConfig | config} for ComprehendMedicalClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

An internal server error occurred. Retry your request.

* * @throws {@link InvalidRequestException} (client fault) *

The request that you made is invalid. Check your request to determine why it's invalid * and then retry the request.

* * @throws {@link ResourceNotFoundException} (client fault) *

The resource identified by the specified Amazon Resource Name (ARN) was not found. Check * the ARN and try your request again.

* * @throws {@link ComprehendMedicalServiceException} *

Base exception class for all service exceptions from ComprehendMedical service.

* * * @public */ export declare class StopEntitiesDetectionV2JobCommand extends StopEntitiesDetectionV2JobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopEntitiesDetectionV2JobRequest; output: StopEntitiesDetectionV2JobResponse; }; sdk: { input: StopEntitiesDetectionV2JobCommandInput; output: StopEntitiesDetectionV2JobCommandOutput; }; }; }