@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,347 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DescribeEntitiesDetectionV2JobCommandInput,
|
|
3
|
-
DescribeEntitiesDetectionV2JobCommandOutput,
|
|
4
|
-
} from "./commands/DescribeEntitiesDetectionV2JobCommand";
|
|
5
|
-
import {
|
|
6
|
-
DescribeICD10CMInferenceJobCommandInput,
|
|
7
|
-
DescribeICD10CMInferenceJobCommandOutput,
|
|
8
|
-
} from "./commands/DescribeICD10CMInferenceJobCommand";
|
|
9
|
-
import {
|
|
10
|
-
DescribePHIDetectionJobCommandInput,
|
|
11
|
-
DescribePHIDetectionJobCommandOutput,
|
|
12
|
-
} from "./commands/DescribePHIDetectionJobCommand";
|
|
13
|
-
import {
|
|
14
|
-
DescribeRxNormInferenceJobCommandInput,
|
|
15
|
-
DescribeRxNormInferenceJobCommandOutput,
|
|
16
|
-
} from "./commands/DescribeRxNormInferenceJobCommand";
|
|
17
|
-
import { DetectEntitiesCommandInput, DetectEntitiesCommandOutput } from "./commands/DetectEntitiesCommand";
|
|
18
|
-
import { DetectEntitiesV2CommandInput, DetectEntitiesV2CommandOutput } from "./commands/DetectEntitiesV2Command";
|
|
19
|
-
import { DetectPHICommandInput, DetectPHICommandOutput } from "./commands/DetectPHICommand";
|
|
20
|
-
import { InferICD10CMCommandInput, InferICD10CMCommandOutput } from "./commands/InferICD10CMCommand";
|
|
21
|
-
import { InferRxNormCommandInput, InferRxNormCommandOutput } from "./commands/InferRxNormCommand";
|
|
22
|
-
import {
|
|
23
|
-
ListEntitiesDetectionV2JobsCommandInput,
|
|
24
|
-
ListEntitiesDetectionV2JobsCommandOutput,
|
|
25
|
-
} from "./commands/ListEntitiesDetectionV2JobsCommand";
|
|
26
|
-
import {
|
|
27
|
-
ListICD10CMInferenceJobsCommandInput,
|
|
28
|
-
ListICD10CMInferenceJobsCommandOutput,
|
|
29
|
-
} from "./commands/ListICD10CMInferenceJobsCommand";
|
|
30
|
-
import {
|
|
31
|
-
ListPHIDetectionJobsCommandInput,
|
|
32
|
-
ListPHIDetectionJobsCommandOutput,
|
|
33
|
-
} from "./commands/ListPHIDetectionJobsCommand";
|
|
34
|
-
import {
|
|
35
|
-
ListRxNormInferenceJobsCommandInput,
|
|
36
|
-
ListRxNormInferenceJobsCommandOutput,
|
|
37
|
-
} from "./commands/ListRxNormInferenceJobsCommand";
|
|
38
|
-
import {
|
|
39
|
-
StartEntitiesDetectionV2JobCommandInput,
|
|
40
|
-
StartEntitiesDetectionV2JobCommandOutput,
|
|
41
|
-
} from "./commands/StartEntitiesDetectionV2JobCommand";
|
|
42
|
-
import {
|
|
43
|
-
StartICD10CMInferenceJobCommandInput,
|
|
44
|
-
StartICD10CMInferenceJobCommandOutput,
|
|
45
|
-
} from "./commands/StartICD10CMInferenceJobCommand";
|
|
46
|
-
import {
|
|
47
|
-
StartPHIDetectionJobCommandInput,
|
|
48
|
-
StartPHIDetectionJobCommandOutput,
|
|
49
|
-
} from "./commands/StartPHIDetectionJobCommand";
|
|
50
|
-
import {
|
|
51
|
-
StartRxNormInferenceJobCommandInput,
|
|
52
|
-
StartRxNormInferenceJobCommandOutput,
|
|
53
|
-
} from "./commands/StartRxNormInferenceJobCommand";
|
|
54
|
-
import {
|
|
55
|
-
StopEntitiesDetectionV2JobCommandInput,
|
|
56
|
-
StopEntitiesDetectionV2JobCommandOutput,
|
|
57
|
-
} from "./commands/StopEntitiesDetectionV2JobCommand";
|
|
58
|
-
import {
|
|
59
|
-
StopICD10CMInferenceJobCommandInput,
|
|
60
|
-
StopICD10CMInferenceJobCommandOutput,
|
|
61
|
-
} from "./commands/StopICD10CMInferenceJobCommand";
|
|
62
|
-
import {
|
|
63
|
-
StopPHIDetectionJobCommandInput,
|
|
64
|
-
StopPHIDetectionJobCommandOutput,
|
|
65
|
-
} from "./commands/StopPHIDetectionJobCommand";
|
|
66
|
-
import {
|
|
67
|
-
StopRxNormInferenceJobCommandInput,
|
|
68
|
-
StopRxNormInferenceJobCommandOutput,
|
|
69
|
-
} from "./commands/StopRxNormInferenceJobCommand";
|
|
70
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
71
|
-
import {
|
|
72
|
-
EndpointsInputConfig,
|
|
73
|
-
EndpointsResolvedConfig,
|
|
74
|
-
RegionInputConfig,
|
|
75
|
-
RegionResolvedConfig,
|
|
76
|
-
resolveEndpointsConfig,
|
|
77
|
-
resolveRegionConfig,
|
|
78
|
-
} from "@aws-sdk/config-resolver";
|
|
79
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
80
|
-
import {
|
|
81
|
-
HostHeaderInputConfig,
|
|
82
|
-
HostHeaderResolvedConfig,
|
|
83
|
-
getHostHeaderPlugin,
|
|
84
|
-
resolveHostHeaderConfig,
|
|
85
|
-
} from "@aws-sdk/middleware-host-header";
|
|
86
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
87
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
88
|
-
import {
|
|
89
|
-
AwsAuthInputConfig,
|
|
90
|
-
AwsAuthResolvedConfig,
|
|
91
|
-
getAwsAuthPlugin,
|
|
92
|
-
resolveAwsAuthConfig,
|
|
93
|
-
} from "@aws-sdk/middleware-signing";
|
|
94
|
-
import {
|
|
95
|
-
UserAgentInputConfig,
|
|
96
|
-
UserAgentResolvedConfig,
|
|
97
|
-
getUserAgentPlugin,
|
|
98
|
-
resolveUserAgentConfig,
|
|
99
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
100
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
101
|
-
import {
|
|
102
|
-
Client as __Client,
|
|
103
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
104
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
105
|
-
} from "@aws-sdk/smithy-client";
|
|
106
|
-
import {
|
|
107
|
-
Provider,
|
|
108
|
-
RegionInfoProvider,
|
|
109
|
-
Credentials as __Credentials,
|
|
110
|
-
Decoder as __Decoder,
|
|
111
|
-
Encoder as __Encoder,
|
|
112
|
-
Hash as __Hash,
|
|
113
|
-
HashConstructor as __HashConstructor,
|
|
114
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
115
|
-
Logger as __Logger,
|
|
116
|
-
Provider as __Provider,
|
|
117
|
-
StreamCollector as __StreamCollector,
|
|
118
|
-
UrlParser as __UrlParser,
|
|
119
|
-
UserAgent as __UserAgent,
|
|
120
|
-
} from "@aws-sdk/types";
|
|
121
|
-
|
|
122
|
-
export type ServiceInputTypes =
|
|
123
|
-
| DescribeEntitiesDetectionV2JobCommandInput
|
|
124
|
-
| DescribeICD10CMInferenceJobCommandInput
|
|
125
|
-
| DescribePHIDetectionJobCommandInput
|
|
126
|
-
| DescribeRxNormInferenceJobCommandInput
|
|
127
|
-
| DetectEntitiesCommandInput
|
|
128
|
-
| DetectEntitiesV2CommandInput
|
|
129
|
-
| DetectPHICommandInput
|
|
130
|
-
| InferICD10CMCommandInput
|
|
131
|
-
| InferRxNormCommandInput
|
|
132
|
-
| ListEntitiesDetectionV2JobsCommandInput
|
|
133
|
-
| ListICD10CMInferenceJobsCommandInput
|
|
134
|
-
| ListPHIDetectionJobsCommandInput
|
|
135
|
-
| ListRxNormInferenceJobsCommandInput
|
|
136
|
-
| StartEntitiesDetectionV2JobCommandInput
|
|
137
|
-
| StartICD10CMInferenceJobCommandInput
|
|
138
|
-
| StartPHIDetectionJobCommandInput
|
|
139
|
-
| StartRxNormInferenceJobCommandInput
|
|
140
|
-
| StopEntitiesDetectionV2JobCommandInput
|
|
141
|
-
| StopICD10CMInferenceJobCommandInput
|
|
142
|
-
| StopPHIDetectionJobCommandInput
|
|
143
|
-
| StopRxNormInferenceJobCommandInput;
|
|
144
|
-
|
|
145
|
-
export type ServiceOutputTypes =
|
|
146
|
-
| DescribeEntitiesDetectionV2JobCommandOutput
|
|
147
|
-
| DescribeICD10CMInferenceJobCommandOutput
|
|
148
|
-
| DescribePHIDetectionJobCommandOutput
|
|
149
|
-
| DescribeRxNormInferenceJobCommandOutput
|
|
150
|
-
| DetectEntitiesCommandOutput
|
|
151
|
-
| DetectEntitiesV2CommandOutput
|
|
152
|
-
| DetectPHICommandOutput
|
|
153
|
-
| InferICD10CMCommandOutput
|
|
154
|
-
| InferRxNormCommandOutput
|
|
155
|
-
| ListEntitiesDetectionV2JobsCommandOutput
|
|
156
|
-
| ListICD10CMInferenceJobsCommandOutput
|
|
157
|
-
| ListPHIDetectionJobsCommandOutput
|
|
158
|
-
| ListRxNormInferenceJobsCommandOutput
|
|
159
|
-
| StartEntitiesDetectionV2JobCommandOutput
|
|
160
|
-
| StartICD10CMInferenceJobCommandOutput
|
|
161
|
-
| StartPHIDetectionJobCommandOutput
|
|
162
|
-
| StartRxNormInferenceJobCommandOutput
|
|
163
|
-
| StopEntitiesDetectionV2JobCommandOutput
|
|
164
|
-
| StopICD10CMInferenceJobCommandOutput
|
|
165
|
-
| StopPHIDetectionJobCommandOutput
|
|
166
|
-
| StopRxNormInferenceJobCommandOutput;
|
|
167
|
-
|
|
168
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
169
|
-
/**
|
|
170
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
171
|
-
*/
|
|
172
|
-
requestHandler?: __HttpHandler;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
176
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
177
|
-
* @internal
|
|
178
|
-
*/
|
|
179
|
-
sha256?: __HashConstructor;
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
183
|
-
* @internal
|
|
184
|
-
*/
|
|
185
|
-
urlParser?: __UrlParser;
|
|
186
|
-
|
|
187
|
-
/**
|
|
188
|
-
* A function that can calculate the length of a request body.
|
|
189
|
-
* @internal
|
|
190
|
-
*/
|
|
191
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* A function that converts a stream into an array of bytes.
|
|
195
|
-
* @internal
|
|
196
|
-
*/
|
|
197
|
-
streamCollector?: __StreamCollector;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
201
|
-
* @internal
|
|
202
|
-
*/
|
|
203
|
-
base64Decoder?: __Decoder;
|
|
204
|
-
|
|
205
|
-
/**
|
|
206
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
207
|
-
* @internal
|
|
208
|
-
*/
|
|
209
|
-
base64Encoder?: __Encoder;
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
213
|
-
* @internal
|
|
214
|
-
*/
|
|
215
|
-
utf8Decoder?: __Decoder;
|
|
216
|
-
|
|
217
|
-
/**
|
|
218
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
219
|
-
* @internal
|
|
220
|
-
*/
|
|
221
|
-
utf8Encoder?: __Encoder;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* The runtime environment.
|
|
225
|
-
* @internal
|
|
226
|
-
*/
|
|
227
|
-
runtime?: string;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
231
|
-
* trait of an operation.
|
|
232
|
-
*/
|
|
233
|
-
disableHostPrefix?: boolean;
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
237
|
-
*/
|
|
238
|
-
maxAttempts?: number | __Provider<number>;
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* Specifies which retry algorithm to use.
|
|
242
|
-
*/
|
|
243
|
-
retryMode?: string | __Provider<string>;
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* Optional logger for logging debug/info/warn/error.
|
|
247
|
-
*/
|
|
248
|
-
logger?: __Logger;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Unique service identifier.
|
|
252
|
-
* @internal
|
|
253
|
-
*/
|
|
254
|
-
serviceId?: string;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* The AWS region to which this client will send requests
|
|
258
|
-
*/
|
|
259
|
-
region?: string | __Provider<string>;
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Default credentials provider; Not available in browser runtime.
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
269
|
-
* @internal
|
|
270
|
-
*/
|
|
271
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
275
|
-
* @internal
|
|
276
|
-
*/
|
|
277
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
type ComprehendMedicalClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
281
|
-
ClientDefaults &
|
|
282
|
-
RegionInputConfig &
|
|
283
|
-
EndpointsInputConfig &
|
|
284
|
-
RetryInputConfig &
|
|
285
|
-
HostHeaderInputConfig &
|
|
286
|
-
AwsAuthInputConfig &
|
|
287
|
-
UserAgentInputConfig;
|
|
288
|
-
/**
|
|
289
|
-
* The configuration interface of ComprehendMedicalClient class constructor that set the region, credentials and other options.
|
|
290
|
-
*/
|
|
291
|
-
export interface ComprehendMedicalClientConfig extends ComprehendMedicalClientConfigType {}
|
|
292
|
-
|
|
293
|
-
type ComprehendMedicalClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
294
|
-
Required<ClientDefaults> &
|
|
295
|
-
RegionResolvedConfig &
|
|
296
|
-
EndpointsResolvedConfig &
|
|
297
|
-
RetryResolvedConfig &
|
|
298
|
-
HostHeaderResolvedConfig &
|
|
299
|
-
AwsAuthResolvedConfig &
|
|
300
|
-
UserAgentResolvedConfig;
|
|
301
|
-
/**
|
|
302
|
-
* The resolved configuration interface of ComprehendMedicalClient class. This is resolved and normalized from the {@link ComprehendMedicalClientConfig | constructor configuration interface}.
|
|
303
|
-
*/
|
|
304
|
-
export interface ComprehendMedicalClientResolvedConfig extends ComprehendMedicalClientResolvedConfigType {}
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* <p> Amazon Comprehend Medical extracts structured information from unstructured clinical text. Use these actions
|
|
308
|
-
* to gain insight in your documents. </p>
|
|
309
|
-
*/
|
|
310
|
-
export class ComprehendMedicalClient extends __Client<
|
|
311
|
-
__HttpHandlerOptions,
|
|
312
|
-
ServiceInputTypes,
|
|
313
|
-
ServiceOutputTypes,
|
|
314
|
-
ComprehendMedicalClientResolvedConfig
|
|
315
|
-
> {
|
|
316
|
-
/**
|
|
317
|
-
* The resolved configuration of ComprehendMedicalClient class. This is resolved and normalized from the {@link ComprehendMedicalClientConfig | constructor configuration interface}.
|
|
318
|
-
*/
|
|
319
|
-
readonly config: ComprehendMedicalClientResolvedConfig;
|
|
320
|
-
|
|
321
|
-
constructor(configuration: ComprehendMedicalClientConfig) {
|
|
322
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
323
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
324
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
325
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
326
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
327
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
328
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
329
|
-
super(_config_6);
|
|
330
|
-
this.config = _config_6;
|
|
331
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
332
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
333
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
334
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
335
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
336
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
341
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
342
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
343
|
-
*/
|
|
344
|
-
destroy(): void {
|
|
345
|
-
super.destroy();
|
|
346
|
-
}
|
|
347
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ComprehendMedicalClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ComprehendMedicalClient";
|
|
6
|
-
import { DescribeEntitiesDetectionV2JobRequest, DescribeEntitiesDetectionV2JobResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommand,
|
|
9
|
-
serializeAws_json1_1DescribeEntitiesDetectionV2JobCommand,
|
|
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 DescribeEntitiesDetectionV2JobCommandInput extends DescribeEntitiesDetectionV2JobRequest {}
|
|
25
|
-
export interface DescribeEntitiesDetectionV2JobCommandOutput
|
|
26
|
-
extends DescribeEntitiesDetectionV2JobResponse,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Gets the properties associated with a medical entities detection job. Use this operation
|
|
31
|
-
* to get the status of a detection 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, DescribeEntitiesDetectionV2JobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
36
|
-
* // const { ComprehendMedicalClient, DescribeEntitiesDetectionV2JobCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
37
|
-
* const client = new ComprehendMedicalClient(config);
|
|
38
|
-
* const command = new DescribeEntitiesDetectionV2JobCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DescribeEntitiesDetectionV2JobCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DescribeEntitiesDetectionV2JobCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link ComprehendMedicalClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DescribeEntitiesDetectionV2JobCommand extends $Command<
|
|
48
|
-
DescribeEntitiesDetectionV2JobCommandInput,
|
|
49
|
-
DescribeEntitiesDetectionV2JobCommandOutput,
|
|
50
|
-
ComprehendMedicalClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DescribeEntitiesDetectionV2JobCommandInput) {
|
|
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<DescribeEntitiesDetectionV2JobCommandInput, DescribeEntitiesDetectionV2JobCommandOutput> {
|
|
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 = "DescribeEntitiesDetectionV2JobCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DescribeEntitiesDetectionV2JobRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: DescribeEntitiesDetectionV2JobResponse.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(
|
|
92
|
-
input: DescribeEntitiesDetectionV2JobCommandInput,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_json1_1DescribeEntitiesDetectionV2JobCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
): Promise<DescribeEntitiesDetectionV2JobCommandOutput> {
|
|
102
|
-
return deserializeAws_json1_1DescribeEntitiesDetectionV2JobCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ComprehendMedicalClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ComprehendMedicalClient";
|
|
6
|
-
import { DescribeICD10CMInferenceJobRequest, DescribeICD10CMInferenceJobResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_json1_1DescribeICD10CMInferenceJobCommand,
|
|
9
|
-
serializeAws_json1_1DescribeICD10CMInferenceJobCommand,
|
|
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 DescribeICD10CMInferenceJobCommandInput extends DescribeICD10CMInferenceJobRequest {}
|
|
25
|
-
export interface DescribeICD10CMInferenceJobCommandOutput
|
|
26
|
-
extends DescribeICD10CMInferenceJobResponse,
|
|
27
|
-
__MetadataBearer {}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* <p>Gets the properties associated with an InferICD10CM job. Use this operation to get the
|
|
31
|
-
* status of an inference 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, DescribeICD10CMInferenceJobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
36
|
-
* // const { ComprehendMedicalClient, DescribeICD10CMInferenceJobCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
37
|
-
* const client = new ComprehendMedicalClient(config);
|
|
38
|
-
* const command = new DescribeICD10CMInferenceJobCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DescribeICD10CMInferenceJobCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DescribeICD10CMInferenceJobCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link ComprehendMedicalClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DescribeICD10CMInferenceJobCommand extends $Command<
|
|
48
|
-
DescribeICD10CMInferenceJobCommandInput,
|
|
49
|
-
DescribeICD10CMInferenceJobCommandOutput,
|
|
50
|
-
ComprehendMedicalClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DescribeICD10CMInferenceJobCommandInput) {
|
|
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<DescribeICD10CMInferenceJobCommandInput, DescribeICD10CMInferenceJobCommandOutput> {
|
|
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 = "DescribeICD10CMInferenceJobCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DescribeICD10CMInferenceJobRequest.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: DescribeICD10CMInferenceJobResponse.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: DescribeICD10CMInferenceJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_json1_1DescribeICD10CMInferenceJobCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<DescribeICD10CMInferenceJobCommandOutput> {
|
|
99
|
-
return deserializeAws_json1_1DescribeICD10CMInferenceJobCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ComprehendMedicalClientResolvedConfig,
|
|
3
|
-
ServiceInputTypes,
|
|
4
|
-
ServiceOutputTypes,
|
|
5
|
-
} from "../ComprehendMedicalClient";
|
|
6
|
-
import { DescribePHIDetectionJobRequest, DescribePHIDetectionJobResponse } from "../models/models_0";
|
|
7
|
-
import {
|
|
8
|
-
deserializeAws_json1_1DescribePHIDetectionJobCommand,
|
|
9
|
-
serializeAws_json1_1DescribePHIDetectionJobCommand,
|
|
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 DescribePHIDetectionJobCommandInput extends DescribePHIDetectionJobRequest {}
|
|
25
|
-
export interface DescribePHIDetectionJobCommandOutput extends DescribePHIDetectionJobResponse, __MetadataBearer {}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* <p>Gets the properties associated with a protected health information (PHI) detection job.
|
|
29
|
-
* Use this operation to get the status of a detection job.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ComprehendMedicalClient, DescribePHIDetectionJobCommand } from "@aws-sdk/client-comprehendmedical"; // ES Modules import
|
|
34
|
-
* // const { ComprehendMedicalClient, DescribePHIDetectionJobCommand } = require("@aws-sdk/client-comprehendmedical"); // CommonJS import
|
|
35
|
-
* const client = new ComprehendMedicalClient(config);
|
|
36
|
-
* const command = new DescribePHIDetectionJobCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link DescribePHIDetectionJobCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link DescribePHIDetectionJobCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ComprehendMedicalClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class DescribePHIDetectionJobCommand extends $Command<
|
|
46
|
-
DescribePHIDetectionJobCommandInput,
|
|
47
|
-
DescribePHIDetectionJobCommandOutput,
|
|
48
|
-
ComprehendMedicalClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: DescribePHIDetectionJobCommandInput) {
|
|
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<DescribePHIDetectionJobCommandInput, DescribePHIDetectionJobCommandOutput> {
|
|
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 = "DescribePHIDetectionJobCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: DescribePHIDetectionJobRequest.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: DescribePHIDetectionJobResponse.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: DescribePHIDetectionJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_json1_1DescribePHIDetectionJobCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribePHIDetectionJobCommandOutput> {
|
|
94
|
-
return deserializeAws_json1_1DescribePHIDetectionJobCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|