@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.
Files changed (39) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/ComprehendMedical.js +113 -106
  4. package/dist-es/ComprehendMedicalClient.js +28 -22
  5. package/dist-es/commands/DescribeEntitiesDetectionV2JobCommand.js +28 -21
  6. package/dist-es/commands/DescribeICD10CMInferenceJobCommand.js +28 -21
  7. package/dist-es/commands/DescribePHIDetectionJobCommand.js +28 -21
  8. package/dist-es/commands/DescribeRxNormInferenceJobCommand.js +28 -21
  9. package/dist-es/commands/DescribeSNOMEDCTInferenceJobCommand.js +28 -21
  10. package/dist-es/commands/DetectEntitiesCommand.js +28 -21
  11. package/dist-es/commands/DetectEntitiesV2Command.js +28 -21
  12. package/dist-es/commands/DetectPHICommand.js +28 -21
  13. package/dist-es/commands/InferICD10CMCommand.js +28 -21
  14. package/dist-es/commands/InferRxNormCommand.js +28 -21
  15. package/dist-es/commands/InferSNOMEDCTCommand.js +28 -21
  16. package/dist-es/commands/ListEntitiesDetectionV2JobsCommand.js +28 -21
  17. package/dist-es/commands/ListICD10CMInferenceJobsCommand.js +28 -21
  18. package/dist-es/commands/ListPHIDetectionJobsCommand.js +28 -21
  19. package/dist-es/commands/ListRxNormInferenceJobsCommand.js +28 -21
  20. package/dist-es/commands/ListSNOMEDCTInferenceJobsCommand.js +28 -21
  21. package/dist-es/commands/StartEntitiesDetectionV2JobCommand.js +28 -21
  22. package/dist-es/commands/StartICD10CMInferenceJobCommand.js +28 -21
  23. package/dist-es/commands/StartPHIDetectionJobCommand.js +28 -21
  24. package/dist-es/commands/StartRxNormInferenceJobCommand.js +28 -21
  25. package/dist-es/commands/StartSNOMEDCTInferenceJobCommand.js +28 -21
  26. package/dist-es/commands/StopEntitiesDetectionV2JobCommand.js +28 -21
  27. package/dist-es/commands/StopICD10CMInferenceJobCommand.js +28 -21
  28. package/dist-es/commands/StopPHIDetectionJobCommand.js +28 -21
  29. package/dist-es/commands/StopRxNormInferenceJobCommand.js +28 -21
  30. package/dist-es/commands/StopSNOMEDCTInferenceJobCommand.js +28 -21
  31. package/dist-es/endpoints.js +8 -8
  32. package/dist-es/models/ComprehendMedicalServiceException.js +10 -5
  33. package/dist-es/models/models_0.js +171 -318
  34. package/dist-es/protocols/Aws_json1_1.js +2299 -1767
  35. package/dist-es/runtimeConfig.browser.js +12 -26
  36. package/dist-es/runtimeConfig.js +12 -30
  37. package/dist-es/runtimeConfig.native.js +5 -8
  38. package/dist-es/runtimeConfig.shared.js +11 -8
  39. 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 { ListEntitiesDetectionV2JobsRequestFilterSensitiveLog, ListEntitiesDetectionV2JobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListEntitiesDetectionV2JobsCommand, serializeAws_json1_1ListEntitiesDetectionV2JobsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListEntitiesDetectionV2JobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEntitiesDetectionV2JobsCommand = (function (_super) {
7
+ __extends(ListEntitiesDetectionV2JobsCommand, _super);
8
+ function ListEntitiesDetectionV2JobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEntitiesDetectionV2JobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ComprehendMedicalClient";
15
- const commandName = "ListEntitiesDetectionV2JobsCommand";
16
- const handlerExecutionContext = {
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 = "ListEntitiesDetectionV2JobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEntitiesDetectionV2JobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListEntitiesDetectionV2JobsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListEntitiesDetectionV2JobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListEntitiesDetectionV2JobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEntitiesDetectionV2JobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListEntitiesDetectionV2JobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEntitiesDetectionV2JobsCommand;
38
+ }($Command));
39
+ export { ListEntitiesDetectionV2JobsCommand };
@@ -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 { ListICD10CMInferenceJobsRequestFilterSensitiveLog, ListICD10CMInferenceJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListICD10CMInferenceJobsCommand, serializeAws_json1_1ListICD10CMInferenceJobsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListICD10CMInferenceJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListICD10CMInferenceJobsCommand = (function (_super) {
7
+ __extends(ListICD10CMInferenceJobsCommand, _super);
8
+ function ListICD10CMInferenceJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListICD10CMInferenceJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ComprehendMedicalClient";
15
- const commandName = "ListICD10CMInferenceJobsCommand";
16
- const handlerExecutionContext = {
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 = "ListICD10CMInferenceJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListICD10CMInferenceJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListICD10CMInferenceJobsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListICD10CMInferenceJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListICD10CMInferenceJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListICD10CMInferenceJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListICD10CMInferenceJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListICD10CMInferenceJobsCommand;
38
+ }($Command));
39
+ export { ListICD10CMInferenceJobsCommand };
@@ -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 { ListPHIDetectionJobsRequestFilterSensitiveLog, ListPHIDetectionJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListPHIDetectionJobsCommand, serializeAws_json1_1ListPHIDetectionJobsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListPHIDetectionJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListPHIDetectionJobsCommand = (function (_super) {
7
+ __extends(ListPHIDetectionJobsCommand, _super);
8
+ function ListPHIDetectionJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListPHIDetectionJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ComprehendMedicalClient";
15
- const commandName = "ListPHIDetectionJobsCommand";
16
- const handlerExecutionContext = {
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 = "ListPHIDetectionJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListPHIDetectionJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListPHIDetectionJobsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListPHIDetectionJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListPHIDetectionJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListPHIDetectionJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListPHIDetectionJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListPHIDetectionJobsCommand;
38
+ }($Command));
39
+ export { ListPHIDetectionJobsCommand };
@@ -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 { ListRxNormInferenceJobsRequestFilterSensitiveLog, ListRxNormInferenceJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListRxNormInferenceJobsCommand, serializeAws_json1_1ListRxNormInferenceJobsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListRxNormInferenceJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRxNormInferenceJobsCommand = (function (_super) {
7
+ __extends(ListRxNormInferenceJobsCommand, _super);
8
+ function ListRxNormInferenceJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRxNormInferenceJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ComprehendMedicalClient";
15
- const commandName = "ListRxNormInferenceJobsCommand";
16
- const handlerExecutionContext = {
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 = "ListRxNormInferenceJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRxNormInferenceJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRxNormInferenceJobsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListRxNormInferenceJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListRxNormInferenceJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRxNormInferenceJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListRxNormInferenceJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRxNormInferenceJobsCommand;
38
+ }($Command));
39
+ export { ListRxNormInferenceJobsCommand };
@@ -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 { ListSNOMEDCTInferenceJobsRequestFilterSensitiveLog, ListSNOMEDCTInferenceJobsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommand, serializeAws_json1_1ListSNOMEDCTInferenceJobsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListSNOMEDCTInferenceJobsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListSNOMEDCTInferenceJobsCommand = (function (_super) {
7
+ __extends(ListSNOMEDCTInferenceJobsCommand, _super);
8
+ function ListSNOMEDCTInferenceJobsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListSNOMEDCTInferenceJobsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ComprehendMedicalClient";
15
- const commandName = "ListSNOMEDCTInferenceJobsCommand";
16
- const handlerExecutionContext = {
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 = "ListSNOMEDCTInferenceJobsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListSNOMEDCTInferenceJobsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListSNOMEDCTInferenceJobsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListSNOMEDCTInferenceJobsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListSNOMEDCTInferenceJobsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListSNOMEDCTInferenceJobsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListSNOMEDCTInferenceJobsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListSNOMEDCTInferenceJobsCommand;
38
+ }($Command));
39
+ export { ListSNOMEDCTInferenceJobsCommand };
@@ -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 { StartEntitiesDetectionV2JobRequestFilterSensitiveLog, StartEntitiesDetectionV2JobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StartEntitiesDetectionV2JobCommand, serializeAws_json1_1StartEntitiesDetectionV2JobCommand, } from "../protocols/Aws_json1_1";
5
- export class StartEntitiesDetectionV2JobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartEntitiesDetectionV2JobCommand = (function (_super) {
7
+ __extends(StartEntitiesDetectionV2JobCommand, _super);
8
+ function StartEntitiesDetectionV2JobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartEntitiesDetectionV2JobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ComprehendMedicalClient";
15
- const commandName = "StartEntitiesDetectionV2JobCommand";
16
- const handlerExecutionContext = {
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 = "StartEntitiesDetectionV2JobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartEntitiesDetectionV2JobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartEntitiesDetectionV2JobResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartEntitiesDetectionV2JobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StartEntitiesDetectionV2JobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartEntitiesDetectionV2JobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StartEntitiesDetectionV2JobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartEntitiesDetectionV2JobCommand;
38
+ }($Command));
39
+ export { StartEntitiesDetectionV2JobCommand };
@@ -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 { StartICD10CMInferenceJobRequestFilterSensitiveLog, StartICD10CMInferenceJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StartICD10CMInferenceJobCommand, serializeAws_json1_1StartICD10CMInferenceJobCommand, } from "../protocols/Aws_json1_1";
5
- export class StartICD10CMInferenceJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartICD10CMInferenceJobCommand = (function (_super) {
7
+ __extends(StartICD10CMInferenceJobCommand, _super);
8
+ function StartICD10CMInferenceJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartICD10CMInferenceJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ComprehendMedicalClient";
15
- const commandName = "StartICD10CMInferenceJobCommand";
16
- const handlerExecutionContext = {
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 = "StartICD10CMInferenceJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartICD10CMInferenceJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartICD10CMInferenceJobResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartICD10CMInferenceJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StartICD10CMInferenceJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartICD10CMInferenceJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StartICD10CMInferenceJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartICD10CMInferenceJobCommand;
38
+ }($Command));
39
+ export { StartICD10CMInferenceJobCommand };
@@ -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 { StartPHIDetectionJobRequestFilterSensitiveLog, StartPHIDetectionJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StartPHIDetectionJobCommand, serializeAws_json1_1StartPHIDetectionJobCommand, } from "../protocols/Aws_json1_1";
5
- export class StartPHIDetectionJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartPHIDetectionJobCommand = (function (_super) {
7
+ __extends(StartPHIDetectionJobCommand, _super);
8
+ function StartPHIDetectionJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartPHIDetectionJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ComprehendMedicalClient";
15
- const commandName = "StartPHIDetectionJobCommand";
16
- const handlerExecutionContext = {
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 = "StartPHIDetectionJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartPHIDetectionJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartPHIDetectionJobResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartPHIDetectionJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StartPHIDetectionJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartPHIDetectionJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StartPHIDetectionJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartPHIDetectionJobCommand;
38
+ }($Command));
39
+ export { StartPHIDetectionJobCommand };
@@ -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 { StartRxNormInferenceJobRequestFilterSensitiveLog, StartRxNormInferenceJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StartRxNormInferenceJobCommand, serializeAws_json1_1StartRxNormInferenceJobCommand, } from "../protocols/Aws_json1_1";
5
- export class StartRxNormInferenceJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartRxNormInferenceJobCommand = (function (_super) {
7
+ __extends(StartRxNormInferenceJobCommand, _super);
8
+ function StartRxNormInferenceJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartRxNormInferenceJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ComprehendMedicalClient";
15
- const commandName = "StartRxNormInferenceJobCommand";
16
- const handlerExecutionContext = {
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 = "StartRxNormInferenceJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartRxNormInferenceJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartRxNormInferenceJobResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartRxNormInferenceJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StartRxNormInferenceJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartRxNormInferenceJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StartRxNormInferenceJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartRxNormInferenceJobCommand;
38
+ }($Command));
39
+ export { StartRxNormInferenceJobCommand };
@@ -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 { StartSNOMEDCTInferenceJobRequestFilterSensitiveLog, StartSNOMEDCTInferenceJobResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1StartSNOMEDCTInferenceJobCommand, serializeAws_json1_1StartSNOMEDCTInferenceJobCommand, } from "../protocols/Aws_json1_1";
5
- export class StartSNOMEDCTInferenceJobCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StartSNOMEDCTInferenceJobCommand = (function (_super) {
7
+ __extends(StartSNOMEDCTInferenceJobCommand, _super);
8
+ function StartSNOMEDCTInferenceJobCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StartSNOMEDCTInferenceJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "ComprehendMedicalClient";
15
- const commandName = "StartSNOMEDCTInferenceJobCommand";
16
- const handlerExecutionContext = {
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 = "StartSNOMEDCTInferenceJobCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StartSNOMEDCTInferenceJobRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StartSNOMEDCTInferenceJobResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ StartSNOMEDCTInferenceJobCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1StartSNOMEDCTInferenceJobCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StartSNOMEDCTInferenceJobCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1StartSNOMEDCTInferenceJobCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StartSNOMEDCTInferenceJobCommand;
38
+ }($Command));
39
+ export { StartSNOMEDCTInferenceJobCommand };