import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { StopPHIDetectionJobRequest, StopPHIDetectionJobResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link StopPHIDetectionJobCommand}. */ export interface StopPHIDetectionJobCommandInput extends StopPHIDetectionJobRequest { } /** * @public * * The output of {@link StopPHIDetectionJobCommand}. */ export interface StopPHIDetectionJobCommandOutput extends StopPHIDetectionJobResponse, __MetadataBearer { } declare const StopPHIDetectionJobCommand_base: { new (input: StopPHIDetectionJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: StopPHIDetectionJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Stops a protected health information (PHI) detection job in progress.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ComprehendMedicalClient, StopPHIDetectionJobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import * // const { ComprehendMedicalClient, StopPHIDetectionJobCommand } = 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 = { // StopPHIDetectionJobRequest * JobId: "STRING_VALUE", // required * }; * const command = new StopPHIDetectionJobCommand(input); * const response = await client.send(command); * // { // StopPHIDetectionJobResponse * // JobId: "STRING_VALUE", * // }; * * ``` * * @param StopPHIDetectionJobCommandInput - {@link StopPHIDetectionJobCommandInput} * @returns {@link StopPHIDetectionJobCommandOutput} * @see {@link StopPHIDetectionJobCommandInput} for command's `input` shape. * @see {@link StopPHIDetectionJobCommandOutput} 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 StopPHIDetectionJobCommand extends StopPHIDetectionJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopPHIDetectionJobRequest; output: StopPHIDetectionJobResponse; }; sdk: { input: StopPHIDetectionJobCommandInput; output: StopPHIDetectionJobCommandOutput; }; }; }