@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
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class GetRuleGroupCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetRuleGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFV2Client";
29
- const commandName = "GetRuleGroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20190729",
38
- operation: "GetRuleGroup",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_GetRuleGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetRuleGroupCommand)(output, context);
49
- }
10
+ class GetRuleGroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20190729", "GetRuleGroup", {})
22
+ .n("WAFV2Client", "GetRuleGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetRuleGroupCommand)
25
+ .de(Aws_json1_1_1.de_GetRuleGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetRuleGroupCommand = GetRuleGroupCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class GetSampledRequestsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSampledRequestsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFV2Client";
29
- const commandName = "GetSampledRequestsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20190729",
38
- operation: "GetSampledRequests",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_GetSampledRequestsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetSampledRequestsCommand)(output, context);
49
- }
10
+ class GetSampledRequestsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20190729", "GetSampledRequests", {})
22
+ .n("WAFV2Client", "GetSampledRequestsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetSampledRequestsCommand)
25
+ .de(Aws_json1_1_1.de_GetSampledRequestsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetSampledRequestsCommand = GetSampledRequestsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class GetWebACLCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetWebACLCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFV2Client";
29
- const commandName = "GetWebACLCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20190729",
38
- operation: "GetWebACL",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_GetWebACLCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetWebACLCommand)(output, context);
49
- }
10
+ class GetWebACLCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20190729", "GetWebACL", {})
22
+ .n("WAFV2Client", "GetWebACLCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetWebACLCommand)
25
+ .de(Aws_json1_1_1.de_GetWebACLCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetWebACLCommand = GetWebACLCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class GetWebACLForResourceCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetWebACLForResourceCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFV2Client";
29
- const commandName = "GetWebACLForResourceCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20190729",
38
- operation: "GetWebACLForResource",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_GetWebACLForResourceCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_GetWebACLForResourceCommand)(output, context);
49
- }
10
+ class GetWebACLForResourceCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20190729", "GetWebACLForResource", {})
22
+ .n("WAFV2Client", "GetWebACLForResourceCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_GetWebACLForResourceCommand)
25
+ .de(Aws_json1_1_1.de_GetWebACLForResourceCommand)
26
+ .build() {
50
27
  }
51
28
  exports.GetWebACLForResourceCommand = GetWebACLForResourceCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListAPIKeysCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAPIKeysCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFV2Client";
29
- const commandName = "ListAPIKeysCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20190729",
38
- operation: "ListAPIKeys",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_ListAPIKeysCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ListAPIKeysCommand)(output, context);
49
- }
10
+ class ListAPIKeysCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20190729", "ListAPIKeys", {})
22
+ .n("WAFV2Client", "ListAPIKeysCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListAPIKeysCommand)
25
+ .de(Aws_json1_1_1.de_ListAPIKeysCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAPIKeysCommand = ListAPIKeysCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListAvailableManagedRuleGroupVersionsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAvailableManagedRuleGroupVersionsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFV2Client";
29
- const commandName = "ListAvailableManagedRuleGroupVersionsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20190729",
38
- operation: "ListAvailableManagedRuleGroupVersions",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_ListAvailableManagedRuleGroupVersionsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ListAvailableManagedRuleGroupVersionsCommand)(output, context);
49
- }
10
+ class ListAvailableManagedRuleGroupVersionsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20190729", "ListAvailableManagedRuleGroupVersions", {})
22
+ .n("WAFV2Client", "ListAvailableManagedRuleGroupVersionsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListAvailableManagedRuleGroupVersionsCommand)
25
+ .de(Aws_json1_1_1.de_ListAvailableManagedRuleGroupVersionsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAvailableManagedRuleGroupVersionsCommand = ListAvailableManagedRuleGroupVersionsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListAvailableManagedRuleGroupsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAvailableManagedRuleGroupsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFV2Client";
29
- const commandName = "ListAvailableManagedRuleGroupsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20190729",
38
- operation: "ListAvailableManagedRuleGroups",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_ListAvailableManagedRuleGroupsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ListAvailableManagedRuleGroupsCommand)(output, context);
49
- }
10
+ class ListAvailableManagedRuleGroupsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20190729", "ListAvailableManagedRuleGroups", {})
22
+ .n("WAFV2Client", "ListAvailableManagedRuleGroupsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListAvailableManagedRuleGroupsCommand)
25
+ .de(Aws_json1_1_1.de_ListAvailableManagedRuleGroupsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListAvailableManagedRuleGroupsCommand = ListAvailableManagedRuleGroupsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListIPSetsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListIPSetsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFV2Client";
29
- const commandName = "ListIPSetsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20190729",
38
- operation: "ListIPSets",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_ListIPSetsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ListIPSetsCommand)(output, context);
49
- }
10
+ class ListIPSetsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20190729", "ListIPSets", {})
22
+ .n("WAFV2Client", "ListIPSetsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListIPSetsCommand)
25
+ .de(Aws_json1_1_1.de_ListIPSetsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListIPSetsCommand = ListIPSetsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class ListLoggingConfigurationsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListLoggingConfigurationsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "WAFV2Client";
29
- const commandName = "ListLoggingConfigurationsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWAF_20190729",
38
- operation: "ListLoggingConfigurations",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_json1_1_1.se_ListLoggingConfigurationsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_ListLoggingConfigurationsCommand)(output, context);
49
- }
10
+ class ListLoggingConfigurationsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWAF_20190729", "ListLoggingConfigurations", {})
22
+ .n("WAFV2Client", "ListLoggingConfigurationsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_ListLoggingConfigurationsCommand)
25
+ .de(Aws_json1_1_1.de_ListLoggingConfigurationsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.ListLoggingConfigurationsCommand = ListLoggingConfigurationsCommand;