@aws-sdk/client-comprehendmedical 3.477.0 → 3.481.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 (109) hide show
  1. package/dist-cjs/commands/DescribeEntitiesDetectionV2JobCommand.js +18 -41
  2. package/dist-cjs/commands/DescribeICD10CMInferenceJobCommand.js +18 -41
  3. package/dist-cjs/commands/DescribePHIDetectionJobCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeRxNormInferenceJobCommand.js +18 -41
  5. package/dist-cjs/commands/DescribeSNOMEDCTInferenceJobCommand.js +18 -41
  6. package/dist-cjs/commands/DetectEntitiesCommand.js +18 -41
  7. package/dist-cjs/commands/DetectEntitiesV2Command.js +18 -41
  8. package/dist-cjs/commands/DetectPHICommand.js +18 -41
  9. package/dist-cjs/commands/InferICD10CMCommand.js +18 -41
  10. package/dist-cjs/commands/InferRxNormCommand.js +18 -41
  11. package/dist-cjs/commands/InferSNOMEDCTCommand.js +18 -41
  12. package/dist-cjs/commands/ListEntitiesDetectionV2JobsCommand.js +18 -41
  13. package/dist-cjs/commands/ListICD10CMInferenceJobsCommand.js +18 -41
  14. package/dist-cjs/commands/ListPHIDetectionJobsCommand.js +18 -41
  15. package/dist-cjs/commands/ListRxNormInferenceJobsCommand.js +18 -41
  16. package/dist-cjs/commands/ListSNOMEDCTInferenceJobsCommand.js +18 -41
  17. package/dist-cjs/commands/StartEntitiesDetectionV2JobCommand.js +18 -41
  18. package/dist-cjs/commands/StartICD10CMInferenceJobCommand.js +18 -41
  19. package/dist-cjs/commands/StartPHIDetectionJobCommand.js +18 -41
  20. package/dist-cjs/commands/StartRxNormInferenceJobCommand.js +18 -41
  21. package/dist-cjs/commands/StartSNOMEDCTInferenceJobCommand.js +18 -41
  22. package/dist-cjs/commands/StopEntitiesDetectionV2JobCommand.js +18 -41
  23. package/dist-cjs/commands/StopICD10CMInferenceJobCommand.js +18 -41
  24. package/dist-cjs/commands/StopPHIDetectionJobCommand.js +18 -41
  25. package/dist-cjs/commands/StopRxNormInferenceJobCommand.js +18 -41
  26. package/dist-cjs/commands/StopSNOMEDCTInferenceJobCommand.js +18 -41
  27. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  28. package/dist-es/commands/DescribeEntitiesDetectionV2JobCommand.js +18 -41
  29. package/dist-es/commands/DescribeICD10CMInferenceJobCommand.js +18 -41
  30. package/dist-es/commands/DescribePHIDetectionJobCommand.js +18 -41
  31. package/dist-es/commands/DescribeRxNormInferenceJobCommand.js +18 -41
  32. package/dist-es/commands/DescribeSNOMEDCTInferenceJobCommand.js +18 -41
  33. package/dist-es/commands/DetectEntitiesCommand.js +18 -41
  34. package/dist-es/commands/DetectEntitiesV2Command.js +18 -41
  35. package/dist-es/commands/DetectPHICommand.js +18 -41
  36. package/dist-es/commands/InferICD10CMCommand.js +18 -41
  37. package/dist-es/commands/InferRxNormCommand.js +18 -41
  38. package/dist-es/commands/InferSNOMEDCTCommand.js +18 -41
  39. package/dist-es/commands/ListEntitiesDetectionV2JobsCommand.js +18 -41
  40. package/dist-es/commands/ListICD10CMInferenceJobsCommand.js +18 -41
  41. package/dist-es/commands/ListPHIDetectionJobsCommand.js +18 -41
  42. package/dist-es/commands/ListRxNormInferenceJobsCommand.js +18 -41
  43. package/dist-es/commands/ListSNOMEDCTInferenceJobsCommand.js +18 -41
  44. package/dist-es/commands/StartEntitiesDetectionV2JobCommand.js +18 -41
  45. package/dist-es/commands/StartICD10CMInferenceJobCommand.js +18 -41
  46. package/dist-es/commands/StartPHIDetectionJobCommand.js +18 -41
  47. package/dist-es/commands/StartRxNormInferenceJobCommand.js +18 -41
  48. package/dist-es/commands/StartSNOMEDCTInferenceJobCommand.js +18 -41
  49. package/dist-es/commands/StopEntitiesDetectionV2JobCommand.js +18 -41
  50. package/dist-es/commands/StopICD10CMInferenceJobCommand.js +18 -41
  51. package/dist-es/commands/StopPHIDetectionJobCommand.js +18 -41
  52. package/dist-es/commands/StopRxNormInferenceJobCommand.js +18 -41
  53. package/dist-es/commands/StopSNOMEDCTInferenceJobCommand.js +18 -41
  54. package/dist-es/endpoint/EndpointParameters.js +6 -0
  55. package/dist-types/commands/DescribeEntitiesDetectionV2JobCommand.d.ts +6 -21
  56. package/dist-types/commands/DescribeICD10CMInferenceJobCommand.d.ts +6 -21
  57. package/dist-types/commands/DescribePHIDetectionJobCommand.d.ts +6 -21
  58. package/dist-types/commands/DescribeRxNormInferenceJobCommand.d.ts +6 -21
  59. package/dist-types/commands/DescribeSNOMEDCTInferenceJobCommand.d.ts +6 -21
  60. package/dist-types/commands/DetectEntitiesCommand.d.ts +6 -21
  61. package/dist-types/commands/DetectEntitiesV2Command.d.ts +6 -21
  62. package/dist-types/commands/DetectPHICommand.d.ts +6 -21
  63. package/dist-types/commands/InferICD10CMCommand.d.ts +6 -21
  64. package/dist-types/commands/InferRxNormCommand.d.ts +6 -21
  65. package/dist-types/commands/InferSNOMEDCTCommand.d.ts +6 -21
  66. package/dist-types/commands/ListEntitiesDetectionV2JobsCommand.d.ts +6 -21
  67. package/dist-types/commands/ListICD10CMInferenceJobsCommand.d.ts +6 -21
  68. package/dist-types/commands/ListPHIDetectionJobsCommand.d.ts +6 -21
  69. package/dist-types/commands/ListRxNormInferenceJobsCommand.d.ts +6 -21
  70. package/dist-types/commands/ListSNOMEDCTInferenceJobsCommand.d.ts +6 -21
  71. package/dist-types/commands/StartEntitiesDetectionV2JobCommand.d.ts +6 -21
  72. package/dist-types/commands/StartICD10CMInferenceJobCommand.d.ts +6 -21
  73. package/dist-types/commands/StartPHIDetectionJobCommand.d.ts +6 -21
  74. package/dist-types/commands/StartRxNormInferenceJobCommand.d.ts +6 -21
  75. package/dist-types/commands/StartSNOMEDCTInferenceJobCommand.d.ts +6 -21
  76. package/dist-types/commands/StopEntitiesDetectionV2JobCommand.d.ts +6 -21
  77. package/dist-types/commands/StopICD10CMInferenceJobCommand.d.ts +6 -21
  78. package/dist-types/commands/StopPHIDetectionJobCommand.d.ts +6 -21
  79. package/dist-types/commands/StopRxNormInferenceJobCommand.d.ts +6 -21
  80. package/dist-types/commands/StopSNOMEDCTInferenceJobCommand.d.ts +6 -21
  81. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  82. package/dist-types/ts3.4/commands/DescribeEntitiesDetectionV2JobCommand.d.ts +12 -24
  83. package/dist-types/ts3.4/commands/DescribeICD10CMInferenceJobCommand.d.ts +12 -24
  84. package/dist-types/ts3.4/commands/DescribePHIDetectionJobCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/DescribeRxNormInferenceJobCommand.d.ts +12 -24
  86. package/dist-types/ts3.4/commands/DescribeSNOMEDCTInferenceJobCommand.d.ts +12 -24
  87. package/dist-types/ts3.4/commands/DetectEntitiesCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/DetectEntitiesV2Command.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/DetectPHICommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/InferICD10CMCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/InferRxNormCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/InferSNOMEDCTCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/ListEntitiesDetectionV2JobsCommand.d.ts +12 -24
  94. package/dist-types/ts3.4/commands/ListICD10CMInferenceJobsCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/ListPHIDetectionJobsCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/ListRxNormInferenceJobsCommand.d.ts +12 -24
  97. package/dist-types/ts3.4/commands/ListSNOMEDCTInferenceJobsCommand.d.ts +12 -24
  98. package/dist-types/ts3.4/commands/StartEntitiesDetectionV2JobCommand.d.ts +12 -24
  99. package/dist-types/ts3.4/commands/StartICD10CMInferenceJobCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/commands/StartPHIDetectionJobCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/StartRxNormInferenceJobCommand.d.ts +12 -24
  102. package/dist-types/ts3.4/commands/StartSNOMEDCTInferenceJobCommand.d.ts +12 -24
  103. package/dist-types/ts3.4/commands/StopEntitiesDetectionV2JobCommand.d.ts +12 -24
  104. package/dist-types/ts3.4/commands/StopICD10CMInferenceJobCommand.d.ts +12 -24
  105. package/dist-types/ts3.4/commands/StopPHIDetectionJobCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/StopRxNormInferenceJobCommand.d.ts +12 -24
  107. package/dist-types/ts3.4/commands/StopSNOMEDCTInferenceJobCommand.d.ts +12 -24
  108. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  109. package/package.json +10 -10
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeICD10CMInferenceJobCommand, se_DescribeICD10CMInferenceJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeICD10CMInferenceJobCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeICD10CMInferenceJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "DescribeICD10CMInferenceJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "DescribeICD10CMInferenceJob",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeICD10CMInferenceJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeICD10CMInferenceJobCommand(output, context);
46
- }
7
+ export class DescribeICD10CMInferenceJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComprehendMedical_20181030", "DescribeICD10CMInferenceJob", {})
19
+ .n("ComprehendMedicalClient", "DescribeICD10CMInferenceJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeICD10CMInferenceJobCommand)
22
+ .de(de_DescribeICD10CMInferenceJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribePHIDetectionJobCommand, se_DescribePHIDetectionJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribePHIDetectionJobCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribePHIDetectionJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "DescribePHIDetectionJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "DescribePHIDetectionJob",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribePHIDetectionJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribePHIDetectionJobCommand(output, context);
46
- }
7
+ export class DescribePHIDetectionJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComprehendMedical_20181030", "DescribePHIDetectionJob", {})
19
+ .n("ComprehendMedicalClient", "DescribePHIDetectionJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribePHIDetectionJobCommand)
22
+ .de(de_DescribePHIDetectionJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeRxNormInferenceJobCommand, se_DescribeRxNormInferenceJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeRxNormInferenceJobCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeRxNormInferenceJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "DescribeRxNormInferenceJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "DescribeRxNormInferenceJob",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeRxNormInferenceJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeRxNormInferenceJobCommand(output, context);
46
- }
7
+ export class DescribeRxNormInferenceJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComprehendMedical_20181030", "DescribeRxNormInferenceJob", {})
19
+ .n("ComprehendMedicalClient", "DescribeRxNormInferenceJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeRxNormInferenceJobCommand)
22
+ .de(de_DescribeRxNormInferenceJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeSNOMEDCTInferenceJobCommand, se_DescribeSNOMEDCTInferenceJobCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeSNOMEDCTInferenceJobCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeSNOMEDCTInferenceJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "DescribeSNOMEDCTInferenceJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "DescribeSNOMEDCTInferenceJob",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeSNOMEDCTInferenceJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeSNOMEDCTInferenceJobCommand(output, context);
46
- }
7
+ export class DescribeSNOMEDCTInferenceJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComprehendMedical_20181030", "DescribeSNOMEDCTInferenceJob", {})
19
+ .n("ComprehendMedicalClient", "DescribeSNOMEDCTInferenceJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeSNOMEDCTInferenceJobCommand)
22
+ .de(de_DescribeSNOMEDCTInferenceJobCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DetectEntitiesCommand, se_DetectEntitiesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DetectEntitiesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DetectEntitiesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "DetectEntitiesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "DetectEntities",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DetectEntitiesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DetectEntitiesCommand(output, context);
46
- }
7
+ export class DetectEntitiesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComprehendMedical_20181030", "DetectEntities", {})
19
+ .n("ComprehendMedicalClient", "DetectEntitiesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DetectEntitiesCommand)
22
+ .de(de_DetectEntitiesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DetectEntitiesV2Command, se_DetectEntitiesV2Command } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DetectEntitiesV2Command extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DetectEntitiesV2Command.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "DetectEntitiesV2Command";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "DetectEntitiesV2",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DetectEntitiesV2Command(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DetectEntitiesV2Command(output, context);
46
- }
7
+ export class DetectEntitiesV2Command extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComprehendMedical_20181030", "DetectEntitiesV2", {})
19
+ .n("ComprehendMedicalClient", "DetectEntitiesV2Command")
20
+ .f(void 0, void 0)
21
+ .ser(se_DetectEntitiesV2Command)
22
+ .de(de_DetectEntitiesV2Command)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DetectPHICommand, se_DetectPHICommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DetectPHICommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DetectPHICommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "DetectPHICommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "DetectPHI",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DetectPHICommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DetectPHICommand(output, context);
46
- }
7
+ export class DetectPHICommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComprehendMedical_20181030", "DetectPHI", {})
19
+ .n("ComprehendMedicalClient", "DetectPHICommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DetectPHICommand)
22
+ .de(de_DetectPHICommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_InferICD10CMCommand, se_InferICD10CMCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class InferICD10CMCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, InferICD10CMCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "InferICD10CMCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "InferICD10CM",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_InferICD10CMCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_InferICD10CMCommand(output, context);
46
- }
7
+ export class InferICD10CMCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComprehendMedical_20181030", "InferICD10CM", {})
19
+ .n("ComprehendMedicalClient", "InferICD10CMCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_InferICD10CMCommand)
22
+ .de(de_InferICD10CMCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_InferRxNormCommand, se_InferRxNormCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class InferRxNormCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, InferRxNormCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "InferRxNormCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "InferRxNorm",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_InferRxNormCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_InferRxNormCommand(output, context);
46
- }
7
+ export class InferRxNormCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ComprehendMedical_20181030", "InferRxNorm", {})
19
+ .n("ComprehendMedicalClient", "InferRxNormCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_InferRxNormCommand)
22
+ .de(de_InferRxNormCommand)
23
+ .build() {
47
24
  }