@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,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 { DeleteParameterGroupRequest, DeleteParameterGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DeleteParameterGroupCommand,
18
- serializeAws_json1_1DeleteParameterGroupCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DeleteParameterGroupCommandInput extends DeleteParameterGroupRequest {}
22
- export interface DeleteParameterGroupCommandOutput extends DeleteParameterGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters.
26
- * You cannot delete the default parameter groups in your account.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { MemoryDBClient, DeleteParameterGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
31
- * // const { MemoryDBClient, DeleteParameterGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
32
- * const client = new MemoryDBClient(config);
33
- * const command = new DeleteParameterGroupCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link DeleteParameterGroupCommandInput} for command's `input` shape.
38
- * @see {@link DeleteParameterGroupCommandOutput} for command's `response` shape.
39
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class DeleteParameterGroupCommand extends $Command<
43
- DeleteParameterGroupCommandInput,
44
- DeleteParameterGroupCommandOutput,
45
- MemoryDBClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: DeleteParameterGroupCommandInput) {
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<DeleteParameterGroupCommandInput, DeleteParameterGroupCommandOutput> {
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 = "DeleteParameterGroupCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: DeleteParameterGroupRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: DeleteParameterGroupResponse.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: DeleteParameterGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1DeleteParameterGroupCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteParameterGroupCommandOutput> {
91
- return deserializeAws_json1_1DeleteParameterGroupCommand(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 { DeleteSnapshotRequest, DeleteSnapshotResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DeleteSnapshotCommand,
18
- serializeAws_json1_1DeleteSnapshotCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DeleteSnapshotCommandInput extends DeleteSnapshotRequest {}
22
- export interface DeleteSnapshotCommandOutput extends DeleteSnapshotResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes an existing snapshot. When you receive a successful response from this operation, MemoryDB immediately begins deleting the snapshot; you cannot cancel or revert this operation.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DeleteSnapshotCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DeleteSnapshotCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DeleteSnapshotCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteSnapshotCommandInput} for command's `input` shape.
37
- * @see {@link DeleteSnapshotCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteSnapshotCommand extends $Command<
42
- DeleteSnapshotCommandInput,
43
- DeleteSnapshotCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteSnapshotCommandInput) {
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<DeleteSnapshotCommandInput, DeleteSnapshotCommandOutput> {
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 = "DeleteSnapshotCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteSnapshotRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteSnapshotResponse.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: DeleteSnapshotCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DeleteSnapshotCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSnapshotCommandOutput> {
90
- return deserializeAws_json1_1DeleteSnapshotCommand(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 { DeleteSubnetGroupRequest, DeleteSubnetGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DeleteSubnetGroupCommand,
18
- serializeAws_json1_1DeleteSubnetGroupCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DeleteSubnetGroupCommandInput extends DeleteSubnetGroupRequest {}
22
- export interface DeleteSubnetGroupCommandOutput extends DeleteSubnetGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DeleteSubnetGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DeleteSubnetGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DeleteSubnetGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteSubnetGroupCommandInput} for command's `input` shape.
37
- * @see {@link DeleteSubnetGroupCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteSubnetGroupCommand extends $Command<
42
- DeleteSubnetGroupCommandInput,
43
- DeleteSubnetGroupCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteSubnetGroupCommandInput) {
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<DeleteSubnetGroupCommandInput, DeleteSubnetGroupCommandOutput> {
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 = "DeleteSubnetGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteSubnetGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteSubnetGroupResponse.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: DeleteSubnetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DeleteSubnetGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteSubnetGroupCommandOutput> {
90
- return deserializeAws_json1_1DeleteSubnetGroupCommand(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 { DeleteUserRequest, DeleteUserResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DeleteUserCommand,
18
- serializeAws_json1_1DeleteUserCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DeleteUserCommandInput extends DeleteUserRequest {}
22
- export interface DeleteUserCommandOutput extends DeleteUserResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DeleteUserCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DeleteUserCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DeleteUserCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteUserCommandInput} for command's `input` shape.
37
- * @see {@link DeleteUserCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteUserCommand extends $Command<
42
- DeleteUserCommandInput,
43
- DeleteUserCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteUserCommandInput) {
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<DeleteUserCommandInput, DeleteUserCommandOutput> {
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 = "DeleteUserCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteUserRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteUserResponse.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: DeleteUserCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DeleteUserCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteUserCommandOutput> {
90
- return deserializeAws_json1_1DeleteUserCommand(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 { DescribeACLsRequest, DescribeACLsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeACLsCommand,
18
- serializeAws_json1_1DescribeACLsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeACLsCommandInput extends DescribeACLsRequest {}
22
- export interface DescribeACLsCommandOutput extends DescribeACLsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of ACLs</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DescribeACLsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DescribeACLsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DescribeACLsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeACLsCommandInput} for command's `input` shape.
37
- * @see {@link DescribeACLsCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeACLsCommand extends $Command<
42
- DescribeACLsCommandInput,
43
- DescribeACLsCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeACLsCommandInput) {
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<DescribeACLsCommandInput, DescribeACLsCommandOutput> {
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 = "DescribeACLsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeACLsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeACLsResponse.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: DescribeACLsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeACLsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeACLsCommandOutput> {
90
- return deserializeAws_json1_1DescribeACLsCommand(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 { DescribeClustersRequest, DescribeClustersResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeClustersCommand,
18
- serializeAws_json1_1DescribeClustersCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeClustersCommandInput extends DescribeClustersRequest {}
22
- export interface DescribeClustersCommandOutput extends DescribeClustersResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns information about all provisioned clusters if no cluster identifier is specified, or about a specific cluster if a cluster name is supplied.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DescribeClustersCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DescribeClustersCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DescribeClustersCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeClustersCommandInput} for command's `input` shape.
37
- * @see {@link DescribeClustersCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeClustersCommand extends $Command<
42
- DescribeClustersCommandInput,
43
- DescribeClustersCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeClustersCommandInput) {
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<DescribeClustersCommandInput, DescribeClustersCommandOutput> {
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 = "DescribeClustersCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeClustersRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeClustersResponse.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: DescribeClustersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeClustersCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeClustersCommandOutput> {
90
- return deserializeAws_json1_1DescribeClustersCommand(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 { DescribeEngineVersionsRequest, DescribeEngineVersionsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1DescribeEngineVersionsCommand,
18
- serializeAws_json1_1DescribeEngineVersionsCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface DescribeEngineVersionsCommandInput extends DescribeEngineVersionsRequest {}
22
- export interface DescribeEngineVersionsCommandOutput extends DescribeEngineVersionsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns a list of the available Redis engine versions.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, DescribeEngineVersionsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, DescribeEngineVersionsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new DescribeEngineVersionsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeEngineVersionsCommandInput} for command's `input` shape.
37
- * @see {@link DescribeEngineVersionsCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeEngineVersionsCommand extends $Command<
42
- DescribeEngineVersionsCommandInput,
43
- DescribeEngineVersionsCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeEngineVersionsCommandInput) {
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<DescribeEngineVersionsCommandInput, DescribeEngineVersionsCommandOutput> {
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 = "DescribeEngineVersionsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeEngineVersionsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeEngineVersionsResponse.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: DescribeEngineVersionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1DescribeEngineVersionsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeEngineVersionsCommandOutput> {
90
- return deserializeAws_json1_1DescribeEngineVersionsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }