@aws-sdk/client-waf 3.478.0 → 3.484.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 (313) hide show
  1. package/dist-cjs/commands/CreateByteMatchSetCommand.js +18 -41
  2. package/dist-cjs/commands/CreateGeoMatchSetCommand.js +18 -41
  3. package/dist-cjs/commands/CreateIPSetCommand.js +18 -41
  4. package/dist-cjs/commands/CreateRateBasedRuleCommand.js +18 -41
  5. package/dist-cjs/commands/CreateRegexMatchSetCommand.js +18 -41
  6. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +18 -41
  7. package/dist-cjs/commands/CreateRuleCommand.js +18 -41
  8. package/dist-cjs/commands/CreateRuleGroupCommand.js +18 -41
  9. package/dist-cjs/commands/CreateSizeConstraintSetCommand.js +18 -41
  10. package/dist-cjs/commands/CreateSqlInjectionMatchSetCommand.js +18 -41
  11. package/dist-cjs/commands/CreateWebACLCommand.js +18 -41
  12. package/dist-cjs/commands/CreateWebACLMigrationStackCommand.js +18 -41
  13. package/dist-cjs/commands/CreateXssMatchSetCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteByteMatchSetCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteGeoMatchSetCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteIPSetCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +18 -41
  18. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +18 -41
  19. package/dist-cjs/commands/DeleteRateBasedRuleCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteRegexMatchSetCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +18 -41
  22. package/dist-cjs/commands/DeleteRuleCommand.js +18 -41
  23. package/dist-cjs/commands/DeleteRuleGroupCommand.js +18 -41
  24. package/dist-cjs/commands/DeleteSizeConstraintSetCommand.js +18 -41
  25. package/dist-cjs/commands/DeleteSqlInjectionMatchSetCommand.js +18 -41
  26. package/dist-cjs/commands/DeleteWebACLCommand.js +18 -41
  27. package/dist-cjs/commands/DeleteXssMatchSetCommand.js +18 -41
  28. package/dist-cjs/commands/GetByteMatchSetCommand.js +18 -41
  29. package/dist-cjs/commands/GetChangeTokenCommand.js +18 -41
  30. package/dist-cjs/commands/GetChangeTokenStatusCommand.js +18 -41
  31. package/dist-cjs/commands/GetGeoMatchSetCommand.js +18 -41
  32. package/dist-cjs/commands/GetIPSetCommand.js +18 -41
  33. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +18 -41
  34. package/dist-cjs/commands/GetPermissionPolicyCommand.js +18 -41
  35. package/dist-cjs/commands/GetRateBasedRuleCommand.js +18 -41
  36. package/dist-cjs/commands/GetRateBasedRuleManagedKeysCommand.js +18 -41
  37. package/dist-cjs/commands/GetRegexMatchSetCommand.js +18 -41
  38. package/dist-cjs/commands/GetRegexPatternSetCommand.js +18 -41
  39. package/dist-cjs/commands/GetRuleCommand.js +18 -41
  40. package/dist-cjs/commands/GetRuleGroupCommand.js +18 -41
  41. package/dist-cjs/commands/GetSampledRequestsCommand.js +18 -41
  42. package/dist-cjs/commands/GetSizeConstraintSetCommand.js +18 -41
  43. package/dist-cjs/commands/GetSqlInjectionMatchSetCommand.js +18 -41
  44. package/dist-cjs/commands/GetWebACLCommand.js +18 -41
  45. package/dist-cjs/commands/GetXssMatchSetCommand.js +18 -41
  46. package/dist-cjs/commands/ListActivatedRulesInRuleGroupCommand.js +18 -41
  47. package/dist-cjs/commands/ListByteMatchSetsCommand.js +18 -41
  48. package/dist-cjs/commands/ListGeoMatchSetsCommand.js +18 -41
  49. package/dist-cjs/commands/ListIPSetsCommand.js +18 -41
  50. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +18 -41
  51. package/dist-cjs/commands/ListRateBasedRulesCommand.js +18 -41
  52. package/dist-cjs/commands/ListRegexMatchSetsCommand.js +18 -41
  53. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +18 -41
  54. package/dist-cjs/commands/ListRuleGroupsCommand.js +18 -41
  55. package/dist-cjs/commands/ListRulesCommand.js +18 -41
  56. package/dist-cjs/commands/ListSizeConstraintSetsCommand.js +18 -41
  57. package/dist-cjs/commands/ListSqlInjectionMatchSetsCommand.js +18 -41
  58. package/dist-cjs/commands/ListSubscribedRuleGroupsCommand.js +18 -41
  59. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  60. package/dist-cjs/commands/ListWebACLsCommand.js +18 -41
  61. package/dist-cjs/commands/ListXssMatchSetsCommand.js +18 -41
  62. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +18 -41
  63. package/dist-cjs/commands/PutPermissionPolicyCommand.js +18 -41
  64. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  65. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  66. package/dist-cjs/commands/UpdateByteMatchSetCommand.js +18 -41
  67. package/dist-cjs/commands/UpdateGeoMatchSetCommand.js +18 -41
  68. package/dist-cjs/commands/UpdateIPSetCommand.js +18 -41
  69. package/dist-cjs/commands/UpdateRateBasedRuleCommand.js +18 -41
  70. package/dist-cjs/commands/UpdateRegexMatchSetCommand.js +18 -41
  71. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +18 -41
  72. package/dist-cjs/commands/UpdateRuleCommand.js +18 -41
  73. package/dist-cjs/commands/UpdateRuleGroupCommand.js +18 -41
  74. package/dist-cjs/commands/UpdateSizeConstraintSetCommand.js +18 -41
  75. package/dist-cjs/commands/UpdateSqlInjectionMatchSetCommand.js +18 -41
  76. package/dist-cjs/commands/UpdateWebACLCommand.js +18 -41
  77. package/dist-cjs/commands/UpdateXssMatchSetCommand.js +18 -41
  78. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  79. package/dist-es/commands/CreateByteMatchSetCommand.js +18 -41
  80. package/dist-es/commands/CreateGeoMatchSetCommand.js +18 -41
  81. package/dist-es/commands/CreateIPSetCommand.js +18 -41
  82. package/dist-es/commands/CreateRateBasedRuleCommand.js +18 -41
  83. package/dist-es/commands/CreateRegexMatchSetCommand.js +18 -41
  84. package/dist-es/commands/CreateRegexPatternSetCommand.js +18 -41
  85. package/dist-es/commands/CreateRuleCommand.js +18 -41
  86. package/dist-es/commands/CreateRuleGroupCommand.js +18 -41
  87. package/dist-es/commands/CreateSizeConstraintSetCommand.js +18 -41
  88. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +18 -41
  89. package/dist-es/commands/CreateWebACLCommand.js +18 -41
  90. package/dist-es/commands/CreateWebACLMigrationStackCommand.js +18 -41
  91. package/dist-es/commands/CreateXssMatchSetCommand.js +18 -41
  92. package/dist-es/commands/DeleteByteMatchSetCommand.js +18 -41
  93. package/dist-es/commands/DeleteGeoMatchSetCommand.js +18 -41
  94. package/dist-es/commands/DeleteIPSetCommand.js +18 -41
  95. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +18 -41
  96. package/dist-es/commands/DeletePermissionPolicyCommand.js +18 -41
  97. package/dist-es/commands/DeleteRateBasedRuleCommand.js +18 -41
  98. package/dist-es/commands/DeleteRegexMatchSetCommand.js +18 -41
  99. package/dist-es/commands/DeleteRegexPatternSetCommand.js +18 -41
  100. package/dist-es/commands/DeleteRuleCommand.js +18 -41
  101. package/dist-es/commands/DeleteRuleGroupCommand.js +18 -41
  102. package/dist-es/commands/DeleteSizeConstraintSetCommand.js +18 -41
  103. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +18 -41
  104. package/dist-es/commands/DeleteWebACLCommand.js +18 -41
  105. package/dist-es/commands/DeleteXssMatchSetCommand.js +18 -41
  106. package/dist-es/commands/GetByteMatchSetCommand.js +18 -41
  107. package/dist-es/commands/GetChangeTokenCommand.js +18 -41
  108. package/dist-es/commands/GetChangeTokenStatusCommand.js +18 -41
  109. package/dist-es/commands/GetGeoMatchSetCommand.js +18 -41
  110. package/dist-es/commands/GetIPSetCommand.js +18 -41
  111. package/dist-es/commands/GetLoggingConfigurationCommand.js +18 -41
  112. package/dist-es/commands/GetPermissionPolicyCommand.js +18 -41
  113. package/dist-es/commands/GetRateBasedRuleCommand.js +18 -41
  114. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +18 -41
  115. package/dist-es/commands/GetRegexMatchSetCommand.js +18 -41
  116. package/dist-es/commands/GetRegexPatternSetCommand.js +18 -41
  117. package/dist-es/commands/GetRuleCommand.js +18 -41
  118. package/dist-es/commands/GetRuleGroupCommand.js +18 -41
  119. package/dist-es/commands/GetSampledRequestsCommand.js +18 -41
  120. package/dist-es/commands/GetSizeConstraintSetCommand.js +18 -41
  121. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +18 -41
  122. package/dist-es/commands/GetWebACLCommand.js +18 -41
  123. package/dist-es/commands/GetXssMatchSetCommand.js +18 -41
  124. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +18 -41
  125. package/dist-es/commands/ListByteMatchSetsCommand.js +18 -41
  126. package/dist-es/commands/ListGeoMatchSetsCommand.js +18 -41
  127. package/dist-es/commands/ListIPSetsCommand.js +18 -41
  128. package/dist-es/commands/ListLoggingConfigurationsCommand.js +18 -41
  129. package/dist-es/commands/ListRateBasedRulesCommand.js +18 -41
  130. package/dist-es/commands/ListRegexMatchSetsCommand.js +18 -41
  131. package/dist-es/commands/ListRegexPatternSetsCommand.js +18 -41
  132. package/dist-es/commands/ListRuleGroupsCommand.js +18 -41
  133. package/dist-es/commands/ListRulesCommand.js +18 -41
  134. package/dist-es/commands/ListSizeConstraintSetsCommand.js +18 -41
  135. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +18 -41
  136. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +18 -41
  137. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  138. package/dist-es/commands/ListWebACLsCommand.js +18 -41
  139. package/dist-es/commands/ListXssMatchSetsCommand.js +18 -41
  140. package/dist-es/commands/PutLoggingConfigurationCommand.js +18 -41
  141. package/dist-es/commands/PutPermissionPolicyCommand.js +18 -41
  142. package/dist-es/commands/TagResourceCommand.js +18 -41
  143. package/dist-es/commands/UntagResourceCommand.js +18 -41
  144. package/dist-es/commands/UpdateByteMatchSetCommand.js +18 -41
  145. package/dist-es/commands/UpdateGeoMatchSetCommand.js +18 -41
  146. package/dist-es/commands/UpdateIPSetCommand.js +18 -41
  147. package/dist-es/commands/UpdateRateBasedRuleCommand.js +18 -41
  148. package/dist-es/commands/UpdateRegexMatchSetCommand.js +18 -41
  149. package/dist-es/commands/UpdateRegexPatternSetCommand.js +18 -41
  150. package/dist-es/commands/UpdateRuleCommand.js +18 -41
  151. package/dist-es/commands/UpdateRuleGroupCommand.js +18 -41
  152. package/dist-es/commands/UpdateSizeConstraintSetCommand.js +18 -41
  153. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +18 -41
  154. package/dist-es/commands/UpdateWebACLCommand.js +18 -41
  155. package/dist-es/commands/UpdateXssMatchSetCommand.js +18 -41
  156. package/dist-es/endpoint/EndpointParameters.js +6 -0
  157. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +6 -21
  158. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +6 -21
  159. package/dist-types/commands/CreateIPSetCommand.d.ts +6 -21
  160. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +6 -21
  161. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +6 -21
  162. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +6 -21
  163. package/dist-types/commands/CreateRuleCommand.d.ts +6 -21
  164. package/dist-types/commands/CreateRuleGroupCommand.d.ts +6 -21
  165. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +6 -21
  166. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +6 -21
  167. package/dist-types/commands/CreateWebACLCommand.d.ts +6 -21
  168. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +6 -21
  169. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +6 -21
  170. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -21
  171. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +6 -21
  172. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -21
  173. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +6 -21
  174. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +6 -21
  175. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +6 -21
  176. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +6 -21
  177. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -21
  178. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -21
  179. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -21
  180. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -21
  181. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -21
  182. package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -21
  183. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -21
  184. package/dist-types/commands/GetByteMatchSetCommand.d.ts +6 -21
  185. package/dist-types/commands/GetChangeTokenCommand.d.ts +6 -21
  186. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +6 -21
  187. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +6 -21
  188. package/dist-types/commands/GetIPSetCommand.d.ts +6 -21
  189. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +6 -21
  190. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +6 -21
  191. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +6 -21
  192. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +6 -21
  193. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +6 -21
  194. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +6 -21
  195. package/dist-types/commands/GetRuleCommand.d.ts +6 -21
  196. package/dist-types/commands/GetRuleGroupCommand.d.ts +6 -21
  197. package/dist-types/commands/GetSampledRequestsCommand.d.ts +6 -21
  198. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +6 -21
  199. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +6 -21
  200. package/dist-types/commands/GetWebACLCommand.d.ts +6 -21
  201. package/dist-types/commands/GetXssMatchSetCommand.d.ts +6 -21
  202. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +6 -21
  203. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +6 -21
  204. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +6 -21
  205. package/dist-types/commands/ListIPSetsCommand.d.ts +6 -21
  206. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +6 -21
  207. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +6 -21
  208. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +6 -21
  209. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +6 -21
  210. package/dist-types/commands/ListRuleGroupsCommand.d.ts +6 -21
  211. package/dist-types/commands/ListRulesCommand.d.ts +6 -21
  212. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +6 -21
  213. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +6 -21
  214. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +6 -21
  215. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  216. package/dist-types/commands/ListWebACLsCommand.d.ts +6 -21
  217. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +6 -21
  218. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +6 -21
  219. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +6 -21
  220. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  221. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  222. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +6 -21
  223. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +6 -21
  224. package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -21
  225. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +6 -21
  226. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +6 -21
  227. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +6 -21
  228. package/dist-types/commands/UpdateRuleCommand.d.ts +6 -21
  229. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +6 -21
  230. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +6 -21
  231. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +6 -21
  232. package/dist-types/commands/UpdateWebACLCommand.d.ts +6 -21
  233. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +6 -21
  234. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  235. package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +14 -23
  237. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +14 -23
  238. package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +14 -23
  239. package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +14 -23
  240. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +12 -24
  241. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +14 -23
  242. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +14 -23
  243. package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +12 -24
  244. package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +14 -23
  246. package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +12 -24
  247. package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +14 -23
  248. package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +14 -23
  250. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +14 -23
  251. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +12 -24
  252. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +12 -24
  253. package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +14 -23
  254. package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +14 -23
  255. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +12 -24
  256. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +14 -23
  257. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +14 -23
  258. package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +12 -24
  259. package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +12 -24
  260. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +14 -23
  261. package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +14 -23
  262. package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +14 -23
  263. package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +14 -23
  264. package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +12 -24
  265. package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +14 -23
  266. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +14 -23
  267. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +12 -24
  268. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +14 -23
  270. package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +12 -24
  271. package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +14 -23
  273. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +12 -23
  274. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +14 -23
  275. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +12 -24
  277. package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +12 -24
  278. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +14 -23
  279. package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +12 -24
  281. package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +14 -23
  282. package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +14 -23
  283. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +14 -23
  284. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +12 -24
  285. package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +14 -23
  286. package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +14 -23
  287. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +12 -24
  288. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +14 -23
  290. package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +12 -24
  291. package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +12 -24
  292. package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +12 -24
  293. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  294. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +14 -23
  295. package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +14 -23
  296. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +12 -24
  297. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +14 -23
  298. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  299. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  300. package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +14 -23
  301. package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +14 -23
  303. package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +14 -23
  304. package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +14 -23
  305. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +12 -24
  306. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +14 -23
  307. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +14 -23
  308. package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +14 -23
  311. package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  313. package/package.json +10 -10
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateRuleGroupCommand extends smithy_client_1.Command {
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
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateRuleGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFClient";
29
- const commandName = "UpdateRuleGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20150824",
38
- operation: "UpdateRuleGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateRuleGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateRuleGroupCommand)(output, context);
49
- }
10
+ class UpdateRuleGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20150824", "UpdateRuleGroup", {})
22
+ .n("WAFClient", "UpdateRuleGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateRuleGroupCommand)
25
+ .de(Aws_json1_1_1.de_UpdateRuleGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateRuleGroupCommand = UpdateRuleGroupCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateSizeConstraintSetCommand extends smithy_client_1.Command {
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
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSizeConstraintSetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFClient";
29
- const commandName = "UpdateSizeConstraintSetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20150824",
38
- operation: "UpdateSizeConstraintSet",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateSizeConstraintSetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateSizeConstraintSetCommand)(output, context);
49
- }
10
+ class UpdateSizeConstraintSetCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20150824", "UpdateSizeConstraintSet", {})
22
+ .n("WAFClient", "UpdateSizeConstraintSetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateSizeConstraintSetCommand)
25
+ .de(Aws_json1_1_1.de_UpdateSizeConstraintSetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateSizeConstraintSetCommand = UpdateSizeConstraintSetCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateSqlInjectionMatchSetCommand extends smithy_client_1.Command {
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
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateSqlInjectionMatchSetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFClient";
29
- const commandName = "UpdateSqlInjectionMatchSetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20150824",
38
- operation: "UpdateSqlInjectionMatchSet",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateSqlInjectionMatchSetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateSqlInjectionMatchSetCommand)(output, context);
49
- }
10
+ class UpdateSqlInjectionMatchSetCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20150824", "UpdateSqlInjectionMatchSet", {})
22
+ .n("WAFClient", "UpdateSqlInjectionMatchSetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateSqlInjectionMatchSetCommand)
25
+ .de(Aws_json1_1_1.de_UpdateSqlInjectionMatchSetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateSqlInjectionMatchSetCommand = UpdateSqlInjectionMatchSetCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateWebACLCommand extends smithy_client_1.Command {
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
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateWebACLCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFClient";
29
- const commandName = "UpdateWebACLCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20150824",
38
- operation: "UpdateWebACL",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateWebACLCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateWebACLCommand)(output, context);
49
- }
10
+ class UpdateWebACLCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20150824", "UpdateWebACL", {})
22
+ .n("WAFClient", "UpdateWebACLCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateWebACLCommand)
25
+ .de(Aws_json1_1_1.de_UpdateWebACLCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateWebACLCommand = UpdateWebACLCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateXssMatchSetCommand extends smithy_client_1.Command {
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
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateXssMatchSetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFClient";
29
- const commandName = "UpdateXssMatchSetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20150824",
38
- operation: "UpdateXssMatchSet",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_UpdateXssMatchSetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateXssMatchSetCommand)(output, context);
49
- }
10
+ class UpdateXssMatchSetCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20150824", "UpdateXssMatchSet", {})
22
+ .n("WAFClient", "UpdateXssMatchSetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateXssMatchSetCommand)
25
+ .de(Aws_json1_1_1.de_UpdateXssMatchSetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateXssMatchSetCommand = UpdateXssMatchSetCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateByteMatchSetCommand, se_CreateByteMatchSetCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateByteMatchSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateByteMatchSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFClient";
26
- const commandName = "CreateByteMatchSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20150824",
35
- operation: "CreateByteMatchSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateByteMatchSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateByteMatchSetCommand(output, context);
46
- }
7
+ export class CreateByteMatchSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSWAF_20150824", "CreateByteMatchSet", {})
19
+ .n("WAFClient", "CreateByteMatchSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateByteMatchSetCommand)
22
+ .de(de_CreateByteMatchSetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateGeoMatchSetCommand, se_CreateGeoMatchSetCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateGeoMatchSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateGeoMatchSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFClient";
26
- const commandName = "CreateGeoMatchSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20150824",
35
- operation: "CreateGeoMatchSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateGeoMatchSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateGeoMatchSetCommand(output, context);
46
- }
7
+ export class CreateGeoMatchSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSWAF_20150824", "CreateGeoMatchSet", {})
19
+ .n("WAFClient", "CreateGeoMatchSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateGeoMatchSetCommand)
22
+ .de(de_CreateGeoMatchSetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateIPSetCommand, se_CreateIPSetCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateIPSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateIPSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFClient";
26
- const commandName = "CreateIPSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20150824",
35
- operation: "CreateIPSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateIPSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateIPSetCommand(output, context);
46
- }
7
+ export class CreateIPSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSWAF_20150824", "CreateIPSet", {})
19
+ .n("WAFClient", "CreateIPSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateIPSetCommand)
22
+ .de(de_CreateIPSetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateRateBasedRuleCommand, se_CreateRateBasedRuleCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateRateBasedRuleCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateRateBasedRuleCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFClient";
26
- const commandName = "CreateRateBasedRuleCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20150824",
35
- operation: "CreateRateBasedRule",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateRateBasedRuleCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateRateBasedRuleCommand(output, context);
46
- }
7
+ export class CreateRateBasedRuleCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AWSWAF_20150824", "CreateRateBasedRule", {})
19
+ .n("WAFClient", "CreateRateBasedRuleCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateRateBasedRuleCommand)
22
+ .de(de_CreateRateBasedRuleCommand)
23
+ .build() {
47
24
  }