@aws-sdk/client-elasticache 3.477.0 → 3.481.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 (381) hide show
  1. package/dist-cjs/commands/AddTagsToResourceCommand.js +18 -41
  2. package/dist-cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js +18 -41
  3. package/dist-cjs/commands/BatchApplyUpdateActionCommand.js +18 -41
  4. package/dist-cjs/commands/BatchStopUpdateActionCommand.js +18 -41
  5. package/dist-cjs/commands/CompleteMigrationCommand.js +18 -41
  6. package/dist-cjs/commands/CopyServerlessCacheSnapshotCommand.js +18 -41
  7. package/dist-cjs/commands/CopySnapshotCommand.js +18 -41
  8. package/dist-cjs/commands/CreateCacheClusterCommand.js +18 -41
  9. package/dist-cjs/commands/CreateCacheParameterGroupCommand.js +18 -41
  10. package/dist-cjs/commands/CreateCacheSecurityGroupCommand.js +18 -41
  11. package/dist-cjs/commands/CreateCacheSubnetGroupCommand.js +18 -41
  12. package/dist-cjs/commands/CreateGlobalReplicationGroupCommand.js +18 -41
  13. package/dist-cjs/commands/CreateReplicationGroupCommand.js +18 -41
  14. package/dist-cjs/commands/CreateServerlessCacheCommand.js +18 -41
  15. package/dist-cjs/commands/CreateServerlessCacheSnapshotCommand.js +18 -41
  16. package/dist-cjs/commands/CreateSnapshotCommand.js +18 -41
  17. package/dist-cjs/commands/CreateUserCommand.js +18 -41
  18. package/dist-cjs/commands/CreateUserGroupCommand.js +18 -41
  19. package/dist-cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +18 -41
  20. package/dist-cjs/commands/DecreaseReplicaCountCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteCacheClusterCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteCacheParameterGroupCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteCacheSecurityGroupCommand.js +18 -41
  24. package/dist-cjs/commands/DeleteCacheSubnetGroupCommand.js +18 -41
  25. package/dist-cjs/commands/DeleteGlobalReplicationGroupCommand.js +18 -41
  26. package/dist-cjs/commands/DeleteReplicationGroupCommand.js +18 -41
  27. package/dist-cjs/commands/DeleteServerlessCacheCommand.js +18 -41
  28. package/dist-cjs/commands/DeleteServerlessCacheSnapshotCommand.js +18 -41
  29. package/dist-cjs/commands/DeleteSnapshotCommand.js +18 -41
  30. package/dist-cjs/commands/DeleteUserCommand.js +18 -41
  31. package/dist-cjs/commands/DeleteUserGroupCommand.js +18 -41
  32. package/dist-cjs/commands/DescribeCacheClustersCommand.js +18 -41
  33. package/dist-cjs/commands/DescribeCacheEngineVersionsCommand.js +18 -41
  34. package/dist-cjs/commands/DescribeCacheParameterGroupsCommand.js +18 -41
  35. package/dist-cjs/commands/DescribeCacheParametersCommand.js +18 -41
  36. package/dist-cjs/commands/DescribeCacheSecurityGroupsCommand.js +18 -41
  37. package/dist-cjs/commands/DescribeCacheSubnetGroupsCommand.js +18 -41
  38. package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js +18 -41
  39. package/dist-cjs/commands/DescribeEventsCommand.js +18 -41
  40. package/dist-cjs/commands/DescribeGlobalReplicationGroupsCommand.js +18 -41
  41. package/dist-cjs/commands/DescribeReplicationGroupsCommand.js +18 -41
  42. package/dist-cjs/commands/DescribeReservedCacheNodesCommand.js +18 -41
  43. package/dist-cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js +18 -41
  44. package/dist-cjs/commands/DescribeServerlessCacheSnapshotsCommand.js +18 -41
  45. package/dist-cjs/commands/DescribeServerlessCachesCommand.js +18 -41
  46. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +18 -41
  47. package/dist-cjs/commands/DescribeSnapshotsCommand.js +18 -41
  48. package/dist-cjs/commands/DescribeUpdateActionsCommand.js +18 -41
  49. package/dist-cjs/commands/DescribeUserGroupsCommand.js +18 -41
  50. package/dist-cjs/commands/DescribeUsersCommand.js +18 -41
  51. package/dist-cjs/commands/DisassociateGlobalReplicationGroupCommand.js +18 -41
  52. package/dist-cjs/commands/ExportServerlessCacheSnapshotCommand.js +18 -41
  53. package/dist-cjs/commands/FailoverGlobalReplicationGroupCommand.js +18 -41
  54. package/dist-cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +18 -41
  55. package/dist-cjs/commands/IncreaseReplicaCountCommand.js +18 -41
  56. package/dist-cjs/commands/ListAllowedNodeTypeModificationsCommand.js +18 -41
  57. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  58. package/dist-cjs/commands/ModifyCacheClusterCommand.js +18 -41
  59. package/dist-cjs/commands/ModifyCacheParameterGroupCommand.js +18 -41
  60. package/dist-cjs/commands/ModifyCacheSubnetGroupCommand.js +18 -41
  61. package/dist-cjs/commands/ModifyGlobalReplicationGroupCommand.js +18 -41
  62. package/dist-cjs/commands/ModifyReplicationGroupCommand.js +18 -41
  63. package/dist-cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js +18 -41
  64. package/dist-cjs/commands/ModifyServerlessCacheCommand.js +18 -41
  65. package/dist-cjs/commands/ModifyUserCommand.js +18 -41
  66. package/dist-cjs/commands/ModifyUserGroupCommand.js +18 -41
  67. package/dist-cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js +18 -41
  68. package/dist-cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +18 -41
  69. package/dist-cjs/commands/RebootCacheClusterCommand.js +18 -41
  70. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +18 -41
  71. package/dist-cjs/commands/ResetCacheParameterGroupCommand.js +18 -41
  72. package/dist-cjs/commands/RevokeCacheSecurityGroupIngressCommand.js +18 -41
  73. package/dist-cjs/commands/StartMigrationCommand.js +18 -41
  74. package/dist-cjs/commands/TestFailoverCommand.js +18 -41
  75. package/dist-cjs/commands/TestMigrationCommand.js +18 -41
  76. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  77. package/dist-cjs/pagination/DescribeCacheClustersPaginator.js +2 -24
  78. package/dist-cjs/pagination/DescribeCacheEngineVersionsPaginator.js +2 -24
  79. package/dist-cjs/pagination/DescribeCacheParameterGroupsPaginator.js +2 -24
  80. package/dist-cjs/pagination/DescribeCacheParametersPaginator.js +2 -24
  81. package/dist-cjs/pagination/DescribeCacheSecurityGroupsPaginator.js +2 -24
  82. package/dist-cjs/pagination/DescribeCacheSubnetGroupsPaginator.js +2 -24
  83. package/dist-cjs/pagination/DescribeEngineDefaultParametersPaginator.js +2 -24
  84. package/dist-cjs/pagination/DescribeEventsPaginator.js +2 -24
  85. package/dist-cjs/pagination/DescribeGlobalReplicationGroupsPaginator.js +2 -24
  86. package/dist-cjs/pagination/DescribeReplicationGroupsPaginator.js +2 -24
  87. package/dist-cjs/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +2 -24
  88. package/dist-cjs/pagination/DescribeReservedCacheNodesPaginator.js +2 -24
  89. package/dist-cjs/pagination/DescribeServerlessCacheSnapshotsPaginator.js +2 -24
  90. package/dist-cjs/pagination/DescribeServerlessCachesPaginator.js +2 -24
  91. package/dist-cjs/pagination/DescribeServiceUpdatesPaginator.js +2 -24
  92. package/dist-cjs/pagination/DescribeSnapshotsPaginator.js +2 -24
  93. package/dist-cjs/pagination/DescribeUpdateActionsPaginator.js +2 -24
  94. package/dist-cjs/pagination/DescribeUserGroupsPaginator.js +2 -24
  95. package/dist-cjs/pagination/DescribeUsersPaginator.js +2 -24
  96. package/dist-es/commands/AddTagsToResourceCommand.js +18 -41
  97. package/dist-es/commands/AuthorizeCacheSecurityGroupIngressCommand.js +18 -41
  98. package/dist-es/commands/BatchApplyUpdateActionCommand.js +18 -41
  99. package/dist-es/commands/BatchStopUpdateActionCommand.js +18 -41
  100. package/dist-es/commands/CompleteMigrationCommand.js +18 -41
  101. package/dist-es/commands/CopyServerlessCacheSnapshotCommand.js +18 -41
  102. package/dist-es/commands/CopySnapshotCommand.js +18 -41
  103. package/dist-es/commands/CreateCacheClusterCommand.js +18 -41
  104. package/dist-es/commands/CreateCacheParameterGroupCommand.js +18 -41
  105. package/dist-es/commands/CreateCacheSecurityGroupCommand.js +18 -41
  106. package/dist-es/commands/CreateCacheSubnetGroupCommand.js +18 -41
  107. package/dist-es/commands/CreateGlobalReplicationGroupCommand.js +18 -41
  108. package/dist-es/commands/CreateReplicationGroupCommand.js +18 -41
  109. package/dist-es/commands/CreateServerlessCacheCommand.js +18 -41
  110. package/dist-es/commands/CreateServerlessCacheSnapshotCommand.js +18 -41
  111. package/dist-es/commands/CreateSnapshotCommand.js +18 -41
  112. package/dist-es/commands/CreateUserCommand.js +18 -41
  113. package/dist-es/commands/CreateUserGroupCommand.js +18 -41
  114. package/dist-es/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +18 -41
  115. package/dist-es/commands/DecreaseReplicaCountCommand.js +18 -41
  116. package/dist-es/commands/DeleteCacheClusterCommand.js +18 -41
  117. package/dist-es/commands/DeleteCacheParameterGroupCommand.js +18 -41
  118. package/dist-es/commands/DeleteCacheSecurityGroupCommand.js +18 -41
  119. package/dist-es/commands/DeleteCacheSubnetGroupCommand.js +18 -41
  120. package/dist-es/commands/DeleteGlobalReplicationGroupCommand.js +18 -41
  121. package/dist-es/commands/DeleteReplicationGroupCommand.js +18 -41
  122. package/dist-es/commands/DeleteServerlessCacheCommand.js +18 -41
  123. package/dist-es/commands/DeleteServerlessCacheSnapshotCommand.js +18 -41
  124. package/dist-es/commands/DeleteSnapshotCommand.js +18 -41
  125. package/dist-es/commands/DeleteUserCommand.js +18 -41
  126. package/dist-es/commands/DeleteUserGroupCommand.js +18 -41
  127. package/dist-es/commands/DescribeCacheClustersCommand.js +18 -41
  128. package/dist-es/commands/DescribeCacheEngineVersionsCommand.js +18 -41
  129. package/dist-es/commands/DescribeCacheParameterGroupsCommand.js +18 -41
  130. package/dist-es/commands/DescribeCacheParametersCommand.js +18 -41
  131. package/dist-es/commands/DescribeCacheSecurityGroupsCommand.js +18 -41
  132. package/dist-es/commands/DescribeCacheSubnetGroupsCommand.js +18 -41
  133. package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +18 -41
  134. package/dist-es/commands/DescribeEventsCommand.js +18 -41
  135. package/dist-es/commands/DescribeGlobalReplicationGroupsCommand.js +18 -41
  136. package/dist-es/commands/DescribeReplicationGroupsCommand.js +18 -41
  137. package/dist-es/commands/DescribeReservedCacheNodesCommand.js +18 -41
  138. package/dist-es/commands/DescribeReservedCacheNodesOfferingsCommand.js +18 -41
  139. package/dist-es/commands/DescribeServerlessCacheSnapshotsCommand.js +18 -41
  140. package/dist-es/commands/DescribeServerlessCachesCommand.js +18 -41
  141. package/dist-es/commands/DescribeServiceUpdatesCommand.js +18 -41
  142. package/dist-es/commands/DescribeSnapshotsCommand.js +18 -41
  143. package/dist-es/commands/DescribeUpdateActionsCommand.js +18 -41
  144. package/dist-es/commands/DescribeUserGroupsCommand.js +18 -41
  145. package/dist-es/commands/DescribeUsersCommand.js +18 -41
  146. package/dist-es/commands/DisassociateGlobalReplicationGroupCommand.js +18 -41
  147. package/dist-es/commands/ExportServerlessCacheSnapshotCommand.js +18 -41
  148. package/dist-es/commands/FailoverGlobalReplicationGroupCommand.js +18 -41
  149. package/dist-es/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +18 -41
  150. package/dist-es/commands/IncreaseReplicaCountCommand.js +18 -41
  151. package/dist-es/commands/ListAllowedNodeTypeModificationsCommand.js +18 -41
  152. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  153. package/dist-es/commands/ModifyCacheClusterCommand.js +18 -41
  154. package/dist-es/commands/ModifyCacheParameterGroupCommand.js +18 -41
  155. package/dist-es/commands/ModifyCacheSubnetGroupCommand.js +18 -41
  156. package/dist-es/commands/ModifyGlobalReplicationGroupCommand.js +18 -41
  157. package/dist-es/commands/ModifyReplicationGroupCommand.js +18 -41
  158. package/dist-es/commands/ModifyReplicationGroupShardConfigurationCommand.js +18 -41
  159. package/dist-es/commands/ModifyServerlessCacheCommand.js +18 -41
  160. package/dist-es/commands/ModifyUserCommand.js +18 -41
  161. package/dist-es/commands/ModifyUserGroupCommand.js +18 -41
  162. package/dist-es/commands/PurchaseReservedCacheNodesOfferingCommand.js +18 -41
  163. package/dist-es/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +18 -41
  164. package/dist-es/commands/RebootCacheClusterCommand.js +18 -41
  165. package/dist-es/commands/RemoveTagsFromResourceCommand.js +18 -41
  166. package/dist-es/commands/ResetCacheParameterGroupCommand.js +18 -41
  167. package/dist-es/commands/RevokeCacheSecurityGroupIngressCommand.js +18 -41
  168. package/dist-es/commands/StartMigrationCommand.js +18 -41
  169. package/dist-es/commands/TestFailoverCommand.js +18 -41
  170. package/dist-es/commands/TestMigrationCommand.js +18 -41
  171. package/dist-es/endpoint/EndpointParameters.js +6 -0
  172. package/dist-es/pagination/DescribeCacheClustersPaginator.js +2 -23
  173. package/dist-es/pagination/DescribeCacheEngineVersionsPaginator.js +2 -23
  174. package/dist-es/pagination/DescribeCacheParameterGroupsPaginator.js +2 -23
  175. package/dist-es/pagination/DescribeCacheParametersPaginator.js +2 -23
  176. package/dist-es/pagination/DescribeCacheSecurityGroupsPaginator.js +2 -23
  177. package/dist-es/pagination/DescribeCacheSubnetGroupsPaginator.js +2 -23
  178. package/dist-es/pagination/DescribeEngineDefaultParametersPaginator.js +2 -23
  179. package/dist-es/pagination/DescribeEventsPaginator.js +2 -23
  180. package/dist-es/pagination/DescribeGlobalReplicationGroupsPaginator.js +2 -23
  181. package/dist-es/pagination/DescribeReplicationGroupsPaginator.js +2 -23
  182. package/dist-es/pagination/DescribeReservedCacheNodesOfferingsPaginator.js +2 -23
  183. package/dist-es/pagination/DescribeReservedCacheNodesPaginator.js +2 -23
  184. package/dist-es/pagination/DescribeServerlessCacheSnapshotsPaginator.js +2 -23
  185. package/dist-es/pagination/DescribeServerlessCachesPaginator.js +2 -23
  186. package/dist-es/pagination/DescribeServiceUpdatesPaginator.js +2 -23
  187. package/dist-es/pagination/DescribeSnapshotsPaginator.js +2 -23
  188. package/dist-es/pagination/DescribeUpdateActionsPaginator.js +2 -23
  189. package/dist-es/pagination/DescribeUserGroupsPaginator.js +2 -23
  190. package/dist-es/pagination/DescribeUsersPaginator.js +2 -23
  191. package/dist-types/commands/AddTagsToResourceCommand.d.ts +6 -21
  192. package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +6 -21
  193. package/dist-types/commands/BatchApplyUpdateActionCommand.d.ts +6 -21
  194. package/dist-types/commands/BatchStopUpdateActionCommand.d.ts +6 -21
  195. package/dist-types/commands/CompleteMigrationCommand.d.ts +6 -21
  196. package/dist-types/commands/CopyServerlessCacheSnapshotCommand.d.ts +6 -21
  197. package/dist-types/commands/CopySnapshotCommand.d.ts +6 -21
  198. package/dist-types/commands/CreateCacheClusterCommand.d.ts +6 -21
  199. package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +6 -21
  200. package/dist-types/commands/CreateCacheSecurityGroupCommand.d.ts +6 -21
  201. package/dist-types/commands/CreateCacheSubnetGroupCommand.d.ts +6 -21
  202. package/dist-types/commands/CreateGlobalReplicationGroupCommand.d.ts +6 -21
  203. package/dist-types/commands/CreateReplicationGroupCommand.d.ts +6 -21
  204. package/dist-types/commands/CreateServerlessCacheCommand.d.ts +6 -21
  205. package/dist-types/commands/CreateServerlessCacheSnapshotCommand.d.ts +6 -21
  206. package/dist-types/commands/CreateSnapshotCommand.d.ts +6 -21
  207. package/dist-types/commands/CreateUserCommand.d.ts +6 -21
  208. package/dist-types/commands/CreateUserGroupCommand.d.ts +6 -21
  209. package/dist-types/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +6 -21
  210. package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +6 -21
  211. package/dist-types/commands/DeleteCacheClusterCommand.d.ts +6 -21
  212. package/dist-types/commands/DeleteCacheParameterGroupCommand.d.ts +6 -21
  213. package/dist-types/commands/DeleteCacheSecurityGroupCommand.d.ts +6 -21
  214. package/dist-types/commands/DeleteCacheSubnetGroupCommand.d.ts +6 -21
  215. package/dist-types/commands/DeleteGlobalReplicationGroupCommand.d.ts +6 -21
  216. package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +6 -21
  217. package/dist-types/commands/DeleteServerlessCacheCommand.d.ts +6 -21
  218. package/dist-types/commands/DeleteServerlessCacheSnapshotCommand.d.ts +6 -21
  219. package/dist-types/commands/DeleteSnapshotCommand.d.ts +6 -21
  220. package/dist-types/commands/DeleteUserCommand.d.ts +6 -21
  221. package/dist-types/commands/DeleteUserGroupCommand.d.ts +6 -21
  222. package/dist-types/commands/DescribeCacheClustersCommand.d.ts +6 -21
  223. package/dist-types/commands/DescribeCacheEngineVersionsCommand.d.ts +6 -21
  224. package/dist-types/commands/DescribeCacheParameterGroupsCommand.d.ts +6 -21
  225. package/dist-types/commands/DescribeCacheParametersCommand.d.ts +6 -21
  226. package/dist-types/commands/DescribeCacheSecurityGroupsCommand.d.ts +6 -21
  227. package/dist-types/commands/DescribeCacheSubnetGroupsCommand.d.ts +6 -21
  228. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +6 -21
  229. package/dist-types/commands/DescribeEventsCommand.d.ts +6 -21
  230. package/dist-types/commands/DescribeGlobalReplicationGroupsCommand.d.ts +6 -21
  231. package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +6 -21
  232. package/dist-types/commands/DescribeReservedCacheNodesCommand.d.ts +6 -21
  233. package/dist-types/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +6 -21
  234. package/dist-types/commands/DescribeServerlessCacheSnapshotsCommand.d.ts +6 -21
  235. package/dist-types/commands/DescribeServerlessCachesCommand.d.ts +6 -21
  236. package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +6 -21
  237. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +6 -21
  238. package/dist-types/commands/DescribeUpdateActionsCommand.d.ts +6 -21
  239. package/dist-types/commands/DescribeUserGroupsCommand.d.ts +6 -21
  240. package/dist-types/commands/DescribeUsersCommand.d.ts +6 -21
  241. package/dist-types/commands/DisassociateGlobalReplicationGroupCommand.d.ts +6 -21
  242. package/dist-types/commands/ExportServerlessCacheSnapshotCommand.d.ts +6 -21
  243. package/dist-types/commands/FailoverGlobalReplicationGroupCommand.d.ts +6 -21
  244. package/dist-types/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +6 -21
  245. package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +6 -21
  246. package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +6 -21
  247. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  248. package/dist-types/commands/ModifyCacheClusterCommand.d.ts +6 -21
  249. package/dist-types/commands/ModifyCacheParameterGroupCommand.d.ts +6 -21
  250. package/dist-types/commands/ModifyCacheSubnetGroupCommand.d.ts +6 -21
  251. package/dist-types/commands/ModifyGlobalReplicationGroupCommand.d.ts +6 -21
  252. package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +6 -21
  253. package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +6 -21
  254. package/dist-types/commands/ModifyServerlessCacheCommand.d.ts +6 -21
  255. package/dist-types/commands/ModifyUserCommand.d.ts +6 -21
  256. package/dist-types/commands/ModifyUserGroupCommand.d.ts +6 -21
  257. package/dist-types/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +6 -21
  258. package/dist-types/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +6 -21
  259. package/dist-types/commands/RebootCacheClusterCommand.d.ts +6 -21
  260. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +6 -21
  261. package/dist-types/commands/ResetCacheParameterGroupCommand.d.ts +6 -21
  262. package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +6 -21
  263. package/dist-types/commands/StartMigrationCommand.d.ts +6 -21
  264. package/dist-types/commands/TestFailoverCommand.d.ts +6 -21
  265. package/dist-types/commands/TestMigrationCommand.d.ts +6 -21
  266. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  267. package/dist-types/pagination/DescribeCacheClustersPaginator.d.ts +1 -1
  268. package/dist-types/pagination/DescribeCacheEngineVersionsPaginator.d.ts +1 -1
  269. package/dist-types/pagination/DescribeCacheParameterGroupsPaginator.d.ts +1 -1
  270. package/dist-types/pagination/DescribeCacheParametersPaginator.d.ts +1 -1
  271. package/dist-types/pagination/DescribeCacheSecurityGroupsPaginator.d.ts +1 -1
  272. package/dist-types/pagination/DescribeCacheSubnetGroupsPaginator.d.ts +1 -1
  273. package/dist-types/pagination/DescribeEngineDefaultParametersPaginator.d.ts +1 -1
  274. package/dist-types/pagination/DescribeEventsPaginator.d.ts +1 -1
  275. package/dist-types/pagination/DescribeGlobalReplicationGroupsPaginator.d.ts +1 -1
  276. package/dist-types/pagination/DescribeReplicationGroupsPaginator.d.ts +1 -1
  277. package/dist-types/pagination/DescribeReservedCacheNodesOfferingsPaginator.d.ts +1 -1
  278. package/dist-types/pagination/DescribeReservedCacheNodesPaginator.d.ts +1 -1
  279. package/dist-types/pagination/DescribeServerlessCacheSnapshotsPaginator.d.ts +1 -1
  280. package/dist-types/pagination/DescribeServerlessCachesPaginator.d.ts +1 -1
  281. package/dist-types/pagination/DescribeServiceUpdatesPaginator.d.ts +1 -1
  282. package/dist-types/pagination/DescribeSnapshotsPaginator.d.ts +1 -1
  283. package/dist-types/pagination/DescribeUpdateActionsPaginator.d.ts +1 -1
  284. package/dist-types/pagination/DescribeUserGroupsPaginator.d.ts +1 -1
  285. package/dist-types/pagination/DescribeUsersPaginator.d.ts +1 -1
  286. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +14 -23
  287. package/dist-types/ts3.4/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +12 -24
  288. package/dist-types/ts3.4/commands/BatchApplyUpdateActionCommand.d.ts +12 -24
  289. package/dist-types/ts3.4/commands/BatchStopUpdateActionCommand.d.ts +12 -24
  290. package/dist-types/ts3.4/commands/CompleteMigrationCommand.d.ts +14 -23
  291. package/dist-types/ts3.4/commands/CopyServerlessCacheSnapshotCommand.d.ts +12 -24
  292. package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +14 -23
  293. package/dist-types/ts3.4/commands/CreateCacheClusterCommand.d.ts +14 -23
  294. package/dist-types/ts3.4/commands/CreateCacheParameterGroupCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/CreateCacheSecurityGroupCommand.d.ts +12 -24
  296. package/dist-types/ts3.4/commands/CreateCacheSubnetGroupCommand.d.ts +12 -24
  297. package/dist-types/ts3.4/commands/CreateGlobalReplicationGroupCommand.d.ts +12 -24
  298. package/dist-types/ts3.4/commands/CreateReplicationGroupCommand.d.ts +12 -24
  299. package/dist-types/ts3.4/commands/CreateServerlessCacheCommand.d.ts +12 -24
  300. package/dist-types/ts3.4/commands/CreateServerlessCacheSnapshotCommand.d.ts +12 -24
  301. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +14 -23
  303. package/dist-types/ts3.4/commands/CreateUserGroupCommand.d.ts +14 -23
  304. package/dist-types/ts3.4/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +12 -24
  305. package/dist-types/ts3.4/commands/DecreaseReplicaCountCommand.d.ts +12 -24
  306. package/dist-types/ts3.4/commands/DeleteCacheClusterCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/DeleteCacheParameterGroupCommand.d.ts +12 -24
  308. package/dist-types/ts3.4/commands/DeleteCacheSecurityGroupCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/DeleteCacheSubnetGroupCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/DeleteGlobalReplicationGroupCommand.d.ts +12 -24
  311. package/dist-types/ts3.4/commands/DeleteReplicationGroupCommand.d.ts +12 -24
  312. package/dist-types/ts3.4/commands/DeleteServerlessCacheCommand.d.ts +12 -24
  313. package/dist-types/ts3.4/commands/DeleteServerlessCacheSnapshotCommand.d.ts +12 -24
  314. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +14 -23
  315. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +14 -23
  316. package/dist-types/ts3.4/commands/DeleteUserGroupCommand.d.ts +14 -23
  317. package/dist-types/ts3.4/commands/DescribeCacheClustersCommand.d.ts +12 -24
  318. package/dist-types/ts3.4/commands/DescribeCacheEngineVersionsCommand.d.ts +12 -24
  319. package/dist-types/ts3.4/commands/DescribeCacheParameterGroupsCommand.d.ts +12 -24
  320. package/dist-types/ts3.4/commands/DescribeCacheParametersCommand.d.ts +12 -24
  321. package/dist-types/ts3.4/commands/DescribeCacheSecurityGroupsCommand.d.ts +12 -24
  322. package/dist-types/ts3.4/commands/DescribeCacheSubnetGroupsCommand.d.ts +12 -24
  323. package/dist-types/ts3.4/commands/DescribeEngineDefaultParametersCommand.d.ts +12 -24
  324. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +14 -23
  325. package/dist-types/ts3.4/commands/DescribeGlobalReplicationGroupsCommand.d.ts +12 -24
  326. package/dist-types/ts3.4/commands/DescribeReplicationGroupsCommand.d.ts +12 -24
  327. package/dist-types/ts3.4/commands/DescribeReservedCacheNodesCommand.d.ts +12 -24
  328. package/dist-types/ts3.4/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +12 -24
  329. package/dist-types/ts3.4/commands/DescribeServerlessCacheSnapshotsCommand.d.ts +12 -24
  330. package/dist-types/ts3.4/commands/DescribeServerlessCachesCommand.d.ts +12 -24
  331. package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +12 -24
  332. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +14 -23
  333. package/dist-types/ts3.4/commands/DescribeUpdateActionsCommand.d.ts +12 -24
  334. package/dist-types/ts3.4/commands/DescribeUserGroupsCommand.d.ts +14 -23
  335. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +14 -23
  336. package/dist-types/ts3.4/commands/DisassociateGlobalReplicationGroupCommand.d.ts +12 -24
  337. package/dist-types/ts3.4/commands/ExportServerlessCacheSnapshotCommand.d.ts +12 -24
  338. package/dist-types/ts3.4/commands/FailoverGlobalReplicationGroupCommand.d.ts +12 -24
  339. package/dist-types/ts3.4/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +12 -24
  340. package/dist-types/ts3.4/commands/IncreaseReplicaCountCommand.d.ts +12 -24
  341. package/dist-types/ts3.4/commands/ListAllowedNodeTypeModificationsCommand.d.ts +12 -24
  342. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  343. package/dist-types/ts3.4/commands/ModifyCacheClusterCommand.d.ts +14 -23
  344. package/dist-types/ts3.4/commands/ModifyCacheParameterGroupCommand.d.ts +12 -24
  345. package/dist-types/ts3.4/commands/ModifyCacheSubnetGroupCommand.d.ts +12 -24
  346. package/dist-types/ts3.4/commands/ModifyGlobalReplicationGroupCommand.d.ts +12 -24
  347. package/dist-types/ts3.4/commands/ModifyReplicationGroupCommand.d.ts +12 -24
  348. package/dist-types/ts3.4/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +12 -24
  349. package/dist-types/ts3.4/commands/ModifyServerlessCacheCommand.d.ts +12 -24
  350. package/dist-types/ts3.4/commands/ModifyUserCommand.d.ts +14 -23
  351. package/dist-types/ts3.4/commands/ModifyUserGroupCommand.d.ts +14 -23
  352. package/dist-types/ts3.4/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +12 -24
  353. package/dist-types/ts3.4/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +12 -24
  354. package/dist-types/ts3.4/commands/RebootCacheClusterCommand.d.ts +14 -23
  355. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +12 -24
  356. package/dist-types/ts3.4/commands/ResetCacheParameterGroupCommand.d.ts +12 -24
  357. package/dist-types/ts3.4/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +12 -24
  358. package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +14 -23
  359. package/dist-types/ts3.4/commands/TestFailoverCommand.d.ts +14 -23
  360. package/dist-types/ts3.4/commands/TestMigrationCommand.d.ts +14 -23
  361. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  362. package/dist-types/ts3.4/pagination/DescribeCacheClustersPaginator.d.ts +3 -3
  363. package/dist-types/ts3.4/pagination/DescribeCacheEngineVersionsPaginator.d.ts +3 -3
  364. package/dist-types/ts3.4/pagination/DescribeCacheParameterGroupsPaginator.d.ts +3 -3
  365. package/dist-types/ts3.4/pagination/DescribeCacheParametersPaginator.d.ts +3 -3
  366. package/dist-types/ts3.4/pagination/DescribeCacheSecurityGroupsPaginator.d.ts +3 -3
  367. package/dist-types/ts3.4/pagination/DescribeCacheSubnetGroupsPaginator.d.ts +3 -3
  368. package/dist-types/ts3.4/pagination/DescribeEngineDefaultParametersPaginator.d.ts +3 -3
  369. package/dist-types/ts3.4/pagination/DescribeEventsPaginator.d.ts +3 -3
  370. package/dist-types/ts3.4/pagination/DescribeGlobalReplicationGroupsPaginator.d.ts +3 -3
  371. package/dist-types/ts3.4/pagination/DescribeReplicationGroupsPaginator.d.ts +3 -3
  372. package/dist-types/ts3.4/pagination/DescribeReservedCacheNodesOfferingsPaginator.d.ts +3 -3
  373. package/dist-types/ts3.4/pagination/DescribeReservedCacheNodesPaginator.d.ts +3 -3
  374. package/dist-types/ts3.4/pagination/DescribeServerlessCacheSnapshotsPaginator.d.ts +3 -3
  375. package/dist-types/ts3.4/pagination/DescribeServerlessCachesPaginator.d.ts +3 -3
  376. package/dist-types/ts3.4/pagination/DescribeServiceUpdatesPaginator.d.ts +3 -3
  377. package/dist-types/ts3.4/pagination/DescribeSnapshotsPaginator.d.ts +3 -3
  378. package/dist-types/ts3.4/pagination/DescribeUpdateActionsPaginator.d.ts +3 -3
  379. package/dist-types/ts3.4/pagination/DescribeUserGroupsPaginator.d.ts +3 -3
  380. package/dist-types/ts3.4/pagination/DescribeUsersPaginator.d.ts +3 -3
  381. package/package.json +11 -10
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeGlobalReplicationGroupsCommand, } from "../commands/DescribeGlobalReplicationGroupsCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeGlobalReplicationGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeGlobalReplicationGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeGlobalReplicationGroups = createPaginator(ElastiCacheClient, DescribeGlobalReplicationGroupsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeReplicationGroupsCommand, } from "../commands/DescribeReplicationGroupsCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeReplicationGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeReplicationGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeReplicationGroups = createPaginator(ElastiCacheClient, DescribeReplicationGroupsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeReservedCacheNodesOfferingsCommand, } from "../commands/DescribeReservedCacheNodesOfferingsCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeReservedCacheNodesOfferingsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeReservedCacheNodesOfferings(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeReservedCacheNodesOfferings = createPaginator(ElastiCacheClient, DescribeReservedCacheNodesOfferingsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeReservedCacheNodesCommand, } from "../commands/DescribeReservedCacheNodesCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeReservedCacheNodesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeReservedCacheNodes(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeReservedCacheNodes = createPaginator(ElastiCacheClient, DescribeReservedCacheNodesCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeServerlessCacheSnapshotsCommand, } from "../commands/DescribeServerlessCacheSnapshotsCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeServerlessCacheSnapshotsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeServerlessCacheSnapshots(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeServerlessCacheSnapshots = createPaginator(ElastiCacheClient, DescribeServerlessCacheSnapshotsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeServerlessCachesCommand, } from "../commands/DescribeServerlessCachesCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeServerlessCachesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeServerlessCaches(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.NextToken = token;
12
- input["MaxResults"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.NextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeServerlessCaches = createPaginator(ElastiCacheClient, DescribeServerlessCachesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeServiceUpdatesCommand, } from "../commands/DescribeServiceUpdatesCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeServiceUpdatesCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeServiceUpdates(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeServiceUpdates = createPaginator(ElastiCacheClient, DescribeServiceUpdatesCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeSnapshotsCommand, } from "../commands/DescribeSnapshotsCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeSnapshotsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeSnapshots(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeSnapshots = createPaginator(ElastiCacheClient, DescribeSnapshotsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeUpdateActionsCommand, } from "../commands/DescribeUpdateActionsCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeUpdateActionsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeUpdateActions(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeUpdateActions = createPaginator(ElastiCacheClient, DescribeUpdateActionsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeUserGroupsCommand, } from "../commands/DescribeUserGroupsCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeUserGroupsCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeUserGroups(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeUserGroups = createPaginator(ElastiCacheClient, DescribeUserGroupsCommand, "Marker", "Marker", "MaxRecords");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { DescribeUsersCommand, } from "../commands/DescribeUsersCommand";
2
3
  import { ElastiCacheClient } from "../ElastiCacheClient";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new DescribeUsersCommand(input), ...args);
5
- };
6
- export async function* paginateDescribeUsers(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.Marker = token;
12
- input["MaxRecords"] = config.pageSize;
13
- if (config.client instanceof ElastiCacheClient) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected ElastiCache | ElastiCacheClient");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.Marker;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateDescribeUsers = createPaginator(ElastiCacheClient, DescribeUsersCommand, "Marker", "Marker", "MaxRecords");
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient";
5
4
  import { AddTagsToResourceMessage, TagListMessage } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AddTagsToResourceCommandInput extends AddTagsToResourceMessage
21
20
  */
22
21
  export interface AddTagsToResourceCommandOutput extends TagListMessage, __MetadataBearer {
23
22
  }
23
+ declare const AddTagsToResourceCommand_base: {
24
+ new (input: AddTagsToResourceCommandInput): import("@smithy/smithy-client").CommandImpl<AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput, ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>A tag is a key-value pair where the key and value are case-sensitive. You can use tags
@@ -162,23 +165,5 @@ export interface AddTagsToResourceCommandOutput extends TagListMessage, __Metada
162
165
  * ```
163
166
  *
164
167
  */
165
- export declare class AddTagsToResourceCommand extends $Command<AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput, ElastiCacheClientResolvedConfig> {
166
- readonly input: AddTagsToResourceCommandInput;
167
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
168
- /**
169
- * @public
170
- */
171
- constructor(input: AddTagsToResourceCommandInput);
172
- /**
173
- * @internal
174
- */
175
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput>;
176
- /**
177
- * @internal
178
- */
179
- private serialize;
180
- /**
181
- * @internal
182
- */
183
- private deserialize;
168
+ export declare class AddTagsToResourceCommand extends AddTagsToResourceCommand_base {
184
169
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient";
5
4
  import { AuthorizeCacheSecurityGroupIngressMessage, AuthorizeCacheSecurityGroupIngressResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface AuthorizeCacheSecurityGroupIngressCommandInput extends Authoriz
21
20
  */
22
21
  export interface AuthorizeCacheSecurityGroupIngressCommandOutput extends AuthorizeCacheSecurityGroupIngressResult, __MetadataBearer {
23
22
  }
23
+ declare const AuthorizeCacheSecurityGroupIngressCommand_base: {
24
+ new (input: AuthorizeCacheSecurityGroupIngressCommandInput): import("@smithy/smithy-client").CommandImpl<AuthorizeCacheSecurityGroupIngressCommandInput, AuthorizeCacheSecurityGroupIngressCommandOutput, ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Allows network ingress to a cache security group. Applications using ElastiCache must
@@ -101,23 +104,5 @@ export interface AuthorizeCacheSecurityGroupIngressCommandOutput extends Authori
101
104
  * ```
102
105
  *
103
106
  */
104
- export declare class AuthorizeCacheSecurityGroupIngressCommand extends $Command<AuthorizeCacheSecurityGroupIngressCommandInput, AuthorizeCacheSecurityGroupIngressCommandOutput, ElastiCacheClientResolvedConfig> {
105
- readonly input: AuthorizeCacheSecurityGroupIngressCommandInput;
106
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
107
- /**
108
- * @public
109
- */
110
- constructor(input: AuthorizeCacheSecurityGroupIngressCommandInput);
111
- /**
112
- * @internal
113
- */
114
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AuthorizeCacheSecurityGroupIngressCommandInput, AuthorizeCacheSecurityGroupIngressCommandOutput>;
115
- /**
116
- * @internal
117
- */
118
- private serialize;
119
- /**
120
- * @internal
121
- */
122
- private deserialize;
107
+ export declare class AuthorizeCacheSecurityGroupIngressCommand extends AuthorizeCacheSecurityGroupIngressCommand_base {
123
108
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient";
5
4
  import { BatchApplyUpdateActionMessage, UpdateActionResultsMessage } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchApplyUpdateActionCommandInput extends BatchApplyUpdateActi
21
20
  */
22
21
  export interface BatchApplyUpdateActionCommandOutput extends UpdateActionResultsMessage, __MetadataBearer {
23
22
  }
23
+ declare const BatchApplyUpdateActionCommand_base: {
24
+ new (input: BatchApplyUpdateActionCommandInput): import("@smithy/smithy-client").CommandImpl<BatchApplyUpdateActionCommandInput, BatchApplyUpdateActionCommandOutput, ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Apply the service update. For more information on service updates and applying them,
@@ -81,23 +84,5 @@ export interface BatchApplyUpdateActionCommandOutput extends UpdateActionResults
81
84
  * <p>Base exception class for all service exceptions from ElastiCache service.</p>
82
85
  *
83
86
  */
84
- export declare class BatchApplyUpdateActionCommand extends $Command<BatchApplyUpdateActionCommandInput, BatchApplyUpdateActionCommandOutput, ElastiCacheClientResolvedConfig> {
85
- readonly input: BatchApplyUpdateActionCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: BatchApplyUpdateActionCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchApplyUpdateActionCommandInput, BatchApplyUpdateActionCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class BatchApplyUpdateActionCommand extends BatchApplyUpdateActionCommand_base {
103
88
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient";
5
4
  import { BatchStopUpdateActionMessage, UpdateActionResultsMessage } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BatchStopUpdateActionCommandInput extends BatchStopUpdateAction
21
20
  */
22
21
  export interface BatchStopUpdateActionCommandOutput extends UpdateActionResultsMessage, __MetadataBearer {
23
22
  }
23
+ declare const BatchStopUpdateActionCommand_base: {
24
+ new (input: BatchStopUpdateActionCommandInput): import("@smithy/smithy-client").CommandImpl<BatchStopUpdateActionCommandInput, BatchStopUpdateActionCommandOutput, ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Stop the service update. For more information on service updates and stopping them,
@@ -81,23 +84,5 @@ export interface BatchStopUpdateActionCommandOutput extends UpdateActionResultsM
81
84
  * <p>Base exception class for all service exceptions from ElastiCache service.</p>
82
85
  *
83
86
  */
84
- export declare class BatchStopUpdateActionCommand extends $Command<BatchStopUpdateActionCommandInput, BatchStopUpdateActionCommandOutput, ElastiCacheClientResolvedConfig> {
85
- readonly input: BatchStopUpdateActionCommandInput;
86
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
- /**
88
- * @public
89
- */
90
- constructor(input: BatchStopUpdateActionCommandInput);
91
- /**
92
- * @internal
93
- */
94
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchStopUpdateActionCommandInput, BatchStopUpdateActionCommandOutput>;
95
- /**
96
- * @internal
97
- */
98
- private serialize;
99
- /**
100
- * @internal
101
- */
102
- private deserialize;
87
+ export declare class BatchStopUpdateActionCommand extends BatchStopUpdateActionCommand_base {
103
88
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient";
5
4
  import { CompleteMigrationMessage, CompleteMigrationResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CompleteMigrationCommandInput extends CompleteMigrationMessage
21
20
  */
22
21
  export interface CompleteMigrationCommandOutput extends CompleteMigrationResponse, __MetadataBearer {
23
22
  }
23
+ declare const CompleteMigrationCommand_base: {
24
+ new (input: CompleteMigrationCommandInput): import("@smithy/smithy-client").CommandImpl<CompleteMigrationCommandInput, CompleteMigrationCommandOutput, ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Complete the migration of data.</p>
@@ -180,23 +183,5 @@ export interface CompleteMigrationCommandOutput extends CompleteMigrationRespons
180
183
  * <p>Base exception class for all service exceptions from ElastiCache service.</p>
181
184
  *
182
185
  */
183
- export declare class CompleteMigrationCommand extends $Command<CompleteMigrationCommandInput, CompleteMigrationCommandOutput, ElastiCacheClientResolvedConfig> {
184
- readonly input: CompleteMigrationCommandInput;
185
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
186
- /**
187
- * @public
188
- */
189
- constructor(input: CompleteMigrationCommandInput);
190
- /**
191
- * @internal
192
- */
193
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CompleteMigrationCommandInput, CompleteMigrationCommandOutput>;
194
- /**
195
- * @internal
196
- */
197
- private serialize;
198
- /**
199
- * @internal
200
- */
201
- private deserialize;
186
+ export declare class CompleteMigrationCommand extends CompleteMigrationCommand_base {
202
187
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient";
5
4
  import { CopyServerlessCacheSnapshotRequest, CopyServerlessCacheSnapshotResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CopyServerlessCacheSnapshotCommandInput extends CopyServerlessC
21
20
  */
22
21
  export interface CopyServerlessCacheSnapshotCommandOutput extends CopyServerlessCacheSnapshotResponse, __MetadataBearer {
23
22
  }
23
+ declare const CopyServerlessCacheSnapshotCommand_base: {
24
+ new (input: CopyServerlessCacheSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<CopyServerlessCacheSnapshotCommandInput, CopyServerlessCacheSnapshotCommandOutput, ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a copy of an existing serverless cache’s snapshot. Available for Redis only.</p>
@@ -99,23 +102,5 @@ export interface CopyServerlessCacheSnapshotCommandOutput extends CopyServerless
99
102
  * <p>Base exception class for all service exceptions from ElastiCache service.</p>
100
103
  *
101
104
  */
102
- export declare class CopyServerlessCacheSnapshotCommand extends $Command<CopyServerlessCacheSnapshotCommandInput, CopyServerlessCacheSnapshotCommandOutput, ElastiCacheClientResolvedConfig> {
103
- readonly input: CopyServerlessCacheSnapshotCommandInput;
104
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
105
- /**
106
- * @public
107
- */
108
- constructor(input: CopyServerlessCacheSnapshotCommandInput);
109
- /**
110
- * @internal
111
- */
112
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CopyServerlessCacheSnapshotCommandInput, CopyServerlessCacheSnapshotCommandOutput>;
113
- /**
114
- * @internal
115
- */
116
- private serialize;
117
- /**
118
- * @internal
119
- */
120
- private deserialize;
105
+ export declare class CopyServerlessCacheSnapshotCommand extends CopyServerlessCacheSnapshotCommand_base {
121
106
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ElastiCacheClient";
5
4
  import { CopySnapshotMessage, CopySnapshotResult } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CopySnapshotCommandInput extends CopySnapshotMessage {
21
20
  */
22
21
  export interface CopySnapshotCommandOutput extends CopySnapshotResult, __MetadataBearer {
23
22
  }
23
+ declare const CopySnapshotCommand_base: {
24
+ new (input: CopySnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<CopySnapshotCommandInput, CopySnapshotCommandOutput, ElastiCacheClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Makes a copy of an existing snapshot.</p>
@@ -271,23 +274,5 @@ export interface CopySnapshotCommandOutput extends CopySnapshotResult, __Metadat
271
274
  * ```
272
275
  *
273
276
  */
274
- export declare class CopySnapshotCommand extends $Command<CopySnapshotCommandInput, CopySnapshotCommandOutput, ElastiCacheClientResolvedConfig> {
275
- readonly input: CopySnapshotCommandInput;
276
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
277
- /**
278
- * @public
279
- */
280
- constructor(input: CopySnapshotCommandInput);
281
- /**
282
- * @internal
283
- */
284
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ElastiCacheClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CopySnapshotCommandInput, CopySnapshotCommandOutput>;
285
- /**
286
- * @internal
287
- */
288
- private serialize;
289
- /**
290
- * @internal
291
- */
292
- private deserialize;
277
+ export declare class CopySnapshotCommand extends CopySnapshotCommand_base {
293
278
  }