Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ListICD10CMInferenceJobsCommandProtected

Gets a list of InferICD10CM jobs that you have submitted.

Example

Use a bare-bones client and the command you need to make an API call.

import { ComprehendMedicalClient, ListICD10CMInferenceJobsCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
// const { ComprehendMedicalClient, ListICD10CMInferenceJobsCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
const client = new ComprehendMedicalClient(config);
const input = { // ListICD10CMInferenceJobsRequest
Filter: { // ComprehendMedicalAsyncJobFilter
JobName: "STRING_VALUE",
JobStatus: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "PARTIAL_SUCCESS" || "FAILED" || "STOP_REQUESTED" || "STOPPED",
SubmitTimeBefore: new Date("TIMESTAMP"),
SubmitTimeAfter: new Date("TIMESTAMP"),
},
NextToken: "STRING_VALUE",
MaxResults: Number("int"),
};
const command = new ListICD10CMInferenceJobsCommand(input);
const response = await client.send(command);
// { // ListICD10CMInferenceJobsResponse
// ComprehendMedicalAsyncJobPropertiesList: [ // ComprehendMedicalAsyncJobPropertiesList
// { // 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",
// },
// ],
// NextToken: "STRING_VALUE",
// };

Param

ListICD10CMInferenceJobsCommandInput

Returns

ListICD10CMInferenceJobsCommandOutput

See

Throws

InternalServerException (server fault)

An internal server error occurred. Retry your request.

Throws

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

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

ValidationException (client fault)

The filter that you specified for the operation is invalid. Check the filter values that you entered and try your request again.

Throws

ComprehendMedicalServiceException

Base exception class for all service exceptions from ComprehendMedical service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods