@aws-sdk/client-elasticache 3.193.0 → 3.196.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 (292) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/ElastiCacheClient.js +11 -8
  3. package/dist-cjs/commands/AddTagsToResourceCommand.js +10 -0
  4. package/dist-cjs/commands/AuthorizeCacheSecurityGroupIngressCommand.js +10 -0
  5. package/dist-cjs/commands/BatchApplyUpdateActionCommand.js +10 -0
  6. package/dist-cjs/commands/BatchStopUpdateActionCommand.js +10 -0
  7. package/dist-cjs/commands/CompleteMigrationCommand.js +10 -0
  8. package/dist-cjs/commands/CopySnapshotCommand.js +10 -0
  9. package/dist-cjs/commands/CreateCacheClusterCommand.js +10 -0
  10. package/dist-cjs/commands/CreateCacheParameterGroupCommand.js +10 -0
  11. package/dist-cjs/commands/CreateCacheSecurityGroupCommand.js +10 -0
  12. package/dist-cjs/commands/CreateCacheSubnetGroupCommand.js +10 -0
  13. package/dist-cjs/commands/CreateGlobalReplicationGroupCommand.js +10 -0
  14. package/dist-cjs/commands/CreateReplicationGroupCommand.js +10 -0
  15. package/dist-cjs/commands/CreateSnapshotCommand.js +10 -0
  16. package/dist-cjs/commands/CreateUserCommand.js +10 -0
  17. package/dist-cjs/commands/CreateUserGroupCommand.js +10 -0
  18. package/dist-cjs/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +10 -0
  19. package/dist-cjs/commands/DecreaseReplicaCountCommand.js +10 -0
  20. package/dist-cjs/commands/DeleteCacheClusterCommand.js +10 -0
  21. package/dist-cjs/commands/DeleteCacheParameterGroupCommand.js +10 -0
  22. package/dist-cjs/commands/DeleteCacheSecurityGroupCommand.js +10 -0
  23. package/dist-cjs/commands/DeleteCacheSubnetGroupCommand.js +10 -0
  24. package/dist-cjs/commands/DeleteGlobalReplicationGroupCommand.js +10 -0
  25. package/dist-cjs/commands/DeleteReplicationGroupCommand.js +10 -0
  26. package/dist-cjs/commands/DeleteSnapshotCommand.js +10 -0
  27. package/dist-cjs/commands/DeleteUserCommand.js +10 -0
  28. package/dist-cjs/commands/DeleteUserGroupCommand.js +10 -0
  29. package/dist-cjs/commands/DescribeCacheClustersCommand.js +10 -0
  30. package/dist-cjs/commands/DescribeCacheEngineVersionsCommand.js +10 -0
  31. package/dist-cjs/commands/DescribeCacheParameterGroupsCommand.js +10 -0
  32. package/dist-cjs/commands/DescribeCacheParametersCommand.js +10 -0
  33. package/dist-cjs/commands/DescribeCacheSecurityGroupsCommand.js +10 -0
  34. package/dist-cjs/commands/DescribeCacheSubnetGroupsCommand.js +10 -0
  35. package/dist-cjs/commands/DescribeEngineDefaultParametersCommand.js +10 -0
  36. package/dist-cjs/commands/DescribeEventsCommand.js +10 -0
  37. package/dist-cjs/commands/DescribeGlobalReplicationGroupsCommand.js +10 -0
  38. package/dist-cjs/commands/DescribeReplicationGroupsCommand.js +10 -0
  39. package/dist-cjs/commands/DescribeReservedCacheNodesCommand.js +10 -0
  40. package/dist-cjs/commands/DescribeReservedCacheNodesOfferingsCommand.js +10 -0
  41. package/dist-cjs/commands/DescribeServiceUpdatesCommand.js +10 -0
  42. package/dist-cjs/commands/DescribeSnapshotsCommand.js +10 -0
  43. package/dist-cjs/commands/DescribeUpdateActionsCommand.js +10 -0
  44. package/dist-cjs/commands/DescribeUserGroupsCommand.js +10 -0
  45. package/dist-cjs/commands/DescribeUsersCommand.js +10 -0
  46. package/dist-cjs/commands/DisassociateGlobalReplicationGroupCommand.js +10 -0
  47. package/dist-cjs/commands/FailoverGlobalReplicationGroupCommand.js +10 -0
  48. package/dist-cjs/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +10 -0
  49. package/dist-cjs/commands/IncreaseReplicaCountCommand.js +10 -0
  50. package/dist-cjs/commands/ListAllowedNodeTypeModificationsCommand.js +10 -0
  51. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  52. package/dist-cjs/commands/ModifyCacheClusterCommand.js +10 -0
  53. package/dist-cjs/commands/ModifyCacheParameterGroupCommand.js +10 -0
  54. package/dist-cjs/commands/ModifyCacheSubnetGroupCommand.js +10 -0
  55. package/dist-cjs/commands/ModifyGlobalReplicationGroupCommand.js +10 -0
  56. package/dist-cjs/commands/ModifyReplicationGroupCommand.js +10 -0
  57. package/dist-cjs/commands/ModifyReplicationGroupShardConfigurationCommand.js +10 -0
  58. package/dist-cjs/commands/ModifyUserCommand.js +10 -0
  59. package/dist-cjs/commands/ModifyUserGroupCommand.js +10 -0
  60. package/dist-cjs/commands/PurchaseReservedCacheNodesOfferingCommand.js +10 -0
  61. package/dist-cjs/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +10 -0
  62. package/dist-cjs/commands/RebootCacheClusterCommand.js +10 -0
  63. package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +10 -0
  64. package/dist-cjs/commands/ResetCacheParameterGroupCommand.js +10 -0
  65. package/dist-cjs/commands/RevokeCacheSecurityGroupIngressCommand.js +10 -0
  66. package/dist-cjs/commands/StartMigrationCommand.js +10 -0
  67. package/dist-cjs/commands/TestFailoverCommand.js +10 -0
  68. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  69. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  70. package/dist-cjs/endpoint/ruleset.js +343 -0
  71. package/dist-cjs/runtimeConfig.shared.js +3 -3
  72. package/dist-es/ElastiCacheClient.js +12 -9
  73. package/dist-es/commands/AddTagsToResourceCommand.js +10 -0
  74. package/dist-es/commands/AuthorizeCacheSecurityGroupIngressCommand.js +10 -0
  75. package/dist-es/commands/BatchApplyUpdateActionCommand.js +10 -0
  76. package/dist-es/commands/BatchStopUpdateActionCommand.js +10 -0
  77. package/dist-es/commands/CompleteMigrationCommand.js +10 -0
  78. package/dist-es/commands/CopySnapshotCommand.js +10 -0
  79. package/dist-es/commands/CreateCacheClusterCommand.js +10 -0
  80. package/dist-es/commands/CreateCacheParameterGroupCommand.js +10 -0
  81. package/dist-es/commands/CreateCacheSecurityGroupCommand.js +10 -0
  82. package/dist-es/commands/CreateCacheSubnetGroupCommand.js +10 -0
  83. package/dist-es/commands/CreateGlobalReplicationGroupCommand.js +10 -0
  84. package/dist-es/commands/CreateReplicationGroupCommand.js +10 -0
  85. package/dist-es/commands/CreateSnapshotCommand.js +10 -0
  86. package/dist-es/commands/CreateUserCommand.js +10 -0
  87. package/dist-es/commands/CreateUserGroupCommand.js +10 -0
  88. package/dist-es/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.js +10 -0
  89. package/dist-es/commands/DecreaseReplicaCountCommand.js +10 -0
  90. package/dist-es/commands/DeleteCacheClusterCommand.js +10 -0
  91. package/dist-es/commands/DeleteCacheParameterGroupCommand.js +10 -0
  92. package/dist-es/commands/DeleteCacheSecurityGroupCommand.js +10 -0
  93. package/dist-es/commands/DeleteCacheSubnetGroupCommand.js +10 -0
  94. package/dist-es/commands/DeleteGlobalReplicationGroupCommand.js +10 -0
  95. package/dist-es/commands/DeleteReplicationGroupCommand.js +10 -0
  96. package/dist-es/commands/DeleteSnapshotCommand.js +10 -0
  97. package/dist-es/commands/DeleteUserCommand.js +10 -0
  98. package/dist-es/commands/DeleteUserGroupCommand.js +10 -0
  99. package/dist-es/commands/DescribeCacheClustersCommand.js +10 -0
  100. package/dist-es/commands/DescribeCacheEngineVersionsCommand.js +10 -0
  101. package/dist-es/commands/DescribeCacheParameterGroupsCommand.js +10 -0
  102. package/dist-es/commands/DescribeCacheParametersCommand.js +10 -0
  103. package/dist-es/commands/DescribeCacheSecurityGroupsCommand.js +10 -0
  104. package/dist-es/commands/DescribeCacheSubnetGroupsCommand.js +10 -0
  105. package/dist-es/commands/DescribeEngineDefaultParametersCommand.js +10 -0
  106. package/dist-es/commands/DescribeEventsCommand.js +10 -0
  107. package/dist-es/commands/DescribeGlobalReplicationGroupsCommand.js +10 -0
  108. package/dist-es/commands/DescribeReplicationGroupsCommand.js +10 -0
  109. package/dist-es/commands/DescribeReservedCacheNodesCommand.js +10 -0
  110. package/dist-es/commands/DescribeReservedCacheNodesOfferingsCommand.js +10 -0
  111. package/dist-es/commands/DescribeServiceUpdatesCommand.js +10 -0
  112. package/dist-es/commands/DescribeSnapshotsCommand.js +10 -0
  113. package/dist-es/commands/DescribeUpdateActionsCommand.js +10 -0
  114. package/dist-es/commands/DescribeUserGroupsCommand.js +10 -0
  115. package/dist-es/commands/DescribeUsersCommand.js +10 -0
  116. package/dist-es/commands/DisassociateGlobalReplicationGroupCommand.js +10 -0
  117. package/dist-es/commands/FailoverGlobalReplicationGroupCommand.js +10 -0
  118. package/dist-es/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.js +10 -0
  119. package/dist-es/commands/IncreaseReplicaCountCommand.js +10 -0
  120. package/dist-es/commands/ListAllowedNodeTypeModificationsCommand.js +10 -0
  121. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  122. package/dist-es/commands/ModifyCacheClusterCommand.js +10 -0
  123. package/dist-es/commands/ModifyCacheParameterGroupCommand.js +10 -0
  124. package/dist-es/commands/ModifyCacheSubnetGroupCommand.js +10 -0
  125. package/dist-es/commands/ModifyGlobalReplicationGroupCommand.js +10 -0
  126. package/dist-es/commands/ModifyReplicationGroupCommand.js +10 -0
  127. package/dist-es/commands/ModifyReplicationGroupShardConfigurationCommand.js +10 -0
  128. package/dist-es/commands/ModifyUserCommand.js +10 -0
  129. package/dist-es/commands/ModifyUserGroupCommand.js +10 -0
  130. package/dist-es/commands/PurchaseReservedCacheNodesOfferingCommand.js +10 -0
  131. package/dist-es/commands/RebalanceSlotsInGlobalReplicationGroupCommand.js +10 -0
  132. package/dist-es/commands/RebootCacheClusterCommand.js +10 -0
  133. package/dist-es/commands/RemoveTagsFromResourceCommand.js +10 -0
  134. package/dist-es/commands/ResetCacheParameterGroupCommand.js +10 -0
  135. package/dist-es/commands/RevokeCacheSecurityGroupIngressCommand.js +10 -0
  136. package/dist-es/commands/StartMigrationCommand.js +10 -0
  137. package/dist-es/commands/TestFailoverCommand.js +10 -0
  138. package/dist-es/endpoint/EndpointParameters.js +8 -0
  139. package/dist-es/endpoint/endpointResolver.js +8 -0
  140. package/dist-es/endpoint/ruleset.js +340 -0
  141. package/dist-es/runtimeConfig.shared.js +2 -2
  142. package/dist-types/ElastiCacheClient.d.ts +6 -9
  143. package/dist-types/commands/AddTagsToResourceCommand.d.ts +2 -0
  144. package/dist-types/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +2 -0
  145. package/dist-types/commands/BatchApplyUpdateActionCommand.d.ts +2 -0
  146. package/dist-types/commands/BatchStopUpdateActionCommand.d.ts +2 -0
  147. package/dist-types/commands/CompleteMigrationCommand.d.ts +2 -0
  148. package/dist-types/commands/CopySnapshotCommand.d.ts +2 -0
  149. package/dist-types/commands/CreateCacheClusterCommand.d.ts +2 -0
  150. package/dist-types/commands/CreateCacheParameterGroupCommand.d.ts +2 -0
  151. package/dist-types/commands/CreateCacheSecurityGroupCommand.d.ts +2 -0
  152. package/dist-types/commands/CreateCacheSubnetGroupCommand.d.ts +2 -0
  153. package/dist-types/commands/CreateGlobalReplicationGroupCommand.d.ts +2 -0
  154. package/dist-types/commands/CreateReplicationGroupCommand.d.ts +2 -0
  155. package/dist-types/commands/CreateSnapshotCommand.d.ts +2 -0
  156. package/dist-types/commands/CreateUserCommand.d.ts +2 -0
  157. package/dist-types/commands/CreateUserGroupCommand.d.ts +2 -0
  158. package/dist-types/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +2 -0
  159. package/dist-types/commands/DecreaseReplicaCountCommand.d.ts +2 -0
  160. package/dist-types/commands/DeleteCacheClusterCommand.d.ts +2 -0
  161. package/dist-types/commands/DeleteCacheParameterGroupCommand.d.ts +2 -0
  162. package/dist-types/commands/DeleteCacheSecurityGroupCommand.d.ts +2 -0
  163. package/dist-types/commands/DeleteCacheSubnetGroupCommand.d.ts +2 -0
  164. package/dist-types/commands/DeleteGlobalReplicationGroupCommand.d.ts +2 -0
  165. package/dist-types/commands/DeleteReplicationGroupCommand.d.ts +2 -0
  166. package/dist-types/commands/DeleteSnapshotCommand.d.ts +2 -0
  167. package/dist-types/commands/DeleteUserCommand.d.ts +2 -0
  168. package/dist-types/commands/DeleteUserGroupCommand.d.ts +2 -0
  169. package/dist-types/commands/DescribeCacheClustersCommand.d.ts +2 -0
  170. package/dist-types/commands/DescribeCacheEngineVersionsCommand.d.ts +2 -0
  171. package/dist-types/commands/DescribeCacheParameterGroupsCommand.d.ts +2 -0
  172. package/dist-types/commands/DescribeCacheParametersCommand.d.ts +2 -0
  173. package/dist-types/commands/DescribeCacheSecurityGroupsCommand.d.ts +2 -0
  174. package/dist-types/commands/DescribeCacheSubnetGroupsCommand.d.ts +2 -0
  175. package/dist-types/commands/DescribeEngineDefaultParametersCommand.d.ts +2 -0
  176. package/dist-types/commands/DescribeEventsCommand.d.ts +2 -0
  177. package/dist-types/commands/DescribeGlobalReplicationGroupsCommand.d.ts +2 -0
  178. package/dist-types/commands/DescribeReplicationGroupsCommand.d.ts +2 -0
  179. package/dist-types/commands/DescribeReservedCacheNodesCommand.d.ts +2 -0
  180. package/dist-types/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +2 -0
  181. package/dist-types/commands/DescribeServiceUpdatesCommand.d.ts +2 -0
  182. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +2 -0
  183. package/dist-types/commands/DescribeUpdateActionsCommand.d.ts +2 -0
  184. package/dist-types/commands/DescribeUserGroupsCommand.d.ts +2 -0
  185. package/dist-types/commands/DescribeUsersCommand.d.ts +2 -0
  186. package/dist-types/commands/DisassociateGlobalReplicationGroupCommand.d.ts +2 -0
  187. package/dist-types/commands/FailoverGlobalReplicationGroupCommand.d.ts +2 -0
  188. package/dist-types/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +2 -0
  189. package/dist-types/commands/IncreaseReplicaCountCommand.d.ts +2 -0
  190. package/dist-types/commands/ListAllowedNodeTypeModificationsCommand.d.ts +2 -0
  191. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  192. package/dist-types/commands/ModifyCacheClusterCommand.d.ts +2 -0
  193. package/dist-types/commands/ModifyCacheParameterGroupCommand.d.ts +2 -0
  194. package/dist-types/commands/ModifyCacheSubnetGroupCommand.d.ts +2 -0
  195. package/dist-types/commands/ModifyGlobalReplicationGroupCommand.d.ts +2 -0
  196. package/dist-types/commands/ModifyReplicationGroupCommand.d.ts +2 -0
  197. package/dist-types/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +2 -0
  198. package/dist-types/commands/ModifyUserCommand.d.ts +2 -0
  199. package/dist-types/commands/ModifyUserGroupCommand.d.ts +2 -0
  200. package/dist-types/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +2 -0
  201. package/dist-types/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +2 -0
  202. package/dist-types/commands/RebootCacheClusterCommand.d.ts +2 -0
  203. package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +2 -0
  204. package/dist-types/commands/ResetCacheParameterGroupCommand.d.ts +2 -0
  205. package/dist-types/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +2 -0
  206. package/dist-types/commands/StartMigrationCommand.d.ts +2 -0
  207. package/dist-types/commands/TestFailoverCommand.d.ts +2 -0
  208. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  209. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  210. package/dist-types/endpoint/ruleset.d.ts +2 -0
  211. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  212. package/dist-types/runtimeConfig.d.ts +4 -2
  213. package/dist-types/runtimeConfig.native.d.ts +4 -2
  214. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  215. package/dist-types/ts3.4/ElastiCacheClient.d.ts +15 -8
  216. package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -0
  217. package/dist-types/ts3.4/commands/AuthorizeCacheSecurityGroupIngressCommand.d.ts +2 -0
  218. package/dist-types/ts3.4/commands/BatchApplyUpdateActionCommand.d.ts +2 -0
  219. package/dist-types/ts3.4/commands/BatchStopUpdateActionCommand.d.ts +2 -0
  220. package/dist-types/ts3.4/commands/CompleteMigrationCommand.d.ts +2 -0
  221. package/dist-types/ts3.4/commands/CopySnapshotCommand.d.ts +2 -0
  222. package/dist-types/ts3.4/commands/CreateCacheClusterCommand.d.ts +2 -0
  223. package/dist-types/ts3.4/commands/CreateCacheParameterGroupCommand.d.ts +2 -0
  224. package/dist-types/ts3.4/commands/CreateCacheSecurityGroupCommand.d.ts +2 -0
  225. package/dist-types/ts3.4/commands/CreateCacheSubnetGroupCommand.d.ts +2 -0
  226. package/dist-types/ts3.4/commands/CreateGlobalReplicationGroupCommand.d.ts +2 -0
  227. package/dist-types/ts3.4/commands/CreateReplicationGroupCommand.d.ts +2 -0
  228. package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +2 -0
  229. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +2 -0
  230. package/dist-types/ts3.4/commands/CreateUserGroupCommand.d.ts +2 -0
  231. package/dist-types/ts3.4/commands/DecreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +2 -0
  232. package/dist-types/ts3.4/commands/DecreaseReplicaCountCommand.d.ts +2 -0
  233. package/dist-types/ts3.4/commands/DeleteCacheClusterCommand.d.ts +2 -0
  234. package/dist-types/ts3.4/commands/DeleteCacheParameterGroupCommand.d.ts +2 -0
  235. package/dist-types/ts3.4/commands/DeleteCacheSecurityGroupCommand.d.ts +2 -0
  236. package/dist-types/ts3.4/commands/DeleteCacheSubnetGroupCommand.d.ts +2 -0
  237. package/dist-types/ts3.4/commands/DeleteGlobalReplicationGroupCommand.d.ts +2 -0
  238. package/dist-types/ts3.4/commands/DeleteReplicationGroupCommand.d.ts +2 -0
  239. package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +2 -0
  240. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +2 -0
  241. package/dist-types/ts3.4/commands/DeleteUserGroupCommand.d.ts +2 -0
  242. package/dist-types/ts3.4/commands/DescribeCacheClustersCommand.d.ts +2 -0
  243. package/dist-types/ts3.4/commands/DescribeCacheEngineVersionsCommand.d.ts +2 -0
  244. package/dist-types/ts3.4/commands/DescribeCacheParameterGroupsCommand.d.ts +2 -0
  245. package/dist-types/ts3.4/commands/DescribeCacheParametersCommand.d.ts +2 -0
  246. package/dist-types/ts3.4/commands/DescribeCacheSecurityGroupsCommand.d.ts +2 -0
  247. package/dist-types/ts3.4/commands/DescribeCacheSubnetGroupsCommand.d.ts +2 -0
  248. package/dist-types/ts3.4/commands/DescribeEngineDefaultParametersCommand.d.ts +2 -0
  249. package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -0
  250. package/dist-types/ts3.4/commands/DescribeGlobalReplicationGroupsCommand.d.ts +2 -0
  251. package/dist-types/ts3.4/commands/DescribeReplicationGroupsCommand.d.ts +2 -0
  252. package/dist-types/ts3.4/commands/DescribeReservedCacheNodesCommand.d.ts +2 -0
  253. package/dist-types/ts3.4/commands/DescribeReservedCacheNodesOfferingsCommand.d.ts +2 -0
  254. package/dist-types/ts3.4/commands/DescribeServiceUpdatesCommand.d.ts +2 -0
  255. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +2 -0
  256. package/dist-types/ts3.4/commands/DescribeUpdateActionsCommand.d.ts +2 -0
  257. package/dist-types/ts3.4/commands/DescribeUserGroupsCommand.d.ts +2 -0
  258. package/dist-types/ts3.4/commands/DescribeUsersCommand.d.ts +2 -0
  259. package/dist-types/ts3.4/commands/DisassociateGlobalReplicationGroupCommand.d.ts +2 -0
  260. package/dist-types/ts3.4/commands/FailoverGlobalReplicationGroupCommand.d.ts +2 -0
  261. package/dist-types/ts3.4/commands/IncreaseNodeGroupsInGlobalReplicationGroupCommand.d.ts +2 -0
  262. package/dist-types/ts3.4/commands/IncreaseReplicaCountCommand.d.ts +2 -0
  263. package/dist-types/ts3.4/commands/ListAllowedNodeTypeModificationsCommand.d.ts +2 -0
  264. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  265. package/dist-types/ts3.4/commands/ModifyCacheClusterCommand.d.ts +2 -0
  266. package/dist-types/ts3.4/commands/ModifyCacheParameterGroupCommand.d.ts +2 -0
  267. package/dist-types/ts3.4/commands/ModifyCacheSubnetGroupCommand.d.ts +2 -0
  268. package/dist-types/ts3.4/commands/ModifyGlobalReplicationGroupCommand.d.ts +2 -0
  269. package/dist-types/ts3.4/commands/ModifyReplicationGroupCommand.d.ts +2 -0
  270. package/dist-types/ts3.4/commands/ModifyReplicationGroupShardConfigurationCommand.d.ts +2 -0
  271. package/dist-types/ts3.4/commands/ModifyUserCommand.d.ts +2 -0
  272. package/dist-types/ts3.4/commands/ModifyUserGroupCommand.d.ts +2 -0
  273. package/dist-types/ts3.4/commands/PurchaseReservedCacheNodesOfferingCommand.d.ts +2 -0
  274. package/dist-types/ts3.4/commands/RebalanceSlotsInGlobalReplicationGroupCommand.d.ts +2 -0
  275. package/dist-types/ts3.4/commands/RebootCacheClusterCommand.d.ts +2 -0
  276. package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -0
  277. package/dist-types/ts3.4/commands/ResetCacheParameterGroupCommand.d.ts +2 -0
  278. package/dist-types/ts3.4/commands/RevokeCacheSecurityGroupIngressCommand.d.ts +2 -0
  279. package/dist-types/ts3.4/commands/StartMigrationCommand.d.ts +2 -0
  280. package/dist-types/ts3.4/commands/TestFailoverCommand.d.ts +2 -0
  281. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  282. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  283. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  284. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  285. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  286. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  287. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  288. package/package.json +5 -3
  289. package/dist-cjs/endpoints.js +0 -178
  290. package/dist-es/endpoints.js +0 -174
  291. package/dist-types/endpoints.d.ts +0 -2
  292. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateReplicationGroupMessageFilterSensitiveLog, CreateReplicationGroupResultFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateReplicationGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateReplicationGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateSnapshotMessageFilterSensitiveLog, CreateSnapshotResultFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateSnapshotCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateSnapshotCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateUserMessageFilterSensitiveLog, UserFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateUserCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateUserCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateUserGroupMessageFilterSensitiveLog, UserGroupFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateUserGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateUserGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DecreaseNodeGroupsInGlobalReplicationGroupMessageFilterSensitiveLog, DecreaseNodeGroupsInGlobalReplicationGroupResultFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DecreaseNodeGroupsInGlobalReplicationGroupCommand extends $Command
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DecreaseNodeGroupsInGlobalReplicationGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DecreaseReplicaCountMessageFilterSensitiveLog, DecreaseReplicaCountResultFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DecreaseReplicaCountCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DecreaseReplicaCountCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteCacheClusterMessageFilterSensitiveLog, DeleteCacheClusterResultFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteCacheClusterCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCacheClusterCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteCacheParameterGroupMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteCacheParameterGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCacheParameterGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteCacheSecurityGroupMessageFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteCacheSecurityGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCacheSecurityGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteCacheSubnetGroupMessageFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteCacheSubnetGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCacheSubnetGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteGlobalReplicationGroupMessageFilterSensitiveLog, DeleteGlobalReplicationGroupResultFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteGlobalReplicationGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteGlobalReplicationGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteReplicationGroupMessageFilterSensitiveLog, DeleteReplicationGroupResultFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteReplicationGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteReplicationGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteSnapshotMessageFilterSensitiveLog, DeleteSnapshotResultFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteSnapshotCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSnapshotCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteUserMessageFilterSensitiveLog, UserFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteUserCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteUserCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteUserGroupMessageFilterSensitiveLog, UserGroupFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteUserGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteUserGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CacheClusterMessageFilterSensitiveLog, DescribeCacheClustersMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeCacheClustersCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCacheClustersCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CacheEngineVersionMessageFilterSensitiveLog, DescribeCacheEngineVersionsMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeCacheEngineVersionsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCacheEngineVersionsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CacheParameterGroupsMessageFilterSensitiveLog, DescribeCacheParameterGroupsMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeCacheParameterGroupsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCacheParameterGroupsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CacheParameterGroupDetailsFilterSensitiveLog, DescribeCacheParametersMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeCacheParametersCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCacheParametersCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CacheSecurityGroupMessageFilterSensitiveLog, DescribeCacheSecurityGroupsMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeCacheSecurityGroupsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCacheSecurityGroupsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CacheSubnetGroupMessageFilterSensitiveLog, DescribeCacheSubnetGroupsMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeCacheSubnetGroupsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCacheSubnetGroupsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeEngineDefaultParametersMessageFilterSensitiveLog, DescribeEngineDefaultParametersResultFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeEngineDefaultParametersCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeEngineDefaultParametersCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeEventsMessageFilterSensitiveLog, EventsMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeEventsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeEventsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeGlobalReplicationGroupsMessageFilterSensitiveLog, DescribeGlobalReplicationGroupsResultFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeGlobalReplicationGroupsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeGlobalReplicationGroupsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeReplicationGroupsMessageFilterSensitiveLog, ReplicationGroupMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeReplicationGroupsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeReplicationGroupsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeReservedCacheNodesMessageFilterSensitiveLog, ReservedCacheNodeMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeReservedCacheNodesCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeReservedCacheNodesCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeReservedCacheNodesOfferingsMessageFilterSensitiveLog, ReservedCacheNodesOfferingMessageFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeReservedCacheNodesOfferingsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeReservedCacheNodesOfferingsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "ElastiCacheClient";