@aws-sdk/client-comprehendmedical 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/ComprehendMedical.js +113 -106
- package/dist-es/ComprehendMedicalClient.js +28 -22
- package/dist-es/commands/DescribeEntitiesDetectionV2JobCommand.js +28 -21
- package/dist-es/commands/DescribeICD10CMInferenceJobCommand.js +28 -21
- package/dist-es/commands/DescribePHIDetectionJobCommand.js +28 -21
- package/dist-es/commands/DescribeRxNormInferenceJobCommand.js +28 -21
- package/dist-es/commands/DescribeSNOMEDCTInferenceJobCommand.js +28 -21
- package/dist-es/commands/DetectEntitiesCommand.js +28 -21
- package/dist-es/commands/DetectEntitiesV2Command.js +28 -21
- package/dist-es/commands/DetectPHICommand.js +28 -21
- package/dist-es/commands/InferICD10CMCommand.js +28 -21
- package/dist-es/commands/InferRxNormCommand.js +28 -21
- package/dist-es/commands/InferSNOMEDCTCommand.js +28 -21
- package/dist-es/commands/ListEntitiesDetectionV2JobsCommand.js +28 -21
- package/dist-es/commands/ListICD10CMInferenceJobsCommand.js +28 -21
- package/dist-es/commands/ListPHIDetectionJobsCommand.js +28 -21
- package/dist-es/commands/ListRxNormInferenceJobsCommand.js +28 -21
- package/dist-es/commands/ListSNOMEDCTInferenceJobsCommand.js +28 -21
- package/dist-es/commands/StartEntitiesDetectionV2JobCommand.js +28 -21
- package/dist-es/commands/StartICD10CMInferenceJobCommand.js +28 -21
- package/dist-es/commands/StartPHIDetectionJobCommand.js +28 -21
- package/dist-es/commands/StartRxNormInferenceJobCommand.js +28 -21
- package/dist-es/commands/StartSNOMEDCTInferenceJobCommand.js +28 -21
- package/dist-es/commands/StopEntitiesDetectionV2JobCommand.js +28 -21
- package/dist-es/commands/StopICD10CMInferenceJobCommand.js +28 -21
- package/dist-es/commands/StopPHIDetectionJobCommand.js +28 -21
- package/dist-es/commands/StopRxNormInferenceJobCommand.js +28 -21
- package/dist-es/commands/StopSNOMEDCTInferenceJobCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/ComprehendMedicalServiceException.js +10 -5
- package/dist-es/models/models_0.js +171 -318
- package/dist-es/protocols/Aws_json1_1.js +2299 -1767
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopEntitiesDetectionV2JobRequestFilterSensitiveLog, StopEntitiesDetectionV2JobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StopEntitiesDetectionV2JobCommand, serializeAws_json1_1StopEntitiesDetectionV2JobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopEntitiesDetectionV2JobCommand = (function (_super) {
|
|
7
|
+
__extends(StopEntitiesDetectionV2JobCommand, _super);
|
|
8
|
+
function StopEntitiesDetectionV2JobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopEntitiesDetectionV2JobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendMedicalClient";
|
|
18
|
+
var commandName = "StopEntitiesDetectionV2JobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopEntitiesDetectionV2JobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StopEntitiesDetectionV2JobResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StopEntitiesDetectionV2JobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StopEntitiesDetectionV2JobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopEntitiesDetectionV2JobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StopEntitiesDetectionV2JobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopEntitiesDetectionV2JobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopEntitiesDetectionV2JobCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopICD10CMInferenceJobRequestFilterSensitiveLog, StopICD10CMInferenceJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StopICD10CMInferenceJobCommand, serializeAws_json1_1StopICD10CMInferenceJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopICD10CMInferenceJobCommand = (function (_super) {
|
|
7
|
+
__extends(StopICD10CMInferenceJobCommand, _super);
|
|
8
|
+
function StopICD10CMInferenceJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopICD10CMInferenceJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendMedicalClient";
|
|
18
|
+
var commandName = "StopICD10CMInferenceJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopICD10CMInferenceJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StopICD10CMInferenceJobResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StopICD10CMInferenceJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StopICD10CMInferenceJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopICD10CMInferenceJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StopICD10CMInferenceJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopICD10CMInferenceJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopICD10CMInferenceJobCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopPHIDetectionJobRequestFilterSensitiveLog, StopPHIDetectionJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StopPHIDetectionJobCommand, serializeAws_json1_1StopPHIDetectionJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopPHIDetectionJobCommand = (function (_super) {
|
|
7
|
+
__extends(StopPHIDetectionJobCommand, _super);
|
|
8
|
+
function StopPHIDetectionJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopPHIDetectionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendMedicalClient";
|
|
18
|
+
var commandName = "StopPHIDetectionJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopPHIDetectionJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StopPHIDetectionJobResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StopPHIDetectionJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StopPHIDetectionJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopPHIDetectionJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StopPHIDetectionJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopPHIDetectionJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopPHIDetectionJobCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopRxNormInferenceJobRequestFilterSensitiveLog, StopRxNormInferenceJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StopRxNormInferenceJobCommand, serializeAws_json1_1StopRxNormInferenceJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopRxNormInferenceJobCommand = (function (_super) {
|
|
7
|
+
__extends(StopRxNormInferenceJobCommand, _super);
|
|
8
|
+
function StopRxNormInferenceJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopRxNormInferenceJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendMedicalClient";
|
|
18
|
+
var commandName = "StopRxNormInferenceJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopRxNormInferenceJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StopRxNormInferenceJobResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StopRxNormInferenceJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StopRxNormInferenceJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopRxNormInferenceJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StopRxNormInferenceJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopRxNormInferenceJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopRxNormInferenceJobCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { StopSNOMEDCTInferenceJobRequestFilterSensitiveLog, StopSNOMEDCTInferenceJobResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_1StopSNOMEDCTInferenceJobCommand, serializeAws_json1_1StopSNOMEDCTInferenceJobCommand, } from "../protocols/Aws_json1_1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var StopSNOMEDCTInferenceJobCommand = (function (_super) {
|
|
7
|
+
__extends(StopSNOMEDCTInferenceJobCommand, _super);
|
|
8
|
+
function StopSNOMEDCTInferenceJobCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
StopSNOMEDCTInferenceJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ComprehendMedicalClient";
|
|
18
|
+
var commandName = "StopSNOMEDCTInferenceJobCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: StopSNOMEDCTInferenceJobRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: StopSNOMEDCTInferenceJobResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StopSNOMEDCTInferenceJobCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_1StopSNOMEDCTInferenceJobCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
StopSNOMEDCTInferenceJobCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_1StopSNOMEDCTInferenceJobCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return StopSNOMEDCTInferenceJobCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StopSNOMEDCTInferenceJobCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"us-east-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -33,7 +34,7 @@ const regionHash = {
|
|
|
33
34
|
],
|
|
34
35
|
},
|
|
35
36
|
};
|
|
36
|
-
|
|
37
|
+
var partitionHash = {
|
|
37
38
|
aws: {
|
|
38
39
|
regions: [
|
|
39
40
|
"af-south-1",
|
|
@@ -156,9 +157,8 @@ const partitionHash = {
|
|
|
156
157
|
],
|
|
157
158
|
},
|
|
158
159
|
};
|
|
159
|
-
export
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
});
|
|
160
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
161
|
+
return __generator(this, function (_a) {
|
|
162
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "comprehendmedical", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
163
|
+
});
|
|
164
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var ComprehendMedicalServiceException = (function (_super) {
|
|
4
|
+
__extends(ComprehendMedicalServiceException, _super);
|
|
5
|
+
function ComprehendMedicalServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, ComprehendMedicalServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return ComprehendMedicalServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { ComprehendMedicalServiceException };
|