@aws-sdk/client-comprehendmedical 3.926.0 → 3.928.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/dist-cjs/index.js +897 -1360
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/ComprehendMedicalClient.js +2 -0
- package/dist-es/commands/DescribeEntitiesDetectionV2JobCommand.js +3 -9
- package/dist-es/commands/DescribeICD10CMInferenceJobCommand.js +3 -9
- package/dist-es/commands/DescribePHIDetectionJobCommand.js +3 -9
- package/dist-es/commands/DescribeRxNormInferenceJobCommand.js +3 -9
- package/dist-es/commands/DescribeSNOMEDCTInferenceJobCommand.js +3 -9
- package/dist-es/commands/DetectEntitiesCommand.js +3 -9
- package/dist-es/commands/DetectEntitiesV2Command.js +3 -9
- package/dist-es/commands/DetectPHICommand.js +3 -9
- package/dist-es/commands/InferICD10CMCommand.js +3 -9
- package/dist-es/commands/InferRxNormCommand.js +3 -9
- package/dist-es/commands/InferSNOMEDCTCommand.js +3 -9
- package/dist-es/commands/ListEntitiesDetectionV2JobsCommand.js +3 -9
- package/dist-es/commands/ListICD10CMInferenceJobsCommand.js +3 -9
- package/dist-es/commands/ListPHIDetectionJobsCommand.js +3 -9
- package/dist-es/commands/ListRxNormInferenceJobsCommand.js +3 -9
- package/dist-es/commands/ListSNOMEDCTInferenceJobsCommand.js +3 -9
- package/dist-es/commands/StartEntitiesDetectionV2JobCommand.js +3 -9
- package/dist-es/commands/StartICD10CMInferenceJobCommand.js +3 -9
- package/dist-es/commands/StartPHIDetectionJobCommand.js +3 -9
- package/dist-es/commands/StartRxNormInferenceJobCommand.js +3 -9
- package/dist-es/commands/StartSNOMEDCTInferenceJobCommand.js +3 -9
- package/dist-es/commands/StopEntitiesDetectionV2JobCommand.js +3 -9
- package/dist-es/commands/StopICD10CMInferenceJobCommand.js +3 -9
- package/dist-es/commands/StopPHIDetectionJobCommand.js +3 -9
- package/dist-es/commands/StopRxNormInferenceJobCommand.js +3 -9
- package/dist-es/commands/StopSNOMEDCTInferenceJobCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +820 -0
- package/dist-types/ComprehendMedicalClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +128 -0
- package/dist-types/ts3.4/ComprehendMedicalClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +133 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -1158
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -236
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -317
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopICD10CMInferenceJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopICD10CMInferenceJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComprehendMedical_20181030", "StopICD10CMInferenceJob", {})
|
|
17
13
|
.n("ComprehendMedicalClient", "StopICD10CMInferenceJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopICD10CMInferenceJobCommand)
|
|
20
|
-
.de(de_StopICD10CMInferenceJobCommand)
|
|
14
|
+
.sc(StopICD10CMInferenceJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopPHIDetectionJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopPHIDetectionJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComprehendMedical_20181030", "StopPHIDetectionJob", {})
|
|
17
13
|
.n("ComprehendMedicalClient", "StopPHIDetectionJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopPHIDetectionJobCommand)
|
|
20
|
-
.de(de_StopPHIDetectionJobCommand)
|
|
14
|
+
.sc(StopPHIDetectionJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopRxNormInferenceJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopRxNormInferenceJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComprehendMedical_20181030", "StopRxNormInferenceJob", {})
|
|
17
13
|
.n("ComprehendMedicalClient", "StopRxNormInferenceJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopRxNormInferenceJobCommand)
|
|
20
|
-
.de(de_StopRxNormInferenceJobCommand)
|
|
14
|
+
.sc(StopRxNormInferenceJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { StopSNOMEDCTInferenceJob } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class StopSNOMEDCTInferenceJobCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("ComprehendMedical_20181030", "StopSNOMEDCTInferenceJob", {})
|
|
17
13
|
.n("ComprehendMedicalClient", "StopSNOMEDCTInferenceJobCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_StopSNOMEDCTInferenceJobCommand)
|
|
20
|
-
.de(de_StopSNOMEDCTInferenceJobCommand)
|
|
14
|
+
.sc(StopSNOMEDCTInferenceJob)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.comprehendmedical",
|
|
29
|
+
serviceTarget: "ComprehendMedical_20181030",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "ComprehendMedical",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|