@aws-sdk/client-dax 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 (89) hide show
  1. package/dist-cjs/commands/CreateClusterCommand.js +18 -41
  2. package/dist-cjs/commands/CreateParameterGroupCommand.js +18 -41
  3. package/dist-cjs/commands/CreateSubnetGroupCommand.js +18 -41
  4. package/dist-cjs/commands/DecreaseReplicationFactorCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteParameterGroupCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteSubnetGroupCommand.js +18 -41
  8. package/dist-cjs/commands/DescribeClustersCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeDefaultParametersCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeEventsCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeParameterGroupsCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeParametersCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +18 -41
  14. package/dist-cjs/commands/IncreaseReplicationFactorCommand.js +18 -41
  15. package/dist-cjs/commands/ListTagsCommand.js +18 -41
  16. package/dist-cjs/commands/RebootNodeCommand.js +18 -41
  17. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  18. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  19. package/dist-cjs/commands/UpdateClusterCommand.js +18 -41
  20. package/dist-cjs/commands/UpdateParameterGroupCommand.js +18 -41
  21. package/dist-cjs/commands/UpdateSubnetGroupCommand.js +18 -41
  22. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  23. package/dist-es/commands/CreateClusterCommand.js +18 -41
  24. package/dist-es/commands/CreateParameterGroupCommand.js +18 -41
  25. package/dist-es/commands/CreateSubnetGroupCommand.js +18 -41
  26. package/dist-es/commands/DecreaseReplicationFactorCommand.js +18 -41
  27. package/dist-es/commands/DeleteClusterCommand.js +18 -41
  28. package/dist-es/commands/DeleteParameterGroupCommand.js +18 -41
  29. package/dist-es/commands/DeleteSubnetGroupCommand.js +18 -41
  30. package/dist-es/commands/DescribeClustersCommand.js +18 -41
  31. package/dist-es/commands/DescribeDefaultParametersCommand.js +18 -41
  32. package/dist-es/commands/DescribeEventsCommand.js +18 -41
  33. package/dist-es/commands/DescribeParameterGroupsCommand.js +18 -41
  34. package/dist-es/commands/DescribeParametersCommand.js +18 -41
  35. package/dist-es/commands/DescribeSubnetGroupsCommand.js +18 -41
  36. package/dist-es/commands/IncreaseReplicationFactorCommand.js +18 -41
  37. package/dist-es/commands/ListTagsCommand.js +18 -41
  38. package/dist-es/commands/RebootNodeCommand.js +18 -41
  39. package/dist-es/commands/TagResourceCommand.js +18 -41
  40. package/dist-es/commands/UntagResourceCommand.js +18 -41
  41. package/dist-es/commands/UpdateClusterCommand.js +18 -41
  42. package/dist-es/commands/UpdateParameterGroupCommand.js +18 -41
  43. package/dist-es/commands/UpdateSubnetGroupCommand.js +18 -41
  44. package/dist-es/endpoint/EndpointParameters.js +6 -0
  45. package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
  46. package/dist-types/commands/CreateParameterGroupCommand.d.ts +6 -21
  47. package/dist-types/commands/CreateSubnetGroupCommand.d.ts +6 -21
  48. package/dist-types/commands/DecreaseReplicationFactorCommand.d.ts +6 -21
  49. package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
  50. package/dist-types/commands/DeleteParameterGroupCommand.d.ts +6 -21
  51. package/dist-types/commands/DeleteSubnetGroupCommand.d.ts +6 -21
  52. package/dist-types/commands/DescribeClustersCommand.d.ts +6 -21
  53. package/dist-types/commands/DescribeDefaultParametersCommand.d.ts +6 -21
  54. package/dist-types/commands/DescribeEventsCommand.d.ts +6 -21
  55. package/dist-types/commands/DescribeParameterGroupsCommand.d.ts +6 -21
  56. package/dist-types/commands/DescribeParametersCommand.d.ts +6 -21
  57. package/dist-types/commands/DescribeSubnetGroupsCommand.d.ts +6 -21
  58. package/dist-types/commands/IncreaseReplicationFactorCommand.d.ts +6 -21
  59. package/dist-types/commands/ListTagsCommand.d.ts +6 -21
  60. package/dist-types/commands/RebootNodeCommand.d.ts +6 -21
  61. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  62. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  63. package/dist-types/commands/UpdateClusterCommand.d.ts +6 -21
  64. package/dist-types/commands/UpdateParameterGroupCommand.d.ts +6 -21
  65. package/dist-types/commands/UpdateSubnetGroupCommand.d.ts +6 -21
  66. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  67. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
  68. package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +12 -24
  69. package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +14 -23
  70. package/dist-types/ts3.4/commands/DecreaseReplicationFactorCommand.d.ts +12 -24
  71. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +12 -24
  73. package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/DescribeDefaultParametersCommand.d.ts +12 -24
  76. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +12 -24
  78. package/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +12 -24
  80. package/dist-types/ts3.4/commands/IncreaseReplicationFactorCommand.d.ts +12 -24
  81. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/RebootNodeCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +12 -24
  87. package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  89. 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_RebootNodeCommand, se_RebootNodeCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class RebootNodeCommand 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, RebootNodeCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DAXClient";
26
- const commandName = "RebootNodeCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonDAXV3",
35
- operation: "RebootNode",
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_RebootNodeCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_RebootNodeCommand(output, context);
46
- }
7
+ export class RebootNodeCommand 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("AmazonDAXV3", "RebootNode", {})
19
+ .n("DAXClient", "RebootNodeCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_RebootNodeCommand)
22
+ .de(de_RebootNodeCommand)
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_1";
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 = "DAXClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonDAXV3",
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("AmazonDAXV3", "TagResource", {})
19
+ .n("DAXClient", "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_1";
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 = "DAXClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonDAXV3",
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("AmazonDAXV3", "UntagResource", {})
19
+ .n("DAXClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
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_UpdateClusterCommand, se_UpdateClusterCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateClusterCommand 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, UpdateClusterCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DAXClient";
26
- const commandName = "UpdateClusterCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonDAXV3",
35
- operation: "UpdateCluster",
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_UpdateClusterCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateClusterCommand(output, context);
46
- }
7
+ export class UpdateClusterCommand 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("AmazonDAXV3", "UpdateCluster", {})
19
+ .n("DAXClient", "UpdateClusterCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateClusterCommand)
22
+ .de(de_UpdateClusterCommand)
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_UpdateParameterGroupCommand, se_UpdateParameterGroupCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateParameterGroupCommand 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, UpdateParameterGroupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DAXClient";
26
- const commandName = "UpdateParameterGroupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonDAXV3",
35
- operation: "UpdateParameterGroup",
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_UpdateParameterGroupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateParameterGroupCommand(output, context);
46
- }
7
+ export class UpdateParameterGroupCommand 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("AmazonDAXV3", "UpdateParameterGroup", {})
19
+ .n("DAXClient", "UpdateParameterGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateParameterGroupCommand)
22
+ .de(de_UpdateParameterGroupCommand)
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_UpdateSubnetGroupCommand, se_UpdateSubnetGroupCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class UpdateSubnetGroupCommand 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, UpdateSubnetGroupCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "DAXClient";
26
- const commandName = "UpdateSubnetGroupCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AmazonDAXV3",
35
- operation: "UpdateSubnetGroup",
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_UpdateSubnetGroupCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateSubnetGroupCommand(output, context);
46
- }
7
+ export class UpdateSubnetGroupCommand 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("AmazonDAXV3", "UpdateSubnetGroup", {})
19
+ .n("DAXClient", "UpdateSubnetGroupCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateSubnetGroupCommand)
22
+ .de(de_UpdateSubnetGroupCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "dax",
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 { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
5
4
  import { CreateClusterRequest, CreateClusterResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateClusterCommandInput extends CreateClusterRequest {
21
20
  */
22
21
  export interface CreateClusterCommandOutput extends CreateClusterResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateClusterCommand_base: {
24
+ new (input: CreateClusterCommandInput): import("@smithy/smithy-client").CommandImpl<CreateClusterCommandInput, CreateClusterCommandOutput, DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a DAX cluster. All nodes in the cluster run the same DAX caching software.</p>
@@ -182,23 +185,5 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
182
185
  * <p>Base exception class for all service exceptions from DAX service.</p>
183
186
  *
184
187
  */
185
- export declare class CreateClusterCommand extends $Command<CreateClusterCommandInput, CreateClusterCommandOutput, DAXClientResolvedConfig> {
186
- readonly input: CreateClusterCommandInput;
187
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
188
- /**
189
- * @public
190
- */
191
- constructor(input: CreateClusterCommandInput);
192
- /**
193
- * @internal
194
- */
195
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateClusterCommandInput, CreateClusterCommandOutput>;
196
- /**
197
- * @internal
198
- */
199
- private serialize;
200
- /**
201
- * @internal
202
- */
203
- private deserialize;
188
+ export declare class CreateClusterCommand extends CreateClusterCommand_base {
204
189
  }
@@ -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 { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
5
4
  import { CreateParameterGroupRequest, CreateParameterGroupResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateParameterGroupCommandInput extends CreateParameterGroupRe
21
20
  */
22
21
  export interface CreateParameterGroupCommandOutput extends CreateParameterGroupResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateParameterGroupCommand_base: {
24
+ new (input: CreateParameterGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateParameterGroupCommandInput, CreateParameterGroupCommandOutput, DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new parameter group. A parameter group is a collection of parameters that
@@ -74,23 +77,5 @@ export interface CreateParameterGroupCommandOutput extends CreateParameterGroupR
74
77
  * <p>Base exception class for all service exceptions from DAX service.</p>
75
78
  *
76
79
  */
77
- export declare class CreateParameterGroupCommand extends $Command<CreateParameterGroupCommandInput, CreateParameterGroupCommandOutput, DAXClientResolvedConfig> {
78
- readonly input: CreateParameterGroupCommandInput;
79
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
80
- /**
81
- * @public
82
- */
83
- constructor(input: CreateParameterGroupCommandInput);
84
- /**
85
- * @internal
86
- */
87
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateParameterGroupCommandInput, CreateParameterGroupCommandOutput>;
88
- /**
89
- * @internal
90
- */
91
- private serialize;
92
- /**
93
- * @internal
94
- */
95
- private deserialize;
80
+ export declare class CreateParameterGroupCommand extends CreateParameterGroupCommand_base {
96
81
  }
@@ -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 { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
5
4
  import { CreateSubnetGroupRequest, CreateSubnetGroupResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateSubnetGroupCommandInput extends CreateSubnetGroupRequest
21
20
  */
22
21
  export interface CreateSubnetGroupCommandOutput extends CreateSubnetGroupResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateSubnetGroupCommand_base: {
24
+ new (input: CreateSubnetGroupCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSubnetGroupCommandInput, CreateSubnetGroupCommandOutput, DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new subnet group.</p>
@@ -82,23 +85,5 @@ export interface CreateSubnetGroupCommandOutput extends CreateSubnetGroupRespons
82
85
  * <p>Base exception class for all service exceptions from DAX service.</p>
83
86
  *
84
87
  */
85
- export declare class CreateSubnetGroupCommand extends $Command<CreateSubnetGroupCommandInput, CreateSubnetGroupCommandOutput, DAXClientResolvedConfig> {
86
- readonly input: CreateSubnetGroupCommandInput;
87
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
88
- /**
89
- * @public
90
- */
91
- constructor(input: CreateSubnetGroupCommandInput);
92
- /**
93
- * @internal
94
- */
95
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSubnetGroupCommandInput, CreateSubnetGroupCommandOutput>;
96
- /**
97
- * @internal
98
- */
99
- private serialize;
100
- /**
101
- * @internal
102
- */
103
- private deserialize;
88
+ export declare class CreateSubnetGroupCommand extends CreateSubnetGroupCommand_base {
104
89
  }
@@ -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 { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
5
4
  import { DecreaseReplicationFactorRequest, DecreaseReplicationFactorResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DecreaseReplicationFactorCommandInput extends DecreaseReplicati
21
20
  */
22
21
  export interface DecreaseReplicationFactorCommandOutput extends DecreaseReplicationFactorResponse, __MetadataBearer {
23
22
  }
23
+ declare const DecreaseReplicationFactorCommand_base: {
24
+ new (input: DecreaseReplicationFactorCommandInput): import("@smithy/smithy-client").CommandImpl<DecreaseReplicationFactorCommandInput, DecreaseReplicationFactorCommandOutput, DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Removes one or more nodes from a DAX cluster.</p>
@@ -134,23 +137,5 @@ export interface DecreaseReplicationFactorCommandOutput extends DecreaseReplicat
134
137
  * <p>Base exception class for all service exceptions from DAX service.</p>
135
138
  *
136
139
  */
137
- export declare class DecreaseReplicationFactorCommand extends $Command<DecreaseReplicationFactorCommandInput, DecreaseReplicationFactorCommandOutput, DAXClientResolvedConfig> {
138
- readonly input: DecreaseReplicationFactorCommandInput;
139
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
140
- /**
141
- * @public
142
- */
143
- constructor(input: DecreaseReplicationFactorCommandInput);
144
- /**
145
- * @internal
146
- */
147
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DecreaseReplicationFactorCommandInput, DecreaseReplicationFactorCommandOutput>;
148
- /**
149
- * @internal
150
- */
151
- private serialize;
152
- /**
153
- * @internal
154
- */
155
- private deserialize;
140
+ export declare class DecreaseReplicationFactorCommand extends DecreaseReplicationFactorCommand_base {
156
141
  }
@@ -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 { DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DAXClient";
5
4
  import { DeleteClusterRequest, DeleteClusterResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DeleteClusterCommandInput extends DeleteClusterRequest {
21
20
  */
22
21
  export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __MetadataBearer {
23
22
  }
23
+ declare const DeleteClusterCommand_base: {
24
+ new (input: DeleteClusterCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteClusterCommandInput, DeleteClusterCommandOutput, DAXClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Deletes a previously provisioned DAX cluster.
@@ -125,23 +128,5 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
125
128
  * <p>Base exception class for all service exceptions from DAX service.</p>
126
129
  *
127
130
  */
128
- export declare class DeleteClusterCommand extends $Command<DeleteClusterCommandInput, DeleteClusterCommandOutput, DAXClientResolvedConfig> {
129
- readonly input: DeleteClusterCommandInput;
130
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
131
- /**
132
- * @public
133
- */
134
- constructor(input: DeleteClusterCommandInput);
135
- /**
136
- * @internal
137
- */
138
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DAXClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteClusterCommandInput, DeleteClusterCommandOutput>;
139
- /**
140
- * @internal
141
- */
142
- private serialize;
143
- /**
144
- * @internal
145
- */
146
- private deserialize;
131
+ export declare class DeleteClusterCommand extends DeleteClusterCommand_base {
147
132
  }