@aws-sdk/client-waf 3.183.0 → 3.186.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 (90) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/WAF.js +317 -310
  4. package/dist-es/WAFClient.js +28 -22
  5. package/dist-es/commands/CreateByteMatchSetCommand.js +28 -21
  6. package/dist-es/commands/CreateGeoMatchSetCommand.js +28 -21
  7. package/dist-es/commands/CreateIPSetCommand.js +28 -21
  8. package/dist-es/commands/CreateRateBasedRuleCommand.js +28 -21
  9. package/dist-es/commands/CreateRegexMatchSetCommand.js +28 -21
  10. package/dist-es/commands/CreateRegexPatternSetCommand.js +28 -21
  11. package/dist-es/commands/CreateRuleCommand.js +28 -21
  12. package/dist-es/commands/CreateRuleGroupCommand.js +28 -21
  13. package/dist-es/commands/CreateSizeConstraintSetCommand.js +28 -21
  14. package/dist-es/commands/CreateSqlInjectionMatchSetCommand.js +28 -21
  15. package/dist-es/commands/CreateWebACLCommand.js +28 -21
  16. package/dist-es/commands/CreateWebACLMigrationStackCommand.js +28 -21
  17. package/dist-es/commands/CreateXssMatchSetCommand.js +28 -21
  18. package/dist-es/commands/DeleteByteMatchSetCommand.js +28 -21
  19. package/dist-es/commands/DeleteGeoMatchSetCommand.js +28 -21
  20. package/dist-es/commands/DeleteIPSetCommand.js +28 -21
  21. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +28 -21
  22. package/dist-es/commands/DeletePermissionPolicyCommand.js +28 -21
  23. package/dist-es/commands/DeleteRateBasedRuleCommand.js +28 -21
  24. package/dist-es/commands/DeleteRegexMatchSetCommand.js +28 -21
  25. package/dist-es/commands/DeleteRegexPatternSetCommand.js +28 -21
  26. package/dist-es/commands/DeleteRuleCommand.js +28 -21
  27. package/dist-es/commands/DeleteRuleGroupCommand.js +28 -21
  28. package/dist-es/commands/DeleteSizeConstraintSetCommand.js +28 -21
  29. package/dist-es/commands/DeleteSqlInjectionMatchSetCommand.js +28 -21
  30. package/dist-es/commands/DeleteWebACLCommand.js +28 -21
  31. package/dist-es/commands/DeleteXssMatchSetCommand.js +28 -21
  32. package/dist-es/commands/GetByteMatchSetCommand.js +28 -21
  33. package/dist-es/commands/GetChangeTokenCommand.js +28 -21
  34. package/dist-es/commands/GetChangeTokenStatusCommand.js +28 -21
  35. package/dist-es/commands/GetGeoMatchSetCommand.js +28 -21
  36. package/dist-es/commands/GetIPSetCommand.js +28 -21
  37. package/dist-es/commands/GetLoggingConfigurationCommand.js +28 -21
  38. package/dist-es/commands/GetPermissionPolicyCommand.js +28 -21
  39. package/dist-es/commands/GetRateBasedRuleCommand.js +28 -21
  40. package/dist-es/commands/GetRateBasedRuleManagedKeysCommand.js +28 -21
  41. package/dist-es/commands/GetRegexMatchSetCommand.js +28 -21
  42. package/dist-es/commands/GetRegexPatternSetCommand.js +28 -21
  43. package/dist-es/commands/GetRuleCommand.js +28 -21
  44. package/dist-es/commands/GetRuleGroupCommand.js +28 -21
  45. package/dist-es/commands/GetSampledRequestsCommand.js +28 -21
  46. package/dist-es/commands/GetSizeConstraintSetCommand.js +28 -21
  47. package/dist-es/commands/GetSqlInjectionMatchSetCommand.js +28 -21
  48. package/dist-es/commands/GetWebACLCommand.js +28 -21
  49. package/dist-es/commands/GetXssMatchSetCommand.js +28 -21
  50. package/dist-es/commands/ListActivatedRulesInRuleGroupCommand.js +28 -21
  51. package/dist-es/commands/ListByteMatchSetsCommand.js +28 -21
  52. package/dist-es/commands/ListGeoMatchSetsCommand.js +28 -21
  53. package/dist-es/commands/ListIPSetsCommand.js +28 -21
  54. package/dist-es/commands/ListLoggingConfigurationsCommand.js +28 -21
  55. package/dist-es/commands/ListRateBasedRulesCommand.js +28 -21
  56. package/dist-es/commands/ListRegexMatchSetsCommand.js +28 -21
  57. package/dist-es/commands/ListRegexPatternSetsCommand.js +28 -21
  58. package/dist-es/commands/ListRuleGroupsCommand.js +28 -21
  59. package/dist-es/commands/ListRulesCommand.js +28 -21
  60. package/dist-es/commands/ListSizeConstraintSetsCommand.js +28 -21
  61. package/dist-es/commands/ListSqlInjectionMatchSetsCommand.js +28 -21
  62. package/dist-es/commands/ListSubscribedRuleGroupsCommand.js +28 -21
  63. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  64. package/dist-es/commands/ListWebACLsCommand.js +28 -21
  65. package/dist-es/commands/ListXssMatchSetsCommand.js +28 -21
  66. package/dist-es/commands/PutLoggingConfigurationCommand.js +28 -21
  67. package/dist-es/commands/PutPermissionPolicyCommand.js +28 -21
  68. package/dist-es/commands/TagResourceCommand.js +28 -21
  69. package/dist-es/commands/UntagResourceCommand.js +28 -21
  70. package/dist-es/commands/UpdateByteMatchSetCommand.js +28 -21
  71. package/dist-es/commands/UpdateGeoMatchSetCommand.js +28 -21
  72. package/dist-es/commands/UpdateIPSetCommand.js +28 -21
  73. package/dist-es/commands/UpdateRateBasedRuleCommand.js +28 -21
  74. package/dist-es/commands/UpdateRegexMatchSetCommand.js +28 -21
  75. package/dist-es/commands/UpdateRegexPatternSetCommand.js +28 -21
  76. package/dist-es/commands/UpdateRuleCommand.js +28 -21
  77. package/dist-es/commands/UpdateRuleGroupCommand.js +28 -21
  78. package/dist-es/commands/UpdateSizeConstraintSetCommand.js +28 -21
  79. package/dist-es/commands/UpdateSqlInjectionMatchSetCommand.js +28 -21
  80. package/dist-es/commands/UpdateWebACLCommand.js +28 -21
  81. package/dist-es/commands/UpdateXssMatchSetCommand.js +28 -21
  82. package/dist-es/endpoints.js +8 -8
  83. package/dist-es/models/WAFServiceException.js +10 -5
  84. package/dist-es/models/models_0.js +424 -841
  85. package/dist-es/protocols/Aws_json1_1.js +6747 -5214
  86. package/dist-es/runtimeConfig.browser.js +12 -26
  87. package/dist-es/runtimeConfig.js +12 -30
  88. package/dist-es/runtimeConfig.native.js +5 -8
  89. package/dist-es/runtimeConfig.shared.js +11 -8
  90. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListLoggingConfigurationsRequestFilterSensitiveLog, ListLoggingConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListLoggingConfigurationsCommand, serializeAws_json1_1ListLoggingConfigurationsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListLoggingConfigurationsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListLoggingConfigurationsCommand = (function (_super) {
7
+ __extends(ListLoggingConfigurationsCommand, _super);
8
+ function ListLoggingConfigurationsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListLoggingConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WAFClient";
15
- const commandName = "ListLoggingConfigurationsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFClient";
18
+ var commandName = "ListLoggingConfigurationsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListLoggingConfigurationsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListLoggingConfigurationsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListLoggingConfigurationsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListLoggingConfigurationsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListLoggingConfigurationsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListLoggingConfigurationsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListLoggingConfigurationsCommand;
38
+ }($Command));
39
+ export { ListLoggingConfigurationsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListRateBasedRulesRequestFilterSensitiveLog, ListRateBasedRulesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListRateBasedRulesCommand, serializeAws_json1_1ListRateBasedRulesCommand, } from "../protocols/Aws_json1_1";
5
- export class ListRateBasedRulesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRateBasedRulesCommand = (function (_super) {
7
+ __extends(ListRateBasedRulesCommand, _super);
8
+ function ListRateBasedRulesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRateBasedRulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WAFClient";
15
- const commandName = "ListRateBasedRulesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFClient";
18
+ var commandName = "ListRateBasedRulesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRateBasedRulesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRateBasedRulesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListRateBasedRulesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListRateBasedRulesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRateBasedRulesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListRateBasedRulesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRateBasedRulesCommand;
38
+ }($Command));
39
+ export { ListRateBasedRulesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListRegexMatchSetsRequestFilterSensitiveLog, ListRegexMatchSetsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListRegexMatchSetsCommand, serializeAws_json1_1ListRegexMatchSetsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListRegexMatchSetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRegexMatchSetsCommand = (function (_super) {
7
+ __extends(ListRegexMatchSetsCommand, _super);
8
+ function ListRegexMatchSetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRegexMatchSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WAFClient";
15
- const commandName = "ListRegexMatchSetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFClient";
18
+ var commandName = "ListRegexMatchSetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRegexMatchSetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRegexMatchSetsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListRegexMatchSetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListRegexMatchSetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRegexMatchSetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListRegexMatchSetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRegexMatchSetsCommand;
38
+ }($Command));
39
+ export { ListRegexMatchSetsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListRegexPatternSetsRequestFilterSensitiveLog, ListRegexPatternSetsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListRegexPatternSetsCommand, serializeAws_json1_1ListRegexPatternSetsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListRegexPatternSetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRegexPatternSetsCommand = (function (_super) {
7
+ __extends(ListRegexPatternSetsCommand, _super);
8
+ function ListRegexPatternSetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRegexPatternSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WAFClient";
15
- const commandName = "ListRegexPatternSetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFClient";
18
+ var commandName = "ListRegexPatternSetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRegexPatternSetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRegexPatternSetsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListRegexPatternSetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListRegexPatternSetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRegexPatternSetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListRegexPatternSetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRegexPatternSetsCommand;
38
+ }($Command));
39
+ export { ListRegexPatternSetsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListRuleGroupsRequestFilterSensitiveLog, ListRuleGroupsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListRuleGroupsCommand, serializeAws_json1_1ListRuleGroupsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListRuleGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRuleGroupsCommand = (function (_super) {
7
+ __extends(ListRuleGroupsCommand, _super);
8
+ function ListRuleGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRuleGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WAFClient";
15
- const commandName = "ListRuleGroupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFClient";
18
+ var commandName = "ListRuleGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRuleGroupsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRuleGroupsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListRuleGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListRuleGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRuleGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListRuleGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRuleGroupsCommand;
38
+ }($Command));
39
+ export { ListRuleGroupsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListRulesRequestFilterSensitiveLog, ListRulesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListRulesCommand, serializeAws_json1_1ListRulesCommand } from "../protocols/Aws_json1_1";
5
- export class ListRulesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListRulesCommand = (function (_super) {
7
+ __extends(ListRulesCommand, _super);
8
+ function ListRulesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListRulesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WAFClient";
15
- const commandName = "ListRulesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFClient";
18
+ var commandName = "ListRulesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListRulesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListRulesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListRulesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListRulesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListRulesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListRulesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListRulesCommand;
38
+ }($Command));
39
+ export { ListRulesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListSizeConstraintSetsRequestFilterSensitiveLog, ListSizeConstraintSetsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListSizeConstraintSetsCommand, serializeAws_json1_1ListSizeConstraintSetsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListSizeConstraintSetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListSizeConstraintSetsCommand = (function (_super) {
7
+ __extends(ListSizeConstraintSetsCommand, _super);
8
+ function ListSizeConstraintSetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListSizeConstraintSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WAFClient";
15
- const commandName = "ListSizeConstraintSetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFClient";
18
+ var commandName = "ListSizeConstraintSetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListSizeConstraintSetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListSizeConstraintSetsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListSizeConstraintSetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListSizeConstraintSetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListSizeConstraintSetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListSizeConstraintSetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListSizeConstraintSetsCommand;
38
+ }($Command));
39
+ export { ListSizeConstraintSetsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListSqlInjectionMatchSetsRequestFilterSensitiveLog, ListSqlInjectionMatchSetsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListSqlInjectionMatchSetsCommand, serializeAws_json1_1ListSqlInjectionMatchSetsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListSqlInjectionMatchSetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListSqlInjectionMatchSetsCommand = (function (_super) {
7
+ __extends(ListSqlInjectionMatchSetsCommand, _super);
8
+ function ListSqlInjectionMatchSetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListSqlInjectionMatchSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WAFClient";
15
- const commandName = "ListSqlInjectionMatchSetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFClient";
18
+ var commandName = "ListSqlInjectionMatchSetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListSqlInjectionMatchSetsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListSqlInjectionMatchSetsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListSqlInjectionMatchSetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListSqlInjectionMatchSetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListSqlInjectionMatchSetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListSqlInjectionMatchSetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListSqlInjectionMatchSetsCommand;
38
+ }($Command));
39
+ export { ListSqlInjectionMatchSetsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListSubscribedRuleGroupsRequestFilterSensitiveLog, ListSubscribedRuleGroupsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListSubscribedRuleGroupsCommand, serializeAws_json1_1ListSubscribedRuleGroupsCommand, } from "../protocols/Aws_json1_1";
5
- export class ListSubscribedRuleGroupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListSubscribedRuleGroupsCommand = (function (_super) {
7
+ __extends(ListSubscribedRuleGroupsCommand, _super);
8
+ function ListSubscribedRuleGroupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListSubscribedRuleGroupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WAFClient";
15
- const commandName = "ListSubscribedRuleGroupsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFClient";
18
+ var commandName = "ListSubscribedRuleGroupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListSubscribedRuleGroupsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListSubscribedRuleGroupsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListSubscribedRuleGroupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListSubscribedRuleGroupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListSubscribedRuleGroupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListSubscribedRuleGroupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListSubscribedRuleGroupsCommand;
38
+ }($Command));
39
+ export { ListSubscribedRuleGroupsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "WAFClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };