@aws-sdk/client-elasticache 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 (586) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/ElastiCache.js +0 -13
  3. package/dist-cjs/ElastiCacheClient.js +0 -18
  4. package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -36
  5. package/dist-cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js +0 -31
  6. package/dist-cjs/commands/BatchApplyUpdateActionCommand.js +0 -25
  7. package/dist-cjs/commands/BatchStopUpdateActionCommand.js +0 -25
  8. package/dist-cjs/commands/CompleteMigrationCommand.js +0 -25
  9. package/dist-cjs/commands/CopySnapshotCommand.js +0 -118
  10. package/dist-cjs/commands/CreateCacheClusterCommand.js +0 -28
  11. package/dist-cjs/commands/CreateCacheParameterGroupCommand.js +0 -40
  12. package/dist-cjs/commands/CreateCacheSecurityGroupCommand.js +0 -30
  13. package/dist-cjs/commands/CreateCacheSubnetGroupCommand.js +0 -26
  14. package/dist-cjs/commands/CreateGlobalReplicationGroupCommand.js +0 -40
  15. package/dist-cjs/commands/CreateReplicationGroupCommand.js +0 -51
  16. package/dist-cjs/commands/CreateSnapshotCommand.js +0 -30
  17. package/dist-cjs/commands/CreateUserCommand.js +0 -25
  18. package/dist-cjs/commands/CreateUserGroupCommand.js +0 -26
  19. package/dist-cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +0 -25
  20. package/dist-cjs/commands/DecreaseReplicaCountCommand.js +0 -27
  21. package/dist-cjs/commands/DeleteCacheClusterCommand.js +0 -54
  22. package/dist-cjs/commands/DeleteCacheParameterGroupCommand.js +0 -27
  23. package/dist-cjs/commands/DeleteCacheSecurityGroupCommand.js +0 -28
  24. package/dist-cjs/commands/DeleteCacheSubnetGroupCommand.js +0 -28
  25. package/dist-cjs/commands/DeleteGlobalReplicationGroupCommand.js +0 -41
  26. package/dist-cjs/commands/DeleteReplicationGroupCommand.js +0 -33
  27. package/dist-cjs/commands/DeleteSnapshotCommand.js +0 -31
  28. package/dist-cjs/commands/DeleteUserCommand.js +0 -25
  29. package/dist-cjs/commands/DeleteUserGroupCommand.js +0 -25
  30. package/dist-cjs/commands/DescribeCacheClustersCommand.js +0 -40
  31. package/dist-cjs/commands/DescribeCacheEngineVersionsCommand.js +0 -26
  32. package/dist-cjs/commands/DescribeCacheParameterGroupsCommand.js +0 -27
  33. package/dist-cjs/commands/DescribeCacheParametersCommand.js +0 -26
  34. package/dist-cjs/commands/DescribeCacheSecurityGroupsCommand.js +0 -28
  35. package/dist-cjs/commands/DescribeCacheSubnetGroupsCommand.js +0 -28
  36. package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js +0 -26
  37. package/dist-cjs/commands/DescribeEventsCommand.js +0 -30
  38. package/dist-cjs/commands/DescribeGlobalReplicationGroupsCommand.js +0 -25
  39. package/dist-cjs/commands/DescribeReplicationGroupsCommand.js +0 -30
  40. package/dist-cjs/commands/DescribeReservedCacheNodesCommand.js +0 -26
  41. package/dist-cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js +0 -26
  42. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +0 -25
  43. package/dist-cjs/commands/DescribeSnapshotsCommand.js +0 -32
  44. package/dist-cjs/commands/DescribeUpdateActionsCommand.js +0 -25
  45. package/dist-cjs/commands/DescribeUserGroupsCommand.js +0 -25
  46. package/dist-cjs/commands/DescribeUsersCommand.js +0 -25
  47. package/dist-cjs/commands/DisassociateGlobalReplicationGroupCommand.js +0 -25
  48. package/dist-cjs/commands/FailoverGlobalReplicationGroupCommand.js +0 -25
  49. package/dist-cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +0 -25
  50. package/dist-cjs/commands/IncreaseReplicaCountCommand.js +0 -27
  51. package/dist-cjs/commands/ListAllowedNodeTypeModificationsCommand.js +0 -30
  52. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -31
  53. package/dist-cjs/commands/ModifyCacheClusterCommand.js +0 -27
  54. package/dist-cjs/commands/ModifyCacheParameterGroupCommand.js +0 -27
  55. package/dist-cjs/commands/ModifyCacheSubnetGroupCommand.js +0 -25
  56. package/dist-cjs/commands/ModifyGlobalReplicationGroupCommand.js +0 -25
  57. package/dist-cjs/commands/ModifyReplicationGroupCommand.js +0 -41
  58. package/dist-cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js +0 -26
  59. package/dist-cjs/commands/ModifyUserCommand.js +0 -25
  60. package/dist-cjs/commands/ModifyUserGroupCommand.js +0 -25
  61. package/dist-cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js +0 -28
  62. package/dist-cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +0 -25
  63. package/dist-cjs/commands/RebootCacheClusterCommand.js +0 -37
  64. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -28
  65. package/dist-cjs/commands/ResetCacheParameterGroupCommand.js +0 -28
  66. package/dist-cjs/commands/RevokeCacheSecurityGroupIngressCommand.js +0 -27
  67. package/dist-cjs/commands/StartMigrationCommand.js +0 -25
  68. package/dist-cjs/commands/TestFailoverCommand.js +0 -87
  69. package/dist-cjs/commands/index.js +68 -0
  70. package/dist-cjs/endpoints.js +1 -2
  71. package/dist-cjs/index.js +5 -90
  72. package/dist-cjs/models/index.js +0 -1
  73. package/dist-cjs/models/models_0.js +0 -742
  74. package/dist-cjs/pagination/DescribeCacheClustersPaginator.js +0 -11
  75. package/dist-cjs/pagination/DescribeCacheEngineVersionsPaginator.js +0 -11
  76. package/dist-cjs/pagination/DescribeCacheParameterGroupsPaginator.js +0 -11
  77. package/dist-cjs/pagination/DescribeCacheParametersPaginator.js +0 -11
  78. package/dist-cjs/pagination/DescribeCacheSecurityGroupsPaginator.js +0 -11
  79. package/dist-cjs/pagination/DescribeCacheSubnetGroupsPaginator.js +0 -11
  80. package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +0 -11
  81. package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -11
  82. package/dist-cjs/pagination/DescribeGlobalReplicationGroupsPaginator.js +0 -11
  83. package/dist-cjs/pagination/DescribeReplicationGroupsPaginator.js +0 -11
  84. package/dist-cjs/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +0 -11
  85. package/dist-cjs/pagination/DescribeReservedCacheNodesPaginator.js +0 -11
  86. package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +0 -11
  87. package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +0 -11
  88. package/dist-cjs/pagination/DescribeUpdateActionsPaginator.js +0 -11
  89. package/dist-cjs/pagination/DescribeUserGroupsPaginator.js +0 -11
  90. package/dist-cjs/pagination/DescribeUsersPaginator.js +0 -11
  91. package/dist-cjs/pagination/Interfaces.js +0 -1
  92. package/dist-cjs/pagination/index.js +21 -0
  93. package/dist-cjs/protocols/Aws_query.js +0 -3
  94. package/dist-cjs/runtimeConfig.browser.js +1 -6
  95. package/dist-cjs/runtimeConfig.js +2 -7
  96. package/dist-cjs/runtimeConfig.native.js +0 -4
  97. package/dist-cjs/runtimeConfig.shared.js +0 -4
  98. package/dist-cjs/waiters/index.js +7 -0
  99. package/dist-cjs/waiters/waitForCacheClusterAvailable.js +0 -10
  100. package/dist-cjs/waiters/waitForCacheClusterDeleted.js +0 -10
  101. package/dist-cjs/waiters/waitForReplicationGroupAvailable.js +0 -10
  102. package/dist-cjs/waiters/waitForReplicationGroupDeleted.js +0 -10
  103. package/dist-es/ElastiCache.js +0 -1
  104. package/dist-es/ElastiCacheClient.js +0 -1
  105. package/dist-es/commands/AddTagsToResourceCommand.js +0 -1
  106. package/dist-es/commands/AuthorizeCacheSecurityGroupIngressCommand.js +0 -1
  107. package/dist-es/commands/BatchApplyUpdateActionCommand.js +0 -1
  108. package/dist-es/commands/BatchStopUpdateActionCommand.js +0 -1
  109. package/dist-es/commands/CompleteMigrationCommand.js +0 -1
  110. package/dist-es/commands/CopySnapshotCommand.js +0 -1
  111. package/dist-es/commands/CreateCacheClusterCommand.js +0 -1
  112. package/dist-es/commands/CreateCacheParameterGroupCommand.js +0 -1
  113. package/dist-es/commands/CreateCacheSecurityGroupCommand.js +0 -1
  114. package/dist-es/commands/CreateCacheSubnetGroupCommand.js +0 -1
  115. package/dist-es/commands/CreateGlobalReplicationGroupCommand.js +0 -1
  116. package/dist-es/commands/CreateReplicationGroupCommand.js +0 -1
  117. package/dist-es/commands/CreateSnapshotCommand.js +0 -1
  118. package/dist-es/commands/CreateUserCommand.js +0 -1
  119. package/dist-es/commands/CreateUserGroupCommand.js +0 -1
  120. package/dist-es/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +0 -1
  121. package/dist-es/commands/DecreaseReplicaCountCommand.js +0 -1
  122. package/dist-es/commands/DeleteCacheClusterCommand.js +0 -1
  123. package/dist-es/commands/DeleteCacheParameterGroupCommand.js +0 -1
  124. package/dist-es/commands/DeleteCacheSecurityGroupCommand.js +0 -1
  125. package/dist-es/commands/DeleteCacheSubnetGroupCommand.js +0 -1
  126. package/dist-es/commands/DeleteGlobalReplicationGroupCommand.js +0 -1
  127. package/dist-es/commands/DeleteReplicationGroupCommand.js +0 -1
  128. package/dist-es/commands/DeleteSnapshotCommand.js +0 -1
  129. package/dist-es/commands/DeleteUserCommand.js +0 -1
  130. package/dist-es/commands/DeleteUserGroupCommand.js +0 -1
  131. package/dist-es/commands/DescribeCacheClustersCommand.js +0 -1
  132. package/dist-es/commands/DescribeCacheEngineVersionsCommand.js +0 -1
  133. package/dist-es/commands/DescribeCacheParameterGroupsCommand.js +0 -1
  134. package/dist-es/commands/DescribeCacheParametersCommand.js +0 -1
  135. package/dist-es/commands/DescribeCacheSecurityGroupsCommand.js +0 -1
  136. package/dist-es/commands/DescribeCacheSubnetGroupsCommand.js +0 -1
  137. package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +0 -1
  138. package/dist-es/commands/DescribeEventsCommand.js +0 -1
  139. package/dist-es/commands/DescribeGlobalReplicationGroupsCommand.js +0 -1
  140. package/dist-es/commands/DescribeReplicationGroupsCommand.js +0 -1
  141. package/dist-es/commands/DescribeReservedCacheNodesCommand.js +0 -1
  142. package/dist-es/commands/DescribeReservedCacheNodesOfferingsCommand.js +0 -1
  143. package/dist-es/commands/DescribeServiceUpdatesCommand.js +0 -1
  144. package/dist-es/commands/DescribeSnapshotsCommand.js +0 -1
  145. package/dist-es/commands/DescribeUpdateActionsCommand.js +0 -1
  146. package/dist-es/commands/DescribeUserGroupsCommand.js +0 -1
  147. package/dist-es/commands/DescribeUsersCommand.js +0 -1
  148. package/dist-es/commands/DisassociateGlobalReplicationGroupCommand.js +0 -1
  149. package/dist-es/commands/FailoverGlobalReplicationGroupCommand.js +0 -1
  150. package/dist-es/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +0 -1
  151. package/dist-es/commands/IncreaseReplicaCountCommand.js +0 -1
  152. package/dist-es/commands/ListAllowedNodeTypeModificationsCommand.js +0 -1
  153. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  154. package/dist-es/commands/ModifyCacheClusterCommand.js +0 -1
  155. package/dist-es/commands/ModifyCacheParameterGroupCommand.js +0 -1
  156. package/dist-es/commands/ModifyCacheSubnetGroupCommand.js +0 -1
  157. package/dist-es/commands/ModifyGlobalReplicationGroupCommand.js +0 -1
  158. package/dist-es/commands/ModifyReplicationGroupCommand.js +0 -1
  159. package/dist-es/commands/ModifyReplicationGroupShardConfigurationCommand.js +0 -1
  160. package/dist-es/commands/ModifyUserCommand.js +0 -1
  161. package/dist-es/commands/ModifyUserGroupCommand.js +0 -1
  162. package/dist-es/commands/PurchaseReservedCacheNodesOfferingCommand.js +0 -1
  163. package/dist-es/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +0 -1
  164. package/dist-es/commands/RebootCacheClusterCommand.js +0 -1
  165. package/dist-es/commands/RemoveTagsFromResourceCommand.js +0 -1
  166. package/dist-es/commands/ResetCacheParameterGroupCommand.js +0 -1
  167. package/dist-es/commands/RevokeCacheSecurityGroupIngressCommand.js +0 -1
  168. package/dist-es/commands/StartMigrationCommand.js +0 -1
  169. package/dist-es/commands/TestFailoverCommand.js +0 -1
  170. package/dist-es/commands/index.js +65 -0
  171. package/dist-es/endpoints.js +1 -2
  172. package/dist-es/index.js +5 -90
  173. package/dist-es/models/index.js +0 -1
  174. package/dist-es/models/models_0.js +0 -1
  175. package/dist-es/pagination/DescribeCacheClustersPaginator.js +0 -1
  176. package/dist-es/pagination/DescribeCacheEngineVersionsPaginator.js +0 -1
  177. package/dist-es/pagination/DescribeCacheParameterGroupsPaginator.js +0 -1
  178. package/dist-es/pagination/DescribeCacheParametersPaginator.js +0 -1
  179. package/dist-es/pagination/DescribeCacheSecurityGroupsPaginator.js +0 -1
  180. package/dist-es/pagination/DescribeCacheSubnetGroupsPaginator.js +0 -1
  181. package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +0 -1
  182. package/dist-es/pagination/DescribeEventsPaginator.js +0 -1
  183. package/dist-es/pagination/DescribeGlobalReplicationGroupsPaginator.js +0 -1
  184. package/dist-es/pagination/DescribeReplicationGroupsPaginator.js +0 -1
  185. package/dist-es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +0 -1
  186. package/dist-es/pagination/DescribeReservedCacheNodesPaginator.js +0 -1
  187. package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +0 -1
  188. package/dist-es/pagination/DescribeSnapshotsPaginator.js +0 -1
  189. package/dist-es/pagination/DescribeUpdateActionsPaginator.js +0 -1
  190. package/dist-es/pagination/DescribeUserGroupsPaginator.js +0 -1
  191. package/dist-es/pagination/DescribeUsersPaginator.js +0 -1
  192. package/dist-es/pagination/Interfaces.js +0 -1
  193. package/dist-es/pagination/index.js +18 -0
  194. package/dist-es/protocols/Aws_query.js +0 -1
  195. package/dist-es/runtimeConfig.browser.js +1 -2
  196. package/dist-es/runtimeConfig.js +2 -3
  197. package/dist-es/runtimeConfig.native.js +0 -1
  198. package/dist-es/runtimeConfig.shared.js +0 -1
  199. package/dist-es/waiters/index.js +4 -0
  200. package/dist-es/waiters/waitForCacheClusterAvailable.js +0 -1
  201. package/dist-es/waiters/waitForCacheClusterDeleted.js +0 -1
  202. package/dist-es/waiters/waitForReplicationGroupAvailable.js +0 -1
  203. package/dist-es/waiters/waitForReplicationGroupDeleted.js +0 -1
  204. package/dist-types/commands/index.d.ts +65 -0
  205. package/dist-types/index.d.ts +5 -89
  206. package/dist-types/pagination/index.d.ts +18 -0
  207. package/dist-types/ts3.4/ElastiCache.d.ts +66 -621
  208. package/dist-types/ts3.4/ElastiCacheClient.d.ts +24 -98
  209. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -31
  210. package/dist-types/ts3.4/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +2 -26
  211. package/dist-types/ts3.4/commands/BatchApplyUpdateActionCommand.d.ts +2 -20
  212. package/dist-types/ts3.4/commands/BatchStopUpdateActionCommand.d.ts +2 -20
  213. package/dist-types/ts3.4/commands/CompleteMigrationCommand.d.ts +2 -20
  214. package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +2 -113
  215. package/dist-types/ts3.4/commands/CreateCacheClusterCommand.d.ts +2 -23
  216. package/dist-types/ts3.4/commands/CreateCacheParameterGroupCommand.d.ts +2 -35
  217. package/dist-types/ts3.4/commands/CreateCacheSecurityGroupCommand.d.ts +2 -25
  218. package/dist-types/ts3.4/commands/CreateCacheSubnetGroupCommand.d.ts +2 -21
  219. package/dist-types/ts3.4/commands/CreateGlobalReplicationGroupCommand.d.ts +2 -35
  220. package/dist-types/ts3.4/commands/CreateReplicationGroupCommand.d.ts +2 -46
  221. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +2 -25
  222. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -20
  223. package/dist-types/ts3.4/commands/CreateUserGroupCommand.d.ts +2 -21
  224. package/dist-types/ts3.4/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +2 -20
  225. package/dist-types/ts3.4/commands/DecreaseReplicaCountCommand.d.ts +2 -22
  226. package/dist-types/ts3.4/commands/DeleteCacheClusterCommand.d.ts +2 -49
  227. package/dist-types/ts3.4/commands/DeleteCacheParameterGroupCommand.d.ts +2 -22
  228. package/dist-types/ts3.4/commands/DeleteCacheSecurityGroupCommand.d.ts +2 -23
  229. package/dist-types/ts3.4/commands/DeleteCacheSubnetGroupCommand.d.ts +2 -23
  230. package/dist-types/ts3.4/commands/DeleteGlobalReplicationGroupCommand.d.ts +2 -36
  231. package/dist-types/ts3.4/commands/DeleteReplicationGroupCommand.d.ts +2 -28
  232. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +2 -26
  233. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -20
  234. package/dist-types/ts3.4/commands/DeleteUserGroupCommand.d.ts +2 -20
  235. package/dist-types/ts3.4/commands/DescribeCacheClustersCommand.d.ts +2 -35
  236. package/dist-types/ts3.4/commands/DescribeCacheEngineVersionsCommand.d.ts +2 -21
  237. package/dist-types/ts3.4/commands/DescribeCacheParameterGroupsCommand.d.ts +2 -22
  238. package/dist-types/ts3.4/commands/DescribeCacheParametersCommand.d.ts +2 -21
  239. package/dist-types/ts3.4/commands/DescribeCacheSecurityGroupsCommand.d.ts +2 -23
  240. package/dist-types/ts3.4/commands/DescribeCacheSubnetGroupsCommand.d.ts +2 -23
  241. package/dist-types/ts3.4/commands/DescribeEngineDefaultParametersCommand.d.ts +2 -21
  242. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -25
  243. package/dist-types/ts3.4/commands/DescribeGlobalReplicationGroupsCommand.d.ts +2 -20
  244. package/dist-types/ts3.4/commands/DescribeReplicationGroupsCommand.d.ts +2 -25
  245. package/dist-types/ts3.4/commands/DescribeReservedCacheNodesCommand.d.ts +2 -21
  246. package/dist-types/ts3.4/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +2 -21
  247. package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +2 -20
  248. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +2 -27
  249. package/dist-types/ts3.4/commands/DescribeUpdateActionsCommand.d.ts +2 -20
  250. package/dist-types/ts3.4/commands/DescribeUserGroupsCommand.d.ts +2 -20
  251. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +2 -20
  252. package/dist-types/ts3.4/commands/DisassociateGlobalReplicationGroupCommand.d.ts +2 -20
  253. package/dist-types/ts3.4/commands/FailoverGlobalReplicationGroupCommand.d.ts +2 -20
  254. package/dist-types/ts3.4/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +2 -20
  255. package/dist-types/ts3.4/commands/IncreaseReplicaCountCommand.d.ts +2 -22
  256. package/dist-types/ts3.4/commands/ListAllowedNodeTypeModificationsCommand.d.ts +2 -25
  257. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -26
  258. package/dist-types/ts3.4/commands/ModifyCacheClusterCommand.d.ts +2 -22
  259. package/dist-types/ts3.4/commands/ModifyCacheParameterGroupCommand.d.ts +2 -22
  260. package/dist-types/ts3.4/commands/ModifyCacheSubnetGroupCommand.d.ts +2 -20
  261. package/dist-types/ts3.4/commands/ModifyGlobalReplicationGroupCommand.d.ts +2 -20
  262. package/dist-types/ts3.4/commands/ModifyReplicationGroupCommand.d.ts +2 -36
  263. package/dist-types/ts3.4/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +2 -21
  264. package/dist-types/ts3.4/commands/ModifyUserCommand.d.ts +2 -20
  265. package/dist-types/ts3.4/commands/ModifyUserGroupCommand.d.ts +2 -20
  266. package/dist-types/ts3.4/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +2 -23
  267. package/dist-types/ts3.4/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +2 -20
  268. package/dist-types/ts3.4/commands/RebootCacheClusterCommand.d.ts +2 -32
  269. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -23
  270. package/dist-types/ts3.4/commands/ResetCacheParameterGroupCommand.d.ts +2 -23
  271. package/dist-types/ts3.4/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +2 -22
  272. package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +2 -20
  273. package/dist-types/ts3.4/commands/TestFailoverCommand.d.ts +2 -82
  274. package/dist-types/ts3.4/commands/index.d.ts +65 -0
  275. package/dist-types/ts3.4/index.d.ts +5 -89
  276. package/dist-types/ts3.4/models/models_0.d.ts +1183 -7009
  277. package/dist-types/ts3.4/pagination/index.d.ts +18 -0
  278. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  279. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  280. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  281. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  282. package/dist-types/ts3.4/waiters/index.d.ts +4 -0
  283. package/dist-types/ts3.4/waiters/waitForCacheClusterAvailable.d.ts +2 -9
  284. package/dist-types/ts3.4/waiters/waitForCacheClusterDeleted.d.ts +2 -9
  285. package/dist-types/ts3.4/waiters/waitForReplicationGroupAvailable.d.ts +2 -9
  286. package/dist-types/ts3.4/waiters/waitForReplicationGroupDeleted.d.ts +2 -9
  287. package/dist-types/waiters/index.d.ts +4 -0
  288. package/package.json +34 -31
  289. package/dist-cjs/ElastiCache.js.map +0 -1
  290. package/dist-cjs/ElastiCacheClient.js.map +0 -1
  291. package/dist-cjs/commands/AddTagsToResourceCommand.js.map +0 -1
  292. package/dist-cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js.map +0 -1
  293. package/dist-cjs/commands/BatchApplyUpdateActionCommand.js.map +0 -1
  294. package/dist-cjs/commands/BatchStopUpdateActionCommand.js.map +0 -1
  295. package/dist-cjs/commands/CompleteMigrationCommand.js.map +0 -1
  296. package/dist-cjs/commands/CopySnapshotCommand.js.map +0 -1
  297. package/dist-cjs/commands/CreateCacheClusterCommand.js.map +0 -1
  298. package/dist-cjs/commands/CreateCacheParameterGroupCommand.js.map +0 -1
  299. package/dist-cjs/commands/CreateCacheSecurityGroupCommand.js.map +0 -1
  300. package/dist-cjs/commands/CreateCacheSubnetGroupCommand.js.map +0 -1
  301. package/dist-cjs/commands/CreateGlobalReplicationGroupCommand.js.map +0 -1
  302. package/dist-cjs/commands/CreateReplicationGroupCommand.js.map +0 -1
  303. package/dist-cjs/commands/CreateSnapshotCommand.js.map +0 -1
  304. package/dist-cjs/commands/CreateUserCommand.js.map +0 -1
  305. package/dist-cjs/commands/CreateUserGroupCommand.js.map +0 -1
  306. package/dist-cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js.map +0 -1
  307. package/dist-cjs/commands/DecreaseReplicaCountCommand.js.map +0 -1
  308. package/dist-cjs/commands/DeleteCacheClusterCommand.js.map +0 -1
  309. package/dist-cjs/commands/DeleteCacheParameterGroupCommand.js.map +0 -1
  310. package/dist-cjs/commands/DeleteCacheSecurityGroupCommand.js.map +0 -1
  311. package/dist-cjs/commands/DeleteCacheSubnetGroupCommand.js.map +0 -1
  312. package/dist-cjs/commands/DeleteGlobalReplicationGroupCommand.js.map +0 -1
  313. package/dist-cjs/commands/DeleteReplicationGroupCommand.js.map +0 -1
  314. package/dist-cjs/commands/DeleteSnapshotCommand.js.map +0 -1
  315. package/dist-cjs/commands/DeleteUserCommand.js.map +0 -1
  316. package/dist-cjs/commands/DeleteUserGroupCommand.js.map +0 -1
  317. package/dist-cjs/commands/DescribeCacheClustersCommand.js.map +0 -1
  318. package/dist-cjs/commands/DescribeCacheEngineVersionsCommand.js.map +0 -1
  319. package/dist-cjs/commands/DescribeCacheParameterGroupsCommand.js.map +0 -1
  320. package/dist-cjs/commands/DescribeCacheParametersCommand.js.map +0 -1
  321. package/dist-cjs/commands/DescribeCacheSecurityGroupsCommand.js.map +0 -1
  322. package/dist-cjs/commands/DescribeCacheSubnetGroupsCommand.js.map +0 -1
  323. package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js.map +0 -1
  324. package/dist-cjs/commands/DescribeEventsCommand.js.map +0 -1
  325. package/dist-cjs/commands/DescribeGlobalReplicationGroupsCommand.js.map +0 -1
  326. package/dist-cjs/commands/DescribeReplicationGroupsCommand.js.map +0 -1
  327. package/dist-cjs/commands/DescribeReservedCacheNodesCommand.js.map +0 -1
  328. package/dist-cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js.map +0 -1
  329. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js.map +0 -1
  330. package/dist-cjs/commands/DescribeSnapshotsCommand.js.map +0 -1
  331. package/dist-cjs/commands/DescribeUpdateActionsCommand.js.map +0 -1
  332. package/dist-cjs/commands/DescribeUserGroupsCommand.js.map +0 -1
  333. package/dist-cjs/commands/DescribeUsersCommand.js.map +0 -1
  334. package/dist-cjs/commands/DisassociateGlobalReplicationGroupCommand.js.map +0 -1
  335. package/dist-cjs/commands/FailoverGlobalReplicationGroupCommand.js.map +0 -1
  336. package/dist-cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js.map +0 -1
  337. package/dist-cjs/commands/IncreaseReplicaCountCommand.js.map +0 -1
  338. package/dist-cjs/commands/ListAllowedNodeTypeModificationsCommand.js.map +0 -1
  339. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  340. package/dist-cjs/commands/ModifyCacheClusterCommand.js.map +0 -1
  341. package/dist-cjs/commands/ModifyCacheParameterGroupCommand.js.map +0 -1
  342. package/dist-cjs/commands/ModifyCacheSubnetGroupCommand.js.map +0 -1
  343. package/dist-cjs/commands/ModifyGlobalReplicationGroupCommand.js.map +0 -1
  344. package/dist-cjs/commands/ModifyReplicationGroupCommand.js.map +0 -1
  345. package/dist-cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js.map +0 -1
  346. package/dist-cjs/commands/ModifyUserCommand.js.map +0 -1
  347. package/dist-cjs/commands/ModifyUserGroupCommand.js.map +0 -1
  348. package/dist-cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js.map +0 -1
  349. package/dist-cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js.map +0 -1
  350. package/dist-cjs/commands/RebootCacheClusterCommand.js.map +0 -1
  351. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
  352. package/dist-cjs/commands/ResetCacheParameterGroupCommand.js.map +0 -1
  353. package/dist-cjs/commands/RevokeCacheSecurityGroupIngressCommand.js.map +0 -1
  354. package/dist-cjs/commands/StartMigrationCommand.js.map +0 -1
  355. package/dist-cjs/commands/TestFailoverCommand.js.map +0 -1
  356. package/dist-cjs/endpoints.js.map +0 -1
  357. package/dist-cjs/index.js.map +0 -1
  358. package/dist-cjs/models/index.js.map +0 -1
  359. package/dist-cjs/models/models_0.js.map +0 -1
  360. package/dist-cjs/pagination/DescribeCacheClustersPaginator.js.map +0 -1
  361. package/dist-cjs/pagination/DescribeCacheEngineVersionsPaginator.js.map +0 -1
  362. package/dist-cjs/pagination/DescribeCacheParameterGroupsPaginator.js.map +0 -1
  363. package/dist-cjs/pagination/DescribeCacheParametersPaginator.js.map +0 -1
  364. package/dist-cjs/pagination/DescribeCacheSecurityGroupsPaginator.js.map +0 -1
  365. package/dist-cjs/pagination/DescribeCacheSubnetGroupsPaginator.js.map +0 -1
  366. package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js.map +0 -1
  367. package/dist-cjs/pagination/DescribeEventsPaginator.js.map +0 -1
  368. package/dist-cjs/pagination/DescribeGlobalReplicationGroupsPaginator.js.map +0 -1
  369. package/dist-cjs/pagination/DescribeReplicationGroupsPaginator.js.map +0 -1
  370. package/dist-cjs/pagination/DescribeReservedCacheNodesOfferingsPaginator.js.map +0 -1
  371. package/dist-cjs/pagination/DescribeReservedCacheNodesPaginator.js.map +0 -1
  372. package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js.map +0 -1
  373. package/dist-cjs/pagination/DescribeSnapshotsPaginator.js.map +0 -1
  374. package/dist-cjs/pagination/DescribeUpdateActionsPaginator.js.map +0 -1
  375. package/dist-cjs/pagination/DescribeUserGroupsPaginator.js.map +0 -1
  376. package/dist-cjs/pagination/DescribeUsersPaginator.js.map +0 -1
  377. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  378. package/dist-cjs/protocols/Aws_query.js.map +0 -1
  379. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  380. package/dist-cjs/runtimeConfig.js.map +0 -1
  381. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  382. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  383. package/dist-cjs/waiters/waitForCacheClusterAvailable.js.map +0 -1
  384. package/dist-cjs/waiters/waitForCacheClusterDeleted.js.map +0 -1
  385. package/dist-cjs/waiters/waitForReplicationGroupAvailable.js.map +0 -1
  386. package/dist-cjs/waiters/waitForReplicationGroupDeleted.js.map +0 -1
  387. package/dist-es/ElastiCache.js.map +0 -1
  388. package/dist-es/ElastiCacheClient.js.map +0 -1
  389. package/dist-es/commands/AddTagsToResourceCommand.js.map +0 -1
  390. package/dist-es/commands/AuthorizeCacheSecurityGroupIngressCommand.js.map +0 -1
  391. package/dist-es/commands/BatchApplyUpdateActionCommand.js.map +0 -1
  392. package/dist-es/commands/BatchStopUpdateActionCommand.js.map +0 -1
  393. package/dist-es/commands/CompleteMigrationCommand.js.map +0 -1
  394. package/dist-es/commands/CopySnapshotCommand.js.map +0 -1
  395. package/dist-es/commands/CreateCacheClusterCommand.js.map +0 -1
  396. package/dist-es/commands/CreateCacheParameterGroupCommand.js.map +0 -1
  397. package/dist-es/commands/CreateCacheSecurityGroupCommand.js.map +0 -1
  398. package/dist-es/commands/CreateCacheSubnetGroupCommand.js.map +0 -1
  399. package/dist-es/commands/CreateGlobalReplicationGroupCommand.js.map +0 -1
  400. package/dist-es/commands/CreateReplicationGroupCommand.js.map +0 -1
  401. package/dist-es/commands/CreateSnapshotCommand.js.map +0 -1
  402. package/dist-es/commands/CreateUserCommand.js.map +0 -1
  403. package/dist-es/commands/CreateUserGroupCommand.js.map +0 -1
  404. package/dist-es/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js.map +0 -1
  405. package/dist-es/commands/DecreaseReplicaCountCommand.js.map +0 -1
  406. package/dist-es/commands/DeleteCacheClusterCommand.js.map +0 -1
  407. package/dist-es/commands/DeleteCacheParameterGroupCommand.js.map +0 -1
  408. package/dist-es/commands/DeleteCacheSecurityGroupCommand.js.map +0 -1
  409. package/dist-es/commands/DeleteCacheSubnetGroupCommand.js.map +0 -1
  410. package/dist-es/commands/DeleteGlobalReplicationGroupCommand.js.map +0 -1
  411. package/dist-es/commands/DeleteReplicationGroupCommand.js.map +0 -1
  412. package/dist-es/commands/DeleteSnapshotCommand.js.map +0 -1
  413. package/dist-es/commands/DeleteUserCommand.js.map +0 -1
  414. package/dist-es/commands/DeleteUserGroupCommand.js.map +0 -1
  415. package/dist-es/commands/DescribeCacheClustersCommand.js.map +0 -1
  416. package/dist-es/commands/DescribeCacheEngineVersionsCommand.js.map +0 -1
  417. package/dist-es/commands/DescribeCacheParameterGroupsCommand.js.map +0 -1
  418. package/dist-es/commands/DescribeCacheParametersCommand.js.map +0 -1
  419. package/dist-es/commands/DescribeCacheSecurityGroupsCommand.js.map +0 -1
  420. package/dist-es/commands/DescribeCacheSubnetGroupsCommand.js.map +0 -1
  421. package/dist-es/commands/DescribeEngineDefaultParametersCommand.js.map +0 -1
  422. package/dist-es/commands/DescribeEventsCommand.js.map +0 -1
  423. package/dist-es/commands/DescribeGlobalReplicationGroupsCommand.js.map +0 -1
  424. package/dist-es/commands/DescribeReplicationGroupsCommand.js.map +0 -1
  425. package/dist-es/commands/DescribeReservedCacheNodesCommand.js.map +0 -1
  426. package/dist-es/commands/DescribeReservedCacheNodesOfferingsCommand.js.map +0 -1
  427. package/dist-es/commands/DescribeServiceUpdatesCommand.js.map +0 -1
  428. package/dist-es/commands/DescribeSnapshotsCommand.js.map +0 -1
  429. package/dist-es/commands/DescribeUpdateActionsCommand.js.map +0 -1
  430. package/dist-es/commands/DescribeUserGroupsCommand.js.map +0 -1
  431. package/dist-es/commands/DescribeUsersCommand.js.map +0 -1
  432. package/dist-es/commands/DisassociateGlobalReplicationGroupCommand.js.map +0 -1
  433. package/dist-es/commands/FailoverGlobalReplicationGroupCommand.js.map +0 -1
  434. package/dist-es/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js.map +0 -1
  435. package/dist-es/commands/IncreaseReplicaCountCommand.js.map +0 -1
  436. package/dist-es/commands/ListAllowedNodeTypeModificationsCommand.js.map +0 -1
  437. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  438. package/dist-es/commands/ModifyCacheClusterCommand.js.map +0 -1
  439. package/dist-es/commands/ModifyCacheParameterGroupCommand.js.map +0 -1
  440. package/dist-es/commands/ModifyCacheSubnetGroupCommand.js.map +0 -1
  441. package/dist-es/commands/ModifyGlobalReplicationGroupCommand.js.map +0 -1
  442. package/dist-es/commands/ModifyReplicationGroupCommand.js.map +0 -1
  443. package/dist-es/commands/ModifyReplicationGroupShardConfigurationCommand.js.map +0 -1
  444. package/dist-es/commands/ModifyUserCommand.js.map +0 -1
  445. package/dist-es/commands/ModifyUserGroupCommand.js.map +0 -1
  446. package/dist-es/commands/PurchaseReservedCacheNodesOfferingCommand.js.map +0 -1
  447. package/dist-es/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js.map +0 -1
  448. package/dist-es/commands/RebootCacheClusterCommand.js.map +0 -1
  449. package/dist-es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
  450. package/dist-es/commands/ResetCacheParameterGroupCommand.js.map +0 -1
  451. package/dist-es/commands/RevokeCacheSecurityGroupIngressCommand.js.map +0 -1
  452. package/dist-es/commands/StartMigrationCommand.js.map +0 -1
  453. package/dist-es/commands/TestFailoverCommand.js.map +0 -1
  454. package/dist-es/endpoints.js.map +0 -1
  455. package/dist-es/index.js.map +0 -1
  456. package/dist-es/models/index.js.map +0 -1
  457. package/dist-es/models/models_0.js.map +0 -1
  458. package/dist-es/pagination/DescribeCacheClustersPaginator.js.map +0 -1
  459. package/dist-es/pagination/DescribeCacheEngineVersionsPaginator.js.map +0 -1
  460. package/dist-es/pagination/DescribeCacheParameterGroupsPaginator.js.map +0 -1
  461. package/dist-es/pagination/DescribeCacheParametersPaginator.js.map +0 -1
  462. package/dist-es/pagination/DescribeCacheSecurityGroupsPaginator.js.map +0 -1
  463. package/dist-es/pagination/DescribeCacheSubnetGroupsPaginator.js.map +0 -1
  464. package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js.map +0 -1
  465. package/dist-es/pagination/DescribeEventsPaginator.js.map +0 -1
  466. package/dist-es/pagination/DescribeGlobalReplicationGroupsPaginator.js.map +0 -1
  467. package/dist-es/pagination/DescribeReplicationGroupsPaginator.js.map +0 -1
  468. package/dist-es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js.map +0 -1
  469. package/dist-es/pagination/DescribeReservedCacheNodesPaginator.js.map +0 -1
  470. package/dist-es/pagination/DescribeServiceUpdatesPaginator.js.map +0 -1
  471. package/dist-es/pagination/DescribeSnapshotsPaginator.js.map +0 -1
  472. package/dist-es/pagination/DescribeUpdateActionsPaginator.js.map +0 -1
  473. package/dist-es/pagination/DescribeUserGroupsPaginator.js.map +0 -1
  474. package/dist-es/pagination/DescribeUsersPaginator.js.map +0 -1
  475. package/dist-es/pagination/Interfaces.js.map +0 -1
  476. package/dist-es/protocols/Aws_query.js.map +0 -1
  477. package/dist-es/runtimeConfig.browser.js.map +0 -1
  478. package/dist-es/runtimeConfig.js.map +0 -1
  479. package/dist-es/runtimeConfig.native.js.map +0 -1
  480. package/dist-es/runtimeConfig.shared.js.map +0 -1
  481. package/dist-es/waiters/waitForCacheClusterAvailable.js.map +0 -1
  482. package/dist-es/waiters/waitForCacheClusterDeleted.js.map +0 -1
  483. package/dist-es/waiters/waitForReplicationGroupAvailable.js.map +0 -1
  484. package/dist-es/waiters/waitForReplicationGroupDeleted.js.map +0 -1
  485. package/jest.config.js +0 -4
  486. package/src/ElastiCache.ts +0 -2808
  487. package/src/ElastiCacheClient.ts +0 -572
  488. package/src/commands/AddTagsToResourceCommand.ts +0 -106
  489. package/src/commands/AuthorizeCacheSecurityGroupIngressCommand.ts +0 -112
  490. package/src/commands/BatchApplyUpdateActionCommand.ts +0 -95
  491. package/src/commands/BatchStopUpdateActionCommand.ts +0 -95
  492. package/src/commands/CompleteMigrationCommand.ts +0 -95
  493. package/src/commands/CopySnapshotCommand.ts +0 -185
  494. package/src/commands/CreateCacheClusterCommand.ts +0 -98
  495. package/src/commands/CreateCacheParameterGroupCommand.ts +0 -113
  496. package/src/commands/CreateCacheSecurityGroupCommand.ts +0 -100
  497. package/src/commands/CreateCacheSubnetGroupCommand.ts +0 -96
  498. package/src/commands/CreateGlobalReplicationGroupCommand.ts +0 -115
  499. package/src/commands/CreateReplicationGroupCommand.ts +0 -121
  500. package/src/commands/CreateSnapshotCommand.ts +0 -100
  501. package/src/commands/CreateUserCommand.ts +0 -92
  502. package/src/commands/CreateUserGroupCommand.ts +0 -96
  503. package/src/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.ts +0 -110
  504. package/src/commands/DecreaseReplicaCountCommand.ts +0 -97
  505. package/src/commands/DeleteCacheClusterCommand.ts +0 -124
  506. package/src/commands/DeleteCacheParameterGroupCommand.ts +0 -100
  507. package/src/commands/DeleteCacheSecurityGroupCommand.ts +0 -98
  508. package/src/commands/DeleteCacheSubnetGroupCommand.ts +0 -98
  509. package/src/commands/DeleteGlobalReplicationGroupCommand.ts +0 -116
  510. package/src/commands/DeleteReplicationGroupCommand.ts +0 -103
  511. package/src/commands/DeleteSnapshotCommand.ts +0 -101
  512. package/src/commands/DeleteUserCommand.ts +0 -92
  513. package/src/commands/DeleteUserGroupCommand.ts +0 -95
  514. package/src/commands/DescribeCacheClustersCommand.ts +0 -110
  515. package/src/commands/DescribeCacheEngineVersionsCommand.ts +0 -99
  516. package/src/commands/DescribeCacheParameterGroupsCommand.ts +0 -100
  517. package/src/commands/DescribeCacheParametersCommand.ts +0 -96
  518. package/src/commands/DescribeCacheSecurityGroupsCommand.ts +0 -101
  519. package/src/commands/DescribeCacheSubnetGroupsCommand.ts +0 -101
  520. package/src/commands/DescribeEngineDefaultParametersCommand.ts +0 -104
  521. package/src/commands/DescribeEventsCommand.ts +0 -100
  522. package/src/commands/DescribeGlobalReplicationGroupsCommand.ts +0 -103
  523. package/src/commands/DescribeReplicationGroupsCommand.ts +0 -103
  524. package/src/commands/DescribeReservedCacheNodesCommand.ts +0 -99
  525. package/src/commands/DescribeReservedCacheNodesOfferingsCommand.ts +0 -104
  526. package/src/commands/DescribeServiceUpdatesCommand.ts +0 -95
  527. package/src/commands/DescribeSnapshotsCommand.ts +0 -102
  528. package/src/commands/DescribeUpdateActionsCommand.ts +0 -95
  529. package/src/commands/DescribeUserGroupsCommand.ts +0 -95
  530. package/src/commands/DescribeUsersCommand.ts +0 -95
  531. package/src/commands/DisassociateGlobalReplicationGroupCommand.ts +0 -106
  532. package/src/commands/FailoverGlobalReplicationGroupCommand.ts +0 -103
  533. package/src/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.ts +0 -110
  534. package/src/commands/IncreaseReplicaCountCommand.ts +0 -97
  535. package/src/commands/ListAllowedNodeTypeModificationsCommand.ts +0 -108
  536. package/src/commands/ListTagsForResourceCommand.ts +0 -101
  537. package/src/commands/ModifyCacheClusterCommand.ts +0 -97
  538. package/src/commands/ModifyCacheParameterGroupCommand.ts +0 -100
  539. package/src/commands/ModifyCacheSubnetGroupCommand.ts +0 -95
  540. package/src/commands/ModifyGlobalReplicationGroupCommand.ts +0 -100
  541. package/src/commands/ModifyReplicationGroupCommand.ts +0 -111
  542. package/src/commands/ModifyReplicationGroupShardConfigurationCommand.ts +0 -111
  543. package/src/commands/ModifyUserCommand.ts +0 -92
  544. package/src/commands/ModifyUserGroupCommand.ts +0 -95
  545. package/src/commands/PurchaseReservedCacheNodesOfferingCommand.ts +0 -109
  546. package/src/commands/RebalanceSlotsInGlobalReplicationGroupCommand.ts +0 -107
  547. package/src/commands/RebootCacheClusterCommand.ts +0 -107
  548. package/src/commands/RemoveTagsFromResourceCommand.ts +0 -98
  549. package/src/commands/ResetCacheParameterGroupCommand.ts +0 -98
  550. package/src/commands/RevokeCacheSecurityGroupIngressCommand.ts +0 -105
  551. package/src/commands/StartMigrationCommand.ts +0 -95
  552. package/src/commands/TestFailoverCommand.ts +0 -154
  553. package/src/endpoints.ts +0 -63
  554. package/src/index.ts +0 -90
  555. package/src/models/index.ts +0 -1
  556. package/src/models/models_0.ts +0 -10878
  557. package/src/pagination/DescribeCacheClustersPaginator.ts +0 -59
  558. package/src/pagination/DescribeCacheEngineVersionsPaginator.ts +0 -59
  559. package/src/pagination/DescribeCacheParameterGroupsPaginator.ts +0 -59
  560. package/src/pagination/DescribeCacheParametersPaginator.ts +0 -59
  561. package/src/pagination/DescribeCacheSecurityGroupsPaginator.ts +0 -59
  562. package/src/pagination/DescribeCacheSubnetGroupsPaginator.ts +0 -59
  563. package/src/pagination/DescribeEngineDefaultParametersPaginator.ts +0 -59
  564. package/src/pagination/DescribeEventsPaginator.ts +0 -59
  565. package/src/pagination/DescribeGlobalReplicationGroupsPaginator.ts +0 -59
  566. package/src/pagination/DescribeReplicationGroupsPaginator.ts +0 -59
  567. package/src/pagination/DescribeReservedCacheNodesOfferingsPaginator.ts +0 -59
  568. package/src/pagination/DescribeReservedCacheNodesPaginator.ts +0 -59
  569. package/src/pagination/DescribeServiceUpdatesPaginator.ts +0 -59
  570. package/src/pagination/DescribeSnapshotsPaginator.ts +0 -59
  571. package/src/pagination/DescribeUpdateActionsPaginator.ts +0 -59
  572. package/src/pagination/DescribeUserGroupsPaginator.ts +0 -59
  573. package/src/pagination/DescribeUsersPaginator.ts +0 -59
  574. package/src/pagination/Interfaces.ts +0 -8
  575. package/src/protocols/Aws_query.ts +0 -15065
  576. package/src/runtimeConfig.browser.ts +0 -41
  577. package/src/runtimeConfig.native.ts +0 -17
  578. package/src/runtimeConfig.shared.ts +0 -17
  579. package/src/runtimeConfig.ts +0 -46
  580. package/src/waiters/waitForCacheClusterAvailable.ts +0 -117
  581. package/src/waiters/waitForCacheClusterDeleted.ts +0 -148
  582. package/src/waiters/waitForReplicationGroupAvailable.ts +0 -75
  583. package/src/waiters/waitForReplicationGroupDeleted.ts +0 -78
  584. package/tsconfig.es.json +0 -10
  585. package/tsconfig.json +0 -33
  586. package/tsconfig.types.json +0 -9
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeCacheClustersCommand,
5
- DescribeCacheClustersCommandInput,
6
- DescribeCacheClustersCommandOutput,
7
- } from "../commands/DescribeCacheClustersCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeCacheClustersCommandInput,
18
- ...args: any
19
- ): Promise<DescribeCacheClustersCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeCacheClustersCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeCacheClustersCommandInput,
29
- ...args: any
30
- ): Promise<DescribeCacheClustersCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeCacheClusters(input, ...args);
33
- };
34
- export async function* paginateDescribeCacheClusters(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeCacheClustersCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeCacheClustersCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeCacheClustersCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeCacheEngineVersionsCommand,
5
- DescribeCacheEngineVersionsCommandInput,
6
- DescribeCacheEngineVersionsCommandOutput,
7
- } from "../commands/DescribeCacheEngineVersionsCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeCacheEngineVersionsCommandInput,
18
- ...args: any
19
- ): Promise<DescribeCacheEngineVersionsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeCacheEngineVersionsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeCacheEngineVersionsCommandInput,
29
- ...args: any
30
- ): Promise<DescribeCacheEngineVersionsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeCacheEngineVersions(input, ...args);
33
- };
34
- export async function* paginateDescribeCacheEngineVersions(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeCacheEngineVersionsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeCacheEngineVersionsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeCacheEngineVersionsCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeCacheParameterGroupsCommand,
5
- DescribeCacheParameterGroupsCommandInput,
6
- DescribeCacheParameterGroupsCommandOutput,
7
- } from "../commands/DescribeCacheParameterGroupsCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeCacheParameterGroupsCommandInput,
18
- ...args: any
19
- ): Promise<DescribeCacheParameterGroupsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeCacheParameterGroupsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeCacheParameterGroupsCommandInput,
29
- ...args: any
30
- ): Promise<DescribeCacheParameterGroupsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeCacheParameterGroups(input, ...args);
33
- };
34
- export async function* paginateDescribeCacheParameterGroups(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeCacheParameterGroupsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeCacheParameterGroupsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeCacheParameterGroupsCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeCacheParametersCommand,
5
- DescribeCacheParametersCommandInput,
6
- DescribeCacheParametersCommandOutput,
7
- } from "../commands/DescribeCacheParametersCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeCacheParametersCommandInput,
18
- ...args: any
19
- ): Promise<DescribeCacheParametersCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeCacheParametersCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeCacheParametersCommandInput,
29
- ...args: any
30
- ): Promise<DescribeCacheParametersCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeCacheParameters(input, ...args);
33
- };
34
- export async function* paginateDescribeCacheParameters(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeCacheParametersCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeCacheParametersCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeCacheParametersCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeCacheSecurityGroupsCommand,
5
- DescribeCacheSecurityGroupsCommandInput,
6
- DescribeCacheSecurityGroupsCommandOutput,
7
- } from "../commands/DescribeCacheSecurityGroupsCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeCacheSecurityGroupsCommandInput,
18
- ...args: any
19
- ): Promise<DescribeCacheSecurityGroupsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeCacheSecurityGroupsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeCacheSecurityGroupsCommandInput,
29
- ...args: any
30
- ): Promise<DescribeCacheSecurityGroupsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeCacheSecurityGroups(input, ...args);
33
- };
34
- export async function* paginateDescribeCacheSecurityGroups(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeCacheSecurityGroupsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeCacheSecurityGroupsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeCacheSecurityGroupsCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeCacheSubnetGroupsCommand,
5
- DescribeCacheSubnetGroupsCommandInput,
6
- DescribeCacheSubnetGroupsCommandOutput,
7
- } from "../commands/DescribeCacheSubnetGroupsCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeCacheSubnetGroupsCommandInput,
18
- ...args: any
19
- ): Promise<DescribeCacheSubnetGroupsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeCacheSubnetGroupsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeCacheSubnetGroupsCommandInput,
29
- ...args: any
30
- ): Promise<DescribeCacheSubnetGroupsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeCacheSubnetGroups(input, ...args);
33
- };
34
- export async function* paginateDescribeCacheSubnetGroups(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeCacheSubnetGroupsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeCacheSubnetGroupsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeCacheSubnetGroupsCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeEngineDefaultParametersCommand,
5
- DescribeEngineDefaultParametersCommandInput,
6
- DescribeEngineDefaultParametersCommandOutput,
7
- } from "../commands/DescribeEngineDefaultParametersCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeEngineDefaultParametersCommandInput,
18
- ...args: any
19
- ): Promise<DescribeEngineDefaultParametersCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeEngineDefaultParametersCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeEngineDefaultParametersCommandInput,
29
- ...args: any
30
- ): Promise<DescribeEngineDefaultParametersCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeEngineDefaultParameters(input, ...args);
33
- };
34
- export async function* paginateDescribeEngineDefaultParameters(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeEngineDefaultParametersCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeEngineDefaultParametersCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeEngineDefaultParametersCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.EngineDefaults!.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeEventsCommand,
5
- DescribeEventsCommandInput,
6
- DescribeEventsCommandOutput,
7
- } from "../commands/DescribeEventsCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeEventsCommandInput,
18
- ...args: any
19
- ): Promise<DescribeEventsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeEventsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeEventsCommandInput,
29
- ...args: any
30
- ): Promise<DescribeEventsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeEvents(input, ...args);
33
- };
34
- export async function* paginateDescribeEvents(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeEventsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeEventsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeEventsCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeGlobalReplicationGroupsCommand,
5
- DescribeGlobalReplicationGroupsCommandInput,
6
- DescribeGlobalReplicationGroupsCommandOutput,
7
- } from "../commands/DescribeGlobalReplicationGroupsCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeGlobalReplicationGroupsCommandInput,
18
- ...args: any
19
- ): Promise<DescribeGlobalReplicationGroupsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeGlobalReplicationGroupsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeGlobalReplicationGroupsCommandInput,
29
- ...args: any
30
- ): Promise<DescribeGlobalReplicationGroupsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeGlobalReplicationGroups(input, ...args);
33
- };
34
- export async function* paginateDescribeGlobalReplicationGroups(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeGlobalReplicationGroupsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeGlobalReplicationGroupsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeGlobalReplicationGroupsCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeReplicationGroupsCommand,
5
- DescribeReplicationGroupsCommandInput,
6
- DescribeReplicationGroupsCommandOutput,
7
- } from "../commands/DescribeReplicationGroupsCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeReplicationGroupsCommandInput,
18
- ...args: any
19
- ): Promise<DescribeReplicationGroupsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeReplicationGroupsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeReplicationGroupsCommandInput,
29
- ...args: any
30
- ): Promise<DescribeReplicationGroupsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeReplicationGroups(input, ...args);
33
- };
34
- export async function* paginateDescribeReplicationGroups(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeReplicationGroupsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeReplicationGroupsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeReplicationGroupsCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }
@@ -1,59 +0,0 @@
1
- import { Paginator } from "@aws-sdk/types";
2
-
3
- import {
4
- DescribeReservedCacheNodesOfferingsCommand,
5
- DescribeReservedCacheNodesOfferingsCommandInput,
6
- DescribeReservedCacheNodesOfferingsCommandOutput,
7
- } from "../commands/DescribeReservedCacheNodesOfferingsCommand";
8
- import { ElastiCache } from "../ElastiCache";
9
- import { ElastiCacheClient } from "../ElastiCacheClient";
10
- import { ElastiCachePaginationConfiguration } from "./Interfaces";
11
-
12
- /**
13
- * @private
14
- */
15
- const makePagedClientRequest = async (
16
- client: ElastiCacheClient,
17
- input: DescribeReservedCacheNodesOfferingsCommandInput,
18
- ...args: any
19
- ): Promise<DescribeReservedCacheNodesOfferingsCommandOutput> => {
20
- // @ts-ignore
21
- return await client.send(new DescribeReservedCacheNodesOfferingsCommand(input), ...args);
22
- };
23
- /**
24
- * @private
25
- */
26
- const makePagedRequest = async (
27
- client: ElastiCache,
28
- input: DescribeReservedCacheNodesOfferingsCommandInput,
29
- ...args: any
30
- ): Promise<DescribeReservedCacheNodesOfferingsCommandOutput> => {
31
- // @ts-ignore
32
- return await client.describeReservedCacheNodesOfferings(input, ...args);
33
- };
34
- export async function* paginateDescribeReservedCacheNodesOfferings(
35
- config: ElastiCachePaginationConfiguration,
36
- input: DescribeReservedCacheNodesOfferingsCommandInput,
37
- ...additionalArguments: any
38
- ): Paginator<DescribeReservedCacheNodesOfferingsCommandOutput> {
39
- // ToDo: replace with actual type instead of typeof input.Marker
40
- let token: typeof input.Marker | undefined = config.startingToken || undefined;
41
- let hasNext = true;
42
- let page: DescribeReservedCacheNodesOfferingsCommandOutput;
43
- while (hasNext) {
44
- input.Marker = token;
45
- input["MaxRecords"] = config.pageSize;
46
- if (config.client instanceof ElastiCache) {
47
- page = await makePagedRequest(config.client, input, ...additionalArguments);
48
- } else if (config.client instanceof ElastiCacheClient) {
49
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
50
- } else {
51
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
52
- }
53
- yield page;
54
- token = page.Marker;
55
- hasNext = !!token;
56
- }
57
- // @ts-ignore
58
- return undefined;
59
- }