@aws-sdk/client-memorydb 3.35.0 → 3.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (284) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/MemoryDB.js +0 -6
  3. package/dist-cjs/MemoryDBClient.js +0 -11
  4. package/dist-cjs/commands/BatchUpdateClusterCommand.js +0 -25
  5. package/dist-cjs/commands/CopySnapshotCommand.js +0 -25
  6. package/dist-cjs/commands/CreateACLCommand.js +0 -25
  7. package/dist-cjs/commands/CreateClusterCommand.js +0 -25
  8. package/dist-cjs/commands/CreateParameterGroupCommand.js +0 -28
  9. package/dist-cjs/commands/CreateSnapshotCommand.js +0 -25
  10. package/dist-cjs/commands/CreateSubnetGroupCommand.js +0 -28
  11. package/dist-cjs/commands/CreateUserCommand.js +0 -25
  12. package/dist-cjs/commands/DeleteACLCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteClusterCommand.js +0 -25
  14. package/dist-cjs/commands/DeleteParameterGroupCommand.js +0 -26
  15. package/dist-cjs/commands/DeleteSnapshotCommand.js +0 -25
  16. package/dist-cjs/commands/DeleteSubnetGroupCommand.js +0 -25
  17. package/dist-cjs/commands/DeleteUserCommand.js +0 -25
  18. package/dist-cjs/commands/DescribeACLsCommand.js +0 -25
  19. package/dist-cjs/commands/DescribeClustersCommand.js +0 -25
  20. package/dist-cjs/commands/DescribeEngineVersionsCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeEventsCommand.js +0 -27
  22. package/dist-cjs/commands/DescribeParameterGroupsCommand.js +0 -25
  23. package/dist-cjs/commands/DescribeParametersCommand.js +0 -25
  24. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +0 -25
  25. package/dist-cjs/commands/DescribeSnapshotsCommand.js +0 -26
  26. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js +0 -25
  27. package/dist-cjs/commands/DescribeUsersCommand.js +0 -25
  28. package/dist-cjs/commands/FailoverShardCommand.js +0 -25
  29. package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js +0 -27
  30. package/dist-cjs/commands/ListTagsCommand.js +0 -29
  31. package/dist-cjs/commands/ResetParameterGroupCommand.js +0 -25
  32. package/dist-cjs/commands/TagResourceCommand.js +0 -35
  33. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  34. package/dist-cjs/commands/UpdateACLCommand.js +0 -25
  35. package/dist-cjs/commands/UpdateClusterCommand.js +0 -25
  36. package/dist-cjs/commands/UpdateParameterGroupCommand.js +0 -25
  37. package/dist-cjs/commands/UpdateSubnetGroupCommand.js +0 -26
  38. package/dist-cjs/commands/UpdateUserCommand.js +0 -25
  39. package/dist-cjs/commands/index.js +38 -0
  40. package/dist-cjs/endpoints.js +1 -2
  41. package/dist-cjs/index.js +3 -38
  42. package/dist-cjs/models/index.js +0 -1
  43. package/dist-cjs/models/models_0.js +0 -460
  44. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  45. package/dist-cjs/runtimeConfig.browser.js +1 -6
  46. package/dist-cjs/runtimeConfig.js +2 -7
  47. package/dist-cjs/runtimeConfig.native.js +0 -4
  48. package/dist-cjs/runtimeConfig.shared.js +0 -4
  49. package/dist-es/MemoryDB.js +0 -1
  50. package/dist-es/MemoryDBClient.js +0 -1
  51. package/dist-es/commands/BatchUpdateClusterCommand.js +0 -1
  52. package/dist-es/commands/CopySnapshotCommand.js +0 -1
  53. package/dist-es/commands/CreateACLCommand.js +0 -1
  54. package/dist-es/commands/CreateClusterCommand.js +0 -1
  55. package/dist-es/commands/CreateParameterGroupCommand.js +0 -1
  56. package/dist-es/commands/CreateSnapshotCommand.js +0 -1
  57. package/dist-es/commands/CreateSubnetGroupCommand.js +0 -1
  58. package/dist-es/commands/CreateUserCommand.js +0 -1
  59. package/dist-es/commands/DeleteACLCommand.js +0 -1
  60. package/dist-es/commands/DeleteClusterCommand.js +0 -1
  61. package/dist-es/commands/DeleteParameterGroupCommand.js +0 -1
  62. package/dist-es/commands/DeleteSnapshotCommand.js +0 -1
  63. package/dist-es/commands/DeleteSubnetGroupCommand.js +0 -1
  64. package/dist-es/commands/DeleteUserCommand.js +0 -1
  65. package/dist-es/commands/DescribeACLsCommand.js +0 -1
  66. package/dist-es/commands/DescribeClustersCommand.js +0 -1
  67. package/dist-es/commands/DescribeEngineVersionsCommand.js +0 -1
  68. package/dist-es/commands/DescribeEventsCommand.js +0 -1
  69. package/dist-es/commands/DescribeParameterGroupsCommand.js +0 -1
  70. package/dist-es/commands/DescribeParametersCommand.js +0 -1
  71. package/dist-es/commands/DescribeServiceUpdatesCommand.js +0 -1
  72. package/dist-es/commands/DescribeSnapshotsCommand.js +0 -1
  73. package/dist-es/commands/DescribeSubnetGroupsCommand.js +0 -1
  74. package/dist-es/commands/DescribeUsersCommand.js +0 -1
  75. package/dist-es/commands/FailoverShardCommand.js +0 -1
  76. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js +0 -1
  77. package/dist-es/commands/ListTagsCommand.js +0 -1
  78. package/dist-es/commands/ResetParameterGroupCommand.js +0 -1
  79. package/dist-es/commands/TagResourceCommand.js +0 -1
  80. package/dist-es/commands/UntagResourceCommand.js +0 -1
  81. package/dist-es/commands/UpdateACLCommand.js +0 -1
  82. package/dist-es/commands/UpdateClusterCommand.js +0 -1
  83. package/dist-es/commands/UpdateParameterGroupCommand.js +0 -1
  84. package/dist-es/commands/UpdateSubnetGroupCommand.js +0 -1
  85. package/dist-es/commands/UpdateUserCommand.js +0 -1
  86. package/dist-es/commands/index.js +35 -0
  87. package/dist-es/endpoints.js +1 -2
  88. package/dist-es/index.js +3 -38
  89. package/dist-es/models/index.js +0 -1
  90. package/dist-es/models/models_0.js +0 -1
  91. package/dist-es/protocols/Aws_json1_1.js +0 -1
  92. package/dist-es/runtimeConfig.browser.js +1 -2
  93. package/dist-es/runtimeConfig.js +2 -3
  94. package/dist-es/runtimeConfig.native.js +0 -1
  95. package/dist-es/runtimeConfig.shared.js +0 -1
  96. package/dist-types/commands/index.d.ts +35 -0
  97. package/dist-types/index.d.ts +3 -37
  98. package/dist-types/ts3.4/MemoryDB.d.ts +36 -137
  99. package/dist-types/ts3.4/MemoryDBClient.d.ts +24 -91
  100. package/dist-types/ts3.4/commands/BatchUpdateClusterCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +2 -20
  102. package/dist-types/ts3.4/commands/CreateACLCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +2 -23
  105. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +2 -23
  107. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/DeleteACLCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +2 -20
  110. package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +2 -21
  111. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/DescribeACLsCommand.d.ts +2 -20
  115. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/DescribeEngineVersionsCommand.d.ts +2 -20
  117. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -22
  118. package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +2 -21
  122. package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/FailoverShardCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +2 -22
  126. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -24
  127. package/dist-types/ts3.4/commands/ResetParameterGroupCommand.d.ts +2 -20
  128. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -30
  129. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  130. package/dist-types/ts3.4/commands/UpdateACLCommand.d.ts +2 -20
  131. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +2 -20
  132. package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +2 -20
  133. package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +2 -21
  134. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/index.d.ts +35 -0
  136. package/dist-types/ts3.4/index.d.ts +3 -37
  137. package/dist-types/ts3.4/models/models_0.d.ts +554 -1698
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  142. package/package.json +33 -30
  143. package/dist-cjs/MemoryDB.js.map +0 -1
  144. package/dist-cjs/MemoryDBClient.js.map +0 -1
  145. package/dist-cjs/commands/BatchUpdateClusterCommand.js.map +0 -1
  146. package/dist-cjs/commands/CopySnapshotCommand.js.map +0 -1
  147. package/dist-cjs/commands/CreateACLCommand.js.map +0 -1
  148. package/dist-cjs/commands/CreateClusterCommand.js.map +0 -1
  149. package/dist-cjs/commands/CreateParameterGroupCommand.js.map +0 -1
  150. package/dist-cjs/commands/CreateSnapshotCommand.js.map +0 -1
  151. package/dist-cjs/commands/CreateSubnetGroupCommand.js.map +0 -1
  152. package/dist-cjs/commands/CreateUserCommand.js.map +0 -1
  153. package/dist-cjs/commands/DeleteACLCommand.js.map +0 -1
  154. package/dist-cjs/commands/DeleteClusterCommand.js.map +0 -1
  155. package/dist-cjs/commands/DeleteParameterGroupCommand.js.map +0 -1
  156. package/dist-cjs/commands/DeleteSnapshotCommand.js.map +0 -1
  157. package/dist-cjs/commands/DeleteSubnetGroupCommand.js.map +0 -1
  158. package/dist-cjs/commands/DeleteUserCommand.js.map +0 -1
  159. package/dist-cjs/commands/DescribeACLsCommand.js.map +0 -1
  160. package/dist-cjs/commands/DescribeClustersCommand.js.map +0 -1
  161. package/dist-cjs/commands/DescribeEngineVersionsCommand.js.map +0 -1
  162. package/dist-cjs/commands/DescribeEventsCommand.js.map +0 -1
  163. package/dist-cjs/commands/DescribeParameterGroupsCommand.js.map +0 -1
  164. package/dist-cjs/commands/DescribeParametersCommand.js.map +0 -1
  165. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js.map +0 -1
  166. package/dist-cjs/commands/DescribeSnapshotsCommand.js.map +0 -1
  167. package/dist-cjs/commands/DescribeSubnetGroupsCommand.js.map +0 -1
  168. package/dist-cjs/commands/DescribeUsersCommand.js.map +0 -1
  169. package/dist-cjs/commands/FailoverShardCommand.js.map +0 -1
  170. package/dist-cjs/commands/ListAllowedNodeTypeUpdatesCommand.js.map +0 -1
  171. package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
  172. package/dist-cjs/commands/ResetParameterGroupCommand.js.map +0 -1
  173. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  174. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  175. package/dist-cjs/commands/UpdateACLCommand.js.map +0 -1
  176. package/dist-cjs/commands/UpdateClusterCommand.js.map +0 -1
  177. package/dist-cjs/commands/UpdateParameterGroupCommand.js.map +0 -1
  178. package/dist-cjs/commands/UpdateSubnetGroupCommand.js.map +0 -1
  179. package/dist-cjs/commands/UpdateUserCommand.js.map +0 -1
  180. package/dist-cjs/endpoints.js.map +0 -1
  181. package/dist-cjs/index.js.map +0 -1
  182. package/dist-cjs/models/index.js.map +0 -1
  183. package/dist-cjs/models/models_0.js.map +0 -1
  184. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  185. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  186. package/dist-cjs/runtimeConfig.js.map +0 -1
  187. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  188. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  189. package/dist-es/MemoryDB.js.map +0 -1
  190. package/dist-es/MemoryDBClient.js.map +0 -1
  191. package/dist-es/commands/BatchUpdateClusterCommand.js.map +0 -1
  192. package/dist-es/commands/CopySnapshotCommand.js.map +0 -1
  193. package/dist-es/commands/CreateACLCommand.js.map +0 -1
  194. package/dist-es/commands/CreateClusterCommand.js.map +0 -1
  195. package/dist-es/commands/CreateParameterGroupCommand.js.map +0 -1
  196. package/dist-es/commands/CreateSnapshotCommand.js.map +0 -1
  197. package/dist-es/commands/CreateSubnetGroupCommand.js.map +0 -1
  198. package/dist-es/commands/CreateUserCommand.js.map +0 -1
  199. package/dist-es/commands/DeleteACLCommand.js.map +0 -1
  200. package/dist-es/commands/DeleteClusterCommand.js.map +0 -1
  201. package/dist-es/commands/DeleteParameterGroupCommand.js.map +0 -1
  202. package/dist-es/commands/DeleteSnapshotCommand.js.map +0 -1
  203. package/dist-es/commands/DeleteSubnetGroupCommand.js.map +0 -1
  204. package/dist-es/commands/DeleteUserCommand.js.map +0 -1
  205. package/dist-es/commands/DescribeACLsCommand.js.map +0 -1
  206. package/dist-es/commands/DescribeClustersCommand.js.map +0 -1
  207. package/dist-es/commands/DescribeEngineVersionsCommand.js.map +0 -1
  208. package/dist-es/commands/DescribeEventsCommand.js.map +0 -1
  209. package/dist-es/commands/DescribeParameterGroupsCommand.js.map +0 -1
  210. package/dist-es/commands/DescribeParametersCommand.js.map +0 -1
  211. package/dist-es/commands/DescribeServiceUpdatesCommand.js.map +0 -1
  212. package/dist-es/commands/DescribeSnapshotsCommand.js.map +0 -1
  213. package/dist-es/commands/DescribeSubnetGroupsCommand.js.map +0 -1
  214. package/dist-es/commands/DescribeUsersCommand.js.map +0 -1
  215. package/dist-es/commands/FailoverShardCommand.js.map +0 -1
  216. package/dist-es/commands/ListAllowedNodeTypeUpdatesCommand.js.map +0 -1
  217. package/dist-es/commands/ListTagsCommand.js.map +0 -1
  218. package/dist-es/commands/ResetParameterGroupCommand.js.map +0 -1
  219. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  220. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  221. package/dist-es/commands/UpdateACLCommand.js.map +0 -1
  222. package/dist-es/commands/UpdateClusterCommand.js.map +0 -1
  223. package/dist-es/commands/UpdateParameterGroupCommand.js.map +0 -1
  224. package/dist-es/commands/UpdateSubnetGroupCommand.js.map +0 -1
  225. package/dist-es/commands/UpdateUserCommand.js.map +0 -1
  226. package/dist-es/endpoints.js.map +0 -1
  227. package/dist-es/index.js.map +0 -1
  228. package/dist-es/models/index.js.map +0 -1
  229. package/dist-es/models/models_0.js.map +0 -1
  230. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  231. package/dist-es/runtimeConfig.browser.js.map +0 -1
  232. package/dist-es/runtimeConfig.js.map +0 -1
  233. package/dist-es/runtimeConfig.native.js.map +0 -1
  234. package/dist-es/runtimeConfig.shared.js.map +0 -1
  235. package/jest.config.js +0 -4
  236. package/src/MemoryDB.ts +0 -1246
  237. package/src/MemoryDBClient.ts +0 -370
  238. package/src/commands/BatchUpdateClusterCommand.ts +0 -95
  239. package/src/commands/CopySnapshotCommand.ts +0 -95
  240. package/src/commands/CreateACLCommand.ts +0 -92
  241. package/src/commands/CreateClusterCommand.ts +0 -95
  242. package/src/commands/CreateParameterGroupCommand.ts +0 -98
  243. package/src/commands/CreateSnapshotCommand.ts +0 -95
  244. package/src/commands/CreateSubnetGroupCommand.ts +0 -98
  245. package/src/commands/CreateUserCommand.ts +0 -95
  246. package/src/commands/DeleteACLCommand.ts +0 -92
  247. package/src/commands/DeleteClusterCommand.ts +0 -95
  248. package/src/commands/DeleteParameterGroupCommand.ts +0 -96
  249. package/src/commands/DeleteSnapshotCommand.ts +0 -95
  250. package/src/commands/DeleteSubnetGroupCommand.ts +0 -95
  251. package/src/commands/DeleteUserCommand.ts +0 -95
  252. package/src/commands/DescribeACLsCommand.ts +0 -95
  253. package/src/commands/DescribeClustersCommand.ts +0 -95
  254. package/src/commands/DescribeEngineVersionsCommand.ts +0 -95
  255. package/src/commands/DescribeEventsCommand.ts +0 -97
  256. package/src/commands/DescribeParameterGroupsCommand.ts +0 -95
  257. package/src/commands/DescribeParametersCommand.ts +0 -95
  258. package/src/commands/DescribeServiceUpdatesCommand.ts +0 -95
  259. package/src/commands/DescribeSnapshotsCommand.ts +0 -96
  260. package/src/commands/DescribeSubnetGroupsCommand.ts +0 -95
  261. package/src/commands/DescribeUsersCommand.ts +0 -95
  262. package/src/commands/FailoverShardCommand.ts +0 -95
  263. package/src/commands/ListAllowedNodeTypeUpdatesCommand.ts +0 -100
  264. package/src/commands/ListTagsCommand.ts +0 -96
  265. package/src/commands/ResetParameterGroupCommand.ts +0 -95
  266. package/src/commands/TagResourceCommand.ts +0 -105
  267. package/src/commands/UntagResourceCommand.ts +0 -95
  268. package/src/commands/UpdateACLCommand.ts +0 -92
  269. package/src/commands/UpdateClusterCommand.ts +0 -95
  270. package/src/commands/UpdateParameterGroupCommand.ts +0 -95
  271. package/src/commands/UpdateSubnetGroupCommand.ts +0 -96
  272. package/src/commands/UpdateUserCommand.ts +0 -95
  273. package/src/endpoints.ts +0 -57
  274. package/src/index.ts +0 -38
  275. package/src/models/index.ts +0 -1
  276. package/src/models/models_0.ts +0 -3789
  277. package/src/protocols/Aws_json1_1.ts +0 -6700
  278. package/src/runtimeConfig.browser.ts +0 -41
  279. package/src/runtimeConfig.native.ts +0 -17
  280. package/src/runtimeConfig.shared.ts +0 -17
  281. package/src/runtimeConfig.ts +0 -46
  282. package/tsconfig.es.json +0 -10
  283. package/tsconfig.json +0 -33
  284. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { MemoryDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MemoryDBClient";
15
- import { FailoverShardRequest, FailoverShardResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1FailoverShardCommand,
18
- serializeAws_json1_1FailoverShardCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface FailoverShardCommandInput extends FailoverShardRequest {}
22
- export interface FailoverShardCommandOutput extends FailoverShardResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Used to failover a shard</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, FailoverShardCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, FailoverShardCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new FailoverShardCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link FailoverShardCommandInput} for command's `input` shape.
37
- * @see {@link FailoverShardCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class FailoverShardCommand extends $Command<
42
- FailoverShardCommandInput,
43
- FailoverShardCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: FailoverShardCommandInput) {
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<FailoverShardCommandInput, FailoverShardCommandOutput> {
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 = "FailoverShardCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: FailoverShardRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: FailoverShardResponse.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: FailoverShardCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1FailoverShardCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<FailoverShardCommandOutput> {
90
- return deserializeAws_json1_1FailoverShardCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,100 +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 { ListAllowedNodeTypeUpdatesRequest, ListAllowedNodeTypeUpdatesResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ListAllowedNodeTypeUpdatesCommand,
18
- serializeAws_json1_1ListAllowedNodeTypeUpdatesCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ListAllowedNodeTypeUpdatesCommandInput extends ListAllowedNodeTypeUpdatesRequest {}
22
- export interface ListAllowedNodeTypeUpdatesCommandOutput extends ListAllowedNodeTypeUpdatesResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists all available node types that you can scale to from your cluster's current node type.
26
- *
27
- * When you use the UpdateCluster operation to scale your cluster, the value of the NodeType parameter must be one of the node types returned by this operation.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { MemoryDBClient, ListAllowedNodeTypeUpdatesCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
32
- * // const { MemoryDBClient, ListAllowedNodeTypeUpdatesCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
33
- * const client = new MemoryDBClient(config);
34
- * const command = new ListAllowedNodeTypeUpdatesCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link ListAllowedNodeTypeUpdatesCommandInput} for command's `input` shape.
39
- * @see {@link ListAllowedNodeTypeUpdatesCommandOutput} for command's `response` shape.
40
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class ListAllowedNodeTypeUpdatesCommand extends $Command<
44
- ListAllowedNodeTypeUpdatesCommandInput,
45
- ListAllowedNodeTypeUpdatesCommandOutput,
46
- MemoryDBClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: ListAllowedNodeTypeUpdatesCommandInput) {
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<ListAllowedNodeTypeUpdatesCommandInput, ListAllowedNodeTypeUpdatesCommandOutput> {
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 = "ListAllowedNodeTypeUpdatesCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: ListAllowedNodeTypeUpdatesRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: ListAllowedNodeTypeUpdatesResponse.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: ListAllowedNodeTypeUpdatesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1ListAllowedNodeTypeUpdatesCommand(input, context);
89
- }
90
-
91
- private deserialize(
92
- output: __HttpResponse,
93
- context: __SerdeContext
94
- ): Promise<ListAllowedNodeTypeUpdatesCommandOutput> {
95
- return deserializeAws_json1_1ListAllowedNodeTypeUpdatesCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -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 { ListTagsRequest, ListTagsResponse } from "../models/models_0";
16
- import { deserializeAws_json1_1ListTagsCommand, serializeAws_json1_1ListTagsCommand } from "../protocols/Aws_json1_1";
17
-
18
- export interface ListTagsCommandInput extends ListTagsRequest {}
19
- export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBearer {}
20
-
21
- /**
22
- * <p>Lists all tags currently on a named resource.
23
- *
24
- * A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track your MemoryDB resources.
25
- * For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/Tagging-Resources.html">Tagging your MemoryDB resources</a>
26
- * </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { MemoryDBClient, ListTagsCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
31
- * // const { MemoryDBClient, ListTagsCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
32
- * const client = new MemoryDBClient(config);
33
- * const command = new ListTagsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListTagsCommandInput} for command's `input` shape.
38
- * @see {@link ListTagsCommandOutput} for command's `response` shape.
39
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListTagsCommand extends $Command<
43
- ListTagsCommandInput,
44
- ListTagsCommandOutput,
45
- MemoryDBClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListTagsCommandInput) {
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<ListTagsCommandInput, ListTagsCommandOutput> {
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 = "ListTagsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListTagsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListTagsResponse.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: ListTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1ListTagsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsCommandOutput> {
91
- return deserializeAws_json1_1ListTagsCommand(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 { ResetParameterGroupRequest, ResetParameterGroupResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1ResetParameterGroupCommand,
18
- serializeAws_json1_1ResetParameterGroupCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface ResetParameterGroupCommandInput extends ResetParameterGroupRequest {}
22
- export interface ResetParameterGroupCommandOutput extends ResetParameterGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Modifies the parameters of a parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire parameter group, specify the AllParameters and ParameterGroupName parameters.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, ResetParameterGroupCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, ResetParameterGroupCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new ResetParameterGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link ResetParameterGroupCommandInput} for command's `input` shape.
37
- * @see {@link ResetParameterGroupCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class ResetParameterGroupCommand extends $Command<
42
- ResetParameterGroupCommandInput,
43
- ResetParameterGroupCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: ResetParameterGroupCommandInput) {
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<ResetParameterGroupCommandInput, ResetParameterGroupCommandOutput> {
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 = "ResetParameterGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: ResetParameterGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: ResetParameterGroupResponse.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: ResetParameterGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1ResetParameterGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ResetParameterGroupCommandOutput> {
90
- return deserializeAws_json1_1ResetParameterGroupCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,105 +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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1TagResourceCommand,
18
- serializeAws_json1_1TagResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface TagResourceCommandInput extends TagResourceRequest {}
22
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your MemoryDB resources.
26
- *
27
- * When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. For more information, see
28
- *
29
- * <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/iam.resourcelevelpermissions.html">Resource-level permissions</a>.</p>
30
- *
31
- * <p>For example, you can use cost-allocation tags to your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value
32
- * (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories
33
- * (such as cost centers, application names, or owners) to organize your costs across multiple services.
34
- *
35
- * For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/tagging.html">Using Cost Allocation Tags</a>.</p>
36
- * @example
37
- * Use a bare-bones client and the command you need to make an API call.
38
- * ```javascript
39
- * import { MemoryDBClient, TagResourceCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
40
- * // const { MemoryDBClient, TagResourceCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
41
- * const client = new MemoryDBClient(config);
42
- * const command = new TagResourceCommand(input);
43
- * const response = await client.send(command);
44
- * ```
45
- *
46
- * @see {@link TagResourceCommandInput} for command's `input` shape.
47
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
48
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
49
- *
50
- */
51
- export class TagResourceCommand extends $Command<
52
- TagResourceCommandInput,
53
- TagResourceCommandOutput,
54
- MemoryDBClientResolvedConfig
55
- > {
56
- // Start section: command_properties
57
- // End section: command_properties
58
-
59
- constructor(readonly input: TagResourceCommandInput) {
60
- // Start section: command_constructor
61
- super();
62
- // End section: command_constructor
63
- }
64
-
65
- /**
66
- * @internal
67
- */
68
- resolveMiddleware(
69
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
70
- configuration: MemoryDBClientResolvedConfig,
71
- options?: __HttpHandlerOptions
72
- ): Handler<TagResourceCommandInput, TagResourceCommandOutput> {
73
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
74
-
75
- const stack = clientStack.concat(this.middlewareStack);
76
-
77
- const { logger } = configuration;
78
- const clientName = "MemoryDBClient";
79
- const commandName = "TagResourceCommand";
80
- const handlerExecutionContext: HandlerExecutionContext = {
81
- logger,
82
- clientName,
83
- commandName,
84
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
85
- outputFilterSensitiveLog: TagResourceResponse.filterSensitiveLog,
86
- };
87
- const { requestHandler } = configuration;
88
- return stack.resolve(
89
- (request: FinalizeHandlerArguments<any>) =>
90
- requestHandler.handle(request.request as __HttpRequest, options || {}),
91
- handlerExecutionContext
92
- );
93
- }
94
-
95
- private serialize(input: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
96
- return serializeAws_json1_1TagResourceCommand(input, context);
97
- }
98
-
99
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
100
- return deserializeAws_json1_1TagResourceCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_json1_1UntagResourceCommand,
18
- serializeAws_json1_1UntagResourceCommand,
19
- } from "../protocols/Aws_json1_1";
20
-
21
- export interface UntagResourceCommandInput extends UntagResourceRequest {}
22
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Use this operation to remove tags on a resource</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { MemoryDBClient, UntagResourceCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
30
- * // const { MemoryDBClient, UntagResourceCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
31
- * const client = new MemoryDBClient(config);
32
- * const command = new UntagResourceCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
37
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
38
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UntagResourceCommand extends $Command<
42
- UntagResourceCommandInput,
43
- UntagResourceCommandOutput,
44
- MemoryDBClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UntagResourceCommandInput) {
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<UntagResourceCommandInput, UntagResourceCommandOutput> {
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 = "UntagResourceCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UntagResourceResponse.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: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1UntagResourceCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
90
- return deserializeAws_json1_1UntagResourceCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,92 +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 { UpdateACLRequest, UpdateACLResponse } from "../models/models_0";
16
- import { deserializeAws_json1_1UpdateACLCommand, serializeAws_json1_1UpdateACLCommand } from "../protocols/Aws_json1_1";
17
-
18
- export interface UpdateACLCommandInput extends UpdateACLRequest {}
19
- export interface UpdateACLCommandOutput extends UpdateACLResponse, __MetadataBearer {}
20
-
21
- /**
22
- * <p>Changes the list of users that belong to the Access Control List.</p>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { MemoryDBClient, UpdateACLCommand } from "@aws-sdk/client-memorydb"; // ES Modules import
27
- * // const { MemoryDBClient, UpdateACLCommand } = require("@aws-sdk/client-memorydb"); // CommonJS import
28
- * const client = new MemoryDBClient(config);
29
- * const command = new UpdateACLCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link UpdateACLCommandInput} for command's `input` shape.
34
- * @see {@link UpdateACLCommandOutput} for command's `response` shape.
35
- * @see {@link MemoryDBClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
- export class UpdateACLCommand extends $Command<
39
- UpdateACLCommandInput,
40
- UpdateACLCommandOutput,
41
- MemoryDBClientResolvedConfig
42
- > {
43
- // Start section: command_properties
44
- // End section: command_properties
45
-
46
- constructor(readonly input: UpdateACLCommandInput) {
47
- // Start section: command_constructor
48
- super();
49
- // End section: command_constructor
50
- }
51
-
52
- /**
53
- * @internal
54
- */
55
- resolveMiddleware(
56
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
57
- configuration: MemoryDBClientResolvedConfig,
58
- options?: __HttpHandlerOptions
59
- ): Handler<UpdateACLCommandInput, UpdateACLCommandOutput> {
60
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
61
-
62
- const stack = clientStack.concat(this.middlewareStack);
63
-
64
- const { logger } = configuration;
65
- const clientName = "MemoryDBClient";
66
- const commandName = "UpdateACLCommand";
67
- const handlerExecutionContext: HandlerExecutionContext = {
68
- logger,
69
- clientName,
70
- commandName,
71
- inputFilterSensitiveLog: UpdateACLRequest.filterSensitiveLog,
72
- outputFilterSensitiveLog: UpdateACLResponse.filterSensitiveLog,
73
- };
74
- const { requestHandler } = configuration;
75
- return stack.resolve(
76
- (request: FinalizeHandlerArguments<any>) =>
77
- requestHandler.handle(request.request as __HttpRequest, options || {}),
78
- handlerExecutionContext
79
- );
80
- }
81
-
82
- private serialize(input: UpdateACLCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
83
- return serializeAws_json1_1UpdateACLCommand(input, context);
84
- }
85
-
86
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateACLCommandOutput> {
87
- return deserializeAws_json1_1UpdateACLCommand(output, context);
88
- }
89
-
90
- // Start section: command_body_extra
91
- // End section: command_body_extra
92
- }