@aws-sdk/client-wafv2 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 (217) hide show
  1. package/dist-cjs/commands/AssociateWebACLCommand.js +18 -41
  2. package/dist-cjs/commands/CheckCapacityCommand.js +18 -41
  3. package/dist-cjs/commands/CreateAPIKeyCommand.js +18 -41
  4. package/dist-cjs/commands/CreateIPSetCommand.js +18 -41
  5. package/dist-cjs/commands/CreateRegexPatternSetCommand.js +18 -41
  6. package/dist-cjs/commands/CreateRuleGroupCommand.js +18 -41
  7. package/dist-cjs/commands/CreateWebACLCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteFirewallManagerRuleGroupsCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteIPSetCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteLoggingConfigurationCommand.js +18 -41
  11. package/dist-cjs/commands/DeletePermissionPolicyCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteRegexPatternSetCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteRuleGroupCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteWebACLCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeAllManagedProductsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeManagedProductsByVendorCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeManagedRuleGroupCommand.js +18 -41
  18. package/dist-cjs/commands/DisassociateWebACLCommand.js +18 -41
  19. package/dist-cjs/commands/GenerateMobileSdkReleaseUrlCommand.js +18 -41
  20. package/dist-cjs/commands/GetDecryptedAPIKeyCommand.js +18 -41
  21. package/dist-cjs/commands/GetIPSetCommand.js +18 -41
  22. package/dist-cjs/commands/GetLoggingConfigurationCommand.js +18 -41
  23. package/dist-cjs/commands/GetManagedRuleSetCommand.js +18 -41
  24. package/dist-cjs/commands/GetMobileSdkReleaseCommand.js +18 -41
  25. package/dist-cjs/commands/GetPermissionPolicyCommand.js +18 -41
  26. package/dist-cjs/commands/GetRateBasedStatementManagedKeysCommand.js +18 -41
  27. package/dist-cjs/commands/GetRegexPatternSetCommand.js +18 -41
  28. package/dist-cjs/commands/GetRuleGroupCommand.js +18 -41
  29. package/dist-cjs/commands/GetSampledRequestsCommand.js +18 -41
  30. package/dist-cjs/commands/GetWebACLCommand.js +18 -41
  31. package/dist-cjs/commands/GetWebACLForResourceCommand.js +18 -41
  32. package/dist-cjs/commands/ListAPIKeysCommand.js +18 -41
  33. package/dist-cjs/commands/ListAvailableManagedRuleGroupVersionsCommand.js +18 -41
  34. package/dist-cjs/commands/ListAvailableManagedRuleGroupsCommand.js +18 -41
  35. package/dist-cjs/commands/ListIPSetsCommand.js +18 -41
  36. package/dist-cjs/commands/ListLoggingConfigurationsCommand.js +18 -41
  37. package/dist-cjs/commands/ListManagedRuleSetsCommand.js +18 -41
  38. package/dist-cjs/commands/ListMobileSdkReleasesCommand.js +18 -41
  39. package/dist-cjs/commands/ListRegexPatternSetsCommand.js +18 -41
  40. package/dist-cjs/commands/ListResourcesForWebACLCommand.js +18 -41
  41. package/dist-cjs/commands/ListRuleGroupsCommand.js +18 -41
  42. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  43. package/dist-cjs/commands/ListWebACLsCommand.js +18 -41
  44. package/dist-cjs/commands/PutLoggingConfigurationCommand.js +18 -41
  45. package/dist-cjs/commands/PutManagedRuleSetVersionsCommand.js +18 -41
  46. package/dist-cjs/commands/PutPermissionPolicyCommand.js +18 -41
  47. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  48. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateIPSetCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateRegexPatternSetCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateRuleGroupCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateWebACLCommand.js +18 -41
  54. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  55. package/dist-es/commands/AssociateWebACLCommand.js +18 -41
  56. package/dist-es/commands/CheckCapacityCommand.js +18 -41
  57. package/dist-es/commands/CreateAPIKeyCommand.js +18 -41
  58. package/dist-es/commands/CreateIPSetCommand.js +18 -41
  59. package/dist-es/commands/CreateRegexPatternSetCommand.js +18 -41
  60. package/dist-es/commands/CreateRuleGroupCommand.js +18 -41
  61. package/dist-es/commands/CreateWebACLCommand.js +18 -41
  62. package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +18 -41
  63. package/dist-es/commands/DeleteIPSetCommand.js +18 -41
  64. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +18 -41
  65. package/dist-es/commands/DeletePermissionPolicyCommand.js +18 -41
  66. package/dist-es/commands/DeleteRegexPatternSetCommand.js +18 -41
  67. package/dist-es/commands/DeleteRuleGroupCommand.js +18 -41
  68. package/dist-es/commands/DeleteWebACLCommand.js +18 -41
  69. package/dist-es/commands/DescribeAllManagedProductsCommand.js +18 -41
  70. package/dist-es/commands/DescribeManagedProductsByVendorCommand.js +18 -41
  71. package/dist-es/commands/DescribeManagedRuleGroupCommand.js +18 -41
  72. package/dist-es/commands/DisassociateWebACLCommand.js +18 -41
  73. package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +18 -41
  74. package/dist-es/commands/GetDecryptedAPIKeyCommand.js +18 -41
  75. package/dist-es/commands/GetIPSetCommand.js +18 -41
  76. package/dist-es/commands/GetLoggingConfigurationCommand.js +18 -41
  77. package/dist-es/commands/GetManagedRuleSetCommand.js +18 -41
  78. package/dist-es/commands/GetMobileSdkReleaseCommand.js +18 -41
  79. package/dist-es/commands/GetPermissionPolicyCommand.js +18 -41
  80. package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +18 -41
  81. package/dist-es/commands/GetRegexPatternSetCommand.js +18 -41
  82. package/dist-es/commands/GetRuleGroupCommand.js +18 -41
  83. package/dist-es/commands/GetSampledRequestsCommand.js +18 -41
  84. package/dist-es/commands/GetWebACLCommand.js +18 -41
  85. package/dist-es/commands/GetWebACLForResourceCommand.js +18 -41
  86. package/dist-es/commands/ListAPIKeysCommand.js +18 -41
  87. package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +18 -41
  88. package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +18 -41
  89. package/dist-es/commands/ListIPSetsCommand.js +18 -41
  90. package/dist-es/commands/ListLoggingConfigurationsCommand.js +18 -41
  91. package/dist-es/commands/ListManagedRuleSetsCommand.js +18 -41
  92. package/dist-es/commands/ListMobileSdkReleasesCommand.js +18 -41
  93. package/dist-es/commands/ListRegexPatternSetsCommand.js +18 -41
  94. package/dist-es/commands/ListResourcesForWebACLCommand.js +18 -41
  95. package/dist-es/commands/ListRuleGroupsCommand.js +18 -41
  96. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  97. package/dist-es/commands/ListWebACLsCommand.js +18 -41
  98. package/dist-es/commands/PutLoggingConfigurationCommand.js +18 -41
  99. package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +18 -41
  100. package/dist-es/commands/PutPermissionPolicyCommand.js +18 -41
  101. package/dist-es/commands/TagResourceCommand.js +18 -41
  102. package/dist-es/commands/UntagResourceCommand.js +18 -41
  103. package/dist-es/commands/UpdateIPSetCommand.js +18 -41
  104. package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +18 -41
  105. package/dist-es/commands/UpdateRegexPatternSetCommand.js +18 -41
  106. package/dist-es/commands/UpdateRuleGroupCommand.js +18 -41
  107. package/dist-es/commands/UpdateWebACLCommand.js +18 -41
  108. package/dist-es/endpoint/EndpointParameters.js +6 -0
  109. package/dist-types/commands/AssociateWebACLCommand.d.ts +6 -21
  110. package/dist-types/commands/CheckCapacityCommand.d.ts +6 -21
  111. package/dist-types/commands/CreateAPIKeyCommand.d.ts +6 -21
  112. package/dist-types/commands/CreateIPSetCommand.d.ts +6 -21
  113. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +6 -21
  114. package/dist-types/commands/CreateRuleGroupCommand.d.ts +6 -21
  115. package/dist-types/commands/CreateWebACLCommand.d.ts +6 -21
  116. package/dist-types/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +6 -21
  117. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -21
  118. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +6 -21
  119. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +6 -21
  120. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -21
  121. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -21
  122. package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -21
  123. package/dist-types/commands/DescribeAllManagedProductsCommand.d.ts +6 -21
  124. package/dist-types/commands/DescribeManagedProductsByVendorCommand.d.ts +6 -21
  125. package/dist-types/commands/DescribeManagedRuleGroupCommand.d.ts +6 -21
  126. package/dist-types/commands/DisassociateWebACLCommand.d.ts +6 -21
  127. package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +6 -21
  128. package/dist-types/commands/GetDecryptedAPIKeyCommand.d.ts +6 -21
  129. package/dist-types/commands/GetIPSetCommand.d.ts +6 -21
  130. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +6 -21
  131. package/dist-types/commands/GetManagedRuleSetCommand.d.ts +6 -21
  132. package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +6 -21
  133. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +6 -21
  134. package/dist-types/commands/GetRateBasedStatementManagedKeysCommand.d.ts +6 -21
  135. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +6 -21
  136. package/dist-types/commands/GetRuleGroupCommand.d.ts +6 -21
  137. package/dist-types/commands/GetSampledRequestsCommand.d.ts +6 -21
  138. package/dist-types/commands/GetWebACLCommand.d.ts +6 -21
  139. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +6 -21
  140. package/dist-types/commands/ListAPIKeysCommand.d.ts +6 -21
  141. package/dist-types/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +6 -21
  142. package/dist-types/commands/ListAvailableManagedRuleGroupsCommand.d.ts +6 -21
  143. package/dist-types/commands/ListIPSetsCommand.d.ts +6 -21
  144. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +6 -21
  145. package/dist-types/commands/ListManagedRuleSetsCommand.d.ts +6 -21
  146. package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +6 -21
  147. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +6 -21
  148. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +6 -21
  149. package/dist-types/commands/ListRuleGroupsCommand.d.ts +6 -21
  150. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  151. package/dist-types/commands/ListWebACLsCommand.d.ts +6 -21
  152. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +6 -21
  153. package/dist-types/commands/PutManagedRuleSetVersionsCommand.d.ts +6 -21
  154. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +6 -21
  155. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  156. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  157. package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -21
  158. package/dist-types/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +6 -21
  159. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +6 -21
  160. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +6 -21
  161. package/dist-types/commands/UpdateWebACLCommand.d.ts +6 -21
  162. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  163. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +14 -23
  164. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +14 -23
  166. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +12 -24
  168. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +14 -23
  169. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +14 -23
  172. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/DescribeAllManagedProductsCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/DescribeManagedProductsByVendorCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +12 -24
  202. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +12 -24
  213. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +12 -24
  214. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  217. package/package.json +10 -10
@@ -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_GetSampledRequestsCommand, se_GetSampledRequestsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetSampledRequestsCommand 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, GetSampledRequestsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFV2Client";
26
- const commandName = "GetSampledRequestsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20190729",
35
- operation: "GetSampledRequests",
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_GetSampledRequestsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetSampledRequestsCommand(output, context);
46
- }
7
+ export class GetSampledRequestsCommand 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_20190729", "GetSampledRequests", {})
19
+ .n("WAFV2Client", "GetSampledRequestsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetSampledRequestsCommand)
22
+ .de(de_GetSampledRequestsCommand)
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_GetWebACLCommand, se_GetWebACLCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetWebACLCommand 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, GetWebACLCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFV2Client";
26
- const commandName = "GetWebACLCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20190729",
35
- operation: "GetWebACL",
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_GetWebACLCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetWebACLCommand(output, context);
46
- }
7
+ export class GetWebACLCommand 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_20190729", "GetWebACL", {})
19
+ .n("WAFV2Client", "GetWebACLCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetWebACLCommand)
22
+ .de(de_GetWebACLCommand)
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_GetWebACLForResourceCommand, se_GetWebACLForResourceCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetWebACLForResourceCommand 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, GetWebACLForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFV2Client";
26
- const commandName = "GetWebACLForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20190729",
35
- operation: "GetWebACLForResource",
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_GetWebACLForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetWebACLForResourceCommand(output, context);
46
- }
7
+ export class GetWebACLForResourceCommand 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_20190729", "GetWebACLForResource", {})
19
+ .n("WAFV2Client", "GetWebACLForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetWebACLForResourceCommand)
22
+ .de(de_GetWebACLForResourceCommand)
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_ListAPIKeysCommand, se_ListAPIKeysCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListAPIKeysCommand 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, ListAPIKeysCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFV2Client";
26
- const commandName = "ListAPIKeysCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20190729",
35
- operation: "ListAPIKeys",
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_ListAPIKeysCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAPIKeysCommand(output, context);
46
- }
7
+ export class ListAPIKeysCommand 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_20190729", "ListAPIKeys", {})
19
+ .n("WAFV2Client", "ListAPIKeysCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAPIKeysCommand)
22
+ .de(de_ListAPIKeysCommand)
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_ListAvailableManagedRuleGroupVersionsCommand, se_ListAvailableManagedRuleGroupVersionsCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListAvailableManagedRuleGroupVersionsCommand 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, ListAvailableManagedRuleGroupVersionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFV2Client";
26
- const commandName = "ListAvailableManagedRuleGroupVersionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20190729",
35
- operation: "ListAvailableManagedRuleGroupVersions",
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_ListAvailableManagedRuleGroupVersionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAvailableManagedRuleGroupVersionsCommand(output, context);
46
- }
7
+ export class ListAvailableManagedRuleGroupVersionsCommand 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_20190729", "ListAvailableManagedRuleGroupVersions", {})
19
+ .n("WAFV2Client", "ListAvailableManagedRuleGroupVersionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAvailableManagedRuleGroupVersionsCommand)
22
+ .de(de_ListAvailableManagedRuleGroupVersionsCommand)
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_ListAvailableManagedRuleGroupsCommand, se_ListAvailableManagedRuleGroupsCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListAvailableManagedRuleGroupsCommand 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, ListAvailableManagedRuleGroupsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFV2Client";
26
- const commandName = "ListAvailableManagedRuleGroupsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20190729",
35
- operation: "ListAvailableManagedRuleGroups",
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_ListAvailableManagedRuleGroupsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAvailableManagedRuleGroupsCommand(output, context);
46
- }
7
+ export class ListAvailableManagedRuleGroupsCommand 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_20190729", "ListAvailableManagedRuleGroups", {})
19
+ .n("WAFV2Client", "ListAvailableManagedRuleGroupsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAvailableManagedRuleGroupsCommand)
22
+ .de(de_ListAvailableManagedRuleGroupsCommand)
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_ListIPSetsCommand, se_ListIPSetsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListIPSetsCommand 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, ListIPSetsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFV2Client";
26
- const commandName = "ListIPSetsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20190729",
35
- operation: "ListIPSets",
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_ListIPSetsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListIPSetsCommand(output, context);
46
- }
7
+ export class ListIPSetsCommand 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_20190729", "ListIPSets", {})
19
+ .n("WAFV2Client", "ListIPSetsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListIPSetsCommand)
22
+ .de(de_ListIPSetsCommand)
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_ListLoggingConfigurationsCommand, se_ListLoggingConfigurationsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListLoggingConfigurationsCommand 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, ListLoggingConfigurationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFV2Client";
26
- const commandName = "ListLoggingConfigurationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20190729",
35
- operation: "ListLoggingConfigurations",
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_ListLoggingConfigurationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListLoggingConfigurationsCommand(output, context);
46
- }
7
+ export class ListLoggingConfigurationsCommand 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_20190729", "ListLoggingConfigurations", {})
19
+ .n("WAFV2Client", "ListLoggingConfigurationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListLoggingConfigurationsCommand)
22
+ .de(de_ListLoggingConfigurationsCommand)
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_ListManagedRuleSetsCommand, se_ListManagedRuleSetsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class ListManagedRuleSetsCommand 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, ListManagedRuleSetsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "WAFV2Client";
26
- const commandName = "ListManagedRuleSetsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "AWSWAF_20190729",
35
- operation: "ListManagedRuleSets",
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_ListManagedRuleSetsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListManagedRuleSetsCommand(output, context);
46
- }
7
+ export class ListManagedRuleSetsCommand 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_20190729", "ListManagedRuleSets", {})
19
+ .n("WAFV2Client", "ListManagedRuleSetsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListManagedRuleSetsCommand)
22
+ .de(de_ListManagedRuleSetsCommand)
23
+ .build() {
47
24
  }