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