@aws-sdk/client-comprehendmedical 3.28.0 → 3.32.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 +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +37 -35
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +38 -36
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +42 -37
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehendmedical
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehendmedical
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehendmedical
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @aws-sdk/client-comprehendmedical
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
|
|
7
39
|
|
|
8
40
|
|
package/dist/cjs/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-comprehendmedical",
|
|
3
3
|
"description": "AWS SDK for JavaScript Comprehendmedical Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,39 +27,39 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0",
|
|
59
59
|
"uuid": "^8.3.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
62
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
63
63
|
"@types/node": "^12.7.5",
|
|
64
64
|
"@types/uuid": "^8.3.0",
|
|
65
65
|
"downlevel-dts": "0.7.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"rimraf": "^3.0.0",
|
|
68
68
|
"ts-jest": "^26.4.1",
|
|
69
69
|
"typedoc": "^0.19.2",
|
|
70
|
-
"typescript": "~4.3.
|
|
70
|
+
"typescript": "~4.3.5"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=10.0.0"
|
|
@@ -2038,13 +2038,13 @@ const serializeAws_json1_1StopRxNormInferenceJobRequest = (input, context) => {
|
|
|
2038
2038
|
};
|
|
2039
2039
|
const deserializeAws_json1_1Attribute = (output, context) => {
|
|
2040
2040
|
return {
|
|
2041
|
-
BeginOffset: smithy_client_1.
|
|
2041
|
+
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
2042
2042
|
Category: smithy_client_1.expectString(output.Category),
|
|
2043
|
-
EndOffset: smithy_client_1.
|
|
2044
|
-
Id: smithy_client_1.
|
|
2045
|
-
RelationshipScore: smithy_client_1.
|
|
2043
|
+
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
2044
|
+
Id: smithy_client_1.expectInt32(output.Id),
|
|
2045
|
+
RelationshipScore: smithy_client_1.limitedParseFloat32(output.RelationshipScore),
|
|
2046
2046
|
RelationshipType: smithy_client_1.expectString(output.RelationshipType),
|
|
2047
|
-
Score: smithy_client_1.
|
|
2047
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2048
2048
|
Text: smithy_client_1.expectString(output.Text),
|
|
2049
2049
|
Traits: output.Traits !== undefined && output.Traits !== null
|
|
2050
2050
|
? deserializeAws_json1_1TraitList(output.Traits, context)
|
|
@@ -2065,9 +2065,11 @@ const deserializeAws_json1_1AttributeList = (output, context) => {
|
|
|
2065
2065
|
const deserializeAws_json1_1ComprehendMedicalAsyncJobProperties = (output, context) => {
|
|
2066
2066
|
return {
|
|
2067
2067
|
DataAccessRoleArn: smithy_client_1.expectString(output.DataAccessRoleArn),
|
|
2068
|
-
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
2068
|
+
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
2069
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
2070
|
+
: undefined,
|
|
2069
2071
|
ExpirationTime: output.ExpirationTime !== undefined && output.ExpirationTime !== null
|
|
2070
|
-
?
|
|
2072
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ExpirationTime)))
|
|
2071
2073
|
: undefined,
|
|
2072
2074
|
InputDataConfig: output.InputDataConfig !== undefined && output.InputDataConfig !== null
|
|
2073
2075
|
? deserializeAws_json1_1InputDataConfig(output.InputDataConfig, context)
|
|
@@ -2084,7 +2086,7 @@ const deserializeAws_json1_1ComprehendMedicalAsyncJobProperties = (output, conte
|
|
|
2084
2086
|
? deserializeAws_json1_1OutputDataConfig(output.OutputDataConfig, context)
|
|
2085
2087
|
: undefined,
|
|
2086
2088
|
SubmitTime: output.SubmitTime !== undefined && output.SubmitTime !== null
|
|
2087
|
-
?
|
|
2089
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.SubmitTime)))
|
|
2088
2090
|
: undefined,
|
|
2089
2091
|
};
|
|
2090
2092
|
};
|
|
@@ -2164,11 +2166,11 @@ const deserializeAws_json1_1Entity = (output, context) => {
|
|
|
2164
2166
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
2165
2167
|
? deserializeAws_json1_1AttributeList(output.Attributes, context)
|
|
2166
2168
|
: undefined,
|
|
2167
|
-
BeginOffset: smithy_client_1.
|
|
2169
|
+
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
2168
2170
|
Category: smithy_client_1.expectString(output.Category),
|
|
2169
|
-
EndOffset: smithy_client_1.
|
|
2170
|
-
Id: smithy_client_1.
|
|
2171
|
-
Score: smithy_client_1.
|
|
2171
|
+
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
2172
|
+
Id: smithy_client_1.expectInt32(output.Id),
|
|
2173
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2172
2174
|
Text: smithy_client_1.expectString(output.Text),
|
|
2173
2175
|
Traits: output.Traits !== undefined && output.Traits !== null
|
|
2174
2176
|
? deserializeAws_json1_1TraitList(output.Traits, context)
|
|
@@ -2188,13 +2190,13 @@ const deserializeAws_json1_1EntityList = (output, context) => {
|
|
|
2188
2190
|
};
|
|
2189
2191
|
const deserializeAws_json1_1ICD10CMAttribute = (output, context) => {
|
|
2190
2192
|
return {
|
|
2191
|
-
BeginOffset: smithy_client_1.
|
|
2193
|
+
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
2192
2194
|
Category: smithy_client_1.expectString(output.Category),
|
|
2193
|
-
EndOffset: smithy_client_1.
|
|
2194
|
-
Id: smithy_client_1.
|
|
2195
|
-
RelationshipScore: smithy_client_1.
|
|
2195
|
+
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
2196
|
+
Id: smithy_client_1.expectInt32(output.Id),
|
|
2197
|
+
RelationshipScore: smithy_client_1.limitedParseFloat32(output.RelationshipScore),
|
|
2196
2198
|
RelationshipType: smithy_client_1.expectString(output.RelationshipType),
|
|
2197
|
-
Score: smithy_client_1.
|
|
2199
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2198
2200
|
Text: smithy_client_1.expectString(output.Text),
|
|
2199
2201
|
Traits: output.Traits !== undefined && output.Traits !== null
|
|
2200
2202
|
? deserializeAws_json1_1ICD10CMTraitList(output.Traits, context)
|
|
@@ -2216,7 +2218,7 @@ const deserializeAws_json1_1ICD10CMConcept = (output, context) => {
|
|
|
2216
2218
|
return {
|
|
2217
2219
|
Code: smithy_client_1.expectString(output.Code),
|
|
2218
2220
|
Description: smithy_client_1.expectString(output.Description),
|
|
2219
|
-
Score: smithy_client_1.
|
|
2221
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2220
2222
|
};
|
|
2221
2223
|
};
|
|
2222
2224
|
const deserializeAws_json1_1ICD10CMConceptList = (output, context) => {
|
|
@@ -2234,14 +2236,14 @@ const deserializeAws_json1_1ICD10CMEntity = (output, context) => {
|
|
|
2234
2236
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
2235
2237
|
? deserializeAws_json1_1ICD10CMAttributeList(output.Attributes, context)
|
|
2236
2238
|
: undefined,
|
|
2237
|
-
BeginOffset: smithy_client_1.
|
|
2239
|
+
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
2238
2240
|
Category: smithy_client_1.expectString(output.Category),
|
|
2239
|
-
EndOffset: smithy_client_1.
|
|
2241
|
+
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
2240
2242
|
ICD10CMConcepts: output.ICD10CMConcepts !== undefined && output.ICD10CMConcepts !== null
|
|
2241
2243
|
? deserializeAws_json1_1ICD10CMConceptList(output.ICD10CMConcepts, context)
|
|
2242
2244
|
: undefined,
|
|
2243
|
-
Id: smithy_client_1.
|
|
2244
|
-
Score: smithy_client_1.
|
|
2245
|
+
Id: smithy_client_1.expectInt32(output.Id),
|
|
2246
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2245
2247
|
Text: smithy_client_1.expectString(output.Text),
|
|
2246
2248
|
Traits: output.Traits !== undefined && output.Traits !== null
|
|
2247
2249
|
? deserializeAws_json1_1ICD10CMTraitList(output.Traits, context)
|
|
@@ -2262,7 +2264,7 @@ const deserializeAws_json1_1ICD10CMEntityList = (output, context) => {
|
|
|
2262
2264
|
const deserializeAws_json1_1ICD10CMTrait = (output, context) => {
|
|
2263
2265
|
return {
|
|
2264
2266
|
Name: smithy_client_1.expectString(output.Name),
|
|
2265
|
-
Score: smithy_client_1.
|
|
2267
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2266
2268
|
};
|
|
2267
2269
|
};
|
|
2268
2270
|
const deserializeAws_json1_1ICD10CMTraitList = (output, context) => {
|
|
@@ -2363,11 +2365,11 @@ const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
|
2363
2365
|
};
|
|
2364
2366
|
const deserializeAws_json1_1RxNormAttribute = (output, context) => {
|
|
2365
2367
|
return {
|
|
2366
|
-
BeginOffset: smithy_client_1.
|
|
2367
|
-
EndOffset: smithy_client_1.
|
|
2368
|
-
Id: smithy_client_1.
|
|
2369
|
-
RelationshipScore: smithy_client_1.
|
|
2370
|
-
Score: smithy_client_1.
|
|
2368
|
+
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
2369
|
+
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
2370
|
+
Id: smithy_client_1.expectInt32(output.Id),
|
|
2371
|
+
RelationshipScore: smithy_client_1.limitedParseFloat32(output.RelationshipScore),
|
|
2372
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2371
2373
|
Text: smithy_client_1.expectString(output.Text),
|
|
2372
2374
|
Traits: output.Traits !== undefined && output.Traits !== null
|
|
2373
2375
|
? deserializeAws_json1_1RxNormTraitList(output.Traits, context)
|
|
@@ -2389,7 +2391,7 @@ const deserializeAws_json1_1RxNormConcept = (output, context) => {
|
|
|
2389
2391
|
return {
|
|
2390
2392
|
Code: smithy_client_1.expectString(output.Code),
|
|
2391
2393
|
Description: smithy_client_1.expectString(output.Description),
|
|
2392
|
-
Score: smithy_client_1.
|
|
2394
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2393
2395
|
};
|
|
2394
2396
|
};
|
|
2395
2397
|
const deserializeAws_json1_1RxNormConceptList = (output, context) => {
|
|
@@ -2407,14 +2409,14 @@ const deserializeAws_json1_1RxNormEntity = (output, context) => {
|
|
|
2407
2409
|
Attributes: output.Attributes !== undefined && output.Attributes !== null
|
|
2408
2410
|
? deserializeAws_json1_1RxNormAttributeList(output.Attributes, context)
|
|
2409
2411
|
: undefined,
|
|
2410
|
-
BeginOffset: smithy_client_1.
|
|
2412
|
+
BeginOffset: smithy_client_1.expectInt32(output.BeginOffset),
|
|
2411
2413
|
Category: smithy_client_1.expectString(output.Category),
|
|
2412
|
-
EndOffset: smithy_client_1.
|
|
2413
|
-
Id: smithy_client_1.
|
|
2414
|
+
EndOffset: smithy_client_1.expectInt32(output.EndOffset),
|
|
2415
|
+
Id: smithy_client_1.expectInt32(output.Id),
|
|
2414
2416
|
RxNormConcepts: output.RxNormConcepts !== undefined && output.RxNormConcepts !== null
|
|
2415
2417
|
? deserializeAws_json1_1RxNormConceptList(output.RxNormConcepts, context)
|
|
2416
2418
|
: undefined,
|
|
2417
|
-
Score: smithy_client_1.
|
|
2419
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2418
2420
|
Text: smithy_client_1.expectString(output.Text),
|
|
2419
2421
|
Traits: output.Traits !== undefined && output.Traits !== null
|
|
2420
2422
|
? deserializeAws_json1_1RxNormTraitList(output.Traits, context)
|
|
@@ -2435,7 +2437,7 @@ const deserializeAws_json1_1RxNormEntityList = (output, context) => {
|
|
|
2435
2437
|
const deserializeAws_json1_1RxNormTrait = (output, context) => {
|
|
2436
2438
|
return {
|
|
2437
2439
|
Name: smithy_client_1.expectString(output.Name),
|
|
2438
|
-
Score: smithy_client_1.
|
|
2440
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2439
2441
|
};
|
|
2440
2442
|
};
|
|
2441
2443
|
const deserializeAws_json1_1RxNormTraitList = (output, context) => {
|
|
@@ -2506,7 +2508,7 @@ const deserializeAws_json1_1TooManyRequestsException = (output, context) => {
|
|
|
2506
2508
|
const deserializeAws_json1_1Trait = (output, context) => {
|
|
2507
2509
|
return {
|
|
2508
2510
|
Name: smithy_client_1.expectString(output.Name),
|
|
2509
|
-
Score: smithy_client_1.
|
|
2511
|
+
Score: smithy_client_1.limitedParseFloat32(output.Score),
|
|
2510
2512
|
};
|
|
2511
2513
|
};
|
|
2512
2514
|
const deserializeAws_json1_1TraitList = (output, context) => {
|