@aws-sdk/client-waf 3.1045.0 → 3.1047.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 (266) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +170 -171
  5. package/dist-cjs/models/WAFServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +18 -22
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/WAF.js +1 -1
  10. package/dist-es/WAFClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/CreateByteMatchSetCommand.js +2 -2
  13. package/dist-es/commands/CreateGeoMatchSetCommand.js +2 -2
  14. package/dist-es/commands/CreateIPSetCommand.js +2 -2
  15. package/dist-es/commands/CreateRateBasedRuleCommand.js +2 -2
  16. package/dist-es/commands/CreateRegexMatchSetCommand.js +2 -2
  17. package/dist-es/commands/CreateRegexPatternSetCommand.js +2 -2
  18. package/dist-es/commands/CreateRuleCommand.js +2 -2
  19. package/dist-es/commands/CreateRuleGroupCommand.js +2 -2
  20. package/dist-es/commands/CreateSizeConstraintSetCommand.js +2 -2
  21. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +2 -2
  22. package/dist-es/commands/CreateWebACLCommand.js +2 -2
  23. package/dist-es/commands/CreateWebACLMigrationStackCommand.js +2 -2
  24. package/dist-es/commands/CreateXssMatchSetCommand.js +2 -2
  25. package/dist-es/commands/DeleteByteMatchSetCommand.js +2 -2
  26. package/dist-es/commands/DeleteGeoMatchSetCommand.js +2 -2
  27. package/dist-es/commands/DeleteIPSetCommand.js +2 -2
  28. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +2 -2
  29. package/dist-es/commands/DeletePermissionPolicyCommand.js +2 -2
  30. package/dist-es/commands/DeleteRateBasedRuleCommand.js +2 -2
  31. package/dist-es/commands/DeleteRegexMatchSetCommand.js +2 -2
  32. package/dist-es/commands/DeleteRegexPatternSetCommand.js +2 -2
  33. package/dist-es/commands/DeleteRuleCommand.js +2 -2
  34. package/dist-es/commands/DeleteRuleGroupCommand.js +2 -2
  35. package/dist-es/commands/DeleteSizeConstraintSetCommand.js +2 -2
  36. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +2 -2
  37. package/dist-es/commands/DeleteWebACLCommand.js +2 -2
  38. package/dist-es/commands/DeleteXssMatchSetCommand.js +2 -2
  39. package/dist-es/commands/GetByteMatchSetCommand.js +2 -2
  40. package/dist-es/commands/GetChangeTokenCommand.js +2 -2
  41. package/dist-es/commands/GetChangeTokenStatusCommand.js +2 -2
  42. package/dist-es/commands/GetGeoMatchSetCommand.js +2 -2
  43. package/dist-es/commands/GetIPSetCommand.js +2 -2
  44. package/dist-es/commands/GetLoggingConfigurationCommand.js +2 -2
  45. package/dist-es/commands/GetPermissionPolicyCommand.js +2 -2
  46. package/dist-es/commands/GetRateBasedRuleCommand.js +2 -2
  47. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +2 -2
  48. package/dist-es/commands/GetRegexMatchSetCommand.js +2 -2
  49. package/dist-es/commands/GetRegexPatternSetCommand.js +2 -2
  50. package/dist-es/commands/GetRuleCommand.js +2 -2
  51. package/dist-es/commands/GetRuleGroupCommand.js +2 -2
  52. package/dist-es/commands/GetSampledRequestsCommand.js +2 -2
  53. package/dist-es/commands/GetSizeConstraintSetCommand.js +2 -2
  54. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +2 -2
  55. package/dist-es/commands/GetWebACLCommand.js +2 -2
  56. package/dist-es/commands/GetXssMatchSetCommand.js +2 -2
  57. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +2 -2
  58. package/dist-es/commands/ListByteMatchSetsCommand.js +2 -2
  59. package/dist-es/commands/ListGeoMatchSetsCommand.js +2 -2
  60. package/dist-es/commands/ListIPSetsCommand.js +2 -2
  61. package/dist-es/commands/ListLoggingConfigurationsCommand.js +2 -2
  62. package/dist-es/commands/ListRateBasedRulesCommand.js +2 -2
  63. package/dist-es/commands/ListRegexMatchSetsCommand.js +2 -2
  64. package/dist-es/commands/ListRegexPatternSetsCommand.js +2 -2
  65. package/dist-es/commands/ListRuleGroupsCommand.js +2 -2
  66. package/dist-es/commands/ListRulesCommand.js +2 -2
  67. package/dist-es/commands/ListSizeConstraintSetsCommand.js +2 -2
  68. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +2 -2
  69. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +2 -2
  70. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  71. package/dist-es/commands/ListWebACLsCommand.js +2 -2
  72. package/dist-es/commands/ListXssMatchSetsCommand.js +2 -2
  73. package/dist-es/commands/PutLoggingConfigurationCommand.js +2 -2
  74. package/dist-es/commands/PutPermissionPolicyCommand.js +2 -2
  75. package/dist-es/commands/TagResourceCommand.js +2 -2
  76. package/dist-es/commands/UntagResourceCommand.js +2 -2
  77. package/dist-es/commands/UpdateByteMatchSetCommand.js +2 -2
  78. package/dist-es/commands/UpdateGeoMatchSetCommand.js +2 -2
  79. package/dist-es/commands/UpdateIPSetCommand.js +2 -2
  80. package/dist-es/commands/UpdateRateBasedRuleCommand.js +2 -2
  81. package/dist-es/commands/UpdateRegexMatchSetCommand.js +2 -2
  82. package/dist-es/commands/UpdateRegexPatternSetCommand.js +2 -2
  83. package/dist-es/commands/UpdateRuleCommand.js +2 -2
  84. package/dist-es/commands/UpdateRuleGroupCommand.js +2 -2
  85. package/dist-es/commands/UpdateSizeConstraintSetCommand.js +2 -2
  86. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +2 -2
  87. package/dist-es/commands/UpdateWebACLCommand.js +2 -2
  88. package/dist-es/commands/UpdateXssMatchSetCommand.js +2 -2
  89. package/dist-es/endpoint/bdd.js +1 -1
  90. package/dist-es/endpoint/endpointResolver.js +1 -1
  91. package/dist-es/models/WAFServiceException.js +1 -1
  92. package/dist-es/runtimeConfig.browser.js +4 -6
  93. package/dist-es/runtimeConfig.js +4 -8
  94. package/dist-es/runtimeConfig.shared.js +3 -4
  95. package/dist-es/runtimeExtensions.js +2 -2
  96. package/dist-types/WAFClient.d.ts +5 -5
  97. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +6 -4
  98. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +6 -4
  99. package/dist-types/commands/CreateIPSetCommand.d.ts +6 -4
  100. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +6 -4
  101. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +6 -4
  102. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +6 -4
  103. package/dist-types/commands/CreateRuleCommand.d.ts +6 -4
  104. package/dist-types/commands/CreateRuleGroupCommand.d.ts +6 -4
  105. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +6 -4
  106. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +6 -4
  107. package/dist-types/commands/CreateWebACLCommand.d.ts +6 -4
  108. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +6 -4
  109. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +6 -4
  110. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -4
  111. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +6 -4
  112. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -4
  113. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +6 -4
  114. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +6 -4
  115. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +6 -4
  116. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +6 -4
  117. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -4
  118. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -4
  119. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -4
  120. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -4
  121. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -4
  122. package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -4
  123. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -4
  124. package/dist-types/commands/GetByteMatchSetCommand.d.ts +6 -4
  125. package/dist-types/commands/GetChangeTokenCommand.d.ts +6 -4
  126. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +6 -4
  127. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +6 -4
  128. package/dist-types/commands/GetIPSetCommand.d.ts +6 -4
  129. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +6 -4
  130. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +6 -4
  131. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +6 -4
  132. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +6 -4
  133. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +6 -4
  134. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +6 -4
  135. package/dist-types/commands/GetRuleCommand.d.ts +6 -4
  136. package/dist-types/commands/GetRuleGroupCommand.d.ts +6 -4
  137. package/dist-types/commands/GetSampledRequestsCommand.d.ts +6 -4
  138. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +6 -4
  139. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +6 -4
  140. package/dist-types/commands/GetWebACLCommand.d.ts +6 -4
  141. package/dist-types/commands/GetXssMatchSetCommand.d.ts +6 -4
  142. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +6 -4
  143. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +6 -4
  144. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +6 -4
  145. package/dist-types/commands/ListIPSetsCommand.d.ts +6 -4
  146. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +6 -4
  147. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +6 -4
  148. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +6 -4
  149. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +6 -4
  150. package/dist-types/commands/ListRuleGroupsCommand.d.ts +6 -4
  151. package/dist-types/commands/ListRulesCommand.d.ts +6 -4
  152. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +6 -4
  153. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +6 -4
  154. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +6 -4
  155. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  156. package/dist-types/commands/ListWebACLsCommand.d.ts +6 -4
  157. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +6 -4
  158. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +6 -4
  159. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +6 -4
  160. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  161. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  162. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +6 -4
  163. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +6 -4
  164. package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -4
  165. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +6 -4
  166. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +6 -4
  167. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +6 -4
  168. package/dist-types/commands/UpdateRuleCommand.d.ts +6 -4
  169. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +6 -4
  170. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +6 -4
  171. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +6 -4
  172. package/dist-types/commands/UpdateWebACLCommand.d.ts +6 -4
  173. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +6 -4
  174. package/dist-types/endpoint/bdd.d.ts +1 -1
  175. package/dist-types/extensionConfiguration.d.ts +1 -1
  176. package/dist-types/models/WAFServiceException.d.ts +1 -1
  177. package/dist-types/models/errors.d.ts +1 -1
  178. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  179. package/dist-types/runtimeConfig.d.ts +2 -2
  180. package/dist-types/runtimeConfig.native.d.ts +2 -2
  181. package/dist-types/ts3.4/WAFClient.d.ts +8 -14
  182. package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +6 -4
  183. package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +6 -4
  184. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +6 -4
  185. package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +6 -4
  186. package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +6 -4
  187. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +6 -4
  188. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +6 -4
  189. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +6 -4
  190. package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +6 -4
  191. package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +6 -4
  192. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +6 -4
  193. package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +6 -4
  194. package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +6 -4
  195. package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +6 -4
  196. package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +6 -4
  197. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +6 -4
  198. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +6 -4
  199. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +6 -4
  200. package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +6 -4
  201. package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +6 -4
  202. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +6 -4
  203. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +6 -4
  204. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +6 -4
  205. package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +6 -4
  206. package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -4
  207. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +6 -4
  208. package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +6 -4
  209. package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +6 -4
  210. package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +6 -4
  211. package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +6 -4
  212. package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +6 -4
  213. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +6 -8
  214. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +6 -4
  215. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +6 -4
  216. package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +6 -4
  217. package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +6 -4
  218. package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +6 -4
  219. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +6 -4
  220. package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +6 -4
  221. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +6 -4
  222. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +6 -4
  223. package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +6 -4
  224. package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +6 -4
  225. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +6 -8
  226. package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +6 -4
  227. package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +6 -4
  228. package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +6 -4
  229. package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +6 -4
  230. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +6 -4
  231. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +6 -4
  232. package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +6 -4
  233. package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +6 -4
  234. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +6 -4
  235. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +6 -4
  236. package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +6 -6
  237. package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +6 -4
  238. package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +6 -4
  239. package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +6 -4
  240. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  241. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +6 -4
  242. package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +6 -4
  243. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +6 -4
  244. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +6 -4
  245. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  246. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  247. package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +6 -4
  248. package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +6 -4
  249. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +6 -4
  250. package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +6 -4
  251. package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +6 -4
  252. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +6 -4
  253. package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +6 -4
  254. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +6 -4
  255. package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +6 -4
  256. package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +6 -4
  257. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +6 -4
  258. package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +6 -4
  259. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  260. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  261. package/dist-types/ts3.4/models/WAFServiceException.d.ts +1 -1
  262. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  263. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  264. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  265. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  266. package/package.json +13 -34
package/dist-cjs/index.js CHANGED
@@ -4,17 +4,16 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
- var middlewareContentLength = require('@smithy/middleware-content-length');
11
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
- var middlewareRetry = require('@smithy/middleware-retry');
13
- var smithyClient = require('@smithy/smithy-client');
14
14
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
- var protocolHttp = require('@smithy/protocol-http');
18
17
  var schemas_0 = require('./schemas/schemas_0');
19
18
  var errors = require('./models/errors');
20
19
  var WAFServiceException = require('./models/WAFServiceException');
@@ -73,12 +72,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
73
72
  };
74
73
 
75
74
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
76
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
77
76
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
78
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
79
78
  };
80
79
 
81
- class WAFClient extends smithyClient.Client {
80
+ class WAFClient extends client.Client {
82
81
  config;
83
82
  constructor(...[configuration]) {
84
83
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -86,17 +85,17 @@ class WAFClient extends smithyClient.Client {
86
85
  this.initConfig = _config_0;
87
86
  const _config_1 = resolveClientEndpointParameters(_config_0);
88
87
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
89
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
90
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
88
+ const _config_3 = retry.resolveRetryConfig(_config_2);
89
+ const _config_4 = config.resolveRegionConfig(_config_3);
91
90
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
92
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
91
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
93
92
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
94
93
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
95
94
  this.config = _config_8;
96
95
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
97
96
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
98
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
99
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
97
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
98
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
100
99
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
101
100
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
102
101
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -113,11 +112,11 @@ class WAFClient extends smithyClient.Client {
113
112
  }
114
113
  }
115
114
 
116
- class CreateByteMatchSetCommand extends smithyClient.Command
115
+ class CreateByteMatchSetCommand extends client.Command
117
116
  .classBuilder()
118
117
  .ep(commonParams)
119
118
  .m(function (Command, cs, config, o) {
120
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
119
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
121
120
  })
122
121
  .s("AWSWAF_20150824", "CreateByteMatchSet", {})
123
122
  .n("WAFClient", "CreateByteMatchSetCommand")
@@ -125,11 +124,11 @@ class CreateByteMatchSetCommand extends smithyClient.Command
125
124
  .build() {
126
125
  }
127
126
 
128
- class CreateGeoMatchSetCommand extends smithyClient.Command
127
+ class CreateGeoMatchSetCommand extends client.Command
129
128
  .classBuilder()
130
129
  .ep(commonParams)
131
130
  .m(function (Command, cs, config, o) {
132
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
131
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
133
132
  })
134
133
  .s("AWSWAF_20150824", "CreateGeoMatchSet", {})
135
134
  .n("WAFClient", "CreateGeoMatchSetCommand")
@@ -137,11 +136,11 @@ class CreateGeoMatchSetCommand extends smithyClient.Command
137
136
  .build() {
138
137
  }
139
138
 
140
- class CreateIPSetCommand extends smithyClient.Command
139
+ class CreateIPSetCommand extends client.Command
141
140
  .classBuilder()
142
141
  .ep(commonParams)
143
142
  .m(function (Command, cs, config, o) {
144
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
143
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
145
144
  })
146
145
  .s("AWSWAF_20150824", "CreateIPSet", {})
147
146
  .n("WAFClient", "CreateIPSetCommand")
@@ -149,11 +148,11 @@ class CreateIPSetCommand extends smithyClient.Command
149
148
  .build() {
150
149
  }
151
150
 
152
- class CreateRateBasedRuleCommand extends smithyClient.Command
151
+ class CreateRateBasedRuleCommand extends client.Command
153
152
  .classBuilder()
154
153
  .ep(commonParams)
155
154
  .m(function (Command, cs, config, o) {
156
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
157
156
  })
158
157
  .s("AWSWAF_20150824", "CreateRateBasedRule", {})
159
158
  .n("WAFClient", "CreateRateBasedRuleCommand")
@@ -161,11 +160,11 @@ class CreateRateBasedRuleCommand extends smithyClient.Command
161
160
  .build() {
162
161
  }
163
162
 
164
- class CreateRegexMatchSetCommand extends smithyClient.Command
163
+ class CreateRegexMatchSetCommand extends client.Command
165
164
  .classBuilder()
166
165
  .ep(commonParams)
167
166
  .m(function (Command, cs, config, o) {
168
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
167
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
169
168
  })
170
169
  .s("AWSWAF_20150824", "CreateRegexMatchSet", {})
171
170
  .n("WAFClient", "CreateRegexMatchSetCommand")
@@ -173,11 +172,11 @@ class CreateRegexMatchSetCommand extends smithyClient.Command
173
172
  .build() {
174
173
  }
175
174
 
176
- class CreateRegexPatternSetCommand extends smithyClient.Command
175
+ class CreateRegexPatternSetCommand extends client.Command
177
176
  .classBuilder()
178
177
  .ep(commonParams)
179
178
  .m(function (Command, cs, config, o) {
180
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
179
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
181
180
  })
182
181
  .s("AWSWAF_20150824", "CreateRegexPatternSet", {})
183
182
  .n("WAFClient", "CreateRegexPatternSetCommand")
@@ -185,11 +184,11 @@ class CreateRegexPatternSetCommand extends smithyClient.Command
185
184
  .build() {
186
185
  }
187
186
 
188
- class CreateRuleCommand extends smithyClient.Command
187
+ class CreateRuleCommand extends client.Command
189
188
  .classBuilder()
190
189
  .ep(commonParams)
191
190
  .m(function (Command, cs, config, o) {
192
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
191
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
193
192
  })
194
193
  .s("AWSWAF_20150824", "CreateRule", {})
195
194
  .n("WAFClient", "CreateRuleCommand")
@@ -197,11 +196,11 @@ class CreateRuleCommand extends smithyClient.Command
197
196
  .build() {
198
197
  }
199
198
 
200
- class CreateRuleGroupCommand extends smithyClient.Command
199
+ class CreateRuleGroupCommand extends client.Command
201
200
  .classBuilder()
202
201
  .ep(commonParams)
203
202
  .m(function (Command, cs, config, o) {
204
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
203
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
205
204
  })
206
205
  .s("AWSWAF_20150824", "CreateRuleGroup", {})
207
206
  .n("WAFClient", "CreateRuleGroupCommand")
@@ -209,11 +208,11 @@ class CreateRuleGroupCommand extends smithyClient.Command
209
208
  .build() {
210
209
  }
211
210
 
212
- class CreateSizeConstraintSetCommand extends smithyClient.Command
211
+ class CreateSizeConstraintSetCommand extends client.Command
213
212
  .classBuilder()
214
213
  .ep(commonParams)
215
214
  .m(function (Command, cs, config, o) {
216
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
215
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
217
216
  })
218
217
  .s("AWSWAF_20150824", "CreateSizeConstraintSet", {})
219
218
  .n("WAFClient", "CreateSizeConstraintSetCommand")
@@ -221,11 +220,11 @@ class CreateSizeConstraintSetCommand extends smithyClient.Command
221
220
  .build() {
222
221
  }
223
222
 
224
- class CreateSqlInjectionMatchSetCommand extends smithyClient.Command
223
+ class CreateSqlInjectionMatchSetCommand extends client.Command
225
224
  .classBuilder()
226
225
  .ep(commonParams)
227
226
  .m(function (Command, cs, config, o) {
228
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
227
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
229
228
  })
230
229
  .s("AWSWAF_20150824", "CreateSqlInjectionMatchSet", {})
231
230
  .n("WAFClient", "CreateSqlInjectionMatchSetCommand")
@@ -233,11 +232,11 @@ class CreateSqlInjectionMatchSetCommand extends smithyClient.Command
233
232
  .build() {
234
233
  }
235
234
 
236
- class CreateWebACLCommand extends smithyClient.Command
235
+ class CreateWebACLCommand extends client.Command
237
236
  .classBuilder()
238
237
  .ep(commonParams)
239
238
  .m(function (Command, cs, config, o) {
240
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
239
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
241
240
  })
242
241
  .s("AWSWAF_20150824", "CreateWebACL", {})
243
242
  .n("WAFClient", "CreateWebACLCommand")
@@ -245,11 +244,11 @@ class CreateWebACLCommand extends smithyClient.Command
245
244
  .build() {
246
245
  }
247
246
 
248
- class CreateWebACLMigrationStackCommand extends smithyClient.Command
247
+ class CreateWebACLMigrationStackCommand extends client.Command
249
248
  .classBuilder()
250
249
  .ep(commonParams)
251
250
  .m(function (Command, cs, config, o) {
252
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
251
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
253
252
  })
254
253
  .s("AWSWAF_20150824", "CreateWebACLMigrationStack", {})
255
254
  .n("WAFClient", "CreateWebACLMigrationStackCommand")
@@ -257,11 +256,11 @@ class CreateWebACLMigrationStackCommand extends smithyClient.Command
257
256
  .build() {
258
257
  }
259
258
 
260
- class CreateXssMatchSetCommand extends smithyClient.Command
259
+ class CreateXssMatchSetCommand extends client.Command
261
260
  .classBuilder()
262
261
  .ep(commonParams)
263
262
  .m(function (Command, cs, config, o) {
264
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
263
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
265
264
  })
266
265
  .s("AWSWAF_20150824", "CreateXssMatchSet", {})
267
266
  .n("WAFClient", "CreateXssMatchSetCommand")
@@ -269,11 +268,11 @@ class CreateXssMatchSetCommand extends smithyClient.Command
269
268
  .build() {
270
269
  }
271
270
 
272
- class DeleteByteMatchSetCommand extends smithyClient.Command
271
+ class DeleteByteMatchSetCommand extends client.Command
273
272
  .classBuilder()
274
273
  .ep(commonParams)
275
274
  .m(function (Command, cs, config, o) {
276
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
275
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
277
276
  })
278
277
  .s("AWSWAF_20150824", "DeleteByteMatchSet", {})
279
278
  .n("WAFClient", "DeleteByteMatchSetCommand")
@@ -281,11 +280,11 @@ class DeleteByteMatchSetCommand extends smithyClient.Command
281
280
  .build() {
282
281
  }
283
282
 
284
- class DeleteGeoMatchSetCommand extends smithyClient.Command
283
+ class DeleteGeoMatchSetCommand extends client.Command
285
284
  .classBuilder()
286
285
  .ep(commonParams)
287
286
  .m(function (Command, cs, config, o) {
288
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
287
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
289
288
  })
290
289
  .s("AWSWAF_20150824", "DeleteGeoMatchSet", {})
291
290
  .n("WAFClient", "DeleteGeoMatchSetCommand")
@@ -293,11 +292,11 @@ class DeleteGeoMatchSetCommand extends smithyClient.Command
293
292
  .build() {
294
293
  }
295
294
 
296
- class DeleteIPSetCommand extends smithyClient.Command
295
+ class DeleteIPSetCommand extends client.Command
297
296
  .classBuilder()
298
297
  .ep(commonParams)
299
298
  .m(function (Command, cs, config, o) {
300
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
299
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
301
300
  })
302
301
  .s("AWSWAF_20150824", "DeleteIPSet", {})
303
302
  .n("WAFClient", "DeleteIPSetCommand")
@@ -305,11 +304,11 @@ class DeleteIPSetCommand extends smithyClient.Command
305
304
  .build() {
306
305
  }
307
306
 
308
- class DeleteLoggingConfigurationCommand extends smithyClient.Command
307
+ class DeleteLoggingConfigurationCommand extends client.Command
309
308
  .classBuilder()
310
309
  .ep(commonParams)
311
310
  .m(function (Command, cs, config, o) {
312
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
311
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
313
312
  })
314
313
  .s("AWSWAF_20150824", "DeleteLoggingConfiguration", {})
315
314
  .n("WAFClient", "DeleteLoggingConfigurationCommand")
@@ -317,11 +316,11 @@ class DeleteLoggingConfigurationCommand extends smithyClient.Command
317
316
  .build() {
318
317
  }
319
318
 
320
- class DeletePermissionPolicyCommand extends smithyClient.Command
319
+ class DeletePermissionPolicyCommand extends client.Command
321
320
  .classBuilder()
322
321
  .ep(commonParams)
323
322
  .m(function (Command, cs, config, o) {
324
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
323
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
325
324
  })
326
325
  .s("AWSWAF_20150824", "DeletePermissionPolicy", {})
327
326
  .n("WAFClient", "DeletePermissionPolicyCommand")
@@ -329,11 +328,11 @@ class DeletePermissionPolicyCommand extends smithyClient.Command
329
328
  .build() {
330
329
  }
331
330
 
332
- class DeleteRateBasedRuleCommand extends smithyClient.Command
331
+ class DeleteRateBasedRuleCommand extends client.Command
333
332
  .classBuilder()
334
333
  .ep(commonParams)
335
334
  .m(function (Command, cs, config, o) {
336
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
335
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
337
336
  })
338
337
  .s("AWSWAF_20150824", "DeleteRateBasedRule", {})
339
338
  .n("WAFClient", "DeleteRateBasedRuleCommand")
@@ -341,11 +340,11 @@ class DeleteRateBasedRuleCommand extends smithyClient.Command
341
340
  .build() {
342
341
  }
343
342
 
344
- class DeleteRegexMatchSetCommand extends smithyClient.Command
343
+ class DeleteRegexMatchSetCommand extends client.Command
345
344
  .classBuilder()
346
345
  .ep(commonParams)
347
346
  .m(function (Command, cs, config, o) {
348
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
347
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
349
348
  })
350
349
  .s("AWSWAF_20150824", "DeleteRegexMatchSet", {})
351
350
  .n("WAFClient", "DeleteRegexMatchSetCommand")
@@ -353,11 +352,11 @@ class DeleteRegexMatchSetCommand extends smithyClient.Command
353
352
  .build() {
354
353
  }
355
354
 
356
- class DeleteRegexPatternSetCommand extends smithyClient.Command
355
+ class DeleteRegexPatternSetCommand extends client.Command
357
356
  .classBuilder()
358
357
  .ep(commonParams)
359
358
  .m(function (Command, cs, config, o) {
360
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
359
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
361
360
  })
362
361
  .s("AWSWAF_20150824", "DeleteRegexPatternSet", {})
363
362
  .n("WAFClient", "DeleteRegexPatternSetCommand")
@@ -365,11 +364,11 @@ class DeleteRegexPatternSetCommand extends smithyClient.Command
365
364
  .build() {
366
365
  }
367
366
 
368
- class DeleteRuleCommand extends smithyClient.Command
367
+ class DeleteRuleCommand extends client.Command
369
368
  .classBuilder()
370
369
  .ep(commonParams)
371
370
  .m(function (Command, cs, config, o) {
372
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
371
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
373
372
  })
374
373
  .s("AWSWAF_20150824", "DeleteRule", {})
375
374
  .n("WAFClient", "DeleteRuleCommand")
@@ -377,11 +376,11 @@ class DeleteRuleCommand extends smithyClient.Command
377
376
  .build() {
378
377
  }
379
378
 
380
- class DeleteRuleGroupCommand extends smithyClient.Command
379
+ class DeleteRuleGroupCommand extends client.Command
381
380
  .classBuilder()
382
381
  .ep(commonParams)
383
382
  .m(function (Command, cs, config, o) {
384
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
383
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
385
384
  })
386
385
  .s("AWSWAF_20150824", "DeleteRuleGroup", {})
387
386
  .n("WAFClient", "DeleteRuleGroupCommand")
@@ -389,11 +388,11 @@ class DeleteRuleGroupCommand extends smithyClient.Command
389
388
  .build() {
390
389
  }
391
390
 
392
- class DeleteSizeConstraintSetCommand extends smithyClient.Command
391
+ class DeleteSizeConstraintSetCommand extends client.Command
393
392
  .classBuilder()
394
393
  .ep(commonParams)
395
394
  .m(function (Command, cs, config, o) {
396
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
395
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
397
396
  })
398
397
  .s("AWSWAF_20150824", "DeleteSizeConstraintSet", {})
399
398
  .n("WAFClient", "DeleteSizeConstraintSetCommand")
@@ -401,11 +400,11 @@ class DeleteSizeConstraintSetCommand extends smithyClient.Command
401
400
  .build() {
402
401
  }
403
402
 
404
- class DeleteSqlInjectionMatchSetCommand extends smithyClient.Command
403
+ class DeleteSqlInjectionMatchSetCommand extends client.Command
405
404
  .classBuilder()
406
405
  .ep(commonParams)
407
406
  .m(function (Command, cs, config, o) {
408
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
407
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
409
408
  })
410
409
  .s("AWSWAF_20150824", "DeleteSqlInjectionMatchSet", {})
411
410
  .n("WAFClient", "DeleteSqlInjectionMatchSetCommand")
@@ -413,11 +412,11 @@ class DeleteSqlInjectionMatchSetCommand extends smithyClient.Command
413
412
  .build() {
414
413
  }
415
414
 
416
- class DeleteWebACLCommand extends smithyClient.Command
415
+ class DeleteWebACLCommand extends client.Command
417
416
  .classBuilder()
418
417
  .ep(commonParams)
419
418
  .m(function (Command, cs, config, o) {
420
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
419
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
421
420
  })
422
421
  .s("AWSWAF_20150824", "DeleteWebACL", {})
423
422
  .n("WAFClient", "DeleteWebACLCommand")
@@ -425,11 +424,11 @@ class DeleteWebACLCommand extends smithyClient.Command
425
424
  .build() {
426
425
  }
427
426
 
428
- class DeleteXssMatchSetCommand extends smithyClient.Command
427
+ class DeleteXssMatchSetCommand extends client.Command
429
428
  .classBuilder()
430
429
  .ep(commonParams)
431
430
  .m(function (Command, cs, config, o) {
432
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
431
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
433
432
  })
434
433
  .s("AWSWAF_20150824", "DeleteXssMatchSet", {})
435
434
  .n("WAFClient", "DeleteXssMatchSetCommand")
@@ -437,11 +436,11 @@ class DeleteXssMatchSetCommand extends smithyClient.Command
437
436
  .build() {
438
437
  }
439
438
 
440
- class GetByteMatchSetCommand extends smithyClient.Command
439
+ class GetByteMatchSetCommand extends client.Command
441
440
  .classBuilder()
442
441
  .ep(commonParams)
443
442
  .m(function (Command, cs, config, o) {
444
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
443
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
445
444
  })
446
445
  .s("AWSWAF_20150824", "GetByteMatchSet", {})
447
446
  .n("WAFClient", "GetByteMatchSetCommand")
@@ -449,11 +448,11 @@ class GetByteMatchSetCommand extends smithyClient.Command
449
448
  .build() {
450
449
  }
451
450
 
452
- class GetChangeTokenCommand extends smithyClient.Command
451
+ class GetChangeTokenCommand extends client.Command
453
452
  .classBuilder()
454
453
  .ep(commonParams)
455
454
  .m(function (Command, cs, config, o) {
456
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
455
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
457
456
  })
458
457
  .s("AWSWAF_20150824", "GetChangeToken", {})
459
458
  .n("WAFClient", "GetChangeTokenCommand")
@@ -461,11 +460,11 @@ class GetChangeTokenCommand extends smithyClient.Command
461
460
  .build() {
462
461
  }
463
462
 
464
- class GetChangeTokenStatusCommand extends smithyClient.Command
463
+ class GetChangeTokenStatusCommand extends client.Command
465
464
  .classBuilder()
466
465
  .ep(commonParams)
467
466
  .m(function (Command, cs, config, o) {
468
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
467
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
469
468
  })
470
469
  .s("AWSWAF_20150824", "GetChangeTokenStatus", {})
471
470
  .n("WAFClient", "GetChangeTokenStatusCommand")
@@ -473,11 +472,11 @@ class GetChangeTokenStatusCommand extends smithyClient.Command
473
472
  .build() {
474
473
  }
475
474
 
476
- class GetGeoMatchSetCommand extends smithyClient.Command
475
+ class GetGeoMatchSetCommand extends client.Command
477
476
  .classBuilder()
478
477
  .ep(commonParams)
479
478
  .m(function (Command, cs, config, o) {
480
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
479
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
481
480
  })
482
481
  .s("AWSWAF_20150824", "GetGeoMatchSet", {})
483
482
  .n("WAFClient", "GetGeoMatchSetCommand")
@@ -485,11 +484,11 @@ class GetGeoMatchSetCommand extends smithyClient.Command
485
484
  .build() {
486
485
  }
487
486
 
488
- class GetIPSetCommand extends smithyClient.Command
487
+ class GetIPSetCommand extends client.Command
489
488
  .classBuilder()
490
489
  .ep(commonParams)
491
490
  .m(function (Command, cs, config, o) {
492
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
491
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
493
492
  })
494
493
  .s("AWSWAF_20150824", "GetIPSet", {})
495
494
  .n("WAFClient", "GetIPSetCommand")
@@ -497,11 +496,11 @@ class GetIPSetCommand extends smithyClient.Command
497
496
  .build() {
498
497
  }
499
498
 
500
- class GetLoggingConfigurationCommand extends smithyClient.Command
499
+ class GetLoggingConfigurationCommand extends client.Command
501
500
  .classBuilder()
502
501
  .ep(commonParams)
503
502
  .m(function (Command, cs, config, o) {
504
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
503
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
505
504
  })
506
505
  .s("AWSWAF_20150824", "GetLoggingConfiguration", {})
507
506
  .n("WAFClient", "GetLoggingConfigurationCommand")
@@ -509,11 +508,11 @@ class GetLoggingConfigurationCommand extends smithyClient.Command
509
508
  .build() {
510
509
  }
511
510
 
512
- class GetPermissionPolicyCommand extends smithyClient.Command
511
+ class GetPermissionPolicyCommand extends client.Command
513
512
  .classBuilder()
514
513
  .ep(commonParams)
515
514
  .m(function (Command, cs, config, o) {
516
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
515
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
517
516
  })
518
517
  .s("AWSWAF_20150824", "GetPermissionPolicy", {})
519
518
  .n("WAFClient", "GetPermissionPolicyCommand")
@@ -521,11 +520,11 @@ class GetPermissionPolicyCommand extends smithyClient.Command
521
520
  .build() {
522
521
  }
523
522
 
524
- class GetRateBasedRuleCommand extends smithyClient.Command
523
+ class GetRateBasedRuleCommand extends client.Command
525
524
  .classBuilder()
526
525
  .ep(commonParams)
527
526
  .m(function (Command, cs, config, o) {
528
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
527
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
529
528
  })
530
529
  .s("AWSWAF_20150824", "GetRateBasedRule", {})
531
530
  .n("WAFClient", "GetRateBasedRuleCommand")
@@ -533,11 +532,11 @@ class GetRateBasedRuleCommand extends smithyClient.Command
533
532
  .build() {
534
533
  }
535
534
 
536
- class GetRateBasedRuleManagedKeysCommand extends smithyClient.Command
535
+ class GetRateBasedRuleManagedKeysCommand extends client.Command
537
536
  .classBuilder()
538
537
  .ep(commonParams)
539
538
  .m(function (Command, cs, config, o) {
540
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
539
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
541
540
  })
542
541
  .s("AWSWAF_20150824", "GetRateBasedRuleManagedKeys", {})
543
542
  .n("WAFClient", "GetRateBasedRuleManagedKeysCommand")
@@ -545,11 +544,11 @@ class GetRateBasedRuleManagedKeysCommand extends smithyClient.Command
545
544
  .build() {
546
545
  }
547
546
 
548
- class GetRegexMatchSetCommand extends smithyClient.Command
547
+ class GetRegexMatchSetCommand extends client.Command
549
548
  .classBuilder()
550
549
  .ep(commonParams)
551
550
  .m(function (Command, cs, config, o) {
552
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
551
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
553
552
  })
554
553
  .s("AWSWAF_20150824", "GetRegexMatchSet", {})
555
554
  .n("WAFClient", "GetRegexMatchSetCommand")
@@ -557,11 +556,11 @@ class GetRegexMatchSetCommand extends smithyClient.Command
557
556
  .build() {
558
557
  }
559
558
 
560
- class GetRegexPatternSetCommand extends smithyClient.Command
559
+ class GetRegexPatternSetCommand extends client.Command
561
560
  .classBuilder()
562
561
  .ep(commonParams)
563
562
  .m(function (Command, cs, config, o) {
564
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
563
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
565
564
  })
566
565
  .s("AWSWAF_20150824", "GetRegexPatternSet", {})
567
566
  .n("WAFClient", "GetRegexPatternSetCommand")
@@ -569,11 +568,11 @@ class GetRegexPatternSetCommand extends smithyClient.Command
569
568
  .build() {
570
569
  }
571
570
 
572
- class GetRuleCommand extends smithyClient.Command
571
+ class GetRuleCommand extends client.Command
573
572
  .classBuilder()
574
573
  .ep(commonParams)
575
574
  .m(function (Command, cs, config, o) {
576
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
575
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
577
576
  })
578
577
  .s("AWSWAF_20150824", "GetRule", {})
579
578
  .n("WAFClient", "GetRuleCommand")
@@ -581,11 +580,11 @@ class GetRuleCommand extends smithyClient.Command
581
580
  .build() {
582
581
  }
583
582
 
584
- class GetRuleGroupCommand extends smithyClient.Command
583
+ class GetRuleGroupCommand extends client.Command
585
584
  .classBuilder()
586
585
  .ep(commonParams)
587
586
  .m(function (Command, cs, config, o) {
588
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
587
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
589
588
  })
590
589
  .s("AWSWAF_20150824", "GetRuleGroup", {})
591
590
  .n("WAFClient", "GetRuleGroupCommand")
@@ -593,11 +592,11 @@ class GetRuleGroupCommand extends smithyClient.Command
593
592
  .build() {
594
593
  }
595
594
 
596
- class GetSampledRequestsCommand extends smithyClient.Command
595
+ class GetSampledRequestsCommand extends client.Command
597
596
  .classBuilder()
598
597
  .ep(commonParams)
599
598
  .m(function (Command, cs, config, o) {
600
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
599
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
601
600
  })
602
601
  .s("AWSWAF_20150824", "GetSampledRequests", {})
603
602
  .n("WAFClient", "GetSampledRequestsCommand")
@@ -605,11 +604,11 @@ class GetSampledRequestsCommand extends smithyClient.Command
605
604
  .build() {
606
605
  }
607
606
 
608
- class GetSizeConstraintSetCommand extends smithyClient.Command
607
+ class GetSizeConstraintSetCommand extends client.Command
609
608
  .classBuilder()
610
609
  .ep(commonParams)
611
610
  .m(function (Command, cs, config, o) {
612
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
611
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
613
612
  })
614
613
  .s("AWSWAF_20150824", "GetSizeConstraintSet", {})
615
614
  .n("WAFClient", "GetSizeConstraintSetCommand")
@@ -617,11 +616,11 @@ class GetSizeConstraintSetCommand extends smithyClient.Command
617
616
  .build() {
618
617
  }
619
618
 
620
- class GetSqlInjectionMatchSetCommand extends smithyClient.Command
619
+ class GetSqlInjectionMatchSetCommand extends client.Command
621
620
  .classBuilder()
622
621
  .ep(commonParams)
623
622
  .m(function (Command, cs, config, o) {
624
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
623
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
625
624
  })
626
625
  .s("AWSWAF_20150824", "GetSqlInjectionMatchSet", {})
627
626
  .n("WAFClient", "GetSqlInjectionMatchSetCommand")
@@ -629,11 +628,11 @@ class GetSqlInjectionMatchSetCommand extends smithyClient.Command
629
628
  .build() {
630
629
  }
631
630
 
632
- class GetWebACLCommand extends smithyClient.Command
631
+ class GetWebACLCommand extends client.Command
633
632
  .classBuilder()
634
633
  .ep(commonParams)
635
634
  .m(function (Command, cs, config, o) {
636
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
635
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
637
636
  })
638
637
  .s("AWSWAF_20150824", "GetWebACL", {})
639
638
  .n("WAFClient", "GetWebACLCommand")
@@ -641,11 +640,11 @@ class GetWebACLCommand extends smithyClient.Command
641
640
  .build() {
642
641
  }
643
642
 
644
- class GetXssMatchSetCommand extends smithyClient.Command
643
+ class GetXssMatchSetCommand extends client.Command
645
644
  .classBuilder()
646
645
  .ep(commonParams)
647
646
  .m(function (Command, cs, config, o) {
648
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
647
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
649
648
  })
650
649
  .s("AWSWAF_20150824", "GetXssMatchSet", {})
651
650
  .n("WAFClient", "GetXssMatchSetCommand")
@@ -653,11 +652,11 @@ class GetXssMatchSetCommand extends smithyClient.Command
653
652
  .build() {
654
653
  }
655
654
 
656
- class ListActivatedRulesInRuleGroupCommand extends smithyClient.Command
655
+ class ListActivatedRulesInRuleGroupCommand extends client.Command
657
656
  .classBuilder()
658
657
  .ep(commonParams)
659
658
  .m(function (Command, cs, config, o) {
660
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
659
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
661
660
  })
662
661
  .s("AWSWAF_20150824", "ListActivatedRulesInRuleGroup", {})
663
662
  .n("WAFClient", "ListActivatedRulesInRuleGroupCommand")
@@ -665,11 +664,11 @@ class ListActivatedRulesInRuleGroupCommand extends smithyClient.Command
665
664
  .build() {
666
665
  }
667
666
 
668
- class ListByteMatchSetsCommand extends smithyClient.Command
667
+ class ListByteMatchSetsCommand extends client.Command
669
668
  .classBuilder()
670
669
  .ep(commonParams)
671
670
  .m(function (Command, cs, config, o) {
672
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
671
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
673
672
  })
674
673
  .s("AWSWAF_20150824", "ListByteMatchSets", {})
675
674
  .n("WAFClient", "ListByteMatchSetsCommand")
@@ -677,11 +676,11 @@ class ListByteMatchSetsCommand extends smithyClient.Command
677
676
  .build() {
678
677
  }
679
678
 
680
- class ListGeoMatchSetsCommand extends smithyClient.Command
679
+ class ListGeoMatchSetsCommand extends client.Command
681
680
  .classBuilder()
682
681
  .ep(commonParams)
683
682
  .m(function (Command, cs, config, o) {
684
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
683
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
685
684
  })
686
685
  .s("AWSWAF_20150824", "ListGeoMatchSets", {})
687
686
  .n("WAFClient", "ListGeoMatchSetsCommand")
@@ -689,11 +688,11 @@ class ListGeoMatchSetsCommand extends smithyClient.Command
689
688
  .build() {
690
689
  }
691
690
 
692
- class ListIPSetsCommand extends smithyClient.Command
691
+ class ListIPSetsCommand extends client.Command
693
692
  .classBuilder()
694
693
  .ep(commonParams)
695
694
  .m(function (Command, cs, config, o) {
696
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
695
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
697
696
  })
698
697
  .s("AWSWAF_20150824", "ListIPSets", {})
699
698
  .n("WAFClient", "ListIPSetsCommand")
@@ -701,11 +700,11 @@ class ListIPSetsCommand extends smithyClient.Command
701
700
  .build() {
702
701
  }
703
702
 
704
- class ListLoggingConfigurationsCommand extends smithyClient.Command
703
+ class ListLoggingConfigurationsCommand extends client.Command
705
704
  .classBuilder()
706
705
  .ep(commonParams)
707
706
  .m(function (Command, cs, config, o) {
708
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
707
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
709
708
  })
710
709
  .s("AWSWAF_20150824", "ListLoggingConfigurations", {})
711
710
  .n("WAFClient", "ListLoggingConfigurationsCommand")
@@ -713,11 +712,11 @@ class ListLoggingConfigurationsCommand extends smithyClient.Command
713
712
  .build() {
714
713
  }
715
714
 
716
- class ListRateBasedRulesCommand extends smithyClient.Command
715
+ class ListRateBasedRulesCommand extends client.Command
717
716
  .classBuilder()
718
717
  .ep(commonParams)
719
718
  .m(function (Command, cs, config, o) {
720
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
719
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
721
720
  })
722
721
  .s("AWSWAF_20150824", "ListRateBasedRules", {})
723
722
  .n("WAFClient", "ListRateBasedRulesCommand")
@@ -725,11 +724,11 @@ class ListRateBasedRulesCommand extends smithyClient.Command
725
724
  .build() {
726
725
  }
727
726
 
728
- class ListRegexMatchSetsCommand extends smithyClient.Command
727
+ class ListRegexMatchSetsCommand extends client.Command
729
728
  .classBuilder()
730
729
  .ep(commonParams)
731
730
  .m(function (Command, cs, config, o) {
732
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
731
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
733
732
  })
734
733
  .s("AWSWAF_20150824", "ListRegexMatchSets", {})
735
734
  .n("WAFClient", "ListRegexMatchSetsCommand")
@@ -737,11 +736,11 @@ class ListRegexMatchSetsCommand extends smithyClient.Command
737
736
  .build() {
738
737
  }
739
738
 
740
- class ListRegexPatternSetsCommand extends smithyClient.Command
739
+ class ListRegexPatternSetsCommand extends client.Command
741
740
  .classBuilder()
742
741
  .ep(commonParams)
743
742
  .m(function (Command, cs, config, o) {
744
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
743
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
745
744
  })
746
745
  .s("AWSWAF_20150824", "ListRegexPatternSets", {})
747
746
  .n("WAFClient", "ListRegexPatternSetsCommand")
@@ -749,11 +748,11 @@ class ListRegexPatternSetsCommand extends smithyClient.Command
749
748
  .build() {
750
749
  }
751
750
 
752
- class ListRuleGroupsCommand extends smithyClient.Command
751
+ class ListRuleGroupsCommand extends client.Command
753
752
  .classBuilder()
754
753
  .ep(commonParams)
755
754
  .m(function (Command, cs, config, o) {
756
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
755
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
757
756
  })
758
757
  .s("AWSWAF_20150824", "ListRuleGroups", {})
759
758
  .n("WAFClient", "ListRuleGroupsCommand")
@@ -761,11 +760,11 @@ class ListRuleGroupsCommand extends smithyClient.Command
761
760
  .build() {
762
761
  }
763
762
 
764
- class ListRulesCommand extends smithyClient.Command
763
+ class ListRulesCommand extends client.Command
765
764
  .classBuilder()
766
765
  .ep(commonParams)
767
766
  .m(function (Command, cs, config, o) {
768
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
767
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
769
768
  })
770
769
  .s("AWSWAF_20150824", "ListRules", {})
771
770
  .n("WAFClient", "ListRulesCommand")
@@ -773,11 +772,11 @@ class ListRulesCommand extends smithyClient.Command
773
772
  .build() {
774
773
  }
775
774
 
776
- class ListSizeConstraintSetsCommand extends smithyClient.Command
775
+ class ListSizeConstraintSetsCommand extends client.Command
777
776
  .classBuilder()
778
777
  .ep(commonParams)
779
778
  .m(function (Command, cs, config, o) {
780
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
779
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
781
780
  })
782
781
  .s("AWSWAF_20150824", "ListSizeConstraintSets", {})
783
782
  .n("WAFClient", "ListSizeConstraintSetsCommand")
@@ -785,11 +784,11 @@ class ListSizeConstraintSetsCommand extends smithyClient.Command
785
784
  .build() {
786
785
  }
787
786
 
788
- class ListSqlInjectionMatchSetsCommand extends smithyClient.Command
787
+ class ListSqlInjectionMatchSetsCommand extends client.Command
789
788
  .classBuilder()
790
789
  .ep(commonParams)
791
790
  .m(function (Command, cs, config, o) {
792
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
791
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
793
792
  })
794
793
  .s("AWSWAF_20150824", "ListSqlInjectionMatchSets", {})
795
794
  .n("WAFClient", "ListSqlInjectionMatchSetsCommand")
@@ -797,11 +796,11 @@ class ListSqlInjectionMatchSetsCommand extends smithyClient.Command
797
796
  .build() {
798
797
  }
799
798
 
800
- class ListSubscribedRuleGroupsCommand extends smithyClient.Command
799
+ class ListSubscribedRuleGroupsCommand extends client.Command
801
800
  .classBuilder()
802
801
  .ep(commonParams)
803
802
  .m(function (Command, cs, config, o) {
804
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
803
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
805
804
  })
806
805
  .s("AWSWAF_20150824", "ListSubscribedRuleGroups", {})
807
806
  .n("WAFClient", "ListSubscribedRuleGroupsCommand")
@@ -809,11 +808,11 @@ class ListSubscribedRuleGroupsCommand extends smithyClient.Command
809
808
  .build() {
810
809
  }
811
810
 
812
- class ListTagsForResourceCommand extends smithyClient.Command
811
+ class ListTagsForResourceCommand extends client.Command
813
812
  .classBuilder()
814
813
  .ep(commonParams)
815
814
  .m(function (Command, cs, config, o) {
816
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
815
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
817
816
  })
818
817
  .s("AWSWAF_20150824", "ListTagsForResource", {})
819
818
  .n("WAFClient", "ListTagsForResourceCommand")
@@ -821,11 +820,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
821
820
  .build() {
822
821
  }
823
822
 
824
- class ListWebACLsCommand extends smithyClient.Command
823
+ class ListWebACLsCommand extends client.Command
825
824
  .classBuilder()
826
825
  .ep(commonParams)
827
826
  .m(function (Command, cs, config, o) {
828
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
827
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
829
828
  })
830
829
  .s("AWSWAF_20150824", "ListWebACLs", {})
831
830
  .n("WAFClient", "ListWebACLsCommand")
@@ -833,11 +832,11 @@ class ListWebACLsCommand extends smithyClient.Command
833
832
  .build() {
834
833
  }
835
834
 
836
- class ListXssMatchSetsCommand extends smithyClient.Command
835
+ class ListXssMatchSetsCommand extends client.Command
837
836
  .classBuilder()
838
837
  .ep(commonParams)
839
838
  .m(function (Command, cs, config, o) {
840
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
839
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
841
840
  })
842
841
  .s("AWSWAF_20150824", "ListXssMatchSets", {})
843
842
  .n("WAFClient", "ListXssMatchSetsCommand")
@@ -845,11 +844,11 @@ class ListXssMatchSetsCommand extends smithyClient.Command
845
844
  .build() {
846
845
  }
847
846
 
848
- class PutLoggingConfigurationCommand extends smithyClient.Command
847
+ class PutLoggingConfigurationCommand extends client.Command
849
848
  .classBuilder()
850
849
  .ep(commonParams)
851
850
  .m(function (Command, cs, config, o) {
852
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
851
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
853
852
  })
854
853
  .s("AWSWAF_20150824", "PutLoggingConfiguration", {})
855
854
  .n("WAFClient", "PutLoggingConfigurationCommand")
@@ -857,11 +856,11 @@ class PutLoggingConfigurationCommand extends smithyClient.Command
857
856
  .build() {
858
857
  }
859
858
 
860
- class PutPermissionPolicyCommand extends smithyClient.Command
859
+ class PutPermissionPolicyCommand extends client.Command
861
860
  .classBuilder()
862
861
  .ep(commonParams)
863
862
  .m(function (Command, cs, config, o) {
864
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
863
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
865
864
  })
866
865
  .s("AWSWAF_20150824", "PutPermissionPolicy", {})
867
866
  .n("WAFClient", "PutPermissionPolicyCommand")
@@ -869,11 +868,11 @@ class PutPermissionPolicyCommand extends smithyClient.Command
869
868
  .build() {
870
869
  }
871
870
 
872
- class TagResourceCommand extends smithyClient.Command
871
+ class TagResourceCommand extends client.Command
873
872
  .classBuilder()
874
873
  .ep(commonParams)
875
874
  .m(function (Command, cs, config, o) {
876
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
875
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
877
876
  })
878
877
  .s("AWSWAF_20150824", "TagResource", {})
879
878
  .n("WAFClient", "TagResourceCommand")
@@ -881,11 +880,11 @@ class TagResourceCommand extends smithyClient.Command
881
880
  .build() {
882
881
  }
883
882
 
884
- class UntagResourceCommand extends smithyClient.Command
883
+ class UntagResourceCommand extends client.Command
885
884
  .classBuilder()
886
885
  .ep(commonParams)
887
886
  .m(function (Command, cs, config, o) {
888
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
887
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
889
888
  })
890
889
  .s("AWSWAF_20150824", "UntagResource", {})
891
890
  .n("WAFClient", "UntagResourceCommand")
@@ -893,11 +892,11 @@ class UntagResourceCommand extends smithyClient.Command
893
892
  .build() {
894
893
  }
895
894
 
896
- class UpdateByteMatchSetCommand extends smithyClient.Command
895
+ class UpdateByteMatchSetCommand extends client.Command
897
896
  .classBuilder()
898
897
  .ep(commonParams)
899
898
  .m(function (Command, cs, config, o) {
900
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
899
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
901
900
  })
902
901
  .s("AWSWAF_20150824", "UpdateByteMatchSet", {})
903
902
  .n("WAFClient", "UpdateByteMatchSetCommand")
@@ -905,11 +904,11 @@ class UpdateByteMatchSetCommand extends smithyClient.Command
905
904
  .build() {
906
905
  }
907
906
 
908
- class UpdateGeoMatchSetCommand extends smithyClient.Command
907
+ class UpdateGeoMatchSetCommand extends client.Command
909
908
  .classBuilder()
910
909
  .ep(commonParams)
911
910
  .m(function (Command, cs, config, o) {
912
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
911
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
913
912
  })
914
913
  .s("AWSWAF_20150824", "UpdateGeoMatchSet", {})
915
914
  .n("WAFClient", "UpdateGeoMatchSetCommand")
@@ -917,11 +916,11 @@ class UpdateGeoMatchSetCommand extends smithyClient.Command
917
916
  .build() {
918
917
  }
919
918
 
920
- class UpdateIPSetCommand extends smithyClient.Command
919
+ class UpdateIPSetCommand extends client.Command
921
920
  .classBuilder()
922
921
  .ep(commonParams)
923
922
  .m(function (Command, cs, config, o) {
924
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
923
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
925
924
  })
926
925
  .s("AWSWAF_20150824", "UpdateIPSet", {})
927
926
  .n("WAFClient", "UpdateIPSetCommand")
@@ -929,11 +928,11 @@ class UpdateIPSetCommand extends smithyClient.Command
929
928
  .build() {
930
929
  }
931
930
 
932
- class UpdateRateBasedRuleCommand extends smithyClient.Command
931
+ class UpdateRateBasedRuleCommand extends client.Command
933
932
  .classBuilder()
934
933
  .ep(commonParams)
935
934
  .m(function (Command, cs, config, o) {
936
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
935
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
937
936
  })
938
937
  .s("AWSWAF_20150824", "UpdateRateBasedRule", {})
939
938
  .n("WAFClient", "UpdateRateBasedRuleCommand")
@@ -941,11 +940,11 @@ class UpdateRateBasedRuleCommand extends smithyClient.Command
941
940
  .build() {
942
941
  }
943
942
 
944
- class UpdateRegexMatchSetCommand extends smithyClient.Command
943
+ class UpdateRegexMatchSetCommand extends client.Command
945
944
  .classBuilder()
946
945
  .ep(commonParams)
947
946
  .m(function (Command, cs, config, o) {
948
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
947
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
949
948
  })
950
949
  .s("AWSWAF_20150824", "UpdateRegexMatchSet", {})
951
950
  .n("WAFClient", "UpdateRegexMatchSetCommand")
@@ -953,11 +952,11 @@ class UpdateRegexMatchSetCommand extends smithyClient.Command
953
952
  .build() {
954
953
  }
955
954
 
956
- class UpdateRegexPatternSetCommand extends smithyClient.Command
955
+ class UpdateRegexPatternSetCommand extends client.Command
957
956
  .classBuilder()
958
957
  .ep(commonParams)
959
958
  .m(function (Command, cs, config, o) {
960
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
959
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
961
960
  })
962
961
  .s("AWSWAF_20150824", "UpdateRegexPatternSet", {})
963
962
  .n("WAFClient", "UpdateRegexPatternSetCommand")
@@ -965,11 +964,11 @@ class UpdateRegexPatternSetCommand extends smithyClient.Command
965
964
  .build() {
966
965
  }
967
966
 
968
- class UpdateRuleCommand extends smithyClient.Command
967
+ class UpdateRuleCommand extends client.Command
969
968
  .classBuilder()
970
969
  .ep(commonParams)
971
970
  .m(function (Command, cs, config, o) {
972
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
971
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
973
972
  })
974
973
  .s("AWSWAF_20150824", "UpdateRule", {})
975
974
  .n("WAFClient", "UpdateRuleCommand")
@@ -977,11 +976,11 @@ class UpdateRuleCommand extends smithyClient.Command
977
976
  .build() {
978
977
  }
979
978
 
980
- class UpdateRuleGroupCommand extends smithyClient.Command
979
+ class UpdateRuleGroupCommand extends client.Command
981
980
  .classBuilder()
982
981
  .ep(commonParams)
983
982
  .m(function (Command, cs, config, o) {
984
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
983
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
985
984
  })
986
985
  .s("AWSWAF_20150824", "UpdateRuleGroup", {})
987
986
  .n("WAFClient", "UpdateRuleGroupCommand")
@@ -989,11 +988,11 @@ class UpdateRuleGroupCommand extends smithyClient.Command
989
988
  .build() {
990
989
  }
991
990
 
992
- class UpdateSizeConstraintSetCommand extends smithyClient.Command
991
+ class UpdateSizeConstraintSetCommand extends client.Command
993
992
  .classBuilder()
994
993
  .ep(commonParams)
995
994
  .m(function (Command, cs, config, o) {
996
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
995
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
997
996
  })
998
997
  .s("AWSWAF_20150824", "UpdateSizeConstraintSet", {})
999
998
  .n("WAFClient", "UpdateSizeConstraintSetCommand")
@@ -1001,11 +1000,11 @@ class UpdateSizeConstraintSetCommand extends smithyClient.Command
1001
1000
  .build() {
1002
1001
  }
1003
1002
 
1004
- class UpdateSqlInjectionMatchSetCommand extends smithyClient.Command
1003
+ class UpdateSqlInjectionMatchSetCommand extends client.Command
1005
1004
  .classBuilder()
1006
1005
  .ep(commonParams)
1007
1006
  .m(function (Command, cs, config, o) {
1008
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1007
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1009
1008
  })
1010
1009
  .s("AWSWAF_20150824", "UpdateSqlInjectionMatchSet", {})
1011
1010
  .n("WAFClient", "UpdateSqlInjectionMatchSetCommand")
@@ -1013,11 +1012,11 @@ class UpdateSqlInjectionMatchSetCommand extends smithyClient.Command
1013
1012
  .build() {
1014
1013
  }
1015
1014
 
1016
- class UpdateWebACLCommand extends smithyClient.Command
1015
+ class UpdateWebACLCommand extends client.Command
1017
1016
  .classBuilder()
1018
1017
  .ep(commonParams)
1019
1018
  .m(function (Command, cs, config, o) {
1020
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1019
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1021
1020
  })
1022
1021
  .s("AWSWAF_20150824", "UpdateWebACL", {})
1023
1022
  .n("WAFClient", "UpdateWebACLCommand")
@@ -1025,11 +1024,11 @@ class UpdateWebACLCommand extends smithyClient.Command
1025
1024
  .build() {
1026
1025
  }
1027
1026
 
1028
- class UpdateXssMatchSetCommand extends smithyClient.Command
1027
+ class UpdateXssMatchSetCommand extends client.Command
1029
1028
  .classBuilder()
1030
1029
  .ep(commonParams)
1031
1030
  .m(function (Command, cs, config, o) {
1032
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1031
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1033
1032
  })
1034
1033
  .s("AWSWAF_20150824", "UpdateXssMatchSet", {})
1035
1034
  .n("WAFClient", "UpdateXssMatchSetCommand")
@@ -1118,7 +1117,7 @@ const commands = {
1118
1117
  };
1119
1118
  class WAF extends WAFClient {
1120
1119
  }
1121
- smithyClient.createAggregatedClient(commands, WAF);
1120
+ client.createAggregatedClient(commands, WAF);
1122
1121
 
1123
1122
  const WafActionType = {
1124
1123
  ALLOW: "ALLOW",
@@ -1481,8 +1480,8 @@ const ChangeAction = {
1481
1480
  INSERT: "INSERT",
1482
1481
  };
1483
1482
 
1484
- exports.$Command = smithyClient.Command;
1485
- exports.__Client = smithyClient.Client;
1483
+ exports.$Command = client.Command;
1484
+ exports.__Client = client.Client;
1486
1485
  exports.WAFServiceException = WAFServiceException.WAFServiceException;
1487
1486
  exports.ChangeAction = ChangeAction;
1488
1487
  exports.ChangeTokenStatus = ChangeTokenStatus;