@aws-sdk/client-memorydb 3.34.0 → 3.37.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 (361) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/MemoryDB.js +1 -7
  3. package/{dist/cjs → dist-cjs}/MemoryDBClient.js +8 -19
  4. package/{dist/cjs → dist-cjs}/commands/BatchUpdateClusterCommand.js +2 -27
  5. package/{dist/cjs → dist-cjs}/commands/CopySnapshotCommand.js +2 -27
  6. package/{dist/cjs → dist-cjs}/commands/CreateACLCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/commands/CreateClusterCommand.js +2 -27
  8. package/{dist/cjs → dist-cjs}/commands/CreateParameterGroupCommand.js +2 -30
  9. package/{dist/cjs → dist-cjs}/commands/CreateSnapshotCommand.js +2 -27
  10. package/{dist/cjs → dist-cjs}/commands/CreateSubnetGroupCommand.js +2 -30
  11. package/{dist/cjs → dist-cjs}/commands/CreateUserCommand.js +2 -27
  12. package/{dist/cjs → dist-cjs}/commands/DeleteACLCommand.js +2 -27
  13. package/{dist/cjs → dist-cjs}/commands/DeleteClusterCommand.js +2 -27
  14. package/{dist/cjs → dist-cjs}/commands/DeleteParameterGroupCommand.js +2 -28
  15. package/{dist/cjs → dist-cjs}/commands/DeleteSnapshotCommand.js +2 -27
  16. package/{dist/cjs → dist-cjs}/commands/DeleteSubnetGroupCommand.js +2 -27
  17. package/{dist/cjs → dist-cjs}/commands/DeleteUserCommand.js +2 -27
  18. package/{dist/cjs → dist-cjs}/commands/DescribeACLsCommand.js +2 -27
  19. package/{dist/cjs → dist-cjs}/commands/DescribeClustersCommand.js +2 -27
  20. package/{dist/cjs → dist-cjs}/commands/DescribeEngineVersionsCommand.js +2 -27
  21. package/{dist/cjs → dist-cjs}/commands/DescribeEventsCommand.js +2 -29
  22. package/{dist/cjs → dist-cjs}/commands/DescribeParameterGroupsCommand.js +2 -27
  23. package/{dist/cjs → dist-cjs}/commands/DescribeParametersCommand.js +2 -27
  24. package/{dist/cjs → dist-cjs}/commands/DescribeServiceUpdatesCommand.js +2 -27
  25. package/{dist/cjs → dist-cjs}/commands/DescribeSnapshotsCommand.js +2 -28
  26. package/{dist/cjs → dist-cjs}/commands/DescribeSubnetGroupsCommand.js +2 -27
  27. package/{dist/cjs → dist-cjs}/commands/DescribeUsersCommand.js +2 -27
  28. package/{dist/cjs → dist-cjs}/commands/FailoverShardCommand.js +2 -27
  29. package/{dist/cjs → dist-cjs}/commands/ListAllowedNodeTypeUpdatesCommand.js +2 -29
  30. package/{dist/cjs → dist-cjs}/commands/ListTagsCommand.js +2 -31
  31. package/{dist/cjs → dist-cjs}/commands/ResetParameterGroupCommand.js +2 -27
  32. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  33. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
  34. package/{dist/cjs → dist-cjs}/commands/UpdateACLCommand.js +2 -27
  35. package/{dist/cjs → dist-cjs}/commands/UpdateClusterCommand.js +2 -27
  36. package/{dist/cjs → dist-cjs}/commands/UpdateParameterGroupCommand.js +2 -27
  37. package/{dist/cjs → dist-cjs}/commands/UpdateSubnetGroupCommand.js +2 -28
  38. package/{dist/cjs → dist-cjs}/commands/UpdateUserCommand.js +2 -27
  39. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  40. package/{dist/cjs → dist-cjs}/index.js +0 -1
  41. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  42. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -460
  43. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  46. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  47. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  48. package/{dist/es → dist-es}/MemoryDB.js +1 -2
  49. package/{dist/es → dist-es}/MemoryDBClient.js +1 -2
  50. package/{dist/es → dist-es}/commands/BatchUpdateClusterCommand.js +2 -3
  51. package/{dist/es → dist-es}/commands/CopySnapshotCommand.js +2 -3
  52. package/{dist/es → dist-es}/commands/CreateACLCommand.js +2 -3
  53. package/{dist/es → dist-es}/commands/CreateClusterCommand.js +2 -3
  54. package/{dist/es → dist-es}/commands/CreateParameterGroupCommand.js +2 -3
  55. package/{dist/es → dist-es}/commands/CreateSnapshotCommand.js +2 -3
  56. package/{dist/es → dist-es}/commands/CreateSubnetGroupCommand.js +2 -3
  57. package/{dist/es → dist-es}/commands/CreateUserCommand.js +2 -3
  58. package/{dist/es → dist-es}/commands/DeleteACLCommand.js +2 -3
  59. package/{dist/es → dist-es}/commands/DeleteClusterCommand.js +2 -3
  60. package/{dist/es → dist-es}/commands/DeleteParameterGroupCommand.js +2 -3
  61. package/{dist/es → dist-es}/commands/DeleteSnapshotCommand.js +2 -3
  62. package/{dist/es → dist-es}/commands/DeleteSubnetGroupCommand.js +2 -3
  63. package/{dist/es → dist-es}/commands/DeleteUserCommand.js +2 -3
  64. package/{dist/es → dist-es}/commands/DescribeACLsCommand.js +2 -3
  65. package/{dist/es → dist-es}/commands/DescribeClustersCommand.js +2 -3
  66. package/{dist/es → dist-es}/commands/DescribeEngineVersionsCommand.js +2 -3
  67. package/{dist/es → dist-es}/commands/DescribeEventsCommand.js +2 -3
  68. package/{dist/es → dist-es}/commands/DescribeParameterGroupsCommand.js +2 -3
  69. package/{dist/es → dist-es}/commands/DescribeParametersCommand.js +2 -3
  70. package/{dist/es → dist-es}/commands/DescribeServiceUpdatesCommand.js +2 -3
  71. package/{dist/es → dist-es}/commands/DescribeSnapshotsCommand.js +2 -3
  72. package/{dist/es → dist-es}/commands/DescribeSubnetGroupsCommand.js +2 -3
  73. package/{dist/es → dist-es}/commands/DescribeUsersCommand.js +2 -3
  74. package/{dist/es → dist-es}/commands/FailoverShardCommand.js +2 -3
  75. package/{dist/es → dist-es}/commands/ListAllowedNodeTypeUpdatesCommand.js +2 -3
  76. package/{dist/es → dist-es}/commands/ListTagsCommand.js +2 -3
  77. package/{dist/es → dist-es}/commands/ResetParameterGroupCommand.js +2 -3
  78. package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
  79. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
  80. package/{dist/es → dist-es}/commands/UpdateACLCommand.js +2 -3
  81. package/{dist/es → dist-es}/commands/UpdateClusterCommand.js +2 -3
  82. package/{dist/es → dist-es}/commands/UpdateParameterGroupCommand.js +2 -3
  83. package/{dist/es → dist-es}/commands/UpdateSubnetGroupCommand.js +2 -3
  84. package/{dist/es → dist-es}/commands/UpdateUserCommand.js +2 -3
  85. package/{dist/es → dist-es}/endpoints.js +1 -2
  86. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  87. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  88. package/{dist/es → dist-es}/models/models_0.js +0 -1
  89. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
  90. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  91. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  92. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  93. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  94. package/{dist/types → dist-types}/MemoryDB.d.ts +2 -2
  95. package/{dist/types → dist-types}/MemoryDBClient.d.ts +8 -8
  96. package/{dist/types → dist-types}/commands/BatchUpdateClusterCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/CopySnapshotCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/CreateACLCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/CreateClusterCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/CreateParameterGroupCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/CreateSnapshotCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/CreateSubnetGroupCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/CreateUserCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/DeleteACLCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/DeleteClusterCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/DeleteParameterGroupCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/DeleteSnapshotCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/DeleteSubnetGroupCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/DeleteUserCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/DescribeACLsCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/DescribeClustersCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/DescribeEngineVersionsCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/DescribeEventsCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/DescribeParameterGroupsCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/DescribeParametersCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/commands/DescribeServiceUpdatesCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/commands/DescribeSnapshotsCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/commands/DescribeSubnetGroupsCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/commands/DescribeUsersCommand.d.ts +2 -2
  120. package/{dist/types → dist-types}/commands/FailoverShardCommand.d.ts +2 -2
  121. package/{dist/types → dist-types}/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +2 -2
  122. package/{dist/types → dist-types}/commands/ListTagsCommand.d.ts +2 -2
  123. package/{dist/types → dist-types}/commands/ResetParameterGroupCommand.d.ts +2 -2
  124. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  125. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  126. package/{dist/types → dist-types}/commands/UpdateACLCommand.d.ts +2 -2
  127. package/{dist/types → dist-types}/commands/UpdateClusterCommand.d.ts +2 -2
  128. package/{dist/types → dist-types}/commands/UpdateParameterGroupCommand.d.ts +2 -2
  129. package/{dist/types → dist-types}/commands/UpdateSubnetGroupCommand.d.ts +2 -2
  130. package/{dist/types → dist-types}/commands/UpdateUserCommand.d.ts +2 -2
  131. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  132. package/{index.ts → dist-types/index.d.ts} +0 -0
  133. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  134. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  135. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  136. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  137. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  138. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  139. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  140. package/{dist/types → dist-types}/ts3.4/MemoryDB.d.ts +38 -139
  141. package/{dist/types → dist-types}/ts3.4/MemoryDBClient.d.ts +32 -99
  142. package/dist-types/ts3.4/commands/BatchUpdateClusterCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/CreateACLCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/CreateParameterGroupCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/DeleteACLCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  156. package/{dist/types → dist-types}/ts3.4/commands/DescribeACLsCommand.d.ts +4 -22
  157. package/dist-types/ts3.4/commands/DescribeClustersCommand.d.ts +17 -0
  158. package/{dist/types → dist-types}/ts3.4/commands/DescribeEngineVersionsCommand.d.ts +4 -22
  159. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +17 -0
  160. package/dist-types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +17 -0
  161. package/{dist/types → dist-types}/ts3.4/commands/DescribeParametersCommand.d.ts +4 -22
  162. package/{dist/types → dist-types}/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +4 -22
  163. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +17 -0
  164. package/dist-types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +17 -0
  165. package/{dist/types → dist-types}/ts3.4/commands/DescribeUsersCommand.d.ts +4 -22
  166. package/{dist/types → dist-types}/ts3.4/commands/FailoverShardCommand.d.ts +4 -22
  167. package/dist-types/ts3.4/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/ResetParameterGroupCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/UpdateACLCommand.d.ts +17 -0
  173. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +17 -0
  174. package/dist-types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/UpdateUserCommand.d.ts +17 -0
  177. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  178. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  179. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  180. package/dist-types/ts3.4/models/models_0.d.ts +1813 -0
  181. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  182. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  183. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  184. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  185. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  186. package/package.json +45 -42
  187. package/MemoryDB.ts +0 -1245
  188. package/MemoryDBClient.ts +0 -369
  189. package/commands/BatchUpdateClusterCommand.ts +0 -94
  190. package/commands/CopySnapshotCommand.ts +0 -94
  191. package/commands/CreateACLCommand.ts +0 -91
  192. package/commands/CreateClusterCommand.ts +0 -94
  193. package/commands/CreateParameterGroupCommand.ts +0 -97
  194. package/commands/CreateSnapshotCommand.ts +0 -94
  195. package/commands/CreateSubnetGroupCommand.ts +0 -97
  196. package/commands/CreateUserCommand.ts +0 -94
  197. package/commands/DeleteACLCommand.ts +0 -91
  198. package/commands/DeleteClusterCommand.ts +0 -94
  199. package/commands/DeleteParameterGroupCommand.ts +0 -95
  200. package/commands/DeleteSnapshotCommand.ts +0 -94
  201. package/commands/DeleteSubnetGroupCommand.ts +0 -94
  202. package/commands/DeleteUserCommand.ts +0 -94
  203. package/commands/DescribeACLsCommand.ts +0 -94
  204. package/commands/DescribeClustersCommand.ts +0 -94
  205. package/commands/DescribeEngineVersionsCommand.ts +0 -94
  206. package/commands/DescribeEventsCommand.ts +0 -96
  207. package/commands/DescribeParameterGroupsCommand.ts +0 -94
  208. package/commands/DescribeParametersCommand.ts +0 -94
  209. package/commands/DescribeServiceUpdatesCommand.ts +0 -94
  210. package/commands/DescribeSnapshotsCommand.ts +0 -95
  211. package/commands/DescribeSubnetGroupsCommand.ts +0 -94
  212. package/commands/DescribeUsersCommand.ts +0 -94
  213. package/commands/FailoverShardCommand.ts +0 -94
  214. package/commands/ListAllowedNodeTypeUpdatesCommand.ts +0 -99
  215. package/commands/ListTagsCommand.ts +0 -95
  216. package/commands/ResetParameterGroupCommand.ts +0 -94
  217. package/commands/TagResourceCommand.ts +0 -104
  218. package/commands/UntagResourceCommand.ts +0 -94
  219. package/commands/UpdateACLCommand.ts +0 -91
  220. package/commands/UpdateClusterCommand.ts +0 -94
  221. package/commands/UpdateParameterGroupCommand.ts +0 -94
  222. package/commands/UpdateSubnetGroupCommand.ts +0 -95
  223. package/commands/UpdateUserCommand.ts +0 -94
  224. package/dist/cjs/MemoryDB.js.map +0 -1
  225. package/dist/cjs/MemoryDBClient.js.map +0 -1
  226. package/dist/cjs/commands/BatchUpdateClusterCommand.js.map +0 -1
  227. package/dist/cjs/commands/CopySnapshotCommand.js.map +0 -1
  228. package/dist/cjs/commands/CreateACLCommand.js.map +0 -1
  229. package/dist/cjs/commands/CreateClusterCommand.js.map +0 -1
  230. package/dist/cjs/commands/CreateParameterGroupCommand.js.map +0 -1
  231. package/dist/cjs/commands/CreateSnapshotCommand.js.map +0 -1
  232. package/dist/cjs/commands/CreateSubnetGroupCommand.js.map +0 -1
  233. package/dist/cjs/commands/CreateUserCommand.js.map +0 -1
  234. package/dist/cjs/commands/DeleteACLCommand.js.map +0 -1
  235. package/dist/cjs/commands/DeleteClusterCommand.js.map +0 -1
  236. package/dist/cjs/commands/DeleteParameterGroupCommand.js.map +0 -1
  237. package/dist/cjs/commands/DeleteSnapshotCommand.js.map +0 -1
  238. package/dist/cjs/commands/DeleteSubnetGroupCommand.js.map +0 -1
  239. package/dist/cjs/commands/DeleteUserCommand.js.map +0 -1
  240. package/dist/cjs/commands/DescribeACLsCommand.js.map +0 -1
  241. package/dist/cjs/commands/DescribeClustersCommand.js.map +0 -1
  242. package/dist/cjs/commands/DescribeEngineVersionsCommand.js.map +0 -1
  243. package/dist/cjs/commands/DescribeEventsCommand.js.map +0 -1
  244. package/dist/cjs/commands/DescribeParameterGroupsCommand.js.map +0 -1
  245. package/dist/cjs/commands/DescribeParametersCommand.js.map +0 -1
  246. package/dist/cjs/commands/DescribeServiceUpdatesCommand.js.map +0 -1
  247. package/dist/cjs/commands/DescribeSnapshotsCommand.js.map +0 -1
  248. package/dist/cjs/commands/DescribeSubnetGroupsCommand.js.map +0 -1
  249. package/dist/cjs/commands/DescribeUsersCommand.js.map +0 -1
  250. package/dist/cjs/commands/FailoverShardCommand.js.map +0 -1
  251. package/dist/cjs/commands/ListAllowedNodeTypeUpdatesCommand.js.map +0 -1
  252. package/dist/cjs/commands/ListTagsCommand.js.map +0 -1
  253. package/dist/cjs/commands/ResetParameterGroupCommand.js.map +0 -1
  254. package/dist/cjs/commands/TagResourceCommand.js +0 -71
  255. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  256. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  257. package/dist/cjs/commands/UpdateACLCommand.js.map +0 -1
  258. package/dist/cjs/commands/UpdateClusterCommand.js.map +0 -1
  259. package/dist/cjs/commands/UpdateParameterGroupCommand.js.map +0 -1
  260. package/dist/cjs/commands/UpdateSubnetGroupCommand.js.map +0 -1
  261. package/dist/cjs/commands/UpdateUserCommand.js.map +0 -1
  262. package/dist/cjs/endpoints.js.map +0 -1
  263. package/dist/cjs/index.js.map +0 -1
  264. package/dist/cjs/models/index.js.map +0 -1
  265. package/dist/cjs/models/models_0.js.map +0 -1
  266. package/dist/cjs/package.json +0 -91
  267. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  268. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  269. package/dist/cjs/runtimeConfig.js.map +0 -1
  270. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  271. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  272. package/dist/es/MemoryDB.js.map +0 -1
  273. package/dist/es/MemoryDBClient.js.map +0 -1
  274. package/dist/es/commands/BatchUpdateClusterCommand.js.map +0 -1
  275. package/dist/es/commands/CopySnapshotCommand.js.map +0 -1
  276. package/dist/es/commands/CreateACLCommand.js.map +0 -1
  277. package/dist/es/commands/CreateClusterCommand.js.map +0 -1
  278. package/dist/es/commands/CreateParameterGroupCommand.js.map +0 -1
  279. package/dist/es/commands/CreateSnapshotCommand.js.map +0 -1
  280. package/dist/es/commands/CreateSubnetGroupCommand.js.map +0 -1
  281. package/dist/es/commands/CreateUserCommand.js.map +0 -1
  282. package/dist/es/commands/DeleteACLCommand.js.map +0 -1
  283. package/dist/es/commands/DeleteClusterCommand.js.map +0 -1
  284. package/dist/es/commands/DeleteParameterGroupCommand.js.map +0 -1
  285. package/dist/es/commands/DeleteSnapshotCommand.js.map +0 -1
  286. package/dist/es/commands/DeleteSubnetGroupCommand.js.map +0 -1
  287. package/dist/es/commands/DeleteUserCommand.js.map +0 -1
  288. package/dist/es/commands/DescribeACLsCommand.js.map +0 -1
  289. package/dist/es/commands/DescribeClustersCommand.js.map +0 -1
  290. package/dist/es/commands/DescribeEngineVersionsCommand.js.map +0 -1
  291. package/dist/es/commands/DescribeEventsCommand.js.map +0 -1
  292. package/dist/es/commands/DescribeParameterGroupsCommand.js.map +0 -1
  293. package/dist/es/commands/DescribeParametersCommand.js.map +0 -1
  294. package/dist/es/commands/DescribeServiceUpdatesCommand.js.map +0 -1
  295. package/dist/es/commands/DescribeSnapshotsCommand.js.map +0 -1
  296. package/dist/es/commands/DescribeSubnetGroupsCommand.js.map +0 -1
  297. package/dist/es/commands/DescribeUsersCommand.js.map +0 -1
  298. package/dist/es/commands/FailoverShardCommand.js.map +0 -1
  299. package/dist/es/commands/ListAllowedNodeTypeUpdatesCommand.js.map +0 -1
  300. package/dist/es/commands/ListTagsCommand.js.map +0 -1
  301. package/dist/es/commands/ResetParameterGroupCommand.js.map +0 -1
  302. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  303. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  304. package/dist/es/commands/UpdateACLCommand.js.map +0 -1
  305. package/dist/es/commands/UpdateClusterCommand.js.map +0 -1
  306. package/dist/es/commands/UpdateParameterGroupCommand.js.map +0 -1
  307. package/dist/es/commands/UpdateSubnetGroupCommand.js.map +0 -1
  308. package/dist/es/commands/UpdateUserCommand.js.map +0 -1
  309. package/dist/es/endpoints.js.map +0 -1
  310. package/dist/es/index.js +0 -39
  311. package/dist/es/index.js.map +0 -1
  312. package/dist/es/models/index.js +0 -2
  313. package/dist/es/models/index.js.map +0 -1
  314. package/dist/es/models/models_0.js.map +0 -1
  315. package/dist/es/package.json +0 -91
  316. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  317. package/dist/es/runtimeConfig.browser.js.map +0 -1
  318. package/dist/es/runtimeConfig.js.map +0 -1
  319. package/dist/es/runtimeConfig.native.js.map +0 -1
  320. package/dist/es/runtimeConfig.shared.js.map +0 -1
  321. package/dist/types/ts3.4/commands/BatchUpdateClusterCommand.d.ts +0 -35
  322. package/dist/types/ts3.4/commands/CopySnapshotCommand.d.ts +0 -35
  323. package/dist/types/ts3.4/commands/CreateACLCommand.d.ts +0 -35
  324. package/dist/types/ts3.4/commands/CreateClusterCommand.d.ts +0 -35
  325. package/dist/types/ts3.4/commands/CreateParameterGroupCommand.d.ts +0 -38
  326. package/dist/types/ts3.4/commands/CreateSnapshotCommand.d.ts +0 -35
  327. package/dist/types/ts3.4/commands/CreateSubnetGroupCommand.d.ts +0 -38
  328. package/dist/types/ts3.4/commands/CreateUserCommand.d.ts +0 -35
  329. package/dist/types/ts3.4/commands/DeleteACLCommand.d.ts +0 -35
  330. package/dist/types/ts3.4/commands/DeleteClusterCommand.d.ts +0 -35
  331. package/dist/types/ts3.4/commands/DeleteParameterGroupCommand.d.ts +0 -36
  332. package/dist/types/ts3.4/commands/DeleteSnapshotCommand.d.ts +0 -35
  333. package/dist/types/ts3.4/commands/DeleteSubnetGroupCommand.d.ts +0 -35
  334. package/dist/types/ts3.4/commands/DeleteUserCommand.d.ts +0 -35
  335. package/dist/types/ts3.4/commands/DescribeClustersCommand.d.ts +0 -35
  336. package/dist/types/ts3.4/commands/DescribeEventsCommand.d.ts +0 -37
  337. package/dist/types/ts3.4/commands/DescribeParameterGroupsCommand.d.ts +0 -35
  338. package/dist/types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +0 -36
  339. package/dist/types/ts3.4/commands/DescribeSubnetGroupsCommand.d.ts +0 -35
  340. package/dist/types/ts3.4/commands/ListAllowedNodeTypeUpdatesCommand.d.ts +0 -37
  341. package/dist/types/ts3.4/commands/ListTagsCommand.d.ts +0 -39
  342. package/dist/types/ts3.4/commands/ResetParameterGroupCommand.d.ts +0 -35
  343. package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -45
  344. package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
  345. package/dist/types/ts3.4/commands/UpdateACLCommand.d.ts +0 -35
  346. package/dist/types/ts3.4/commands/UpdateClusterCommand.d.ts +0 -35
  347. package/dist/types/ts3.4/commands/UpdateParameterGroupCommand.d.ts +0 -35
  348. package/dist/types/ts3.4/commands/UpdateSubnetGroupCommand.d.ts +0 -36
  349. package/dist/types/ts3.4/commands/UpdateUserCommand.d.ts +0 -35
  350. package/dist/types/ts3.4/models/models_0.d.ts +0 -2957
  351. package/endpoints.ts +0 -57
  352. package/jest.config.js +0 -4
  353. package/models/models_0.ts +0 -3789
  354. package/protocols/Aws_json1_1.ts +0 -6699
  355. package/runtimeConfig.browser.ts +0 -40
  356. package/runtimeConfig.native.ts +0 -16
  357. package/runtimeConfig.shared.ts +0 -16
  358. package/runtimeConfig.ts +0 -45
  359. package/tsconfig.es.json +0 -10
  360. package/tsconfig.json +0 -31
  361. package/tsconfig.types.json +0 -8
package/MemoryDB.ts DELETED
@@ -1,1245 +0,0 @@
1
- import { MemoryDBClient } from "./MemoryDBClient";
2
- import {
3
- BatchUpdateClusterCommand,
4
- BatchUpdateClusterCommandInput,
5
- BatchUpdateClusterCommandOutput,
6
- } from "./commands/BatchUpdateClusterCommand";
7
- import {
8
- CopySnapshotCommand,
9
- CopySnapshotCommandInput,
10
- CopySnapshotCommandOutput,
11
- } from "./commands/CopySnapshotCommand";
12
- import { CreateACLCommand, CreateACLCommandInput, CreateACLCommandOutput } from "./commands/CreateACLCommand";
13
- import {
14
- CreateClusterCommand,
15
- CreateClusterCommandInput,
16
- CreateClusterCommandOutput,
17
- } from "./commands/CreateClusterCommand";
18
- import {
19
- CreateParameterGroupCommand,
20
- CreateParameterGroupCommandInput,
21
- CreateParameterGroupCommandOutput,
22
- } from "./commands/CreateParameterGroupCommand";
23
- import {
24
- CreateSnapshotCommand,
25
- CreateSnapshotCommandInput,
26
- CreateSnapshotCommandOutput,
27
- } from "./commands/CreateSnapshotCommand";
28
- import {
29
- CreateSubnetGroupCommand,
30
- CreateSubnetGroupCommandInput,
31
- CreateSubnetGroupCommandOutput,
32
- } from "./commands/CreateSubnetGroupCommand";
33
- import { CreateUserCommand, CreateUserCommandInput, CreateUserCommandOutput } from "./commands/CreateUserCommand";
34
- import { DeleteACLCommand, DeleteACLCommandInput, DeleteACLCommandOutput } from "./commands/DeleteACLCommand";
35
- import {
36
- DeleteClusterCommand,
37
- DeleteClusterCommandInput,
38
- DeleteClusterCommandOutput,
39
- } from "./commands/DeleteClusterCommand";
40
- import {
41
- DeleteParameterGroupCommand,
42
- DeleteParameterGroupCommandInput,
43
- DeleteParameterGroupCommandOutput,
44
- } from "./commands/DeleteParameterGroupCommand";
45
- import {
46
- DeleteSnapshotCommand,
47
- DeleteSnapshotCommandInput,
48
- DeleteSnapshotCommandOutput,
49
- } from "./commands/DeleteSnapshotCommand";
50
- import {
51
- DeleteSubnetGroupCommand,
52
- DeleteSubnetGroupCommandInput,
53
- DeleteSubnetGroupCommandOutput,
54
- } from "./commands/DeleteSubnetGroupCommand";
55
- import { DeleteUserCommand, DeleteUserCommandInput, DeleteUserCommandOutput } from "./commands/DeleteUserCommand";
56
- import {
57
- DescribeACLsCommand,
58
- DescribeACLsCommandInput,
59
- DescribeACLsCommandOutput,
60
- } from "./commands/DescribeACLsCommand";
61
- import {
62
- DescribeClustersCommand,
63
- DescribeClustersCommandInput,
64
- DescribeClustersCommandOutput,
65
- } from "./commands/DescribeClustersCommand";
66
- import {
67
- DescribeEngineVersionsCommand,
68
- DescribeEngineVersionsCommandInput,
69
- DescribeEngineVersionsCommandOutput,
70
- } from "./commands/DescribeEngineVersionsCommand";
71
- import {
72
- DescribeEventsCommand,
73
- DescribeEventsCommandInput,
74
- DescribeEventsCommandOutput,
75
- } from "./commands/DescribeEventsCommand";
76
- import {
77
- DescribeParameterGroupsCommand,
78
- DescribeParameterGroupsCommandInput,
79
- DescribeParameterGroupsCommandOutput,
80
- } from "./commands/DescribeParameterGroupsCommand";
81
- import {
82
- DescribeParametersCommand,
83
- DescribeParametersCommandInput,
84
- DescribeParametersCommandOutput,
85
- } from "./commands/DescribeParametersCommand";
86
- import {
87
- DescribeServiceUpdatesCommand,
88
- DescribeServiceUpdatesCommandInput,
89
- DescribeServiceUpdatesCommandOutput,
90
- } from "./commands/DescribeServiceUpdatesCommand";
91
- import {
92
- DescribeSnapshotsCommand,
93
- DescribeSnapshotsCommandInput,
94
- DescribeSnapshotsCommandOutput,
95
- } from "./commands/DescribeSnapshotsCommand";
96
- import {
97
- DescribeSubnetGroupsCommand,
98
- DescribeSubnetGroupsCommandInput,
99
- DescribeSubnetGroupsCommandOutput,
100
- } from "./commands/DescribeSubnetGroupsCommand";
101
- import {
102
- DescribeUsersCommand,
103
- DescribeUsersCommandInput,
104
- DescribeUsersCommandOutput,
105
- } from "./commands/DescribeUsersCommand";
106
- import {
107
- FailoverShardCommand,
108
- FailoverShardCommandInput,
109
- FailoverShardCommandOutput,
110
- } from "./commands/FailoverShardCommand";
111
- import {
112
- ListAllowedNodeTypeUpdatesCommand,
113
- ListAllowedNodeTypeUpdatesCommandInput,
114
- ListAllowedNodeTypeUpdatesCommandOutput,
115
- } from "./commands/ListAllowedNodeTypeUpdatesCommand";
116
- import { ListTagsCommand, ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
117
- import {
118
- ResetParameterGroupCommand,
119
- ResetParameterGroupCommandInput,
120
- ResetParameterGroupCommandOutput,
121
- } from "./commands/ResetParameterGroupCommand";
122
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
123
- import {
124
- UntagResourceCommand,
125
- UntagResourceCommandInput,
126
- UntagResourceCommandOutput,
127
- } from "./commands/UntagResourceCommand";
128
- import { UpdateACLCommand, UpdateACLCommandInput, UpdateACLCommandOutput } from "./commands/UpdateACLCommand";
129
- import {
130
- UpdateClusterCommand,
131
- UpdateClusterCommandInput,
132
- UpdateClusterCommandOutput,
133
- } from "./commands/UpdateClusterCommand";
134
- import {
135
- UpdateParameterGroupCommand,
136
- UpdateParameterGroupCommandInput,
137
- UpdateParameterGroupCommandOutput,
138
- } from "./commands/UpdateParameterGroupCommand";
139
- import {
140
- UpdateSubnetGroupCommand,
141
- UpdateSubnetGroupCommandInput,
142
- UpdateSubnetGroupCommandOutput,
143
- } from "./commands/UpdateSubnetGroupCommand";
144
- import { UpdateUserCommand, UpdateUserCommandInput, UpdateUserCommandOutput } from "./commands/UpdateUserCommand";
145
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
146
-
147
- /**
148
- * <p>MemoryDB for Redis is a fully managed, Redis-compatible, in-memory database that delivers ultra-fast performance and Multi-AZ durability for modern applications built using microservices architectures.
149
- *
150
- * MemoryDB stores the entire database in-memory, enabling low latency and high throughput data access. It is compatible with Redis, a popular open source data store, enabling you to leverage Redis’ flexible and friendly data structures, APIs, and commands.</p>
151
- */
152
- export class MemoryDB extends MemoryDBClient {
153
- /**
154
- * <p>Apply the service update to a list of clusters supplied. For more information on service updates and applying them, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/managing-updates.html#applying-updates">Applying the service updates</a>.</p>
155
- */
156
- public batchUpdateCluster(
157
- args: BatchUpdateClusterCommandInput,
158
- options?: __HttpHandlerOptions
159
- ): Promise<BatchUpdateClusterCommandOutput>;
160
- public batchUpdateCluster(
161
- args: BatchUpdateClusterCommandInput,
162
- cb: (err: any, data?: BatchUpdateClusterCommandOutput) => void
163
- ): void;
164
- public batchUpdateCluster(
165
- args: BatchUpdateClusterCommandInput,
166
- options: __HttpHandlerOptions,
167
- cb: (err: any, data?: BatchUpdateClusterCommandOutput) => void
168
- ): void;
169
- public batchUpdateCluster(
170
- args: BatchUpdateClusterCommandInput,
171
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchUpdateClusterCommandOutput) => void),
172
- cb?: (err: any, data?: BatchUpdateClusterCommandOutput) => void
173
- ): Promise<BatchUpdateClusterCommandOutput> | void {
174
- const command = new BatchUpdateClusterCommand(args);
175
- if (typeof optionsOrCb === "function") {
176
- this.send(command, optionsOrCb);
177
- } else if (typeof cb === "function") {
178
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
179
- this.send(command, optionsOrCb || {}, cb);
180
- } else {
181
- return this.send(command, optionsOrCb);
182
- }
183
- }
184
-
185
- /**
186
- * <p>Makes a copy of an existing snapshot.</p>
187
- */
188
- public copySnapshot(
189
- args: CopySnapshotCommandInput,
190
- options?: __HttpHandlerOptions
191
- ): Promise<CopySnapshotCommandOutput>;
192
- public copySnapshot(args: CopySnapshotCommandInput, cb: (err: any, data?: CopySnapshotCommandOutput) => void): void;
193
- public copySnapshot(
194
- args: CopySnapshotCommandInput,
195
- options: __HttpHandlerOptions,
196
- cb: (err: any, data?: CopySnapshotCommandOutput) => void
197
- ): void;
198
- public copySnapshot(
199
- args: CopySnapshotCommandInput,
200
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CopySnapshotCommandOutput) => void),
201
- cb?: (err: any, data?: CopySnapshotCommandOutput) => void
202
- ): Promise<CopySnapshotCommandOutput> | void {
203
- const command = new CopySnapshotCommand(args);
204
- if (typeof optionsOrCb === "function") {
205
- this.send(command, optionsOrCb);
206
- } else if (typeof cb === "function") {
207
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
208
- this.send(command, optionsOrCb || {}, cb);
209
- } else {
210
- return this.send(command, optionsOrCb);
211
- }
212
- }
213
-
214
- /**
215
- * <p>Creates an Access Control List. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/clusters.acls.html">Authenticating users with Access Contol Lists (ACLs)</a>.</p>
216
- */
217
- public createACL(args: CreateACLCommandInput, options?: __HttpHandlerOptions): Promise<CreateACLCommandOutput>;
218
- public createACL(args: CreateACLCommandInput, cb: (err: any, data?: CreateACLCommandOutput) => void): void;
219
- public createACL(
220
- args: CreateACLCommandInput,
221
- options: __HttpHandlerOptions,
222
- cb: (err: any, data?: CreateACLCommandOutput) => void
223
- ): void;
224
- public createACL(
225
- args: CreateACLCommandInput,
226
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateACLCommandOutput) => void),
227
- cb?: (err: any, data?: CreateACLCommandOutput) => void
228
- ): Promise<CreateACLCommandOutput> | void {
229
- const command = new CreateACLCommand(args);
230
- if (typeof optionsOrCb === "function") {
231
- this.send(command, optionsOrCb);
232
- } else if (typeof cb === "function") {
233
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
234
- this.send(command, optionsOrCb || {}, cb);
235
- } else {
236
- return this.send(command, optionsOrCb);
237
- }
238
- }
239
-
240
- /**
241
- * <p>Creates a cluster. All nodes in the cluster run the same protocol-compliant engine software.</p>
242
- */
243
- public createCluster(
244
- args: CreateClusterCommandInput,
245
- options?: __HttpHandlerOptions
246
- ): Promise<CreateClusterCommandOutput>;
247
- public createCluster(
248
- args: CreateClusterCommandInput,
249
- cb: (err: any, data?: CreateClusterCommandOutput) => void
250
- ): void;
251
- public createCluster(
252
- args: CreateClusterCommandInput,
253
- options: __HttpHandlerOptions,
254
- cb: (err: any, data?: CreateClusterCommandOutput) => void
255
- ): void;
256
- public createCluster(
257
- args: CreateClusterCommandInput,
258
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateClusterCommandOutput) => void),
259
- cb?: (err: any, data?: CreateClusterCommandOutput) => void
260
- ): Promise<CreateClusterCommandOutput> | void {
261
- const command = new CreateClusterCommand(args);
262
- if (typeof optionsOrCb === "function") {
263
- this.send(command, optionsOrCb);
264
- } else if (typeof cb === "function") {
265
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
266
- this.send(command, optionsOrCb || {}, cb);
267
- } else {
268
- return this.send(command, optionsOrCb);
269
- }
270
- }
271
-
272
- /**
273
- * <p>Creates a new MemoryDB parameter group. A parameter group is a collection of parameters and their values that are applied to all of the nodes in any cluster. For
274
- * more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/parametergroups.html">Configuring engine parameters using parameter groups</a>.
275
- *
276
- * </p>
277
- */
278
- public createParameterGroup(
279
- args: CreateParameterGroupCommandInput,
280
- options?: __HttpHandlerOptions
281
- ): Promise<CreateParameterGroupCommandOutput>;
282
- public createParameterGroup(
283
- args: CreateParameterGroupCommandInput,
284
- cb: (err: any, data?: CreateParameterGroupCommandOutput) => void
285
- ): void;
286
- public createParameterGroup(
287
- args: CreateParameterGroupCommandInput,
288
- options: __HttpHandlerOptions,
289
- cb: (err: any, data?: CreateParameterGroupCommandOutput) => void
290
- ): void;
291
- public createParameterGroup(
292
- args: CreateParameterGroupCommandInput,
293
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateParameterGroupCommandOutput) => void),
294
- cb?: (err: any, data?: CreateParameterGroupCommandOutput) => void
295
- ): Promise<CreateParameterGroupCommandOutput> | void {
296
- const command = new CreateParameterGroupCommand(args);
297
- if (typeof optionsOrCb === "function") {
298
- this.send(command, optionsOrCb);
299
- } else if (typeof cb === "function") {
300
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
301
- this.send(command, optionsOrCb || {}, cb);
302
- } else {
303
- return this.send(command, optionsOrCb);
304
- }
305
- }
306
-
307
- /**
308
- * <p>Creates a copy of an entire cluster at a specific moment in time.</p>
309
- */
310
- public createSnapshot(
311
- args: CreateSnapshotCommandInput,
312
- options?: __HttpHandlerOptions
313
- ): Promise<CreateSnapshotCommandOutput>;
314
- public createSnapshot(
315
- args: CreateSnapshotCommandInput,
316
- cb: (err: any, data?: CreateSnapshotCommandOutput) => void
317
- ): void;
318
- public createSnapshot(
319
- args: CreateSnapshotCommandInput,
320
- options: __HttpHandlerOptions,
321
- cb: (err: any, data?: CreateSnapshotCommandOutput) => void
322
- ): void;
323
- public createSnapshot(
324
- args: CreateSnapshotCommandInput,
325
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSnapshotCommandOutput) => void),
326
- cb?: (err: any, data?: CreateSnapshotCommandOutput) => void
327
- ): Promise<CreateSnapshotCommandOutput> | void {
328
- const command = new CreateSnapshotCommand(args);
329
- if (typeof optionsOrCb === "function") {
330
- this.send(command, optionsOrCb);
331
- } else if (typeof cb === "function") {
332
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
333
- this.send(command, optionsOrCb || {}, cb);
334
- } else {
335
- return this.send(command, optionsOrCb);
336
- }
337
- }
338
-
339
- /**
340
- * <p>Creates a subnet group. A subnet group is a collection of subnets (typically private) that you can designate for your clusters running in an Amazon Virtual Private Cloud (VPC) environment.
341
- *
342
- * When you create a cluster in an Amazon VPC, you must specify a subnet group. MemoryDB uses that subnet group to choose a subnet and IP addresses within that subnet to associate with your nodes.
343
- * For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/subnetgroups.html">Subnets and subnet groups</a>.</p>
344
- */
345
- public createSubnetGroup(
346
- args: CreateSubnetGroupCommandInput,
347
- options?: __HttpHandlerOptions
348
- ): Promise<CreateSubnetGroupCommandOutput>;
349
- public createSubnetGroup(
350
- args: CreateSubnetGroupCommandInput,
351
- cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void
352
- ): void;
353
- public createSubnetGroup(
354
- args: CreateSubnetGroupCommandInput,
355
- options: __HttpHandlerOptions,
356
- cb: (err: any, data?: CreateSubnetGroupCommandOutput) => void
357
- ): void;
358
- public createSubnetGroup(
359
- args: CreateSubnetGroupCommandInput,
360
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateSubnetGroupCommandOutput) => void),
361
- cb?: (err: any, data?: CreateSubnetGroupCommandOutput) => void
362
- ): Promise<CreateSubnetGroupCommandOutput> | void {
363
- const command = new CreateSubnetGroupCommand(args);
364
- if (typeof optionsOrCb === "function") {
365
- this.send(command, optionsOrCb);
366
- } else if (typeof cb === "function") {
367
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
368
- this.send(command, optionsOrCb || {}, cb);
369
- } else {
370
- return this.send(command, optionsOrCb);
371
- }
372
- }
373
-
374
- /**
375
- * <p>Creates a MemoryDB user. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/clusters.acls.html">Authenticating users with Access Contol Lists (ACLs)</a>.</p>
376
- */
377
- public createUser(args: CreateUserCommandInput, options?: __HttpHandlerOptions): Promise<CreateUserCommandOutput>;
378
- public createUser(args: CreateUserCommandInput, cb: (err: any, data?: CreateUserCommandOutput) => void): void;
379
- public createUser(
380
- args: CreateUserCommandInput,
381
- options: __HttpHandlerOptions,
382
- cb: (err: any, data?: CreateUserCommandOutput) => void
383
- ): void;
384
- public createUser(
385
- args: CreateUserCommandInput,
386
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateUserCommandOutput) => void),
387
- cb?: (err: any, data?: CreateUserCommandOutput) => void
388
- ): Promise<CreateUserCommandOutput> | void {
389
- const command = new CreateUserCommand(args);
390
- if (typeof optionsOrCb === "function") {
391
- this.send(command, optionsOrCb);
392
- } else if (typeof cb === "function") {
393
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
394
- this.send(command, optionsOrCb || {}, cb);
395
- } else {
396
- return this.send(command, optionsOrCb);
397
- }
398
- }
399
-
400
- /**
401
- * <p>Deletes an Access Control List. The ACL must first be disassociated from the cluster before it can be deleted. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/clusters.acls.html">Authenticating users with Access Contol Lists (ACLs)</a>.</p>
402
- */
403
- public deleteACL(args: DeleteACLCommandInput, options?: __HttpHandlerOptions): Promise<DeleteACLCommandOutput>;
404
- public deleteACL(args: DeleteACLCommandInput, cb: (err: any, data?: DeleteACLCommandOutput) => void): void;
405
- public deleteACL(
406
- args: DeleteACLCommandInput,
407
- options: __HttpHandlerOptions,
408
- cb: (err: any, data?: DeleteACLCommandOutput) => void
409
- ): void;
410
- public deleteACL(
411
- args: DeleteACLCommandInput,
412
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteACLCommandOutput) => void),
413
- cb?: (err: any, data?: DeleteACLCommandOutput) => void
414
- ): Promise<DeleteACLCommandOutput> | void {
415
- const command = new DeleteACLCommand(args);
416
- if (typeof optionsOrCb === "function") {
417
- this.send(command, optionsOrCb);
418
- } else if (typeof cb === "function") {
419
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
420
- this.send(command, optionsOrCb || {}, cb);
421
- } else {
422
- return this.send(command, optionsOrCb);
423
- }
424
- }
425
-
426
- /**
427
- * <p>Deletes a cluster. It also deletes all associated nodes and node endpoints</p>
428
- */
429
- public deleteCluster(
430
- args: DeleteClusterCommandInput,
431
- options?: __HttpHandlerOptions
432
- ): Promise<DeleteClusterCommandOutput>;
433
- public deleteCluster(
434
- args: DeleteClusterCommandInput,
435
- cb: (err: any, data?: DeleteClusterCommandOutput) => void
436
- ): void;
437
- public deleteCluster(
438
- args: DeleteClusterCommandInput,
439
- options: __HttpHandlerOptions,
440
- cb: (err: any, data?: DeleteClusterCommandOutput) => void
441
- ): void;
442
- public deleteCluster(
443
- args: DeleteClusterCommandInput,
444
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteClusterCommandOutput) => void),
445
- cb?: (err: any, data?: DeleteClusterCommandOutput) => void
446
- ): Promise<DeleteClusterCommandOutput> | void {
447
- const command = new DeleteClusterCommand(args);
448
- if (typeof optionsOrCb === "function") {
449
- this.send(command, optionsOrCb);
450
- } else if (typeof cb === "function") {
451
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
452
- this.send(command, optionsOrCb || {}, cb);
453
- } else {
454
- return this.send(command, optionsOrCb);
455
- }
456
- }
457
-
458
- /**
459
- * <p>Deletes the specified parameter group. You cannot delete a parameter group if it is associated with any clusters.
460
- * You cannot delete the default parameter groups in your account.</p>
461
- */
462
- public deleteParameterGroup(
463
- args: DeleteParameterGroupCommandInput,
464
- options?: __HttpHandlerOptions
465
- ): Promise<DeleteParameterGroupCommandOutput>;
466
- public deleteParameterGroup(
467
- args: DeleteParameterGroupCommandInput,
468
- cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void
469
- ): void;
470
- public deleteParameterGroup(
471
- args: DeleteParameterGroupCommandInput,
472
- options: __HttpHandlerOptions,
473
- cb: (err: any, data?: DeleteParameterGroupCommandOutput) => void
474
- ): void;
475
- public deleteParameterGroup(
476
- args: DeleteParameterGroupCommandInput,
477
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteParameterGroupCommandOutput) => void),
478
- cb?: (err: any, data?: DeleteParameterGroupCommandOutput) => void
479
- ): Promise<DeleteParameterGroupCommandOutput> | void {
480
- const command = new DeleteParameterGroupCommand(args);
481
- if (typeof optionsOrCb === "function") {
482
- this.send(command, optionsOrCb);
483
- } else if (typeof cb === "function") {
484
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
485
- this.send(command, optionsOrCb || {}, cb);
486
- } else {
487
- return this.send(command, optionsOrCb);
488
- }
489
- }
490
-
491
- /**
492
- * <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>
493
- */
494
- public deleteSnapshot(
495
- args: DeleteSnapshotCommandInput,
496
- options?: __HttpHandlerOptions
497
- ): Promise<DeleteSnapshotCommandOutput>;
498
- public deleteSnapshot(
499
- args: DeleteSnapshotCommandInput,
500
- cb: (err: any, data?: DeleteSnapshotCommandOutput) => void
501
- ): void;
502
- public deleteSnapshot(
503
- args: DeleteSnapshotCommandInput,
504
- options: __HttpHandlerOptions,
505
- cb: (err: any, data?: DeleteSnapshotCommandOutput) => void
506
- ): void;
507
- public deleteSnapshot(
508
- args: DeleteSnapshotCommandInput,
509
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSnapshotCommandOutput) => void),
510
- cb?: (err: any, data?: DeleteSnapshotCommandOutput) => void
511
- ): Promise<DeleteSnapshotCommandOutput> | void {
512
- const command = new DeleteSnapshotCommand(args);
513
- if (typeof optionsOrCb === "function") {
514
- this.send(command, optionsOrCb);
515
- } else if (typeof cb === "function") {
516
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
517
- this.send(command, optionsOrCb || {}, cb);
518
- } else {
519
- return this.send(command, optionsOrCb);
520
- }
521
- }
522
-
523
- /**
524
- * <p>Deletes a subnet group. You cannot delete a default subnet group or one that is associated with any clusters.</p>
525
- */
526
- public deleteSubnetGroup(
527
- args: DeleteSubnetGroupCommandInput,
528
- options?: __HttpHandlerOptions
529
- ): Promise<DeleteSubnetGroupCommandOutput>;
530
- public deleteSubnetGroup(
531
- args: DeleteSubnetGroupCommandInput,
532
- cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void
533
- ): void;
534
- public deleteSubnetGroup(
535
- args: DeleteSubnetGroupCommandInput,
536
- options: __HttpHandlerOptions,
537
- cb: (err: any, data?: DeleteSubnetGroupCommandOutput) => void
538
- ): void;
539
- public deleteSubnetGroup(
540
- args: DeleteSubnetGroupCommandInput,
541
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteSubnetGroupCommandOutput) => void),
542
- cb?: (err: any, data?: DeleteSubnetGroupCommandOutput) => void
543
- ): Promise<DeleteSubnetGroupCommandOutput> | void {
544
- const command = new DeleteSubnetGroupCommand(args);
545
- if (typeof optionsOrCb === "function") {
546
- this.send(command, optionsOrCb);
547
- } else if (typeof cb === "function") {
548
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
549
- this.send(command, optionsOrCb || {}, cb);
550
- } else {
551
- return this.send(command, optionsOrCb);
552
- }
553
- }
554
-
555
- /**
556
- * <p>Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.</p>
557
- */
558
- public deleteUser(args: DeleteUserCommandInput, options?: __HttpHandlerOptions): Promise<DeleteUserCommandOutput>;
559
- public deleteUser(args: DeleteUserCommandInput, cb: (err: any, data?: DeleteUserCommandOutput) => void): void;
560
- public deleteUser(
561
- args: DeleteUserCommandInput,
562
- options: __HttpHandlerOptions,
563
- cb: (err: any, data?: DeleteUserCommandOutput) => void
564
- ): void;
565
- public deleteUser(
566
- args: DeleteUserCommandInput,
567
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteUserCommandOutput) => void),
568
- cb?: (err: any, data?: DeleteUserCommandOutput) => void
569
- ): Promise<DeleteUserCommandOutput> | void {
570
- const command = new DeleteUserCommand(args);
571
- if (typeof optionsOrCb === "function") {
572
- this.send(command, optionsOrCb);
573
- } else if (typeof cb === "function") {
574
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
575
- this.send(command, optionsOrCb || {}, cb);
576
- } else {
577
- return this.send(command, optionsOrCb);
578
- }
579
- }
580
-
581
- /**
582
- * <p>Returns a list of ACLs</p>
583
- */
584
- public describeACLs(
585
- args: DescribeACLsCommandInput,
586
- options?: __HttpHandlerOptions
587
- ): Promise<DescribeACLsCommandOutput>;
588
- public describeACLs(args: DescribeACLsCommandInput, cb: (err: any, data?: DescribeACLsCommandOutput) => void): void;
589
- public describeACLs(
590
- args: DescribeACLsCommandInput,
591
- options: __HttpHandlerOptions,
592
- cb: (err: any, data?: DescribeACLsCommandOutput) => void
593
- ): void;
594
- public describeACLs(
595
- args: DescribeACLsCommandInput,
596
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeACLsCommandOutput) => void),
597
- cb?: (err: any, data?: DescribeACLsCommandOutput) => void
598
- ): Promise<DescribeACLsCommandOutput> | void {
599
- const command = new DescribeACLsCommand(args);
600
- if (typeof optionsOrCb === "function") {
601
- this.send(command, optionsOrCb);
602
- } else if (typeof cb === "function") {
603
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
604
- this.send(command, optionsOrCb || {}, cb);
605
- } else {
606
- return this.send(command, optionsOrCb);
607
- }
608
- }
609
-
610
- /**
611
- * <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>
612
- */
613
- public describeClusters(
614
- args: DescribeClustersCommandInput,
615
- options?: __HttpHandlerOptions
616
- ): Promise<DescribeClustersCommandOutput>;
617
- public describeClusters(
618
- args: DescribeClustersCommandInput,
619
- cb: (err: any, data?: DescribeClustersCommandOutput) => void
620
- ): void;
621
- public describeClusters(
622
- args: DescribeClustersCommandInput,
623
- options: __HttpHandlerOptions,
624
- cb: (err: any, data?: DescribeClustersCommandOutput) => void
625
- ): void;
626
- public describeClusters(
627
- args: DescribeClustersCommandInput,
628
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeClustersCommandOutput) => void),
629
- cb?: (err: any, data?: DescribeClustersCommandOutput) => void
630
- ): Promise<DescribeClustersCommandOutput> | void {
631
- const command = new DescribeClustersCommand(args);
632
- if (typeof optionsOrCb === "function") {
633
- this.send(command, optionsOrCb);
634
- } else if (typeof cb === "function") {
635
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
636
- this.send(command, optionsOrCb || {}, cb);
637
- } else {
638
- return this.send(command, optionsOrCb);
639
- }
640
- }
641
-
642
- /**
643
- * <p>Returns a list of the available Redis engine versions.</p>
644
- */
645
- public describeEngineVersions(
646
- args: DescribeEngineVersionsCommandInput,
647
- options?: __HttpHandlerOptions
648
- ): Promise<DescribeEngineVersionsCommandOutput>;
649
- public describeEngineVersions(
650
- args: DescribeEngineVersionsCommandInput,
651
- cb: (err: any, data?: DescribeEngineVersionsCommandOutput) => void
652
- ): void;
653
- public describeEngineVersions(
654
- args: DescribeEngineVersionsCommandInput,
655
- options: __HttpHandlerOptions,
656
- cb: (err: any, data?: DescribeEngineVersionsCommandOutput) => void
657
- ): void;
658
- public describeEngineVersions(
659
- args: DescribeEngineVersionsCommandInput,
660
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEngineVersionsCommandOutput) => void),
661
- cb?: (err: any, data?: DescribeEngineVersionsCommandOutput) => void
662
- ): Promise<DescribeEngineVersionsCommandOutput> | void {
663
- const command = new DescribeEngineVersionsCommand(args);
664
- if (typeof optionsOrCb === "function") {
665
- this.send(command, optionsOrCb);
666
- } else if (typeof cb === "function") {
667
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
668
- this.send(command, optionsOrCb || {}, cb);
669
- } else {
670
- return this.send(command, optionsOrCb);
671
- }
672
- }
673
-
674
- /**
675
- * <p>Returns events related to clusters, security groups, and parameter groups. You can obtain events specific to a particular cluster, security group, or parameter group by providing the name as a parameter.
676
- *
677
- * By default, only the events occurring within the last hour are returned; however, you can retrieve up to 14 days' worth of events if necessary.</p>
678
- */
679
- public describeEvents(
680
- args: DescribeEventsCommandInput,
681
- options?: __HttpHandlerOptions
682
- ): Promise<DescribeEventsCommandOutput>;
683
- public describeEvents(
684
- args: DescribeEventsCommandInput,
685
- cb: (err: any, data?: DescribeEventsCommandOutput) => void
686
- ): void;
687
- public describeEvents(
688
- args: DescribeEventsCommandInput,
689
- options: __HttpHandlerOptions,
690
- cb: (err: any, data?: DescribeEventsCommandOutput) => void
691
- ): void;
692
- public describeEvents(
693
- args: DescribeEventsCommandInput,
694
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeEventsCommandOutput) => void),
695
- cb?: (err: any, data?: DescribeEventsCommandOutput) => void
696
- ): Promise<DescribeEventsCommandOutput> | void {
697
- const command = new DescribeEventsCommand(args);
698
- if (typeof optionsOrCb === "function") {
699
- this.send(command, optionsOrCb);
700
- } else if (typeof cb === "function") {
701
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
702
- this.send(command, optionsOrCb || {}, cb);
703
- } else {
704
- return this.send(command, optionsOrCb);
705
- }
706
- }
707
-
708
- /**
709
- * <p>Returns a list of parameter group descriptions. If a parameter group name is specified, the list contains only the descriptions for that group.</p>
710
- */
711
- public describeParameterGroups(
712
- args: DescribeParameterGroupsCommandInput,
713
- options?: __HttpHandlerOptions
714
- ): Promise<DescribeParameterGroupsCommandOutput>;
715
- public describeParameterGroups(
716
- args: DescribeParameterGroupsCommandInput,
717
- cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void
718
- ): void;
719
- public describeParameterGroups(
720
- args: DescribeParameterGroupsCommandInput,
721
- options: __HttpHandlerOptions,
722
- cb: (err: any, data?: DescribeParameterGroupsCommandOutput) => void
723
- ): void;
724
- public describeParameterGroups(
725
- args: DescribeParameterGroupsCommandInput,
726
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeParameterGroupsCommandOutput) => void),
727
- cb?: (err: any, data?: DescribeParameterGroupsCommandOutput) => void
728
- ): Promise<DescribeParameterGroupsCommandOutput> | void {
729
- const command = new DescribeParameterGroupsCommand(args);
730
- if (typeof optionsOrCb === "function") {
731
- this.send(command, optionsOrCb);
732
- } else if (typeof cb === "function") {
733
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
734
- this.send(command, optionsOrCb || {}, cb);
735
- } else {
736
- return this.send(command, optionsOrCb);
737
- }
738
- }
739
-
740
- /**
741
- * <p>Returns the detailed parameter list for a particular parameter group.</p>
742
- */
743
- public describeParameters(
744
- args: DescribeParametersCommandInput,
745
- options?: __HttpHandlerOptions
746
- ): Promise<DescribeParametersCommandOutput>;
747
- public describeParameters(
748
- args: DescribeParametersCommandInput,
749
- cb: (err: any, data?: DescribeParametersCommandOutput) => void
750
- ): void;
751
- public describeParameters(
752
- args: DescribeParametersCommandInput,
753
- options: __HttpHandlerOptions,
754
- cb: (err: any, data?: DescribeParametersCommandOutput) => void
755
- ): void;
756
- public describeParameters(
757
- args: DescribeParametersCommandInput,
758
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeParametersCommandOutput) => void),
759
- cb?: (err: any, data?: DescribeParametersCommandOutput) => void
760
- ): Promise<DescribeParametersCommandOutput> | void {
761
- const command = new DescribeParametersCommand(args);
762
- if (typeof optionsOrCb === "function") {
763
- this.send(command, optionsOrCb);
764
- } else if (typeof cb === "function") {
765
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
766
- this.send(command, optionsOrCb || {}, cb);
767
- } else {
768
- return this.send(command, optionsOrCb);
769
- }
770
- }
771
-
772
- /**
773
- * <p>Returns details of the service updates</p>
774
- */
775
- public describeServiceUpdates(
776
- args: DescribeServiceUpdatesCommandInput,
777
- options?: __HttpHandlerOptions
778
- ): Promise<DescribeServiceUpdatesCommandOutput>;
779
- public describeServiceUpdates(
780
- args: DescribeServiceUpdatesCommandInput,
781
- cb: (err: any, data?: DescribeServiceUpdatesCommandOutput) => void
782
- ): void;
783
- public describeServiceUpdates(
784
- args: DescribeServiceUpdatesCommandInput,
785
- options: __HttpHandlerOptions,
786
- cb: (err: any, data?: DescribeServiceUpdatesCommandOutput) => void
787
- ): void;
788
- public describeServiceUpdates(
789
- args: DescribeServiceUpdatesCommandInput,
790
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeServiceUpdatesCommandOutput) => void),
791
- cb?: (err: any, data?: DescribeServiceUpdatesCommandOutput) => void
792
- ): Promise<DescribeServiceUpdatesCommandOutput> | void {
793
- const command = new DescribeServiceUpdatesCommand(args);
794
- if (typeof optionsOrCb === "function") {
795
- this.send(command, optionsOrCb);
796
- } else if (typeof cb === "function") {
797
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
798
- this.send(command, optionsOrCb || {}, cb);
799
- } else {
800
- return this.send(command, optionsOrCb);
801
- }
802
- }
803
-
804
- /**
805
- * <p>Returns information about cluster snapshots. By default, DescribeSnapshots lists all of your snapshots; it can optionally describe a single snapshot,
806
- * or just the snapshots associated with a particular cluster.</p>
807
- */
808
- public describeSnapshots(
809
- args: DescribeSnapshotsCommandInput,
810
- options?: __HttpHandlerOptions
811
- ): Promise<DescribeSnapshotsCommandOutput>;
812
- public describeSnapshots(
813
- args: DescribeSnapshotsCommandInput,
814
- cb: (err: any, data?: DescribeSnapshotsCommandOutput) => void
815
- ): void;
816
- public describeSnapshots(
817
- args: DescribeSnapshotsCommandInput,
818
- options: __HttpHandlerOptions,
819
- cb: (err: any, data?: DescribeSnapshotsCommandOutput) => void
820
- ): void;
821
- public describeSnapshots(
822
- args: DescribeSnapshotsCommandInput,
823
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSnapshotsCommandOutput) => void),
824
- cb?: (err: any, data?: DescribeSnapshotsCommandOutput) => void
825
- ): Promise<DescribeSnapshotsCommandOutput> | void {
826
- const command = new DescribeSnapshotsCommand(args);
827
- if (typeof optionsOrCb === "function") {
828
- this.send(command, optionsOrCb);
829
- } else if (typeof cb === "function") {
830
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
831
- this.send(command, optionsOrCb || {}, cb);
832
- } else {
833
- return this.send(command, optionsOrCb);
834
- }
835
- }
836
-
837
- /**
838
- * <p>Returns a list of subnet group descriptions. If a subnet group name is specified, the list contains only the description of that group.</p>
839
- */
840
- public describeSubnetGroups(
841
- args: DescribeSubnetGroupsCommandInput,
842
- options?: __HttpHandlerOptions
843
- ): Promise<DescribeSubnetGroupsCommandOutput>;
844
- public describeSubnetGroups(
845
- args: DescribeSubnetGroupsCommandInput,
846
- cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void
847
- ): void;
848
- public describeSubnetGroups(
849
- args: DescribeSubnetGroupsCommandInput,
850
- options: __HttpHandlerOptions,
851
- cb: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void
852
- ): void;
853
- public describeSubnetGroups(
854
- args: DescribeSubnetGroupsCommandInput,
855
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeSubnetGroupsCommandOutput) => void),
856
- cb?: (err: any, data?: DescribeSubnetGroupsCommandOutput) => void
857
- ): Promise<DescribeSubnetGroupsCommandOutput> | void {
858
- const command = new DescribeSubnetGroupsCommand(args);
859
- if (typeof optionsOrCb === "function") {
860
- this.send(command, optionsOrCb);
861
- } else if (typeof cb === "function") {
862
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
863
- this.send(command, optionsOrCb || {}, cb);
864
- } else {
865
- return this.send(command, optionsOrCb);
866
- }
867
- }
868
-
869
- /**
870
- * <p>Returns a list of users.</p>
871
- */
872
- public describeUsers(
873
- args: DescribeUsersCommandInput,
874
- options?: __HttpHandlerOptions
875
- ): Promise<DescribeUsersCommandOutput>;
876
- public describeUsers(
877
- args: DescribeUsersCommandInput,
878
- cb: (err: any, data?: DescribeUsersCommandOutput) => void
879
- ): void;
880
- public describeUsers(
881
- args: DescribeUsersCommandInput,
882
- options: __HttpHandlerOptions,
883
- cb: (err: any, data?: DescribeUsersCommandOutput) => void
884
- ): void;
885
- public describeUsers(
886
- args: DescribeUsersCommandInput,
887
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeUsersCommandOutput) => void),
888
- cb?: (err: any, data?: DescribeUsersCommandOutput) => void
889
- ): Promise<DescribeUsersCommandOutput> | void {
890
- const command = new DescribeUsersCommand(args);
891
- if (typeof optionsOrCb === "function") {
892
- this.send(command, optionsOrCb);
893
- } else if (typeof cb === "function") {
894
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
895
- this.send(command, optionsOrCb || {}, cb);
896
- } else {
897
- return this.send(command, optionsOrCb);
898
- }
899
- }
900
-
901
- /**
902
- * <p>Used to failover a shard</p>
903
- */
904
- public failoverShard(
905
- args: FailoverShardCommandInput,
906
- options?: __HttpHandlerOptions
907
- ): Promise<FailoverShardCommandOutput>;
908
- public failoverShard(
909
- args: FailoverShardCommandInput,
910
- cb: (err: any, data?: FailoverShardCommandOutput) => void
911
- ): void;
912
- public failoverShard(
913
- args: FailoverShardCommandInput,
914
- options: __HttpHandlerOptions,
915
- cb: (err: any, data?: FailoverShardCommandOutput) => void
916
- ): void;
917
- public failoverShard(
918
- args: FailoverShardCommandInput,
919
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: FailoverShardCommandOutput) => void),
920
- cb?: (err: any, data?: FailoverShardCommandOutput) => void
921
- ): Promise<FailoverShardCommandOutput> | void {
922
- const command = new FailoverShardCommand(args);
923
- if (typeof optionsOrCb === "function") {
924
- this.send(command, optionsOrCb);
925
- } else if (typeof cb === "function") {
926
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
927
- this.send(command, optionsOrCb || {}, cb);
928
- } else {
929
- return this.send(command, optionsOrCb);
930
- }
931
- }
932
-
933
- /**
934
- * <p>Lists all available node types that you can scale to from your cluster's current node type.
935
- *
936
- * 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>
937
- */
938
- public listAllowedNodeTypeUpdates(
939
- args: ListAllowedNodeTypeUpdatesCommandInput,
940
- options?: __HttpHandlerOptions
941
- ): Promise<ListAllowedNodeTypeUpdatesCommandOutput>;
942
- public listAllowedNodeTypeUpdates(
943
- args: ListAllowedNodeTypeUpdatesCommandInput,
944
- cb: (err: any, data?: ListAllowedNodeTypeUpdatesCommandOutput) => void
945
- ): void;
946
- public listAllowedNodeTypeUpdates(
947
- args: ListAllowedNodeTypeUpdatesCommandInput,
948
- options: __HttpHandlerOptions,
949
- cb: (err: any, data?: ListAllowedNodeTypeUpdatesCommandOutput) => void
950
- ): void;
951
- public listAllowedNodeTypeUpdates(
952
- args: ListAllowedNodeTypeUpdatesCommandInput,
953
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAllowedNodeTypeUpdatesCommandOutput) => void),
954
- cb?: (err: any, data?: ListAllowedNodeTypeUpdatesCommandOutput) => void
955
- ): Promise<ListAllowedNodeTypeUpdatesCommandOutput> | void {
956
- const command = new ListAllowedNodeTypeUpdatesCommand(args);
957
- if (typeof optionsOrCb === "function") {
958
- this.send(command, optionsOrCb);
959
- } else if (typeof cb === "function") {
960
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
961
- this.send(command, optionsOrCb || {}, cb);
962
- } else {
963
- return this.send(command, optionsOrCb);
964
- }
965
- }
966
-
967
- /**
968
- * <p>Lists all tags currently on a named resource.
969
- *
970
- * 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.
971
- * For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/Tagging-Resources.html">Tagging your MemoryDB resources</a>
972
- * </p>
973
- */
974
- public listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsCommandOutput>;
975
- public listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void;
976
- public listTags(
977
- args: ListTagsCommandInput,
978
- options: __HttpHandlerOptions,
979
- cb: (err: any, data?: ListTagsCommandOutput) => void
980
- ): void;
981
- public listTags(
982
- args: ListTagsCommandInput,
983
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsCommandOutput) => void),
984
- cb?: (err: any, data?: ListTagsCommandOutput) => void
985
- ): Promise<ListTagsCommandOutput> | void {
986
- const command = new ListTagsCommand(args);
987
- if (typeof optionsOrCb === "function") {
988
- this.send(command, optionsOrCb);
989
- } else if (typeof cb === "function") {
990
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
991
- this.send(command, optionsOrCb || {}, cb);
992
- } else {
993
- return this.send(command, optionsOrCb);
994
- }
995
- }
996
-
997
- /**
998
- * <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>
999
- */
1000
- public resetParameterGroup(
1001
- args: ResetParameterGroupCommandInput,
1002
- options?: __HttpHandlerOptions
1003
- ): Promise<ResetParameterGroupCommandOutput>;
1004
- public resetParameterGroup(
1005
- args: ResetParameterGroupCommandInput,
1006
- cb: (err: any, data?: ResetParameterGroupCommandOutput) => void
1007
- ): void;
1008
- public resetParameterGroup(
1009
- args: ResetParameterGroupCommandInput,
1010
- options: __HttpHandlerOptions,
1011
- cb: (err: any, data?: ResetParameterGroupCommandOutput) => void
1012
- ): void;
1013
- public resetParameterGroup(
1014
- args: ResetParameterGroupCommandInput,
1015
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ResetParameterGroupCommandOutput) => void),
1016
- cb?: (err: any, data?: ResetParameterGroupCommandOutput) => void
1017
- ): Promise<ResetParameterGroupCommandOutput> | void {
1018
- const command = new ResetParameterGroupCommand(args);
1019
- if (typeof optionsOrCb === "function") {
1020
- this.send(command, optionsOrCb);
1021
- } else if (typeof cb === "function") {
1022
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1023
- this.send(command, optionsOrCb || {}, cb);
1024
- } else {
1025
- return this.send(command, optionsOrCb);
1026
- }
1027
- }
1028
-
1029
- /**
1030
- * <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.
1031
- *
1032
- * When you add or remove tags on clusters, those actions will be replicated to all nodes in the cluster. For more information, see
1033
- *
1034
- * <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/iam.resourcelevelpermissions.html">Resource-level permissions</a>.</p>
1035
- *
1036
- * <p>For example, you can use cost-allocation tags to your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value
1037
- * (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories
1038
- * (such as cost centers, application names, or owners) to organize your costs across multiple services.
1039
- *
1040
- * For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/tagging.html">Using Cost Allocation Tags</a>.</p>
1041
- */
1042
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
1043
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
1044
- public tagResource(
1045
- args: TagResourceCommandInput,
1046
- options: __HttpHandlerOptions,
1047
- cb: (err: any, data?: TagResourceCommandOutput) => void
1048
- ): void;
1049
- public tagResource(
1050
- args: TagResourceCommandInput,
1051
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
1052
- cb?: (err: any, data?: TagResourceCommandOutput) => void
1053
- ): Promise<TagResourceCommandOutput> | void {
1054
- const command = new TagResourceCommand(args);
1055
- if (typeof optionsOrCb === "function") {
1056
- this.send(command, optionsOrCb);
1057
- } else if (typeof cb === "function") {
1058
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1059
- this.send(command, optionsOrCb || {}, cb);
1060
- } else {
1061
- return this.send(command, optionsOrCb);
1062
- }
1063
- }
1064
-
1065
- /**
1066
- * <p>Use this operation to remove tags on a resource</p>
1067
- */
1068
- public untagResource(
1069
- args: UntagResourceCommandInput,
1070
- options?: __HttpHandlerOptions
1071
- ): Promise<UntagResourceCommandOutput>;
1072
- public untagResource(
1073
- args: UntagResourceCommandInput,
1074
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1075
- ): void;
1076
- public untagResource(
1077
- args: UntagResourceCommandInput,
1078
- options: __HttpHandlerOptions,
1079
- cb: (err: any, data?: UntagResourceCommandOutput) => void
1080
- ): void;
1081
- public untagResource(
1082
- args: UntagResourceCommandInput,
1083
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
1084
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
1085
- ): Promise<UntagResourceCommandOutput> | void {
1086
- const command = new UntagResourceCommand(args);
1087
- if (typeof optionsOrCb === "function") {
1088
- this.send(command, optionsOrCb);
1089
- } else if (typeof cb === "function") {
1090
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1091
- this.send(command, optionsOrCb || {}, cb);
1092
- } else {
1093
- return this.send(command, optionsOrCb);
1094
- }
1095
- }
1096
-
1097
- /**
1098
- * <p>Changes the list of users that belong to the Access Control List.</p>
1099
- */
1100
- public updateACL(args: UpdateACLCommandInput, options?: __HttpHandlerOptions): Promise<UpdateACLCommandOutput>;
1101
- public updateACL(args: UpdateACLCommandInput, cb: (err: any, data?: UpdateACLCommandOutput) => void): void;
1102
- public updateACL(
1103
- args: UpdateACLCommandInput,
1104
- options: __HttpHandlerOptions,
1105
- cb: (err: any, data?: UpdateACLCommandOutput) => void
1106
- ): void;
1107
- public updateACL(
1108
- args: UpdateACLCommandInput,
1109
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateACLCommandOutput) => void),
1110
- cb?: (err: any, data?: UpdateACLCommandOutput) => void
1111
- ): Promise<UpdateACLCommandOutput> | void {
1112
- const command = new UpdateACLCommand(args);
1113
- if (typeof optionsOrCb === "function") {
1114
- this.send(command, optionsOrCb);
1115
- } else if (typeof cb === "function") {
1116
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1117
- this.send(command, optionsOrCb || {}, cb);
1118
- } else {
1119
- return this.send(command, optionsOrCb);
1120
- }
1121
- }
1122
-
1123
- /**
1124
- * <p>Modifies the settings for a cluster. You can use this operation to change one or more cluster configuration settings by specifying the settings and the new values.</p>
1125
- */
1126
- public updateCluster(
1127
- args: UpdateClusterCommandInput,
1128
- options?: __HttpHandlerOptions
1129
- ): Promise<UpdateClusterCommandOutput>;
1130
- public updateCluster(
1131
- args: UpdateClusterCommandInput,
1132
- cb: (err: any, data?: UpdateClusterCommandOutput) => void
1133
- ): void;
1134
- public updateCluster(
1135
- args: UpdateClusterCommandInput,
1136
- options: __HttpHandlerOptions,
1137
- cb: (err: any, data?: UpdateClusterCommandOutput) => void
1138
- ): void;
1139
- public updateCluster(
1140
- args: UpdateClusterCommandInput,
1141
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateClusterCommandOutput) => void),
1142
- cb?: (err: any, data?: UpdateClusterCommandOutput) => void
1143
- ): Promise<UpdateClusterCommandOutput> | void {
1144
- const command = new UpdateClusterCommand(args);
1145
- if (typeof optionsOrCb === "function") {
1146
- this.send(command, optionsOrCb);
1147
- } else if (typeof cb === "function") {
1148
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1149
- this.send(command, optionsOrCb || {}, cb);
1150
- } else {
1151
- return this.send(command, optionsOrCb);
1152
- }
1153
- }
1154
-
1155
- /**
1156
- * <p>Updates the parameters of a parameter group. You can modify up to 20 parameters in a single request by submitting a list parameter name and value pairs.</p>
1157
- */
1158
- public updateParameterGroup(
1159
- args: UpdateParameterGroupCommandInput,
1160
- options?: __HttpHandlerOptions
1161
- ): Promise<UpdateParameterGroupCommandOutput>;
1162
- public updateParameterGroup(
1163
- args: UpdateParameterGroupCommandInput,
1164
- cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void
1165
- ): void;
1166
- public updateParameterGroup(
1167
- args: UpdateParameterGroupCommandInput,
1168
- options: __HttpHandlerOptions,
1169
- cb: (err: any, data?: UpdateParameterGroupCommandOutput) => void
1170
- ): void;
1171
- public updateParameterGroup(
1172
- args: UpdateParameterGroupCommandInput,
1173
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateParameterGroupCommandOutput) => void),
1174
- cb?: (err: any, data?: UpdateParameterGroupCommandOutput) => void
1175
- ): Promise<UpdateParameterGroupCommandOutput> | void {
1176
- const command = new UpdateParameterGroupCommand(args);
1177
- if (typeof optionsOrCb === "function") {
1178
- this.send(command, optionsOrCb);
1179
- } else if (typeof cb === "function") {
1180
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1181
- this.send(command, optionsOrCb || {}, cb);
1182
- } else {
1183
- return this.send(command, optionsOrCb);
1184
- }
1185
- }
1186
-
1187
- /**
1188
- * <p>Updates a subnet group. For more information, see <a href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/ubnetGroups.Modifying.html">Updating a subnet group</a>
1189
- * </p>
1190
- */
1191
- public updateSubnetGroup(
1192
- args: UpdateSubnetGroupCommandInput,
1193
- options?: __HttpHandlerOptions
1194
- ): Promise<UpdateSubnetGroupCommandOutput>;
1195
- public updateSubnetGroup(
1196
- args: UpdateSubnetGroupCommandInput,
1197
- cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void
1198
- ): void;
1199
- public updateSubnetGroup(
1200
- args: UpdateSubnetGroupCommandInput,
1201
- options: __HttpHandlerOptions,
1202
- cb: (err: any, data?: UpdateSubnetGroupCommandOutput) => void
1203
- ): void;
1204
- public updateSubnetGroup(
1205
- args: UpdateSubnetGroupCommandInput,
1206
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSubnetGroupCommandOutput) => void),
1207
- cb?: (err: any, data?: UpdateSubnetGroupCommandOutput) => void
1208
- ): Promise<UpdateSubnetGroupCommandOutput> | void {
1209
- const command = new UpdateSubnetGroupCommand(args);
1210
- if (typeof optionsOrCb === "function") {
1211
- this.send(command, optionsOrCb);
1212
- } else if (typeof cb === "function") {
1213
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1214
- this.send(command, optionsOrCb || {}, cb);
1215
- } else {
1216
- return this.send(command, optionsOrCb);
1217
- }
1218
- }
1219
-
1220
- /**
1221
- * <p>Changes user password(s) and/or access string.</p>
1222
- */
1223
- public updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
1224
- public updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
1225
- public updateUser(
1226
- args: UpdateUserCommandInput,
1227
- options: __HttpHandlerOptions,
1228
- cb: (err: any, data?: UpdateUserCommandOutput) => void
1229
- ): void;
1230
- public updateUser(
1231
- args: UpdateUserCommandInput,
1232
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateUserCommandOutput) => void),
1233
- cb?: (err: any, data?: UpdateUserCommandOutput) => void
1234
- ): Promise<UpdateUserCommandOutput> | void {
1235
- const command = new UpdateUserCommand(args);
1236
- if (typeof optionsOrCb === "function") {
1237
- this.send(command, optionsOrCb);
1238
- } else if (typeof cb === "function") {
1239
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1240
- this.send(command, optionsOrCb || {}, cb);
1241
- } else {
1242
- return this.send(command, optionsOrCb);
1243
- }
1244
- }
1245
- }