@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,97 +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 { DescribeEventsRequest, DescribeEventsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeEventsCommand,
18
- serializeAws_json1_1DescribeEventsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeEventsCommandInput extends DescribeEventsRequest {}
22
- export interface DescribeEventsCommandOutput extends DescribeEventsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, or parameter group by providing the name as a parameter.
26
- *
27
- * By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { MemoryDBClient, DescribeEventsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
32
- * // const { MemoryDBClient, DescribeEventsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
33
- * const client = new MemoryDBClient(config);
34
- * const command = new DescribeEventsCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeEventsCommandInput} for command's `input` shape.
39
- * @see {@link DescribeEventsCommandOutput} for command's `response` shape.
40
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeEventsCommand extends $Command<
44
- DescribeEventsCommandInput,
45
- DescribeEventsCommandOutput,
46
- MemoryDBClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeEventsCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: MemoryDBClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribeEventsCommandInput, DescribeEventsCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "MemoryDBClient";
71
- const commandName = "DescribeEventsCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeEventsRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeEventsResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DescribeEventsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1DescribeEventsCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeEventsCommandOutput> {
92
- return deserializeAws_json1_1DescribeEventsCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -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 { DescribeParameterGroupsRequest, DescribeParameterGroupsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeParameterGroupsCommand,
18
- serializeAws_json1_1DescribeParameterGroupsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeParameterGroupsCommandInput extends DescribeParameterGroupsRequest {}
22
- export interface DescribeParameterGroupsCommandOutput extends DescribeParameterGroupsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DescribeParameterGroupsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DescribeParameterGroupsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DescribeParameterGroupsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeParameterGroupsCommandInput} for command's `input` shape.
37
- * @see {@link DescribeParameterGroupsCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeParameterGroupsCommand extends $Command<
42
- DescribeParameterGroupsCommandInput,
43
- DescribeParameterGroupsCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeParameterGroupsCommandInput) {
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<DescribeParameterGroupsCommandInput, DescribeParameterGroupsCommandOutput> {
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 = "DescribeParameterGroupsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeParameterGroupsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeParameterGroupsResponse.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: DescribeParameterGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeParameterGroupsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeParameterGroupsCommandOutput> {
90
- return deserializeAws_json1_1DescribeParameterGroupsCommand(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 { DescribeParametersRequest, DescribeParametersResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeParametersCommand,
18
- serializeAws_json1_1DescribeParametersCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeParametersCommandInput extends DescribeParametersRequest {}
22
- export interface DescribeParametersCommandOutput extends DescribeParametersResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the detailed parameter list for a particular parameter group.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DescribeParametersCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DescribeParametersCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DescribeParametersCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeParametersCommandInput} for command's `input` shape.
37
- * @see {@link DescribeParametersCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeParametersCommand extends $Command<
42
- DescribeParametersCommandInput,
43
- DescribeParametersCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeParametersCommandInput) {
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<DescribeParametersCommandInput, DescribeParametersCommandOutput> {
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 = "DescribeParametersCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeParametersRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeParametersResponse.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: DescribeParametersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeParametersCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeParametersCommandOutput> {
90
- return deserializeAws_json1_1DescribeParametersCommand(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 { DescribeServiceUpdatesRequest, DescribeServiceUpdatesResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeServiceUpdatesCommand,
18
- serializeAws_json1_1DescribeServiceUpdatesCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeServiceUpdatesCommandInput extends DescribeServiceUpdatesRequest {}
22
- export interface DescribeServiceUpdatesCommandOutput extends DescribeServiceUpdatesResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns details of the service updates</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DescribeServiceUpdatesCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DescribeServiceUpdatesCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DescribeServiceUpdatesCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeServiceUpdatesCommandInput} for command's `input` shape.
37
- * @see {@link DescribeServiceUpdatesCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeServiceUpdatesCommand extends $Command<
42
- DescribeServiceUpdatesCommandInput,
43
- DescribeServiceUpdatesCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeServiceUpdatesCommandInput) {
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<DescribeServiceUpdatesCommandInput, DescribeServiceUpdatesCommandOutput> {
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 = "DescribeServiceUpdatesCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeServiceUpdatesRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeServiceUpdatesResponse.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: DescribeServiceUpdatesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeServiceUpdatesCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeServiceUpdatesCommandOutput> {
90
- return deserializeAws_json1_1DescribeServiceUpdatesCommand(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 { DescribeSnapshotsRequest, DescribeSnapshotsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeSnapshotsCommand,
18
- serializeAws_json1_1DescribeSnapshotsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeSnapshotsCommandInput extends DescribeSnapshotsRequest {}
22
- export interface DescribeSnapshotsCommandOutput extends DescribeSnapshotsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot,
26
- * or just the snapshots associated with a particular cluster.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { MemoryDBClient, DescribeSnapshotsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
31
- * // const { MemoryDBClient, DescribeSnapshotsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
32
- * const client = new MemoryDBClient(config);
33
- * const command = new DescribeSnapshotsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DescribeSnapshotsCommandInput} for command's `input` shape.
38
- * @see {@link DescribeSnapshotsCommandOutput} for command's `response` shape.
39
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DescribeSnapshotsCommand extends $Command<
43
- DescribeSnapshotsCommandInput,
44
- DescribeSnapshotsCommandOutput,
45
- MemoryDBClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DescribeSnapshotsCommandInput) {
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<DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput> {
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 = "DescribeSnapshotsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DescribeSnapshotsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DescribeSnapshotsResponse.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: DescribeSnapshotsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DescribeSnapshotsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeSnapshotsCommandOutput> {
91
- return deserializeAws_json1_1DescribeSnapshotsCommand(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 { DescribeSubnetGroupsRequest, DescribeSubnetGroupsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeSubnetGroupsCommand,
18
- serializeAws_json1_1DescribeSubnetGroupsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeSubnetGroupsCommandInput extends DescribeSubnetGroupsRequest {}
22
- export interface DescribeSubnetGroupsCommandOutput extends DescribeSubnetGroupsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DescribeSubnetGroupsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DescribeSubnetGroupsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DescribeSubnetGroupsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeSubnetGroupsCommandInput} for command's `input` shape.
37
- * @see {@link DescribeSubnetGroupsCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeSubnetGroupsCommand extends $Command<
42
- DescribeSubnetGroupsCommandInput,
43
- DescribeSubnetGroupsCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeSubnetGroupsCommandInput) {
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<DescribeSubnetGroupsCommandInput, DescribeSubnetGroupsCommandOutput> {
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 = "DescribeSubnetGroupsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeSubnetGroupsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeSubnetGroupsResponse.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: DescribeSubnetGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeSubnetGroupsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeSubnetGroupsCommandOutput> {
90
- return deserializeAws_json1_1DescribeSubnetGroupsCommand(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 { DescribeUsersRequest, DescribeUsersResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeUsersCommand,
18
- serializeAws_json1_1DescribeUsersCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeUsersCommandInput extends DescribeUsersRequest {}
22
- export interface DescribeUsersCommandOutput extends DescribeUsersResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of users.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DescribeUsersCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DescribeUsersCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DescribeUsersCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeUsersCommandInput} for command's `input` shape.
37
- * @see {@link DescribeUsersCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeUsersCommand extends $Command<
42
- DescribeUsersCommandInput,
43
- DescribeUsersCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeUsersCommandInput) {
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<DescribeUsersCommandInput, DescribeUsersCommandOutput> {
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 = "DescribeUsersCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeUsersRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeUsersResponse.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: DescribeUsersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeUsersCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeUsersCommandOutput> {
90
- return deserializeAws_json1_1DescribeUsersCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }