import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribePHIDetectionJobRequest, DescribePHIDetectionJobResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribePHIDetectionJobCommand}. */ export interface DescribePHIDetectionJobCommandInput extends DescribePHIDetectionJobRequest { } /** * @public * * The output of {@link DescribePHIDetectionJobCommand}. */ export interface DescribePHIDetectionJobCommandOutput extends DescribePHIDetectionJobResponse, __MetadataBearer { } declare const DescribePHIDetectionJobCommand_base: { new (input: DescribePHIDetectionJobCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribePHIDetectionJobCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets the properties associated with a protected health information (PHI) detection job. * Use this operation to get the status of a detection job.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ComprehendMedicalClient, DescribePHIDetectionJobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import * // const { ComprehendMedicalClient, DescribePHIDetectionJobCommand } = 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 = { // DescribePHIDetectionJobRequest * JobId: "STRING_VALUE", // required * }; * const command = new DescribePHIDetectionJobCommand(input); * const response = await client.send(command); * // { // DescribePHIDetectionJobResponse * // ComprehendMedicalAsyncJobProperties: { // ComprehendMedicalAsyncJobProperties * // JobId: "STRING_VALUE", * // JobName: "STRING_VALUE", * // JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "PARTIAL_SUCCESS" || "FAILED" || "STOP_REQUESTED" || "STOPPED", * // Message: "STRING_VALUE", * // SubmitTime: new Date("TIMESTAMP"), * // EndTime: new Date("TIMESTAMP"), * // ExpirationTime: new Date("TIMESTAMP"), * // InputDataConfig: { // InputDataConfig * // S3Bucket: "STRING_VALUE", // required * // S3Key: "STRING_VALUE", * // }, * // OutputDataConfig: { // OutputDataConfig * // S3Bucket: "STRING_VALUE", // required * // S3Key: "STRING_VALUE", * // }, * // LanguageCode: "en", * // DataAccessRoleArn: "STRING_VALUE", * // ManifestFilePath: "STRING_VALUE", * // KMSKey: "STRING_VALUE", * // ModelVersion: "STRING_VALUE", * // }, * // }; * * ``` * * @param DescribePHIDetectionJobCommandInput - {@link DescribePHIDetectionJobCommandInput} * @returns {@link DescribePHIDetectionJobCommandOutput} * @see {@link DescribePHIDetectionJobCommandInput} for command's `input` shape. * @see {@link DescribePHIDetectionJobCommandOutput} 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 TooManyRequestsException} (client fault) *

You have made too many requests within a short period of time. Wait for a short time and * then try your request again. Contact customer support for more information about a service * limit increase.

* * @throws {@link ComprehendMedicalServiceException} *

Base exception class for all service exceptions from ComprehendMedical service.

* * * @public */ export declare class DescribePHIDetectionJobCommand extends DescribePHIDetectionJobCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribePHIDetectionJobRequest; output: DescribePHIDetectionJobResponse; }; sdk: { input: DescribePHIDetectionJobCommandInput; output: DescribePHIDetectionJobCommandOutput; }; }; }