@aws-sdk/client-waf 3.194.0 → 3.195.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 (340) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/WAFClient.js +11 -8
  3. package/dist-cjs/commands/CreateByteMatchSetCommand.js +10 -0
  4. package/dist-cjs/commands/CreateGeoMatchSetCommand.js +10 -0
  5. package/dist-cjs/commands/CreateIPSetCommand.js +10 -0
  6. package/dist-cjs/commands/CreateRateBasedRuleCommand.js +10 -0
  7. package/dist-cjs/commands/CreateRegexMatchSetCommand.js +10 -0
  8. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +10 -0
  9. package/dist-cjs/commands/CreateRuleCommand.js +10 -0
  10. package/dist-cjs/commands/CreateRuleGroupCommand.js +10 -0
  11. package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +10 -0
  12. package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +10 -0
  13. package/dist-cjs/commands/CreateWebACLCommand.js +10 -0
  14. package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +10 -0
  15. package/dist-cjs/commands/CreateXssMatchSetCommand.js +10 -0
  16. package/dist-cjs/commands/DeleteByteMatchSetCommand.js +10 -0
  17. package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +10 -0
  18. package/dist-cjs/commands/DeleteIPSetCommand.js +10 -0
  19. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +10 -0
  20. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +10 -0
  21. package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +10 -0
  22. package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +10 -0
  23. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +10 -0
  24. package/dist-cjs/commands/DeleteRuleCommand.js +10 -0
  25. package/dist-cjs/commands/DeleteRuleGroupCommand.js +10 -0
  26. package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +10 -0
  27. package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +10 -0
  28. package/dist-cjs/commands/DeleteWebACLCommand.js +10 -0
  29. package/dist-cjs/commands/DeleteXssMatchSetCommand.js +10 -0
  30. package/dist-cjs/commands/GetByteMatchSetCommand.js +10 -0
  31. package/dist-cjs/commands/GetChangeTokenCommand.js +10 -0
  32. package/dist-cjs/commands/GetChangeTokenStatusCommand.js +10 -0
  33. package/dist-cjs/commands/GetGeoMatchSetCommand.js +10 -0
  34. package/dist-cjs/commands/GetIPSetCommand.js +10 -0
  35. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +10 -0
  36. package/dist-cjs/commands/GetPermissionPolicyCommand.js +10 -0
  37. package/dist-cjs/commands/GetRateBasedRuleCommand.js +10 -0
  38. package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +10 -0
  39. package/dist-cjs/commands/GetRegexMatchSetCommand.js +10 -0
  40. package/dist-cjs/commands/GetRegexPatternSetCommand.js +10 -0
  41. package/dist-cjs/commands/GetRuleCommand.js +10 -0
  42. package/dist-cjs/commands/GetRuleGroupCommand.js +10 -0
  43. package/dist-cjs/commands/GetSampledRequestsCommand.js +10 -0
  44. package/dist-cjs/commands/GetSizeConstraintSetCommand.js +10 -0
  45. package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +10 -0
  46. package/dist-cjs/commands/GetWebACLCommand.js +10 -0
  47. package/dist-cjs/commands/GetXssMatchSetCommand.js +10 -0
  48. package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +10 -0
  49. package/dist-cjs/commands/ListByteMatchSetsCommand.js +10 -0
  50. package/dist-cjs/commands/ListGeoMatchSetsCommand.js +10 -0
  51. package/dist-cjs/commands/ListIPSetsCommand.js +10 -0
  52. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +10 -0
  53. package/dist-cjs/commands/ListRateBasedRulesCommand.js +10 -0
  54. package/dist-cjs/commands/ListRegexMatchSetsCommand.js +10 -0
  55. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +10 -0
  56. package/dist-cjs/commands/ListRuleGroupsCommand.js +10 -0
  57. package/dist-cjs/commands/ListRulesCommand.js +10 -0
  58. package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +10 -0
  59. package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +10 -0
  60. package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +10 -0
  61. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  62. package/dist-cjs/commands/ListWebACLsCommand.js +10 -0
  63. package/dist-cjs/commands/ListXssMatchSetsCommand.js +10 -0
  64. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +10 -0
  65. package/dist-cjs/commands/PutPermissionPolicyCommand.js +10 -0
  66. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  67. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  68. package/dist-cjs/commands/UpdateByteMatchSetCommand.js +10 -0
  69. package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +10 -0
  70. package/dist-cjs/commands/UpdateIPSetCommand.js +10 -0
  71. package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +10 -0
  72. package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +10 -0
  73. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +10 -0
  74. package/dist-cjs/commands/UpdateRuleCommand.js +10 -0
  75. package/dist-cjs/commands/UpdateRuleGroupCommand.js +10 -0
  76. package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +10 -0
  77. package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +10 -0
  78. package/dist-cjs/commands/UpdateWebACLCommand.js +10 -0
  79. package/dist-cjs/commands/UpdateXssMatchSetCommand.js +10 -0
  80. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  81. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  82. package/dist-cjs/endpoint/ruleset.js +648 -0
  83. package/dist-cjs/runtimeConfig.shared.js +3 -3
  84. package/dist-es/WAFClient.js +12 -9
  85. package/dist-es/commands/CreateByteMatchSetCommand.js +10 -0
  86. package/dist-es/commands/CreateGeoMatchSetCommand.js +10 -0
  87. package/dist-es/commands/CreateIPSetCommand.js +10 -0
  88. package/dist-es/commands/CreateRateBasedRuleCommand.js +10 -0
  89. package/dist-es/commands/CreateRegexMatchSetCommand.js +10 -0
  90. package/dist-es/commands/CreateRegexPatternSetCommand.js +10 -0
  91. package/dist-es/commands/CreateRuleCommand.js +10 -0
  92. package/dist-es/commands/CreateRuleGroupCommand.js +10 -0
  93. package/dist-es/commands/CreateSizeConstraintSetCommand.js +10 -0
  94. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +10 -0
  95. package/dist-es/commands/CreateWebACLCommand.js +10 -0
  96. package/dist-es/commands/CreateWebACLMigrationStackCommand.js +10 -0
  97. package/dist-es/commands/CreateXssMatchSetCommand.js +10 -0
  98. package/dist-es/commands/DeleteByteMatchSetCommand.js +10 -0
  99. package/dist-es/commands/DeleteGeoMatchSetCommand.js +10 -0
  100. package/dist-es/commands/DeleteIPSetCommand.js +10 -0
  101. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +10 -0
  102. package/dist-es/commands/DeletePermissionPolicyCommand.js +10 -0
  103. package/dist-es/commands/DeleteRateBasedRuleCommand.js +10 -0
  104. package/dist-es/commands/DeleteRegexMatchSetCommand.js +10 -0
  105. package/dist-es/commands/DeleteRegexPatternSetCommand.js +10 -0
  106. package/dist-es/commands/DeleteRuleCommand.js +10 -0
  107. package/dist-es/commands/DeleteRuleGroupCommand.js +10 -0
  108. package/dist-es/commands/DeleteSizeConstraintSetCommand.js +10 -0
  109. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +10 -0
  110. package/dist-es/commands/DeleteWebACLCommand.js +10 -0
  111. package/dist-es/commands/DeleteXssMatchSetCommand.js +10 -0
  112. package/dist-es/commands/GetByteMatchSetCommand.js +10 -0
  113. package/dist-es/commands/GetChangeTokenCommand.js +10 -0
  114. package/dist-es/commands/GetChangeTokenStatusCommand.js +10 -0
  115. package/dist-es/commands/GetGeoMatchSetCommand.js +10 -0
  116. package/dist-es/commands/GetIPSetCommand.js +10 -0
  117. package/dist-es/commands/GetLoggingConfigurationCommand.js +10 -0
  118. package/dist-es/commands/GetPermissionPolicyCommand.js +10 -0
  119. package/dist-es/commands/GetRateBasedRuleCommand.js +10 -0
  120. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +10 -0
  121. package/dist-es/commands/GetRegexMatchSetCommand.js +10 -0
  122. package/dist-es/commands/GetRegexPatternSetCommand.js +10 -0
  123. package/dist-es/commands/GetRuleCommand.js +10 -0
  124. package/dist-es/commands/GetRuleGroupCommand.js +10 -0
  125. package/dist-es/commands/GetSampledRequestsCommand.js +10 -0
  126. package/dist-es/commands/GetSizeConstraintSetCommand.js +10 -0
  127. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +10 -0
  128. package/dist-es/commands/GetWebACLCommand.js +10 -0
  129. package/dist-es/commands/GetXssMatchSetCommand.js +10 -0
  130. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +10 -0
  131. package/dist-es/commands/ListByteMatchSetsCommand.js +10 -0
  132. package/dist-es/commands/ListGeoMatchSetsCommand.js +10 -0
  133. package/dist-es/commands/ListIPSetsCommand.js +10 -0
  134. package/dist-es/commands/ListLoggingConfigurationsCommand.js +10 -0
  135. package/dist-es/commands/ListRateBasedRulesCommand.js +10 -0
  136. package/dist-es/commands/ListRegexMatchSetsCommand.js +10 -0
  137. package/dist-es/commands/ListRegexPatternSetsCommand.js +10 -0
  138. package/dist-es/commands/ListRuleGroupsCommand.js +10 -0
  139. package/dist-es/commands/ListRulesCommand.js +10 -0
  140. package/dist-es/commands/ListSizeConstraintSetsCommand.js +10 -0
  141. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +10 -0
  142. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +10 -0
  143. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  144. package/dist-es/commands/ListWebACLsCommand.js +10 -0
  145. package/dist-es/commands/ListXssMatchSetsCommand.js +10 -0
  146. package/dist-es/commands/PutLoggingConfigurationCommand.js +10 -0
  147. package/dist-es/commands/PutPermissionPolicyCommand.js +10 -0
  148. package/dist-es/commands/TagResourceCommand.js +10 -0
  149. package/dist-es/commands/UntagResourceCommand.js +10 -0
  150. package/dist-es/commands/UpdateByteMatchSetCommand.js +10 -0
  151. package/dist-es/commands/UpdateGeoMatchSetCommand.js +10 -0
  152. package/dist-es/commands/UpdateIPSetCommand.js +10 -0
  153. package/dist-es/commands/UpdateRateBasedRuleCommand.js +10 -0
  154. package/dist-es/commands/UpdateRegexMatchSetCommand.js +10 -0
  155. package/dist-es/commands/UpdateRegexPatternSetCommand.js +10 -0
  156. package/dist-es/commands/UpdateRuleCommand.js +10 -0
  157. package/dist-es/commands/UpdateRuleGroupCommand.js +10 -0
  158. package/dist-es/commands/UpdateSizeConstraintSetCommand.js +10 -0
  159. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +10 -0
  160. package/dist-es/commands/UpdateWebACLCommand.js +10 -0
  161. package/dist-es/commands/UpdateXssMatchSetCommand.js +10 -0
  162. package/dist-es/endpoint/EndpointParameters.js +8 -0
  163. package/dist-es/endpoint/endpointResolver.js +8 -0
  164. package/dist-es/endpoint/ruleset.js +645 -0
  165. package/dist-es/runtimeConfig.shared.js +2 -2
  166. package/dist-types/WAFClient.d.ts +6 -9
  167. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +2 -0
  168. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +2 -0
  169. package/dist-types/commands/CreateIPSetCommand.d.ts +2 -0
  170. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +2 -0
  171. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +2 -0
  172. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +2 -0
  173. package/dist-types/commands/CreateRuleCommand.d.ts +2 -0
  174. package/dist-types/commands/CreateRuleGroupCommand.d.ts +2 -0
  175. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +2 -0
  176. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +2 -0
  177. package/dist-types/commands/CreateWebACLCommand.d.ts +2 -0
  178. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +2 -0
  179. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +2 -0
  180. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +2 -0
  181. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +2 -0
  182. package/dist-types/commands/DeleteIPSetCommand.d.ts +2 -0
  183. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +2 -0
  184. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +2 -0
  185. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +2 -0
  186. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +2 -0
  187. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +2 -0
  188. package/dist-types/commands/DeleteRuleCommand.d.ts +2 -0
  189. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +2 -0
  190. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +2 -0
  191. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +2 -0
  192. package/dist-types/commands/DeleteWebACLCommand.d.ts +2 -0
  193. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +2 -0
  194. package/dist-types/commands/GetByteMatchSetCommand.d.ts +2 -0
  195. package/dist-types/commands/GetChangeTokenCommand.d.ts +2 -0
  196. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +2 -0
  197. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +2 -0
  198. package/dist-types/commands/GetIPSetCommand.d.ts +2 -0
  199. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +2 -0
  200. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +2 -0
  201. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +2 -0
  202. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +2 -0
  203. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +2 -0
  204. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +2 -0
  205. package/dist-types/commands/GetRuleCommand.d.ts +2 -0
  206. package/dist-types/commands/GetRuleGroupCommand.d.ts +2 -0
  207. package/dist-types/commands/GetSampledRequestsCommand.d.ts +2 -0
  208. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +2 -0
  209. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +2 -0
  210. package/dist-types/commands/GetWebACLCommand.d.ts +2 -0
  211. package/dist-types/commands/GetXssMatchSetCommand.d.ts +2 -0
  212. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +2 -0
  213. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +2 -0
  214. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +2 -0
  215. package/dist-types/commands/ListIPSetsCommand.d.ts +2 -0
  216. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +2 -0
  217. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +2 -0
  218. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +2 -0
  219. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +2 -0
  220. package/dist-types/commands/ListRuleGroupsCommand.d.ts +2 -0
  221. package/dist-types/commands/ListRulesCommand.d.ts +2 -0
  222. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +2 -0
  223. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +2 -0
  224. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +2 -0
  225. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  226. package/dist-types/commands/ListWebACLsCommand.d.ts +2 -0
  227. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +2 -0
  228. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +2 -0
  229. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +2 -0
  230. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  231. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  232. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +2 -0
  233. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +2 -0
  234. package/dist-types/commands/UpdateIPSetCommand.d.ts +2 -0
  235. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +2 -0
  236. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +2 -0
  237. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +2 -0
  238. package/dist-types/commands/UpdateRuleCommand.d.ts +2 -0
  239. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +2 -0
  240. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +2 -0
  241. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +2 -0
  242. package/dist-types/commands/UpdateWebACLCommand.d.ts +2 -0
  243. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +2 -0
  244. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  245. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  246. package/dist-types/endpoint/ruleset.d.ts +2 -0
  247. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  248. package/dist-types/runtimeConfig.d.ts +4 -2
  249. package/dist-types/runtimeConfig.native.d.ts +4 -2
  250. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  251. package/dist-types/ts3.4/WAFClient.d.ts +15 -8
  252. package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +2 -0
  253. package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +2 -0
  254. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -0
  255. package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +2 -0
  256. package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +2 -0
  257. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +2 -0
  258. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -0
  259. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +2 -0
  260. package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +2 -0
  261. package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +2 -0
  262. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +2 -0
  263. package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +2 -0
  264. package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +2 -0
  265. package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +2 -0
  266. package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +2 -0
  267. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -0
  268. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +2 -0
  269. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +2 -0
  270. package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +2 -0
  271. package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +2 -0
  272. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +2 -0
  273. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -0
  274. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +2 -0
  275. package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +2 -0
  276. package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +2 -0
  277. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +2 -0
  278. package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +2 -0
  279. package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +2 -0
  280. package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +2 -0
  281. package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +2 -0
  282. package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +2 -0
  283. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -0
  284. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +2 -0
  285. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +2 -0
  286. package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +2 -0
  287. package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +2 -0
  288. package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +2 -0
  289. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +2 -0
  290. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +2 -0
  291. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -0
  292. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +2 -0
  293. package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +2 -0
  294. package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +2 -0
  295. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -0
  296. package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +2 -0
  297. package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +2 -0
  298. package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +2 -0
  299. package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +2 -0
  300. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -0
  301. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +2 -0
  302. package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +2 -0
  303. package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +2 -0
  304. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +2 -0
  305. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +2 -0
  306. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +2 -0
  307. package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +2 -0
  308. package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +2 -0
  309. package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +2 -0
  310. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  311. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +2 -0
  312. package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +2 -0
  313. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +2 -0
  314. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +2 -0
  315. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  316. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  317. package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +2 -0
  318. package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +2 -0
  319. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -0
  320. package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +2 -0
  321. package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +2 -0
  322. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +2 -0
  323. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +2 -0
  324. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +2 -0
  325. package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +2 -0
  326. package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +2 -0
  327. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +2 -0
  328. package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +2 -0
  329. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  330. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  331. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  332. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  333. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  334. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  335. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  336. package/package.json +3 -1
  337. package/dist-cjs/endpoints.js +0 -151
  338. package/dist-es/endpoints.js +0 -147
  339. package/dist-types/endpoints.d.ts +0 -2
  340. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateRegexPatternSetCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class UpdateRegexPatternSetCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateRegexPatternSetCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "WAFClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateRuleCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class UpdateRuleCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateRuleCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "WAFClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateRuleGroupCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class UpdateRuleGroupCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateRuleGroupCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "WAFClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateSizeConstraintSetCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class UpdateSizeConstraintSetCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSizeConstraintSetCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "WAFClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateSqlInjectionMatchSetCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class UpdateSqlInjectionMatchSetCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSqlInjectionMatchSetCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "WAFClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateWebACLCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class UpdateWebACLCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateWebACLCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "WAFClient";
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateXssMatchSetCommand = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
4
5
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
7
  const models_0_1 = require("../models/models_0");
@@ -10,8 +11,17 @@ class UpdateXssMatchSetCommand extends smithy_client_1.Command {
10
11
  super();
11
12
  this.input = input;
12
13
  }
14
+ static getEndpointParameterInstructions() {
15
+ return {
16
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
17
+ Endpoint: { type: "builtInParams", name: "endpoint" },
18
+ Region: { type: "builtInParams", name: "region" },
19
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
20
+ };
21
+ }
13
22
  resolveMiddleware(clientStack, configuration, options) {
14
23
  this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateXssMatchSetCommand.getEndpointParameterInstructions()));
15
25
  const stack = clientStack.concat(this.middlewareStack);
16
26
  const { logger } = configuration;
17
27
  const clientName = "WAFClient";
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveClientEndpointParameters = void 0;
4
+ const resolveClientEndpointParameters = (options) => {
5
+ var _a, _b;
6
+ return {
7
+ ...options,
8
+ useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
9
+ useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
10
+ defaultSigningName: "waf",
11
+ };
12
+ };
13
+ exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.defaultEndpointResolver = void 0;
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const ruleset_1 = require("./ruleset");
6
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
7
+ return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ endpointParams: endpointParams,
9
+ logger: context.logger,
10
+ });
11
+ };
12
+ exports.defaultEndpointResolver = defaultEndpointResolver;