@aws-sdk/client-healthlake 3.478.0 → 3.484.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 (57) hide show
  1. package/dist-cjs/commands/CreateFHIRDatastoreCommand.js +18 -41
  2. package/dist-cjs/commands/DeleteFHIRDatastoreCommand.js +18 -41
  3. package/dist-cjs/commands/DescribeFHIRDatastoreCommand.js +18 -41
  4. package/dist-cjs/commands/DescribeFHIRExportJobCommand.js +18 -41
  5. package/dist-cjs/commands/DescribeFHIRImportJobCommand.js +18 -41
  6. package/dist-cjs/commands/ListFHIRDatastoresCommand.js +18 -41
  7. package/dist-cjs/commands/ListFHIRExportJobsCommand.js +18 -41
  8. package/dist-cjs/commands/ListFHIRImportJobsCommand.js +18 -41
  9. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  10. package/dist-cjs/commands/StartFHIRExportJobCommand.js +18 -41
  11. package/dist-cjs/commands/StartFHIRImportJobCommand.js +18 -41
  12. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  13. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  14. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  15. package/dist-es/commands/CreateFHIRDatastoreCommand.js +18 -41
  16. package/dist-es/commands/DeleteFHIRDatastoreCommand.js +18 -41
  17. package/dist-es/commands/DescribeFHIRDatastoreCommand.js +18 -41
  18. package/dist-es/commands/DescribeFHIRExportJobCommand.js +18 -41
  19. package/dist-es/commands/DescribeFHIRImportJobCommand.js +18 -41
  20. package/dist-es/commands/ListFHIRDatastoresCommand.js +18 -41
  21. package/dist-es/commands/ListFHIRExportJobsCommand.js +18 -41
  22. package/dist-es/commands/ListFHIRImportJobsCommand.js +18 -41
  23. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  24. package/dist-es/commands/StartFHIRExportJobCommand.js +18 -41
  25. package/dist-es/commands/StartFHIRImportJobCommand.js +18 -41
  26. package/dist-es/commands/TagResourceCommand.js +18 -41
  27. package/dist-es/commands/UntagResourceCommand.js +18 -41
  28. package/dist-es/endpoint/EndpointParameters.js +6 -0
  29. package/dist-types/commands/CreateFHIRDatastoreCommand.d.ts +6 -21
  30. package/dist-types/commands/DeleteFHIRDatastoreCommand.d.ts +6 -21
  31. package/dist-types/commands/DescribeFHIRDatastoreCommand.d.ts +6 -21
  32. package/dist-types/commands/DescribeFHIRExportJobCommand.d.ts +6 -21
  33. package/dist-types/commands/DescribeFHIRImportJobCommand.d.ts +6 -21
  34. package/dist-types/commands/ListFHIRDatastoresCommand.d.ts +6 -21
  35. package/dist-types/commands/ListFHIRExportJobsCommand.d.ts +6 -21
  36. package/dist-types/commands/ListFHIRImportJobsCommand.d.ts +6 -21
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  38. package/dist-types/commands/StartFHIRExportJobCommand.d.ts +6 -21
  39. package/dist-types/commands/StartFHIRImportJobCommand.d.ts +6 -21
  40. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  41. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  42. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  43. package/dist-types/ts3.4/commands/CreateFHIRDatastoreCommand.d.ts +14 -23
  44. package/dist-types/ts3.4/commands/DeleteFHIRDatastoreCommand.d.ts +14 -23
  45. package/dist-types/ts3.4/commands/DescribeFHIRDatastoreCommand.d.ts +12 -24
  46. package/dist-types/ts3.4/commands/DescribeFHIRExportJobCommand.d.ts +12 -24
  47. package/dist-types/ts3.4/commands/DescribeFHIRImportJobCommand.d.ts +12 -24
  48. package/dist-types/ts3.4/commands/ListFHIRDatastoresCommand.d.ts +14 -23
  49. package/dist-types/ts3.4/commands/ListFHIRExportJobsCommand.d.ts +14 -23
  50. package/dist-types/ts3.4/commands/ListFHIRImportJobsCommand.d.ts +14 -23
  51. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  52. package/dist-types/ts3.4/commands/StartFHIRExportJobCommand.d.ts +14 -23
  53. package/dist-types/ts3.4/commands/StartFHIRImportJobCommand.d.ts +14 -23
  54. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  55. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  56. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  57. package/package.json +11 -11
@@ -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_ListFHIRDatastoresCommand, se_ListFHIRDatastoresCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class ListFHIRDatastoresCommand 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, ListFHIRDatastoresCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "HealthLakeClient";
26
- const commandName = "ListFHIRDatastoresCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "HealthLake",
35
- operation: "ListFHIRDatastores",
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_ListFHIRDatastoresCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListFHIRDatastoresCommand(output, context);
46
- }
7
+ export class ListFHIRDatastoresCommand 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("HealthLake", "ListFHIRDatastores", {})
19
+ .n("HealthLakeClient", "ListFHIRDatastoresCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListFHIRDatastoresCommand)
22
+ .de(de_ListFHIRDatastoresCommand)
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_ListFHIRExportJobsCommand, se_ListFHIRExportJobsCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class ListFHIRExportJobsCommand 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, ListFHIRExportJobsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "HealthLakeClient";
26
- const commandName = "ListFHIRExportJobsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "HealthLake",
35
- operation: "ListFHIRExportJobs",
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_ListFHIRExportJobsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListFHIRExportJobsCommand(output, context);
46
- }
7
+ export class ListFHIRExportJobsCommand 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("HealthLake", "ListFHIRExportJobs", {})
19
+ .n("HealthLakeClient", "ListFHIRExportJobsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListFHIRExportJobsCommand)
22
+ .de(de_ListFHIRExportJobsCommand)
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_ListFHIRImportJobsCommand, se_ListFHIRImportJobsCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class ListFHIRImportJobsCommand 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, ListFHIRImportJobsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "HealthLakeClient";
26
- const commandName = "ListFHIRImportJobsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "HealthLake",
35
- operation: "ListFHIRImportJobs",
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_ListFHIRImportJobsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListFHIRImportJobsCommand(output, context);
46
- }
7
+ export class ListFHIRImportJobsCommand 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("HealthLake", "ListFHIRImportJobs", {})
19
+ .n("HealthLakeClient", "ListFHIRImportJobsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListFHIRImportJobsCommand)
22
+ .de(de_ListFHIRImportJobsCommand)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "HealthLakeClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "HealthLake",
35
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand 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("HealthLake", "ListTagsForResource", {})
19
+ .n("HealthLakeClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
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_StartFHIRExportJobCommand, se_StartFHIRExportJobCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class StartFHIRExportJobCommand 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, StartFHIRExportJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "HealthLakeClient";
26
- const commandName = "StartFHIRExportJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "HealthLake",
35
- operation: "StartFHIRExportJob",
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_StartFHIRExportJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartFHIRExportJobCommand(output, context);
46
- }
7
+ export class StartFHIRExportJobCommand 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("HealthLake", "StartFHIRExportJob", {})
19
+ .n("HealthLakeClient", "StartFHIRExportJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartFHIRExportJobCommand)
22
+ .de(de_StartFHIRExportJobCommand)
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_StartFHIRImportJobCommand, se_StartFHIRImportJobCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class StartFHIRImportJobCommand 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, StartFHIRImportJobCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "HealthLakeClient";
26
- const commandName = "StartFHIRImportJobCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "HealthLake",
35
- operation: "StartFHIRImportJob",
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_StartFHIRImportJobCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartFHIRImportJobCommand(output, context);
46
- }
7
+ export class StartFHIRImportJobCommand 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("HealthLake", "StartFHIRImportJob", {})
19
+ .n("HealthLakeClient", "StartFHIRImportJobCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartFHIRImportJobCommand)
22
+ .de(de_StartFHIRImportJobCommand)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class TagResourceCommand 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, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "HealthLakeClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "HealthLake",
35
- operation: "TagResource",
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_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand 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("HealthLake", "TagResource", {})
19
+ .n("HealthLakeClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class UntagResourceCommand 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, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "HealthLakeClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "HealthLake",
35
- operation: "UntagResource",
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_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand 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("HealthLake", "UntagResource", {})
19
+ .n("HealthLakeClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "healthlake",
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 { HealthLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthLakeClient";
5
4
  import { CreateFHIRDatastoreRequest, CreateFHIRDatastoreResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateFHIRDatastoreCommandInput extends CreateFHIRDatastoreRequ
21
20
  */
22
21
  export interface CreateFHIRDatastoreCommandOutput extends CreateFHIRDatastoreResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateFHIRDatastoreCommand_base: {
24
+ new (input: CreateFHIRDatastoreCommandInput): import("@smithy/smithy-client").CommandImpl<CreateFHIRDatastoreCommandInput, CreateFHIRDatastoreCommandOutput, HealthLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a data store that can ingest and export FHIR formatted data.</p>
@@ -89,23 +92,5 @@ export interface CreateFHIRDatastoreCommandOutput extends CreateFHIRDatastoreRes
89
92
  * <p>Base exception class for all service exceptions from HealthLake service.</p>
90
93
  *
91
94
  */
92
- export declare class CreateFHIRDatastoreCommand extends $Command<CreateFHIRDatastoreCommandInput, CreateFHIRDatastoreCommandOutput, HealthLakeClientResolvedConfig> {
93
- readonly input: CreateFHIRDatastoreCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: CreateFHIRDatastoreCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: HealthLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateFHIRDatastoreCommandInput, CreateFHIRDatastoreCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class CreateFHIRDatastoreCommand extends CreateFHIRDatastoreCommand_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 { HealthLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../HealthLakeClient";
5
4
  import { DeleteFHIRDatastoreRequest, DeleteFHIRDatastoreResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteFHIRDatastoreCommandInput extends DeleteFHIRDatastoreRequ
21
20
  */
22
21
  export interface DeleteFHIRDatastoreCommandOutput extends DeleteFHIRDatastoreResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteFHIRDatastoreCommand_base: {
24
+ new (input: DeleteFHIRDatastoreCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteFHIRDatastoreCommandInput, DeleteFHIRDatastoreCommandOutput, HealthLakeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a data store. </p>
@@ -72,23 +75,5 @@ export interface DeleteFHIRDatastoreCommandOutput extends DeleteFHIRDatastoreRes
72
75
  * <p>Base exception class for all service exceptions from HealthLake service.</p>
73
76
  *
74
77
  */
75
- export declare class DeleteFHIRDatastoreCommand extends $Command<DeleteFHIRDatastoreCommandInput, DeleteFHIRDatastoreCommandOutput, HealthLakeClientResolvedConfig> {
76
- readonly input: DeleteFHIRDatastoreCommandInput;
77
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
78
- /**
79
- * @public
80
- */
81
- constructor(input: DeleteFHIRDatastoreCommandInput);
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: HealthLakeClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteFHIRDatastoreCommandInput, DeleteFHIRDatastoreCommandOutput>;
86
- /**
87
- * @internal
88
- */
89
- private serialize;
90
- /**
91
- * @internal
92
- */
93
- private deserialize;
78
+ export declare class DeleteFHIRDatastoreCommand extends DeleteFHIRDatastoreCommand_base {
94
79
  }