@aws-sdk/client-memorydb 3.477.0 → 3.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/dist-cjs/commands/BatchUpdateClusterCommand.js +18 -41
  2. package/dist-cjs/commands/CopySnapshotCommand.js +18 -41
  3. package/dist-cjs/commands/CreateACLCommand.js +18 -41
  4. package/dist-cjs/commands/CreateClusterCommand.js +18 -41
  5. package/dist-cjs/commands/CreateParameterGroupCommand.js +18 -41
  6. package/dist-cjs/commands/CreateSnapshotCommand.js +18 -41
  7. package/dist-cjs/commands/CreateSubnetGroupCommand.js +18 -41
  8. package/dist-cjs/commands/CreateUserCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteACLCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteParameterGroupCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteSnapshotCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteSubnetGroupCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteUserCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeACLsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeClustersCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeEngineVersionsCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeEventsCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeParameterGroupsCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeParametersCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeReservedNodesCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeReservedNodesOfferingsCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeSnapshotsCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeUsersCommand.js +18 -41
  27. package/dist-cjs/commands/FailoverShardCommand.js +18 -41
  28. package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js +18 -41
  29. package/dist-cjs/commands/ListTagsCommand.js +18 -41
  30. package/dist-cjs/commands/PurchaseReservedNodesOfferingCommand.js +18 -41
  31. package/dist-cjs/commands/ResetParameterGroupCommand.js +18 -41
  32. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  33. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  34. package/dist-cjs/commands/UpdateACLCommand.js +18 -41
  35. package/dist-cjs/commands/UpdateClusterCommand.js +18 -41
  36. package/dist-cjs/commands/UpdateParameterGroupCommand.js +18 -41
  37. package/dist-cjs/commands/UpdateSubnetGroupCommand.js +18 -41
  38. package/dist-cjs/commands/UpdateUserCommand.js +18 -41
  39. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  40. package/dist-cjs/pagination/DescribeACLsPaginator.js +2 -24
  41. package/dist-cjs/pagination/DescribeClustersPaginator.js +2 -24
  42. package/dist-cjs/pagination/DescribeEngineVersionsPaginator.js +2 -24
  43. package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
  44. package/dist-cjs/pagination/DescribeParameterGroupsPaginator.js +2 -24
  45. package/dist-cjs/pagination/DescribeParametersPaginator.js +2 -24
  46. package/dist-cjs/pagination/DescribeReservedNodesOfferingsPaginator.js +2 -24
  47. package/dist-cjs/pagination/DescribeReservedNodesPaginator.js +2 -24
  48. package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +2 -24
  49. package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +2 -24
  50. package/dist-cjs/pagination/DescribeSubnetGroupsPaginator.js +2 -24
  51. package/dist-cjs/pagination/DescribeUsersPaginator.js +2 -24
  52. package/dist-es/commands/BatchUpdateClusterCommand.js +18 -41
  53. package/dist-es/commands/CopySnapshotCommand.js +18 -41
  54. package/dist-es/commands/CreateACLCommand.js +18 -41
  55. package/dist-es/commands/CreateClusterCommand.js +18 -41
  56. package/dist-es/commands/CreateParameterGroupCommand.js +18 -41
  57. package/dist-es/commands/CreateSnapshotCommand.js +18 -41
  58. package/dist-es/commands/CreateSubnetGroupCommand.js +18 -41
  59. package/dist-es/commands/CreateUserCommand.js +18 -41
  60. package/dist-es/commands/DeleteACLCommand.js +18 -41
  61. package/dist-es/commands/DeleteClusterCommand.js +18 -41
  62. package/dist-es/commands/DeleteParameterGroupCommand.js +18 -41
  63. package/dist-es/commands/DeleteSnapshotCommand.js +18 -41
  64. package/dist-es/commands/DeleteSubnetGroupCommand.js +18 -41
  65. package/dist-es/commands/DeleteUserCommand.js +18 -41
  66. package/dist-es/commands/DescribeACLsCommand.js +18 -41
  67. package/dist-es/commands/DescribeClustersCommand.js +18 -41
  68. package/dist-es/commands/DescribeEngineVersionsCommand.js +18 -41
  69. package/dist-es/commands/DescribeEventsCommand.js +18 -41
  70. package/dist-es/commands/DescribeParameterGroupsCommand.js +18 -41
  71. package/dist-es/commands/DescribeParametersCommand.js +18 -41
  72. package/dist-es/commands/DescribeReservedNodesCommand.js +18 -41
  73. package/dist-es/commands/DescribeReservedNodesOfferingsCommand.js +18 -41
  74. package/dist-es/commands/DescribeServiceUpdatesCommand.js +18 -41
  75. package/dist-es/commands/DescribeSnapshotsCommand.js +18 -41
  76. package/dist-es/commands/DescribeSubnetGroupsCommand.js +18 -41
  77. package/dist-es/commands/DescribeUsersCommand.js +18 -41
  78. package/dist-es/commands/FailoverShardCommand.js +18 -41
  79. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +18 -41
  80. package/dist-es/commands/ListTagsCommand.js +18 -41
  81. package/dist-es/commands/PurchaseReservedNodesOfferingCommand.js +18 -41
  82. package/dist-es/commands/ResetParameterGroupCommand.js +18 -41
  83. package/dist-es/commands/TagResourceCommand.js +18 -41
  84. package/dist-es/commands/UntagResourceCommand.js +18 -41
  85. package/dist-es/commands/UpdateACLCommand.js +18 -41
  86. package/dist-es/commands/UpdateClusterCommand.js +18 -41
  87. package/dist-es/commands/UpdateParameterGroupCommand.js +18 -41
  88. package/dist-es/commands/UpdateSubnetGroupCommand.js +18 -41
  89. package/dist-es/commands/UpdateUserCommand.js +18 -41
  90. package/dist-es/endpoint/EndpointParameters.js +6 -0
  91. package/dist-es/pagination/DescribeACLsPaginator.js +2 -23
  92. package/dist-es/pagination/DescribeClustersPaginator.js +2 -23
  93. package/dist-es/pagination/DescribeEngineVersionsPaginator.js +2 -23
  94. package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
  95. package/dist-es/pagination/DescribeParameterGroupsPaginator.js +2 -23
  96. package/dist-es/pagination/DescribeParametersPaginator.js +2 -23
  97. package/dist-es/pagination/DescribeReservedNodesOfferingsPaginator.js +2 -23
  98. package/dist-es/pagination/DescribeReservedNodesPaginator.js +2 -23
  99. package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +2 -23
  100. package/dist-es/pagination/DescribeSnapshotsPaginator.js +2 -23
  101. package/dist-es/pagination/DescribeSubnetGroupsPaginator.js +2 -23
  102. package/dist-es/pagination/DescribeUsersPaginator.js +2 -23
  103. package/dist-types/commands/BatchUpdateClusterCommand.d.ts +6 -21
  104. package/dist-types/commands/CopySnapshotCommand.d.ts +6 -21
  105. package/dist-types/commands/CreateACLCommand.d.ts +6 -21
  106. package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
  107. package/dist-types/commands/CreateParameterGroupCommand.d.ts +6 -21
  108. package/dist-types/commands/CreateSnapshotCommand.d.ts +6 -21
  109. package/dist-types/commands/CreateSubnetGroupCommand.d.ts +6 -21
  110. package/dist-types/commands/CreateUserCommand.d.ts +6 -21
  111. package/dist-types/commands/DeleteACLCommand.d.ts +6 -21
  112. package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
  113. package/dist-types/commands/DeleteParameterGroupCommand.d.ts +6 -21
  114. package/dist-types/commands/DeleteSnapshotCommand.d.ts +6 -21
  115. package/dist-types/commands/DeleteSubnetGroupCommand.d.ts +6 -21
  116. package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
  117. package/dist-types/commands/DescribeACLsCommand.d.ts +6 -21
  118. package/dist-types/commands/DescribeClustersCommand.d.ts +6 -21
  119. package/dist-types/commands/DescribeEngineVersionsCommand.d.ts +6 -21
  120. package/dist-types/commands/DescribeEventsCommand.d.ts +6 -21
  121. package/dist-types/commands/DescribeParameterGroupsCommand.d.ts +6 -21
  122. package/dist-types/commands/DescribeParametersCommand.d.ts +6 -21
  123. package/dist-types/commands/DescribeReservedNodesCommand.d.ts +6 -21
  124. package/dist-types/commands/DescribeReservedNodesOfferingsCommand.d.ts +6 -21
  125. package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +6 -21
  126. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +6 -21
  127. package/dist-types/commands/DescribeSubnetGroupsCommand.d.ts +6 -21
  128. package/dist-types/commands/DescribeUsersCommand.d.ts +6 -21
  129. package/dist-types/commands/FailoverShardCommand.d.ts +6 -21
  130. package/dist-types/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +6 -21
  131. package/dist-types/commands/ListTagsCommand.d.ts +6 -21
  132. package/dist-types/commands/PurchaseReservedNodesOfferingCommand.d.ts +6 -21
  133. package/dist-types/commands/ResetParameterGroupCommand.d.ts +6 -21
  134. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  135. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  136. package/dist-types/commands/UpdateACLCommand.d.ts +6 -21
  137. package/dist-types/commands/UpdateClusterCommand.d.ts +6 -21
  138. package/dist-types/commands/UpdateParameterGroupCommand.d.ts +6 -21
  139. package/dist-types/commands/UpdateSubnetGroupCommand.d.ts +6 -21
  140. package/dist-types/commands/UpdateUserCommand.d.ts +6 -21
  141. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  142. package/dist-types/pagination/DescribeACLsPaginator.d.ts +1 -1
  143. package/dist-types/pagination/DescribeClustersPaginator.d.ts +1 -1
  144. package/dist-types/pagination/DescribeEngineVersionsPaginator.d.ts +1 -1
  145. package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
  146. package/dist-types/pagination/DescribeParameterGroupsPaginator.d.ts +1 -1
  147. package/dist-types/pagination/DescribeParametersPaginator.d.ts +1 -1
  148. package/dist-types/pagination/DescribeReservedNodesOfferingsPaginator.d.ts +1 -1
  149. package/dist-types/pagination/DescribeReservedNodesPaginator.d.ts +1 -1
  150. package/dist-types/pagination/DescribeServiceUpdatesPaginator.d.ts +1 -1
  151. package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +1 -1
  152. package/dist-types/pagination/DescribeSubnetGroupsPaginator.d.ts +1 -1
  153. package/dist-types/pagination/DescribeUsersPaginator.d.ts +1 -1
  154. package/dist-types/ts3.4/commands/BatchUpdateClusterCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +14 -23
  156. package/dist-types/ts3.4/commands/CreateACLCommand.d.ts +14 -23
  157. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
  158. package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +12 -24
  159. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +14 -23
  160. package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +14 -23
  161. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/DeleteACLCommand.d.ts +14 -23
  163. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +12 -24
  165. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/DescribeACLsCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/DescribeEngineVersionsCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/DescribeReservedNodesCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/DescribeReservedNodesOfferingsCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +12 -24
  177. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +14 -23
  180. package/dist-types/ts3.4/commands/FailoverShardCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/PurchaseReservedNodesOfferingCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/ResetParameterGroupCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/UpdateACLCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +12 -24
  190. package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  193. package/dist-types/ts3.4/pagination/DescribeACLsPaginator.d.ts +3 -3
  194. package/dist-types/ts3.4/pagination/DescribeClustersPaginator.d.ts +3 -3
  195. package/dist-types/ts3.4/pagination/DescribeEngineVersionsPaginator.d.ts +3 -3
  196. package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
  197. package/dist-types/ts3.4/pagination/DescribeParameterGroupsPaginator.d.ts +3 -3
  198. package/dist-types/ts3.4/pagination/DescribeParametersPaginator.d.ts +3 -3
  199. package/dist-types/ts3.4/pagination/DescribeReservedNodesOfferingsPaginator.d.ts +3 -3
  200. package/dist-types/ts3.4/pagination/DescribeReservedNodesPaginator.d.ts +3 -3
  201. package/dist-types/ts3.4/pagination/DescribeServiceUpdatesPaginator.d.ts +3 -3
  202. package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +3 -3
  203. package/dist-types/ts3.4/pagination/DescribeSubnetGroupsPaginator.d.ts +3 -3
  204. package/dist-types/ts3.4/pagination/DescribeUsersPaginator.d.ts +3 -3
  205. package/package.json +11 -10
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class BatchUpdateClusterCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchUpdateClusterCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MemoryDBClient";
29
- const commandName = "BatchUpdateClusterCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonMemoryDB",
38
- operation: "BatchUpdateCluster",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_BatchUpdateClusterCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_BatchUpdateClusterCommand)(output, context);
49
- }
10
+ class BatchUpdateClusterCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonMemoryDB", "BatchUpdateCluster", {})
22
+ .n("MemoryDBClient", "BatchUpdateClusterCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_BatchUpdateClusterCommand)
25
+ .de(Aws_json1_1_1.de_BatchUpdateClusterCommand)
26
+ .build() {
50
27
  }
51
28
  exports.BatchUpdateClusterCommand = BatchUpdateClusterCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CopySnapshotCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CopySnapshotCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MemoryDBClient";
29
- const commandName = "CopySnapshotCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonMemoryDB",
38
- operation: "CopySnapshot",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CopySnapshotCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CopySnapshotCommand)(output, context);
49
- }
10
+ class CopySnapshotCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonMemoryDB", "CopySnapshot", {})
22
+ .n("MemoryDBClient", "CopySnapshotCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CopySnapshotCommand)
25
+ .de(Aws_json1_1_1.de_CopySnapshotCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CopySnapshotCommand = CopySnapshotCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateACLCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateACLCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MemoryDBClient";
29
- const commandName = "CreateACLCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonMemoryDB",
38
- operation: "CreateACL",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateACLCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateACLCommand)(output, context);
49
- }
10
+ class CreateACLCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonMemoryDB", "CreateACL", {})
22
+ .n("MemoryDBClient", "CreateACLCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateACLCommand)
25
+ .de(Aws_json1_1_1.de_CreateACLCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateACLCommand = CreateACLCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateClusterCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateClusterCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MemoryDBClient";
29
- const commandName = "CreateClusterCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonMemoryDB",
38
- operation: "CreateCluster",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateClusterCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateClusterCommand)(output, context);
49
- }
10
+ class CreateClusterCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonMemoryDB", "CreateCluster", {})
22
+ .n("MemoryDBClient", "CreateClusterCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateClusterCommand)
25
+ .de(Aws_json1_1_1.de_CreateClusterCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateClusterCommand = CreateClusterCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateParameterGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateParameterGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MemoryDBClient";
29
- const commandName = "CreateParameterGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonMemoryDB",
38
- operation: "CreateParameterGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateParameterGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateParameterGroupCommand)(output, context);
49
- }
10
+ class CreateParameterGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonMemoryDB", "CreateParameterGroup", {})
22
+ .n("MemoryDBClient", "CreateParameterGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateParameterGroupCommand)
25
+ .de(Aws_json1_1_1.de_CreateParameterGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateParameterGroupCommand = CreateParameterGroupCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateSnapshotCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateSnapshotCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MemoryDBClient";
29
- const commandName = "CreateSnapshotCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonMemoryDB",
38
- operation: "CreateSnapshot",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateSnapshotCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateSnapshotCommand)(output, context);
49
- }
10
+ class CreateSnapshotCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonMemoryDB", "CreateSnapshot", {})
22
+ .n("MemoryDBClient", "CreateSnapshotCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateSnapshotCommand)
25
+ .de(Aws_json1_1_1.de_CreateSnapshotCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateSnapshotCommand = CreateSnapshotCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateSubnetGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateSubnetGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MemoryDBClient";
29
- const commandName = "CreateSubnetGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonMemoryDB",
38
- operation: "CreateSubnetGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateSubnetGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateSubnetGroupCommand)(output, context);
49
- }
10
+ class CreateSubnetGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonMemoryDB", "CreateSubnetGroup", {})
22
+ .n("MemoryDBClient", "CreateSubnetGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateSubnetGroupCommand)
25
+ .de(Aws_json1_1_1.de_CreateSubnetGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateSubnetGroupCommand = CreateSubnetGroupCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class CreateUserCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateUserCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MemoryDBClient";
29
- const commandName = "CreateUserCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonMemoryDB",
38
- operation: "CreateUser",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_CreateUserCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateUserCommand)(output, context);
49
- }
10
+ class CreateUserCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonMemoryDB", "CreateUser", {})
22
+ .n("MemoryDBClient", "CreateUserCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateUserCommand)
25
+ .de(Aws_json1_1_1.de_CreateUserCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateUserCommand = CreateUserCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class DeleteACLCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteACLCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "MemoryDBClient";
29
- const commandName = "DeleteACLCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AmazonMemoryDB",
38
- operation: "DeleteACL",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_DeleteACLCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_DeleteACLCommand)(output, context);
49
- }
10
+ class DeleteACLCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AmazonMemoryDB", "DeleteACL", {})
22
+ .n("MemoryDBClient", "DeleteACLCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_DeleteACLCommand)
25
+ .de(Aws_json1_1_1.de_DeleteACLCommand)
26
+ .build() {
50
27
  }
51
28
  exports.DeleteACLCommand = DeleteACLCommand;