@aws-sdk/client-comprehendmedical 3.478.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 +8 -8
@@ -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_StartRxNormInferenceJobCommand, se_StartRxNormInferenceJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StartRxNormInferenceJobCommand 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, StartRxNormInferenceJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "StartRxNormInferenceJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "StartRxNormInferenceJob",
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_StartRxNormInferenceJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartRxNormInferenceJobCommand(output, context);
46
- }
7
+ export class StartRxNormInferenceJobCommand 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", "StartRxNormInferenceJob", {})
19
+ .n("ComprehendMedicalClient", "StartRxNormInferenceJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartRxNormInferenceJobCommand)
22
+ .de(de_StartRxNormInferenceJobCommand)
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_StartSNOMEDCTInferenceJobCommand, se_StartSNOMEDCTInferenceJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StartSNOMEDCTInferenceJobCommand 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, StartSNOMEDCTInferenceJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "StartSNOMEDCTInferenceJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "StartSNOMEDCTInferenceJob",
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_StartSNOMEDCTInferenceJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartSNOMEDCTInferenceJobCommand(output, context);
46
- }
7
+ export class StartSNOMEDCTInferenceJobCommand 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", "StartSNOMEDCTInferenceJob", {})
19
+ .n("ComprehendMedicalClient", "StartSNOMEDCTInferenceJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartSNOMEDCTInferenceJobCommand)
22
+ .de(de_StartSNOMEDCTInferenceJobCommand)
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_StopEntitiesDetectionV2JobCommand, se_StopEntitiesDetectionV2JobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopEntitiesDetectionV2JobCommand 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, StopEntitiesDetectionV2JobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "StopEntitiesDetectionV2JobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "StopEntitiesDetectionV2Job",
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_StopEntitiesDetectionV2JobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopEntitiesDetectionV2JobCommand(output, context);
46
- }
7
+ export class StopEntitiesDetectionV2JobCommand 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", "StopEntitiesDetectionV2Job", {})
19
+ .n("ComprehendMedicalClient", "StopEntitiesDetectionV2JobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopEntitiesDetectionV2JobCommand)
22
+ .de(de_StopEntitiesDetectionV2JobCommand)
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_StopICD10CMInferenceJobCommand, se_StopICD10CMInferenceJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopICD10CMInferenceJobCommand 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, StopICD10CMInferenceJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "StopICD10CMInferenceJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "StopICD10CMInferenceJob",
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_StopICD10CMInferenceJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopICD10CMInferenceJobCommand(output, context);
46
- }
7
+ export class StopICD10CMInferenceJobCommand 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", "StopICD10CMInferenceJob", {})
19
+ .n("ComprehendMedicalClient", "StopICD10CMInferenceJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopICD10CMInferenceJobCommand)
22
+ .de(de_StopICD10CMInferenceJobCommand)
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_StopPHIDetectionJobCommand, se_StopPHIDetectionJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopPHIDetectionJobCommand 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, StopPHIDetectionJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "StopPHIDetectionJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "StopPHIDetectionJob",
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_StopPHIDetectionJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopPHIDetectionJobCommand(output, context);
46
- }
7
+ export class StopPHIDetectionJobCommand 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", "StopPHIDetectionJob", {})
19
+ .n("ComprehendMedicalClient", "StopPHIDetectionJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopPHIDetectionJobCommand)
22
+ .de(de_StopPHIDetectionJobCommand)
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_StopRxNormInferenceJobCommand, se_StopRxNormInferenceJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopRxNormInferenceJobCommand 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, StopRxNormInferenceJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "StopRxNormInferenceJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "StopRxNormInferenceJob",
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_StopRxNormInferenceJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopRxNormInferenceJobCommand(output, context);
46
- }
7
+ export class StopRxNormInferenceJobCommand 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", "StopRxNormInferenceJob", {})
19
+ .n("ComprehendMedicalClient", "StopRxNormInferenceJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopRxNormInferenceJobCommand)
22
+ .de(de_StopRxNormInferenceJobCommand)
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_StopSNOMEDCTInferenceJobCommand, se_StopSNOMEDCTInferenceJobCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class StopSNOMEDCTInferenceJobCommand 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, StopSNOMEDCTInferenceJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "ComprehendMedicalClient";
26
- const commandName = "StopSNOMEDCTInferenceJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "ComprehendMedical_20181030",
35
- operation: "StopSNOMEDCTInferenceJob",
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_StopSNOMEDCTInferenceJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StopSNOMEDCTInferenceJobCommand(output, context);
46
- }
7
+ export class StopSNOMEDCTInferenceJobCommand 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", "StopSNOMEDCTInferenceJob", {})
19
+ .n("ComprehendMedicalClient", "StopSNOMEDCTInferenceJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StopSNOMEDCTInferenceJobCommand)
22
+ .de(de_StopSNOMEDCTInferenceJobCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "comprehendmedical",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendMedicalClient";
5
4
  import { DescribeEntitiesDetectionV2JobRequest, DescribeEntitiesDetectionV2JobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeEntitiesDetectionV2JobCommandInput extends DescribeEnti
21
20
  */
22
21
  export interface DescribeEntitiesDetectionV2JobCommandOutput extends DescribeEntitiesDetectionV2JobResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeEntitiesDetectionV2JobCommand_base: {
24
+ new (input: DescribeEntitiesDetectionV2JobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeEntitiesDetectionV2JobCommandInput, DescribeEntitiesDetectionV2JobCommandOutput, ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the properties associated with a medical entities detection job. Use this operation
@@ -89,23 +92,5 @@ export interface DescribeEntitiesDetectionV2JobCommandOutput extends DescribeEnt
89
92
  * <p>Base exception class for all service exceptions from ComprehendMedical service.</p>
90
93
  *
91
94
  */
92
- export declare class DescribeEntitiesDetectionV2JobCommand extends $Command<DescribeEntitiesDetectionV2JobCommandInput, DescribeEntitiesDetectionV2JobCommandOutput, ComprehendMedicalClientResolvedConfig> {
93
- readonly input: DescribeEntitiesDetectionV2JobCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: DescribeEntitiesDetectionV2JobCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEntitiesDetectionV2JobCommandInput, DescribeEntitiesDetectionV2JobCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class DescribeEntitiesDetectionV2JobCommand extends DescribeEntitiesDetectionV2JobCommand_base {
111
96
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendMedicalClient";
5
4
  import { DescribeICD10CMInferenceJobRequest, DescribeICD10CMInferenceJobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribeICD10CMInferenceJobCommandInput extends DescribeICD10CM
21
20
  */
22
21
  export interface DescribeICD10CMInferenceJobCommandOutput extends DescribeICD10CMInferenceJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribeICD10CMInferenceJobCommand_base: {
24
+ new (input: DescribeICD10CMInferenceJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeICD10CMInferenceJobCommandInput, DescribeICD10CMInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the properties associated with an InferICD10CM job. Use this operation to get the
@@ -89,23 +92,5 @@ export interface DescribeICD10CMInferenceJobCommandOutput extends DescribeICD10C
89
92
  * <p>Base exception class for all service exceptions from ComprehendMedical service.</p>
90
93
  *
91
94
  */
92
- export declare class DescribeICD10CMInferenceJobCommand extends $Command<DescribeICD10CMInferenceJobCommandInput, DescribeICD10CMInferenceJobCommandOutput, ComprehendMedicalClientResolvedConfig> {
93
- readonly input: DescribeICD10CMInferenceJobCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: DescribeICD10CMInferenceJobCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeICD10CMInferenceJobCommandInput, DescribeICD10CMInferenceJobCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class DescribeICD10CMInferenceJobCommand extends DescribeICD10CMInferenceJobCommand_base {
111
96
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComprehendMedicalClient";
5
4
  import { DescribePHIDetectionJobRequest, DescribePHIDetectionJobResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DescribePHIDetectionJobCommandInput extends DescribePHIDetectio
21
20
  */
22
21
  export interface DescribePHIDetectionJobCommandOutput extends DescribePHIDetectionJobResponse, __MetadataBearer {
23
22
  }
23
+ declare const DescribePHIDetectionJobCommand_base: {
24
+ new (input: DescribePHIDetectionJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribePHIDetectionJobCommandInput, DescribePHIDetectionJobCommandOutput, ComprehendMedicalClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Gets the properties associated with a protected health information (PHI) detection job.
@@ -89,23 +92,5 @@ export interface DescribePHIDetectionJobCommandOutput extends DescribePHIDetecti
89
92
  * <p>Base exception class for all service exceptions from ComprehendMedical service.</p>
90
93
  *
91
94
  */
92
- export declare class DescribePHIDetectionJobCommand extends $Command<DescribePHIDetectionJobCommandInput, DescribePHIDetectionJobCommandOutput, ComprehendMedicalClientResolvedConfig> {
93
- readonly input: DescribePHIDetectionJobCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: DescribePHIDetectionJobCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ComprehendMedicalClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribePHIDetectionJobCommandInput, DescribePHIDetectionJobCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class DescribePHIDetectionJobCommand extends DescribePHIDetectionJobCommand_base {
111
96
  }