@aws-sdk/client-memorydb 3.35.0 → 3.38.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 (284) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/MemoryDB.js +0 -6
  3. package/dist-cjs/MemoryDBClient.js +0 -11
  4. package/dist-cjs/commands/BatchUpdateClusterCommand.js +0 -25
  5. package/dist-cjs/commands/CopySnapshotCommand.js +0 -25
  6. package/dist-cjs/commands/CreateACLCommand.js +0 -25
  7. package/dist-cjs/commands/CreateClusterCommand.js +0 -25
  8. package/dist-cjs/commands/CreateParameterGroupCommand.js +0 -28
  9. package/dist-cjs/commands/CreateSnapshotCommand.js +0 -25
  10. package/dist-cjs/commands/CreateSubnetGroupCommand.js +0 -28
  11. package/dist-cjs/commands/CreateUserCommand.js +0 -25
  12. package/dist-cjs/commands/DeleteACLCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteClusterCommand.js +0 -25
  14. package/dist-cjs/commands/DeleteParameterGroupCommand.js +0 -26
  15. package/dist-cjs/commands/DeleteSnapshotCommand.js +0 -25
  16. package/dist-cjs/commands/DeleteSubnetGroupCommand.js +0 -25
  17. package/dist-cjs/commands/DeleteUserCommand.js +0 -25
  18. package/dist-cjs/commands/DescribeACLsCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeClustersCommand.js +0 -25
  20. package/dist-cjs/commands/DescribeEngineVersionsCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeEventsCommand.js +0 -27
  22. package/dist-cjs/commands/DescribeParameterGroupsCommand.js +0 -25
  23. package/dist-cjs/commands/DescribeParametersCommand.js +0 -25
  24. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +0 -25
  25. package/dist-cjs/commands/DescribeSnapshotsCommand.js +0 -26
  26. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +0 -25
  27. package/dist-cjs/commands/DescribeUsersCommand.js +0 -25
  28. package/dist-cjs/commands/FailoverShardCommand.js +0 -25
  29. package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js +0 -27
  30. package/dist-cjs/commands/ListTagsCommand.js +0 -29
  31. package/dist-cjs/commands/ResetParameterGroupCommand.js +0 -25
  32. package/dist-cjs/commands/TagResourceCommand.js +0 -35
  33. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  34. package/dist-cjs/commands/UpdateACLCommand.js +0 -25
  35. package/dist-cjs/commands/UpdateClusterCommand.js +0 -25
  36. package/dist-cjs/commands/UpdateParameterGroupCommand.js +0 -25
  37. package/dist-cjs/commands/UpdateSubnetGroupCommand.js +0 -26
  38. package/dist-cjs/commands/UpdateUserCommand.js +0 -25
  39. package/dist-cjs/commands/index.js +38 -0
  40. package/dist-cjs/endpoints.js +1 -2
  41. package/dist-cjs/index.js +3 -38
  42. package/dist-cjs/models/index.js +0 -1
  43. package/dist-cjs/models/models_0.js +0 -460
  44. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  45. package/dist-cjs/runtimeConfig.browser.js +1 -6
  46. package/dist-cjs/runtimeConfig.js +2 -7
  47. package/dist-cjs/runtimeConfig.native.js +0 -4
  48. package/dist-cjs/runtimeConfig.shared.js +0 -4
  49. package/dist-es/MemoryDB.js +0 -1
  50. package/dist-es/MemoryDBClient.js +0 -1
  51. package/dist-es/commands/BatchUpdateClusterCommand.js +0 -1
  52. package/dist-es/commands/CopySnapshotCommand.js +0 -1
  53. package/dist-es/commands/CreateACLCommand.js +0 -1
  54. package/dist-es/commands/CreateClusterCommand.js +0 -1
  55. package/dist-es/commands/CreateParameterGroupCommand.js +0 -1
  56. package/dist-es/commands/CreateSnapshotCommand.js +0 -1
  57. package/dist-es/commands/CreateSubnetGroupCommand.js +0 -1
  58. package/dist-es/commands/CreateUserCommand.js +0 -1
  59. package/dist-es/commands/DeleteACLCommand.js +0 -1
  60. package/dist-es/commands/DeleteClusterCommand.js +0 -1
  61. package/dist-es/commands/DeleteParameterGroupCommand.js +0 -1
  62. package/dist-es/commands/DeleteSnapshotCommand.js +0 -1
  63. package/dist-es/commands/DeleteSubnetGroupCommand.js +0 -1
  64. package/dist-es/commands/DeleteUserCommand.js +0 -1
  65. package/dist-es/commands/DescribeACLsCommand.js +0 -1
  66. package/dist-es/commands/DescribeClustersCommand.js +0 -1
  67. package/dist-es/commands/DescribeEngineVersionsCommand.js +0 -1
  68. package/dist-es/commands/DescribeEventsCommand.js +0 -1
  69. package/dist-es/commands/DescribeParameterGroupsCommand.js +0 -1
  70. package/dist-es/commands/DescribeParametersCommand.js +0 -1
  71. package/dist-es/commands/DescribeServiceUpdatesCommand.js +0 -1
  72. package/dist-es/commands/DescribeSnapshotsCommand.js +0 -1
  73. package/dist-es/commands/DescribeSubnetGroupsCommand.js +0 -1
  74. package/dist-es/commands/DescribeUsersCommand.js +0 -1
  75. package/dist-es/commands/FailoverShardCommand.js +0 -1
  76. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +0 -1
  77. package/dist-es/commands/ListTagsCommand.js +0 -1
  78. package/dist-es/commands/ResetParameterGroupCommand.js +0 -1
  79. package/dist-es/commands/TagResourceCommand.js +0 -1
  80. package/dist-es/commands/UntagResourceCommand.js +0 -1
  81. package/dist-es/commands/UpdateACLCommand.js +0 -1
  82. package/dist-es/commands/UpdateClusterCommand.js +0 -1
  83. package/dist-es/commands/UpdateParameterGroupCommand.js +0 -1
  84. package/dist-es/commands/UpdateSubnetGroupCommand.js +0 -1
  85. package/dist-es/commands/UpdateUserCommand.js +0 -1
  86. package/dist-es/commands/index.js +35 -0
  87. package/dist-es/endpoints.js +1 -2
  88. package/dist-es/index.js +3 -38
  89. package/dist-es/models/index.js +0 -1
  90. package/dist-es/models/models_0.js +0 -1
  91. package/dist-es/protocols/Aws_json1_1.js +0 -1
  92. package/dist-es/runtimeConfig.browser.js +1 -2
  93. package/dist-es/runtimeConfig.js +2 -3
  94. package/dist-es/runtimeConfig.native.js +0 -1
  95. package/dist-es/runtimeConfig.shared.js +0 -1
  96. package/dist-types/commands/index.d.ts +35 -0
  97. package/dist-types/index.d.ts +3 -37
  98. package/dist-types/ts3.4/MemoryDB.d.ts +36 -137
  99. package/dist-types/ts3.4/MemoryDBClient.d.ts +24 -91
  100. package/dist-types/ts3.4/commands/BatchUpdateClusterCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +2 -20
  102. package/dist-types/ts3.4/commands/CreateACLCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +2 -23
  105. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +2 -23
  107. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/DeleteACLCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +2 -21
  111. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/DescribeACLsCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/DescribeEngineVersionsCommand.d.ts +2 -20
  117. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -22
  118. package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +2 -21
  122. package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/FailoverShardCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +2 -22
  126. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -24
  127. package/dist-types/ts3.4/commands/ResetParameterGroupCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -30
  129. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/UpdateACLCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +2 -21
  134. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/index.d.ts +35 -0
  136. package/dist-types/ts3.4/index.d.ts +3 -37
  137. package/dist-types/ts3.4/models/models_0.d.ts +554 -1698
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  142. package/package.json +33 -30
  143. package/dist-cjs/MemoryDB.js.map +0 -1
  144. package/dist-cjs/MemoryDBClient.js.map +0 -1
  145. package/dist-cjs/commands/BatchUpdateClusterCommand.js.map +0 -1
  146. package/dist-cjs/commands/CopySnapshotCommand.js.map +0 -1
  147. package/dist-cjs/commands/CreateACLCommand.js.map +0 -1
  148. package/dist-cjs/commands/CreateClusterCommand.js.map +0 -1
  149. package/dist-cjs/commands/CreateParameterGroupCommand.js.map +0 -1
  150. package/dist-cjs/commands/CreateSnapshotCommand.js.map +0 -1
  151. package/dist-cjs/commands/CreateSubnetGroupCommand.js.map +0 -1
  152. package/dist-cjs/commands/CreateUserCommand.js.map +0 -1
  153. package/dist-cjs/commands/DeleteACLCommand.js.map +0 -1
  154. package/dist-cjs/commands/DeleteClusterCommand.js.map +0 -1
  155. package/dist-cjs/commands/DeleteParameterGroupCommand.js.map +0 -1
  156. package/dist-cjs/commands/DeleteSnapshotCommand.js.map +0 -1
  157. package/dist-cjs/commands/DeleteSubnetGroupCommand.js.map +0 -1
  158. package/dist-cjs/commands/DeleteUserCommand.js.map +0 -1
  159. package/dist-cjs/commands/DescribeACLsCommand.js.map +0 -1
  160. package/dist-cjs/commands/DescribeClustersCommand.js.map +0 -1
  161. package/dist-cjs/commands/DescribeEngineVersionsCommand.js.map +0 -1
  162. package/dist-cjs/commands/DescribeEventsCommand.js.map +0 -1
  163. package/dist-cjs/commands/DescribeParameterGroupsCommand.js.map +0 -1
  164. package/dist-cjs/commands/DescribeParametersCommand.js.map +0 -1
  165. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js.map +0 -1
  166. package/dist-cjs/commands/DescribeSnapshotsCommand.js.map +0 -1
  167. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js.map +0 -1
  168. package/dist-cjs/commands/DescribeUsersCommand.js.map +0 -1
  169. package/dist-cjs/commands/FailoverShardCommand.js.map +0 -1
  170. package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js.map +0 -1
  171. package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
  172. package/dist-cjs/commands/ResetParameterGroupCommand.js.map +0 -1
  173. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  174. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  175. package/dist-cjs/commands/UpdateACLCommand.js.map +0 -1
  176. package/dist-cjs/commands/UpdateClusterCommand.js.map +0 -1
  177. package/dist-cjs/commands/UpdateParameterGroupCommand.js.map +0 -1
  178. package/dist-cjs/commands/UpdateSubnetGroupCommand.js.map +0 -1
  179. package/dist-cjs/commands/UpdateUserCommand.js.map +0 -1
  180. package/dist-cjs/endpoints.js.map +0 -1
  181. package/dist-cjs/index.js.map +0 -1
  182. package/dist-cjs/models/index.js.map +0 -1
  183. package/dist-cjs/models/models_0.js.map +0 -1
  184. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  185. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  186. package/dist-cjs/runtimeConfig.js.map +0 -1
  187. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  188. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  189. package/dist-es/MemoryDB.js.map +0 -1
  190. package/dist-es/MemoryDBClient.js.map +0 -1
  191. package/dist-es/commands/BatchUpdateClusterCommand.js.map +0 -1
  192. package/dist-es/commands/CopySnapshotCommand.js.map +0 -1
  193. package/dist-es/commands/CreateACLCommand.js.map +0 -1
  194. package/dist-es/commands/CreateClusterCommand.js.map +0 -1
  195. package/dist-es/commands/CreateParameterGroupCommand.js.map +0 -1
  196. package/dist-es/commands/CreateSnapshotCommand.js.map +0 -1
  197. package/dist-es/commands/CreateSubnetGroupCommand.js.map +0 -1
  198. package/dist-es/commands/CreateUserCommand.js.map +0 -1
  199. package/dist-es/commands/DeleteACLCommand.js.map +0 -1
  200. package/dist-es/commands/DeleteClusterCommand.js.map +0 -1
  201. package/dist-es/commands/DeleteParameterGroupCommand.js.map +0 -1
  202. package/dist-es/commands/DeleteSnapshotCommand.js.map +0 -1
  203. package/dist-es/commands/DeleteSubnetGroupCommand.js.map +0 -1
  204. package/dist-es/commands/DeleteUserCommand.js.map +0 -1
  205. package/dist-es/commands/DescribeACLsCommand.js.map +0 -1
  206. package/dist-es/commands/DescribeClustersCommand.js.map +0 -1
  207. package/dist-es/commands/DescribeEngineVersionsCommand.js.map +0 -1
  208. package/dist-es/commands/DescribeEventsCommand.js.map +0 -1
  209. package/dist-es/commands/DescribeParameterGroupsCommand.js.map +0 -1
  210. package/dist-es/commands/DescribeParametersCommand.js.map +0 -1
  211. package/dist-es/commands/DescribeServiceUpdatesCommand.js.map +0 -1
  212. package/dist-es/commands/DescribeSnapshotsCommand.js.map +0 -1
  213. package/dist-es/commands/DescribeSubnetGroupsCommand.js.map +0 -1
  214. package/dist-es/commands/DescribeUsersCommand.js.map +0 -1
  215. package/dist-es/commands/FailoverShardCommand.js.map +0 -1
  216. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js.map +0 -1
  217. package/dist-es/commands/ListTagsCommand.js.map +0 -1
  218. package/dist-es/commands/ResetParameterGroupCommand.js.map +0 -1
  219. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  220. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  221. package/dist-es/commands/UpdateACLCommand.js.map +0 -1
  222. package/dist-es/commands/UpdateClusterCommand.js.map +0 -1
  223. package/dist-es/commands/UpdateParameterGroupCommand.js.map +0 -1
  224. package/dist-es/commands/UpdateSubnetGroupCommand.js.map +0 -1
  225. package/dist-es/commands/UpdateUserCommand.js.map +0 -1
  226. package/dist-es/endpoints.js.map +0 -1
  227. package/dist-es/index.js.map +0 -1
  228. package/dist-es/models/index.js.map +0 -1
  229. package/dist-es/models/models_0.js.map +0 -1
  230. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  231. package/dist-es/runtimeConfig.browser.js.map +0 -1
  232. package/dist-es/runtimeConfig.js.map +0 -1
  233. package/dist-es/runtimeConfig.native.js.map +0 -1
  234. package/dist-es/runtimeConfig.shared.js.map +0 -1
  235. package/jest.config.js +0 -4
  236. package/src/MemoryDB.ts +0 -1246
  237. package/src/MemoryDBClient.ts +0 -370
  238. package/src/commands/BatchUpdateClusterCommand.ts +0 -95
  239. package/src/commands/CopySnapshotCommand.ts +0 -95
  240. package/src/commands/CreateACLCommand.ts +0 -92
  241. package/src/commands/CreateClusterCommand.ts +0 -95
  242. package/src/commands/CreateParameterGroupCommand.ts +0 -98
  243. package/src/commands/CreateSnapshotCommand.ts +0 -95
  244. package/src/commands/CreateSubnetGroupCommand.ts +0 -98
  245. package/src/commands/CreateUserCommand.ts +0 -95
  246. package/src/commands/DeleteACLCommand.ts +0 -92
  247. package/src/commands/DeleteClusterCommand.ts +0 -95
  248. package/src/commands/DeleteParameterGroupCommand.ts +0 -96
  249. package/src/commands/DeleteSnapshotCommand.ts +0 -95
  250. package/src/commands/DeleteSubnetGroupCommand.ts +0 -95
  251. package/src/commands/DeleteUserCommand.ts +0 -95
  252. package/src/commands/DescribeACLsCommand.ts +0 -95
  253. package/src/commands/DescribeClustersCommand.ts +0 -95
  254. package/src/commands/DescribeEngineVersionsCommand.ts +0 -95
  255. package/src/commands/DescribeEventsCommand.ts +0 -97
  256. package/src/commands/DescribeParameterGroupsCommand.ts +0 -95
  257. package/src/commands/DescribeParametersCommand.ts +0 -95
  258. package/src/commands/DescribeServiceUpdatesCommand.ts +0 -95
  259. package/src/commands/DescribeSnapshotsCommand.ts +0 -96
  260. package/src/commands/DescribeSubnetGroupsCommand.ts +0 -95
  261. package/src/commands/DescribeUsersCommand.ts +0 -95
  262. package/src/commands/FailoverShardCommand.ts +0 -95
  263. package/src/commands/ListAllowedNodeTypeUpdatesCommand.ts +0 -100
  264. package/src/commands/ListTagsCommand.ts +0 -96
  265. package/src/commands/ResetParameterGroupCommand.ts +0 -95
  266. package/src/commands/TagResourceCommand.ts +0 -105
  267. package/src/commands/UntagResourceCommand.ts +0 -95
  268. package/src/commands/UpdateACLCommand.ts +0 -92
  269. package/src/commands/UpdateClusterCommand.ts +0 -95
  270. package/src/commands/UpdateParameterGroupCommand.ts +0 -95
  271. package/src/commands/UpdateSubnetGroupCommand.ts +0 -96
  272. package/src/commands/UpdateUserCommand.ts +0 -95
  273. package/src/endpoints.ts +0 -57
  274. package/src/index.ts +0 -38
  275. package/src/models/index.ts +0 -1
  276. package/src/models/models_0.ts +0 -3789
  277. package/src/protocols/Aws_json1_1.ts +0 -6700
  278. package/src/runtimeConfig.browser.ts +0 -41
  279. package/src/runtimeConfig.native.ts +0 -17
  280. package/src/runtimeConfig.shared.ts +0 -17
  281. package/src/runtimeConfig.ts +0 -46
  282. package/tsconfig.es.json +0 -10
  283. package/tsconfig.json +0 -33
  284. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MemoryDBClient";
15
- import { UpdateClusterRequest, UpdateClusterResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UpdateClusterCommand,
18
- serializeAws_json1_1UpdateClusterCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UpdateClusterCommandInput extends UpdateClusterRequest {}
22
- export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, UpdateClusterCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, UpdateClusterCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new UpdateClusterCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateClusterCommandInput} for command's `input` shape.
37
- * @see {@link UpdateClusterCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateClusterCommand extends $Command<
42
- UpdateClusterCommandInput,
43
- UpdateClusterCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateClusterCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MemoryDBClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateClusterCommandInput, UpdateClusterCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MemoryDBClient";
69
- const commandName = "UpdateClusterCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateClusterRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateClusterResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UpdateClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UpdateClusterCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateClusterCommandOutput> {
90
- return deserializeAws_json1_1UpdateClusterCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MemoryDBClient";
15
- import { UpdateParameterGroupRequest, UpdateParameterGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UpdateParameterGroupCommand,
18
- serializeAws_json1_1UpdateParameterGroupCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UpdateParameterGroupCommandInput extends UpdateParameterGroupRequest {}
22
- export interface UpdateParameterGroupCommandOutput extends UpdateParameterGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, UpdateParameterGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, UpdateParameterGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new UpdateParameterGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateParameterGroupCommandInput} for command's `input` shape.
37
- * @see {@link UpdateParameterGroupCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateParameterGroupCommand extends $Command<
42
- UpdateParameterGroupCommandInput,
43
- UpdateParameterGroupCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateParameterGroupCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MemoryDBClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateParameterGroupCommandInput, UpdateParameterGroupCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MemoryDBClient";
69
- const commandName = "UpdateParameterGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateParameterGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateParameterGroupResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UpdateParameterGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UpdateParameterGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateParameterGroupCommandOutput> {
90
- return deserializeAws_json1_1UpdateParameterGroupCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MemoryDBClient";
15
- import { UpdateSubnetGroupRequest, UpdateSubnetGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UpdateSubnetGroupCommand,
18
- serializeAws_json1_1UpdateSubnetGroupCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UpdateSubnetGroupCommandInput extends UpdateSubnetGroupRequest {}
22
- export interface UpdateSubnetGroupCommandOutput extends UpdateSubnetGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Updates a subnet group. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/ubnetGroups.Modifying.html">Updating a subnet group</a>
26
- * </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { MemoryDBClient, UpdateSubnetGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
31
- * // const { MemoryDBClient, UpdateSubnetGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
32
- * const client = new MemoryDBClient(config);
33
- * const command = new UpdateSubnetGroupCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link UpdateSubnetGroupCommandInput} for command's `input` shape.
38
- * @see {@link UpdateSubnetGroupCommandOutput} for command's `response` shape.
39
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class UpdateSubnetGroupCommand extends $Command<
43
- UpdateSubnetGroupCommandInput,
44
- UpdateSubnetGroupCommandOutput,
45
- MemoryDBClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: UpdateSubnetGroupCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: MemoryDBClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<UpdateSubnetGroupCommandInput, UpdateSubnetGroupCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "MemoryDBClient";
70
- const commandName = "UpdateSubnetGroupCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: UpdateSubnetGroupRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: UpdateSubnetGroupResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: UpdateSubnetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1UpdateSubnetGroupCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateSubnetGroupCommandOutput> {
91
- return deserializeAws_json1_1UpdateSubnetGroupCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MemoryDBClient";
15
- import { UpdateUserRequest, UpdateUserResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UpdateUserCommand,
18
- serializeAws_json1_1UpdateUserCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UpdateUserCommandInput extends UpdateUserRequest {}
22
- export interface UpdateUserCommandOutput extends UpdateUserResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Changes user password(s) and/or access string.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, UpdateUserCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, UpdateUserCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new UpdateUserCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateUserCommandInput} for command's `input` shape.
37
- * @see {@link UpdateUserCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateUserCommand extends $Command<
42
- UpdateUserCommandInput,
43
- UpdateUserCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateUserCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: MemoryDBClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<UpdateUserCommandInput, UpdateUserCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "MemoryDBClient";
69
- const commandName = "UpdateUserCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateUserRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateUserResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: UpdateUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UpdateUserCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateUserCommandOutput> {
90
- return deserializeAws_json1_1UpdateUserCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
package/src/endpoints.ts DELETED
@@ -1,57 +0,0 @@
1
- import { getRegionInfo, PartitionHash, RegionHash } from "@aws-sdk/config-resolver";
2
- import { RegionInfoProvider } from "@aws-sdk/types";
3
-
4
- const regionHash: RegionHash = {};
5
-
6
- const partitionHash: PartitionHash = {
7
- aws: {
8
- regions: [
9
- "af-south-1",
10
- "ap-east-1",
11
- "ap-northeast-1",
12
- "ap-northeast-2",
13
- "ap-northeast-3",
14
- "ap-south-1",
15
- "ap-southeast-1",
16
- "ap-southeast-2",
17
- "ca-central-1",
18
- "eu-central-1",
19
- "eu-north-1",
20
- "eu-south-1",
21
- "eu-west-1",
22
- "eu-west-2",
23
- "eu-west-3",
24
- "me-south-1",
25
- "sa-east-1",
26
- "us-east-1",
27
- "us-east-2",
28
- "us-west-1",
29
- "us-west-2",
30
- ],
31
- hostname: "memory-db.{region}.amazonaws.com",
32
- },
33
- "aws-cn": {
34
- regions: ["cn-north-1", "cn-northwest-1"],
35
- hostname: "memory-db.{region}.amazonaws.com.cn",
36
- },
37
- "aws-iso": {
38
- regions: ["us-iso-east-1"],
39
- hostname: "memory-db.{region}.c2s.ic.gov",
40
- },
41
- "aws-iso-b": {
42
- regions: ["us-isob-east-1"],
43
- hostname: "memory-db.{region}.sc2s.sgov.gov",
44
- },
45
- "aws-us-gov": {
46
- regions: ["us-gov-east-1", "us-gov-west-1"],
47
- hostname: "memory-db.{region}.amazonaws.com",
48
- },
49
- };
50
-
51
- export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
52
- getRegionInfo(region, {
53
- ...options,
54
- signingService: "memorydb",
55
- regionHash,
56
- partitionHash,
57
- });
package/src/index.ts DELETED
@@ -1,38 +0,0 @@
1
- export * from "./MemoryDBClient";
2
- export * from "./MemoryDB";
3
- export * from "./commands/BatchUpdateClusterCommand";
4
- export * from "./commands/CopySnapshotCommand";
5
- export * from "./commands/CreateACLCommand";
6
- export * from "./commands/CreateClusterCommand";
7
- export * from "./commands/CreateParameterGroupCommand";
8
- export * from "./commands/CreateSnapshotCommand";
9
- export * from "./commands/CreateSubnetGroupCommand";
10
- export * from "./commands/CreateUserCommand";
11
- export * from "./commands/DeleteACLCommand";
12
- export * from "./commands/DeleteClusterCommand";
13
- export * from "./commands/DeleteParameterGroupCommand";
14
- export * from "./commands/DeleteSnapshotCommand";
15
- export * from "./commands/DeleteSubnetGroupCommand";
16
- export * from "./commands/DeleteUserCommand";
17
- export * from "./commands/DescribeACLsCommand";
18
- export * from "./commands/DescribeClustersCommand";
19
- export * from "./commands/DescribeEngineVersionsCommand";
20
- export * from "./commands/DescribeEventsCommand";
21
- export * from "./commands/DescribeParameterGroupsCommand";
22
- export * from "./commands/DescribeParametersCommand";
23
- export * from "./commands/DescribeServiceUpdatesCommand";
24
- export * from "./commands/DescribeSnapshotsCommand";
25
- export * from "./commands/DescribeSubnetGroupsCommand";
26
- export * from "./commands/DescribeUsersCommand";
27
- export * from "./commands/FailoverShardCommand";
28
- export * from "./commands/ListAllowedNodeTypeUpdatesCommand";
29
- export * from "./commands/ListTagsCommand";
30
- export * from "./commands/ResetParameterGroupCommand";
31
- export * from "./commands/TagResourceCommand";
32
- export * from "./commands/UntagResourceCommand";
33
- export * from "./commands/UpdateACLCommand";
34
- export * from "./commands/UpdateClusterCommand";
35
- export * from "./commands/UpdateParameterGroupCommand";
36
- export * from "./commands/UpdateSubnetGroupCommand";
37
- export * from "./commands/UpdateUserCommand";
38
- export * from "./models/index";
@@ -1 +0,0 @@
1
- export * from "./models_0";