@aws-sdk/client-comprehendmedical 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/ComprehendMedical.js +1 -6
- package/{dist/cjs → dist-cjs}/ComprehendMedicalClient.js +8 -18
- package/{dist/cjs → dist-cjs}/commands/DescribeEntitiesDetectionV2JobCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DescribeICD10CMInferenceJobCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DescribePHIDetectionJobCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DescribeRxNormInferenceJobCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/DetectEntitiesCommand.js +2 -32
- package/dist-cjs/commands/DetectEntitiesV2Command.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DetectPHICommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/InferICD10CMCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/InferRxNormCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/ListEntitiesDetectionV2JobsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListICD10CMInferenceJobsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListPHIDetectionJobsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListRxNormInferenceJobsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StartEntitiesDetectionV2JobCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/StartICD10CMInferenceJobCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/StartPHIDetectionJobCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/StartRxNormInferenceJobCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/StopEntitiesDetectionV2JobCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StopICD10CMInferenceJobCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StopPHIDetectionJobCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/StopRxNormInferenceJobCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -199
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/ComprehendMedical.js +1 -2
- package/{dist/es → dist-es}/ComprehendMedicalClient.js +1 -2
- package/{dist/es → dist-es}/commands/DescribeEntitiesDetectionV2JobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeICD10CMInferenceJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribePHIDetectionJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DescribeRxNormInferenceJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DetectEntitiesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DetectEntitiesV2Command.js +2 -3
- package/{dist/es → dist-es}/commands/DetectPHICommand.js +2 -3
- package/{dist/es → dist-es}/commands/InferICD10CMCommand.js +2 -3
- package/{dist/es → dist-es}/commands/InferRxNormCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListEntitiesDetectionV2JobsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListICD10CMInferenceJobsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPHIDetectionJobsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListRxNormInferenceJobsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartEntitiesDetectionV2JobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartICD10CMInferenceJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartPHIDetectionJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartRxNormInferenceJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopEntitiesDetectionV2JobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopICD10CMInferenceJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopPHIDetectionJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopRxNormInferenceJobCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/ComprehendMedical.d.ts +2 -2
- package/{dist/types → dist-types}/ComprehendMedicalClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/DescribeEntitiesDetectionV2JobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeICD10CMInferenceJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribePHIDetectionJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DescribeRxNormInferenceJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DetectEntitiesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DetectEntitiesV2Command.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DetectPHICommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/InferICD10CMCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/InferRxNormCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListEntitiesDetectionV2JobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListICD10CMInferenceJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPHIDetectionJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListRxNormInferenceJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartEntitiesDetectionV2JobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartICD10CMInferenceJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartPHIDetectionJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartRxNormInferenceJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopEntitiesDetectionV2JobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopICD10CMInferenceJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopPHIDetectionJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopRxNormInferenceJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/ComprehendMedical.d.ts +24 -101
- package/{dist/types → dist-types}/ts3.4/ComprehendMedicalClient.d.ts +32 -98
- package/{dist/types → dist-types}/ts3.4/commands/DescribeEntitiesDetectionV2JobCommand.d.ts +4 -23
- package/{dist/types → dist-types}/ts3.4/commands/DescribeICD10CMInferenceJobCommand.d.ts +4 -23
- package/dist-types/ts3.4/commands/DescribePHIDetectionJobCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeRxNormInferenceJobCommand.d.ts +4 -23
- package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DetectEntitiesV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/DetectPHICommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/InferICD10CMCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/InferRxNormCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListEntitiesDetectionV2JobsCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListICD10CMInferenceJobsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListPHIDetectionJobsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListRxNormInferenceJobsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/StartEntitiesDetectionV2JobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartICD10CMInferenceJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartPHIDetectionJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartRxNormInferenceJobCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/StopEntitiesDetectionV2JobCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/StopICD10CMInferenceJobCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/StopPHIDetectionJobCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/StopRxNormInferenceJobCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +938 -0
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/ComprehendMedical.ts +0 -794
- package/ComprehendMedicalClient.ts +0 -347
- package/commands/DescribeEntitiesDetectionV2JobCommand.ts +0 -107
- package/commands/DescribeICD10CMInferenceJobCommand.ts +0 -104
- package/commands/DescribePHIDetectionJobCommand.ts +0 -99
- package/commands/DescribeRxNormInferenceJobCommand.ts +0 -102
- package/commands/DetectEntitiesCommand.ts +0 -103
- package/commands/DetectEntitiesV2Command.ts +0 -107
- package/commands/DetectPHICommand.ts +0 -97
- package/commands/InferICD10CMCommand.ts +0 -101
- package/commands/InferRxNormCommand.ts +0 -100
- package/commands/ListEntitiesDetectionV2JobsCommand.ts +0 -103
- package/commands/ListICD10CMInferenceJobsCommand.ts +0 -98
- package/commands/ListPHIDetectionJobsCommand.ts +0 -99
- package/commands/ListRxNormInferenceJobsCommand.ts +0 -98
- package/commands/StartEntitiesDetectionV2JobCommand.ts +0 -104
- package/commands/StartICD10CMInferenceJobCommand.ts +0 -100
- package/commands/StartPHIDetectionJobCommand.ts +0 -99
- package/commands/StartRxNormInferenceJobCommand.ts +0 -100
- package/commands/StopEntitiesDetectionV2JobCommand.ts +0 -101
- package/commands/StopICD10CMInferenceJobCommand.ts +0 -98
- package/commands/StopPHIDetectionJobCommand.ts +0 -98
- package/commands/StopRxNormInferenceJobCommand.ts +0 -98
- package/dist/cjs/ComprehendMedical.js.map +0 -1
- package/dist/cjs/ComprehendMedicalClient.js.map +0 -1
- package/dist/cjs/commands/DescribeEntitiesDetectionV2JobCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeICD10CMInferenceJobCommand.js.map +0 -1
- package/dist/cjs/commands/DescribePHIDetectionJobCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeRxNormInferenceJobCommand.js.map +0 -1
- package/dist/cjs/commands/DetectEntitiesCommand.js.map +0 -1
- package/dist/cjs/commands/DetectEntitiesV2Command.js +0 -70
- package/dist/cjs/commands/DetectEntitiesV2Command.js.map +0 -1
- package/dist/cjs/commands/DetectPHICommand.js.map +0 -1
- package/dist/cjs/commands/InferICD10CMCommand.js.map +0 -1
- package/dist/cjs/commands/InferRxNormCommand.js.map +0 -1
- package/dist/cjs/commands/ListEntitiesDetectionV2JobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListICD10CMInferenceJobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPHIDetectionJobsCommand.js.map +0 -1
- package/dist/cjs/commands/ListRxNormInferenceJobsCommand.js.map +0 -1
- package/dist/cjs/commands/StartEntitiesDetectionV2JobCommand.js.map +0 -1
- package/dist/cjs/commands/StartICD10CMInferenceJobCommand.js.map +0 -1
- package/dist/cjs/commands/StartPHIDetectionJobCommand.js.map +0 -1
- package/dist/cjs/commands/StartRxNormInferenceJobCommand.js.map +0 -1
- package/dist/cjs/commands/StopEntitiesDetectionV2JobCommand.js.map +0 -1
- package/dist/cjs/commands/StopICD10CMInferenceJobCommand.js.map +0 -1
- package/dist/cjs/commands/StopPHIDetectionJobCommand.js.map +0 -1
- package/dist/cjs/commands/StopRxNormInferenceJobCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/ComprehendMedical.js.map +0 -1
- package/dist/es/ComprehendMedicalClient.js.map +0 -1
- package/dist/es/commands/DescribeEntitiesDetectionV2JobCommand.js.map +0 -1
- package/dist/es/commands/DescribeICD10CMInferenceJobCommand.js.map +0 -1
- package/dist/es/commands/DescribePHIDetectionJobCommand.js.map +0 -1
- package/dist/es/commands/DescribeRxNormInferenceJobCommand.js.map +0 -1
- package/dist/es/commands/DetectEntitiesCommand.js.map +0 -1
- package/dist/es/commands/DetectEntitiesV2Command.js.map +0 -1
- package/dist/es/commands/DetectPHICommand.js.map +0 -1
- package/dist/es/commands/InferICD10CMCommand.js.map +0 -1
- package/dist/es/commands/InferRxNormCommand.js.map +0 -1
- package/dist/es/commands/ListEntitiesDetectionV2JobsCommand.js.map +0 -1
- package/dist/es/commands/ListICD10CMInferenceJobsCommand.js.map +0 -1
- package/dist/es/commands/ListPHIDetectionJobsCommand.js.map +0 -1
- package/dist/es/commands/ListRxNormInferenceJobsCommand.js.map +0 -1
- package/dist/es/commands/StartEntitiesDetectionV2JobCommand.js.map +0 -1
- package/dist/es/commands/StartICD10CMInferenceJobCommand.js.map +0 -1
- package/dist/es/commands/StartPHIDetectionJobCommand.js.map +0 -1
- package/dist/es/commands/StartRxNormInferenceJobCommand.js.map +0 -1
- package/dist/es/commands/StopEntitiesDetectionV2JobCommand.js.map +0 -1
- package/dist/es/commands/StopICD10CMInferenceJobCommand.js.map +0 -1
- package/dist/es/commands/StopPHIDetectionJobCommand.js.map +0 -1
- package/dist/es/commands/StopRxNormInferenceJobCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -25
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/commands/DescribePHIDetectionJobCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/DetectEntitiesCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/DetectEntitiesV2Command.d.ts +0 -44
- package/dist/types/ts3.4/commands/DetectPHICommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/InferICD10CMCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/InferRxNormCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListPHIDetectionJobsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/StartEntitiesDetectionV2JobCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/StartICD10CMInferenceJobCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/StartPHIDetectionJobCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/StartRxNormInferenceJobCommand.d.ts +0 -37
- package/dist/types/ts3.4/models/models_0.d.ts +0 -1650
- package/endpoints.ts +0 -77
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -2054
- package/protocols/Aws_json1_1.ts +0 -3272
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ComprehendMedicalClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ComprehendMedicalClient";
|
|
6
|
-
import { ListEntitiesDetectionV2JobsRequest, ListEntitiesDetectionV2JobsResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_json1_1ListEntitiesDetectionV2JobsCommand,
|
|
9
|
-
serializeAws_json1_1ListEntitiesDetectionV2JobsCommand,
|
|
10
|
-
} from "../protocols/Aws_json1_1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface ListEntitiesDetectionV2JobsCommandInput extends ListEntitiesDetectionV2JobsRequest {}
|
|
25
|
-
export interface ListEntitiesDetectionV2JobsCommandOutput
|
|
26
|
-
extends ListEntitiesDetectionV2JobsResponse,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Gets a list of medical entity detection jobs that you have submitted.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ComprehendMedicalClient, ListEntitiesDetectionV2JobsCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
35
|
-
* // const { ComprehendMedicalClient, ListEntitiesDetectionV2JobsCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
36
|
-
* const client = new ComprehendMedicalClient(config);
|
|
37
|
-
* const command = new ListEntitiesDetectionV2JobsCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link ListEntitiesDetectionV2JobsCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link ListEntitiesDetectionV2JobsCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link ComprehendMedicalClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class ListEntitiesDetectionV2JobsCommand extends $Command<
|
|
47
|
-
ListEntitiesDetectionV2JobsCommandInput,
|
|
48
|
-
ListEntitiesDetectionV2JobsCommandOutput,
|
|
49
|
-
ComprehendMedicalClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: ListEntitiesDetectionV2JobsCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: ComprehendMedicalClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<ListEntitiesDetectionV2JobsCommandInput, ListEntitiesDetectionV2JobsCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "ComprehendMedicalClient";
|
|
74
|
-
const commandName = "ListEntitiesDetectionV2JobsCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: ListEntitiesDetectionV2JobsRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: ListEntitiesDetectionV2JobsResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: ListEntitiesDetectionV2JobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1ListEntitiesDetectionV2JobsCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<ListEntitiesDetectionV2JobsCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1ListEntitiesDetectionV2JobsCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ComprehendMedicalClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ComprehendMedicalClient";
|
|
6
|
-
import { ListICD10CMInferenceJobsRequest, ListICD10CMInferenceJobsResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_json1_1ListICD10CMInferenceJobsCommand,
|
|
9
|
-
serializeAws_json1_1ListICD10CMInferenceJobsCommand,
|
|
10
|
-
} from "../protocols/Aws_json1_1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface ListICD10CMInferenceJobsCommandInput extends ListICD10CMInferenceJobsRequest {}
|
|
25
|
-
export interface ListICD10CMInferenceJobsCommandOutput extends ListICD10CMInferenceJobsResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Gets a list of InferICD10CM jobs that you have submitted.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { ComprehendMedicalClient, ListICD10CMInferenceJobsCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
33
|
-
* // const { ComprehendMedicalClient, ListICD10CMInferenceJobsCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
34
|
-
* const client = new ComprehendMedicalClient(config);
|
|
35
|
-
* const command = new ListICD10CMInferenceJobsCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link ListICD10CMInferenceJobsCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link ListICD10CMInferenceJobsCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link ComprehendMedicalClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class ListICD10CMInferenceJobsCommand extends $Command<
|
|
45
|
-
ListICD10CMInferenceJobsCommandInput,
|
|
46
|
-
ListICD10CMInferenceJobsCommandOutput,
|
|
47
|
-
ComprehendMedicalClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: ListICD10CMInferenceJobsCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: ComprehendMedicalClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<ListICD10CMInferenceJobsCommandInput, ListICD10CMInferenceJobsCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "ComprehendMedicalClient";
|
|
72
|
-
const commandName = "ListICD10CMInferenceJobsCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: ListICD10CMInferenceJobsRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: ListICD10CMInferenceJobsResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: ListICD10CMInferenceJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_1ListICD10CMInferenceJobsCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListICD10CMInferenceJobsCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1ListICD10CMInferenceJobsCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ComprehendMedicalClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ComprehendMedicalClient";
|
|
6
|
-
import { ListPHIDetectionJobsRequest, ListPHIDetectionJobsResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_json1_1ListPHIDetectionJobsCommand,
|
|
9
|
-
serializeAws_json1_1ListPHIDetectionJobsCommand,
|
|
10
|
-
} from "../protocols/Aws_json1_1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface ListPHIDetectionJobsCommandInput extends ListPHIDetectionJobsRequest {}
|
|
25
|
-
export interface ListPHIDetectionJobsCommandOutput extends ListPHIDetectionJobsResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Gets a list of protected health information (PHI) detection jobs that you have
|
|
29
|
-
* submitted.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ComprehendMedicalClient, ListPHIDetectionJobsCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
34
|
-
* // const { ComprehendMedicalClient, ListPHIDetectionJobsCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
35
|
-
* const client = new ComprehendMedicalClient(config);
|
|
36
|
-
* const command = new ListPHIDetectionJobsCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link ListPHIDetectionJobsCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link ListPHIDetectionJobsCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ComprehendMedicalClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class ListPHIDetectionJobsCommand extends $Command<
|
|
46
|
-
ListPHIDetectionJobsCommandInput,
|
|
47
|
-
ListPHIDetectionJobsCommandOutput,
|
|
48
|
-
ComprehendMedicalClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: ListPHIDetectionJobsCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ComprehendMedicalClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<ListPHIDetectionJobsCommandInput, ListPHIDetectionJobsCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ComprehendMedicalClient";
|
|
73
|
-
const commandName = "ListPHIDetectionJobsCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: ListPHIDetectionJobsRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: ListPHIDetectionJobsResponse.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: ListPHIDetectionJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1ListPHIDetectionJobsCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListPHIDetectionJobsCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1ListPHIDetectionJobsCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ComprehendMedicalClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ComprehendMedicalClient";
|
|
6
|
-
import { ListRxNormInferenceJobsRequest, ListRxNormInferenceJobsResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_json1_1ListRxNormInferenceJobsCommand,
|
|
9
|
-
serializeAws_json1_1ListRxNormInferenceJobsCommand,
|
|
10
|
-
} from "../protocols/Aws_json1_1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface ListRxNormInferenceJobsCommandInput extends ListRxNormInferenceJobsRequest {}
|
|
25
|
-
export interface ListRxNormInferenceJobsCommandOutput extends ListRxNormInferenceJobsResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Gets a list of InferRxNorm jobs that you have submitted.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { ComprehendMedicalClient, ListRxNormInferenceJobsCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
33
|
-
* // const { ComprehendMedicalClient, ListRxNormInferenceJobsCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
34
|
-
* const client = new ComprehendMedicalClient(config);
|
|
35
|
-
* const command = new ListRxNormInferenceJobsCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link ListRxNormInferenceJobsCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link ListRxNormInferenceJobsCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link ComprehendMedicalClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class ListRxNormInferenceJobsCommand extends $Command<
|
|
45
|
-
ListRxNormInferenceJobsCommandInput,
|
|
46
|
-
ListRxNormInferenceJobsCommandOutput,
|
|
47
|
-
ComprehendMedicalClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: ListRxNormInferenceJobsCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: ComprehendMedicalClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<ListRxNormInferenceJobsCommandInput, ListRxNormInferenceJobsCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "ComprehendMedicalClient";
|
|
72
|
-
const commandName = "ListRxNormInferenceJobsCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: ListRxNormInferenceJobsRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: ListRxNormInferenceJobsResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: ListRxNormInferenceJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_1ListRxNormInferenceJobsCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListRxNormInferenceJobsCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1ListRxNormInferenceJobsCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ComprehendMedicalClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ComprehendMedicalClient";
|
|
6
|
-
import { StartEntitiesDetectionV2JobRequest, StartEntitiesDetectionV2JobResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_json1_1StartEntitiesDetectionV2JobCommand,
|
|
9
|
-
serializeAws_json1_1StartEntitiesDetectionV2JobCommand,
|
|
10
|
-
} from "../protocols/Aws_json1_1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface StartEntitiesDetectionV2JobCommandInput extends StartEntitiesDetectionV2JobRequest {}
|
|
25
|
-
export interface StartEntitiesDetectionV2JobCommandOutput
|
|
26
|
-
extends StartEntitiesDetectionV2JobResponse,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Starts an asynchronous medical entity detection job for a collection of documents. Use the
|
|
31
|
-
* <code>DescribeEntitiesDetectionV2Job</code> operation to track the status of a job.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { ComprehendMedicalClient, StartEntitiesDetectionV2JobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
36
|
-
* // const { ComprehendMedicalClient, StartEntitiesDetectionV2JobCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
37
|
-
* const client = new ComprehendMedicalClient(config);
|
|
38
|
-
* const command = new StartEntitiesDetectionV2JobCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link StartEntitiesDetectionV2JobCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link StartEntitiesDetectionV2JobCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link ComprehendMedicalClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class StartEntitiesDetectionV2JobCommand extends $Command<
|
|
48
|
-
StartEntitiesDetectionV2JobCommandInput,
|
|
49
|
-
StartEntitiesDetectionV2JobCommandOutput,
|
|
50
|
-
ComprehendMedicalClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: StartEntitiesDetectionV2JobCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: ComprehendMedicalClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<StartEntitiesDetectionV2JobCommandInput, StartEntitiesDetectionV2JobCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "ComprehendMedicalClient";
|
|
75
|
-
const commandName = "StartEntitiesDetectionV2JobCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: StartEntitiesDetectionV2JobRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: StartEntitiesDetectionV2JobResponse.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: StartEntitiesDetectionV2JobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_1StartEntitiesDetectionV2JobCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<StartEntitiesDetectionV2JobCommandOutput> {
|
|
99
|
-
return deserializeAws_json1_1StartEntitiesDetectionV2JobCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ComprehendMedicalClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ComprehendMedicalClient";
|
|
6
|
-
import { StartICD10CMInferenceJobRequest, StartICD10CMInferenceJobResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_json1_1StartICD10CMInferenceJobCommand,
|
|
9
|
-
serializeAws_json1_1StartICD10CMInferenceJobCommand,
|
|
10
|
-
} from "../protocols/Aws_json1_1";
|
|
11
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
12
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
13
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
14
|
-
import {
|
|
15
|
-
FinalizeHandlerArguments,
|
|
16
|
-
Handler,
|
|
17
|
-
HandlerExecutionContext,
|
|
18
|
-
MiddlewareStack,
|
|
19
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
20
|
-
MetadataBearer as __MetadataBearer,
|
|
21
|
-
SerdeContext as __SerdeContext,
|
|
22
|
-
} from "@aws-sdk/types";
|
|
23
|
-
|
|
24
|
-
export interface StartICD10CMInferenceJobCommandInput extends StartICD10CMInferenceJobRequest {}
|
|
25
|
-
export interface StartICD10CMInferenceJobCommandOutput extends StartICD10CMInferenceJobResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Starts an asynchronous job to detect medical conditions and link them to the ICD-10-CM
|
|
29
|
-
* ontology. Use the <code>DescribeICD10CMInferenceJob</code> operation to track the status of a
|
|
30
|
-
* job.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { ComprehendMedicalClient, StartICD10CMInferenceJobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
35
|
-
* // const { ComprehendMedicalClient, StartICD10CMInferenceJobCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
36
|
-
* const client = new ComprehendMedicalClient(config);
|
|
37
|
-
* const command = new StartICD10CMInferenceJobCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link StartICD10CMInferenceJobCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link StartICD10CMInferenceJobCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link ComprehendMedicalClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class StartICD10CMInferenceJobCommand extends $Command<
|
|
47
|
-
StartICD10CMInferenceJobCommandInput,
|
|
48
|
-
StartICD10CMInferenceJobCommandOutput,
|
|
49
|
-
ComprehendMedicalClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: StartICD10CMInferenceJobCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: ComprehendMedicalClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<StartICD10CMInferenceJobCommandInput, StartICD10CMInferenceJobCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "ComprehendMedicalClient";
|
|
74
|
-
const commandName = "StartICD10CMInferenceJobCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: StartICD10CMInferenceJobRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: StartICD10CMInferenceJobResponse.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: StartICD10CMInferenceJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1StartICD10CMInferenceJobCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartICD10CMInferenceJobCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1StartICD10CMInferenceJobCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|