@aws-sdk/client-wafv2 3.50.0 → 3.53.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 (92) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist-cjs/WAFV2.js +45 -0
  3. package/dist-cjs/commands/GenerateMobileSdkReleaseUrlCommand.js +36 -0
  4. package/dist-cjs/commands/GetMobileSdkReleaseCommand.js +36 -0
  5. package/dist-cjs/commands/ListMobileSdkReleasesCommand.js +36 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/index.js +3 -0
  8. package/dist-cjs/models/WAFV2ServiceException.js +11 -0
  9. package/dist-cjs/models/models_0.js +323 -4
  10. package/dist-cjs/protocols/Aws_json1_1.js +848 -2057
  11. package/dist-es/WAFV2.js +45 -0
  12. package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +39 -0
  13. package/dist-es/commands/GetMobileSdkReleaseCommand.js +39 -0
  14. package/dist-es/commands/ListMobileSdkReleasesCommand.js +39 -0
  15. package/dist-es/commands/index.js +3 -0
  16. package/dist-es/index.js +1 -0
  17. package/dist-es/models/WAFV2ServiceException.js +12 -0
  18. package/dist-es/models/models_0.js +280 -1
  19. package/dist-es/protocols/Aws_json1_1.js +1493 -2206
  20. package/dist-types/WAFV2.d.ts +35 -2
  21. package/dist-types/WAFV2Client.d.ts +5 -2
  22. package/dist-types/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +37 -0
  23. package/dist-types/commands/GetMobileSdkReleaseCommand.d.ts +37 -0
  24. package/dist-types/commands/ListMobileSdkReleasesCommand.d.ts +37 -0
  25. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +8 -2
  26. package/dist-types/commands/index.d.ts +3 -0
  27. package/dist-types/index.d.ts +1 -0
  28. package/dist-types/models/WAFV2ServiceException.d.ts +10 -0
  29. package/dist-types/models/models_0.d.ts +433 -63
  30. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  31. package/dist-types/ts3.4/WAFV2.d.ts +245 -0
  32. package/dist-types/ts3.4/WAFV2Client.d.ts +121 -0
  33. package/dist-types/ts3.4/commands/AssociateWebACLCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/CheckCapacityCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DeleteFirewallManagerRuleGroupsCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DescribeManagedRuleGroupCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/DisassociateWebACLCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/GenerateMobileSdkReleaseUrlCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/GetManagedRuleSetCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/GetMobileSdkReleaseCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetRateBasedStatementManagedKeysCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupVersionsCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/ListAvailableManagedRuleGroupsCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/ListManagedRuleSetsCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/ListMobileSdkReleasesCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/ListResourcesForWebACLCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/PutManagedRuleSetVersionsCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/UpdateManagedRuleSetVersionExpiryDateCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/index.d.ts +48 -0
  82. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  83. package/dist-types/ts3.4/index.d.ts +5 -0
  84. package/dist-types/ts3.4/models/WAFV2ServiceException.d.ts +6 -0
  85. package/dist-types/ts3.4/models/index.d.ts +1 -0
  86. package/dist-types/ts3.4/models/models_0.d.ts +199 -0
  87. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +146 -0
  88. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  89. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  90. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  91. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  92. package/package.json +33 -33
package/dist-es/WAFV2.js CHANGED
@@ -14,9 +14,11 @@ import { DeleteRuleGroupCommand, } from "./commands/DeleteRuleGroupCommand";
14
14
  import { DeleteWebACLCommand, } from "./commands/DeleteWebACLCommand";
15
15
  import { DescribeManagedRuleGroupCommand, } from "./commands/DescribeManagedRuleGroupCommand";
16
16
  import { DisassociateWebACLCommand, } from "./commands/DisassociateWebACLCommand";
17
+ import { GenerateMobileSdkReleaseUrlCommand, } from "./commands/GenerateMobileSdkReleaseUrlCommand";
17
18
  import { GetIPSetCommand } from "./commands/GetIPSetCommand";
18
19
  import { GetLoggingConfigurationCommand, } from "./commands/GetLoggingConfigurationCommand";
19
20
  import { GetManagedRuleSetCommand, } from "./commands/GetManagedRuleSetCommand";
21
+ import { GetMobileSdkReleaseCommand, } from "./commands/GetMobileSdkReleaseCommand";
20
22
  import { GetPermissionPolicyCommand, } from "./commands/GetPermissionPolicyCommand";
21
23
  import { GetRateBasedStatementManagedKeysCommand, } from "./commands/GetRateBasedStatementManagedKeysCommand";
22
24
  import { GetRegexPatternSetCommand, } from "./commands/GetRegexPatternSetCommand";
@@ -29,6 +31,7 @@ import { ListAvailableManagedRuleGroupVersionsCommand, } from "./commands/ListAv
29
31
  import { ListIPSetsCommand } from "./commands/ListIPSetsCommand";
30
32
  import { ListLoggingConfigurationsCommand, } from "./commands/ListLoggingConfigurationsCommand";
31
33
  import { ListManagedRuleSetsCommand, } from "./commands/ListManagedRuleSetsCommand";
34
+ import { ListMobileSdkReleasesCommand, } from "./commands/ListMobileSdkReleasesCommand";
32
35
  import { ListRegexPatternSetsCommand, } from "./commands/ListRegexPatternSetsCommand";
33
36
  import { ListResourcesForWebACLCommand, } from "./commands/ListResourcesForWebACLCommand";
34
37
  import { ListRuleGroupsCommand, } from "./commands/ListRuleGroupsCommand";
@@ -260,6 +263,20 @@ var WAFV2 = (function (_super) {
260
263
  return this.send(command, optionsOrCb);
261
264
  }
262
265
  };
266
+ WAFV2.prototype.generateMobileSdkReleaseUrl = function (args, optionsOrCb, cb) {
267
+ var command = new GenerateMobileSdkReleaseUrlCommand(args);
268
+ if (typeof optionsOrCb === "function") {
269
+ this.send(command, optionsOrCb);
270
+ }
271
+ else if (typeof cb === "function") {
272
+ if (typeof optionsOrCb !== "object")
273
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
274
+ this.send(command, optionsOrCb || {}, cb);
275
+ }
276
+ else {
277
+ return this.send(command, optionsOrCb);
278
+ }
279
+ };
263
280
  WAFV2.prototype.getIPSet = function (args, optionsOrCb, cb) {
264
281
  var command = new GetIPSetCommand(args);
265
282
  if (typeof optionsOrCb === "function") {
@@ -302,6 +319,20 @@ var WAFV2 = (function (_super) {
302
319
  return this.send(command, optionsOrCb);
303
320
  }
304
321
  };
322
+ WAFV2.prototype.getMobileSdkRelease = function (args, optionsOrCb, cb) {
323
+ var command = new GetMobileSdkReleaseCommand(args);
324
+ if (typeof optionsOrCb === "function") {
325
+ this.send(command, optionsOrCb);
326
+ }
327
+ else if (typeof cb === "function") {
328
+ if (typeof optionsOrCb !== "object")
329
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
330
+ this.send(command, optionsOrCb || {}, cb);
331
+ }
332
+ else {
333
+ return this.send(command, optionsOrCb);
334
+ }
335
+ };
305
336
  WAFV2.prototype.getPermissionPolicy = function (args, optionsOrCb, cb) {
306
337
  var command = new GetPermissionPolicyCommand(args);
307
338
  if (typeof optionsOrCb === "function") {
@@ -470,6 +501,20 @@ var WAFV2 = (function (_super) {
470
501
  return this.send(command, optionsOrCb);
471
502
  }
472
503
  };
504
+ WAFV2.prototype.listMobileSdkReleases = function (args, optionsOrCb, cb) {
505
+ var command = new ListMobileSdkReleasesCommand(args);
506
+ if (typeof optionsOrCb === "function") {
507
+ this.send(command, optionsOrCb);
508
+ }
509
+ else if (typeof cb === "function") {
510
+ if (typeof optionsOrCb !== "object")
511
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
512
+ this.send(command, optionsOrCb || {}, cb);
513
+ }
514
+ else {
515
+ return this.send(command, optionsOrCb);
516
+ }
517
+ };
473
518
  WAFV2.prototype.listRegexPatternSets = function (args, optionsOrCb, cb) {
474
519
  var command = new ListRegexPatternSetsCommand(args);
475
520
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GenerateMobileSdkReleaseUrlRequest, GenerateMobileSdkReleaseUrlResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1GenerateMobileSdkReleaseUrlCommand, serializeAws_json1_1GenerateMobileSdkReleaseUrlCommand, } from "../protocols/Aws_json1_1";
6
+ var GenerateMobileSdkReleaseUrlCommand = (function (_super) {
7
+ __extends(GenerateMobileSdkReleaseUrlCommand, _super);
8
+ function GenerateMobileSdkReleaseUrlCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GenerateMobileSdkReleaseUrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFV2Client";
18
+ var commandName = "GenerateMobileSdkReleaseUrlCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GenerateMobileSdkReleaseUrlRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GenerateMobileSdkReleaseUrlResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GenerateMobileSdkReleaseUrlCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1GenerateMobileSdkReleaseUrlCommand(input, context);
33
+ };
34
+ GenerateMobileSdkReleaseUrlCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1GenerateMobileSdkReleaseUrlCommand(output, context);
36
+ };
37
+ return GenerateMobileSdkReleaseUrlCommand;
38
+ }($Command));
39
+ export { GenerateMobileSdkReleaseUrlCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetMobileSdkReleaseRequest, GetMobileSdkReleaseResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1GetMobileSdkReleaseCommand, serializeAws_json1_1GetMobileSdkReleaseCommand, } from "../protocols/Aws_json1_1";
6
+ var GetMobileSdkReleaseCommand = (function (_super) {
7
+ __extends(GetMobileSdkReleaseCommand, _super);
8
+ function GetMobileSdkReleaseCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetMobileSdkReleaseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFV2Client";
18
+ var commandName = "GetMobileSdkReleaseCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetMobileSdkReleaseRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetMobileSdkReleaseResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetMobileSdkReleaseCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1GetMobileSdkReleaseCommand(input, context);
33
+ };
34
+ GetMobileSdkReleaseCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1GetMobileSdkReleaseCommand(output, context);
36
+ };
37
+ return GetMobileSdkReleaseCommand;
38
+ }($Command));
39
+ export { GetMobileSdkReleaseCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListMobileSdkReleasesRequest, ListMobileSdkReleasesResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1ListMobileSdkReleasesCommand, serializeAws_json1_1ListMobileSdkReleasesCommand, } from "../protocols/Aws_json1_1";
6
+ var ListMobileSdkReleasesCommand = (function (_super) {
7
+ __extends(ListMobileSdkReleasesCommand, _super);
8
+ function ListMobileSdkReleasesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListMobileSdkReleasesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "WAFV2Client";
18
+ var commandName = "ListMobileSdkReleasesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListMobileSdkReleasesRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListMobileSdkReleasesResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListMobileSdkReleasesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_1ListMobileSdkReleasesCommand(input, context);
33
+ };
34
+ ListMobileSdkReleasesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1ListMobileSdkReleasesCommand(output, context);
36
+ };
37
+ return ListMobileSdkReleasesCommand;
38
+ }($Command));
39
+ export { ListMobileSdkReleasesCommand };
@@ -13,9 +13,11 @@ export * from "./DeleteRuleGroupCommand";
13
13
  export * from "./DeleteWebACLCommand";
14
14
  export * from "./DescribeManagedRuleGroupCommand";
15
15
  export * from "./DisassociateWebACLCommand";
16
+ export * from "./GenerateMobileSdkReleaseUrlCommand";
16
17
  export * from "./GetIPSetCommand";
17
18
  export * from "./GetLoggingConfigurationCommand";
18
19
  export * from "./GetManagedRuleSetCommand";
20
+ export * from "./GetMobileSdkReleaseCommand";
19
21
  export * from "./GetPermissionPolicyCommand";
20
22
  export * from "./GetRateBasedStatementManagedKeysCommand";
21
23
  export * from "./GetRegexPatternSetCommand";
@@ -28,6 +30,7 @@ export * from "./ListAvailableManagedRuleGroupsCommand";
28
30
  export * from "./ListIPSetsCommand";
29
31
  export * from "./ListLoggingConfigurationsCommand";
30
32
  export * from "./ListManagedRuleSetsCommand";
33
+ export * from "./ListMobileSdkReleasesCommand";
31
34
  export * from "./ListRegexPatternSetsCommand";
32
35
  export * from "./ListResourcesForWebACLCommand";
33
36
  export * from "./ListRuleGroupsCommand";
package/dist-es/index.js CHANGED
@@ -2,3 +2,4 @@ export * from "./WAFV2";
2
2
  export * from "./WAFV2Client";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { WAFV2ServiceException } from "./models/WAFV2ServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var WAFV2ServiceException = (function (_super) {
4
+ __extends(WAFV2ServiceException, _super);
5
+ function WAFV2ServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, WAFV2ServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return WAFV2ServiceException;
11
+ }(__ServiceException));
12
+ export { WAFV2ServiceException };
@@ -1,4 +1,5 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
+ import { WAFV2ServiceException as __BaseException } from "./WAFV2ServiceException";
2
3
  export var ActionValue;
3
4
  (function (ActionValue) {
4
5
  ActionValue["ALLOW"] = "ALLOW";
@@ -411,6 +412,23 @@ export var ExcludedRule;
411
412
  (function (ExcludedRule) {
412
413
  ExcludedRule.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
413
414
  })(ExcludedRule || (ExcludedRule = {}));
415
+ export var PasswordField;
416
+ (function (PasswordField) {
417
+ PasswordField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
418
+ })(PasswordField || (PasswordField = {}));
419
+ export var PayloadType;
420
+ (function (PayloadType) {
421
+ PayloadType["FORM_ENCODED"] = "FORM_ENCODED";
422
+ PayloadType["JSON"] = "JSON";
423
+ })(PayloadType || (PayloadType = {}));
424
+ export var UsernameField;
425
+ (function (UsernameField) {
426
+ UsernameField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
427
+ })(UsernameField || (UsernameField = {}));
428
+ export var ManagedRuleGroupConfig;
429
+ (function (ManagedRuleGroupConfig) {
430
+ ManagedRuleGroupConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
431
+ })(ManagedRuleGroupConfig || (ManagedRuleGroupConfig = {}));
414
432
  export var RateBasedStatementAggregateKeyType;
415
433
  (function (RateBasedStatementAggregateKeyType) {
416
434
  RateBasedStatementAggregateKeyType["FORWARDED_IP"] = "FORWARDED_IP";
@@ -457,6 +475,32 @@ export var AssociateWebACLResponse;
457
475
  (function (AssociateWebACLResponse) {
458
476
  AssociateWebACLResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
459
477
  })(AssociateWebACLResponse || (AssociateWebACLResponse = {}));
478
+ var WAFInternalErrorException = (function (_super) {
479
+ __extends(WAFInternalErrorException, _super);
480
+ function WAFInternalErrorException(opts) {
481
+ var _this = _super.call(this, __assign({ name: "WAFInternalErrorException", $fault: "server" }, opts)) || this;
482
+ _this.name = "WAFInternalErrorException";
483
+ _this.$fault = "server";
484
+ Object.setPrototypeOf(_this, WAFInternalErrorException.prototype);
485
+ _this.Message = opts.Message;
486
+ return _this;
487
+ }
488
+ return WAFInternalErrorException;
489
+ }(__BaseException));
490
+ export { WAFInternalErrorException };
491
+ var WAFInvalidOperationException = (function (_super) {
492
+ __extends(WAFInvalidOperationException, _super);
493
+ function WAFInvalidOperationException(opts) {
494
+ var _this = _super.call(this, __assign({ name: "WAFInvalidOperationException", $fault: "client" }, opts)) || this;
495
+ _this.name = "WAFInvalidOperationException";
496
+ _this.$fault = "client";
497
+ Object.setPrototypeOf(_this, WAFInvalidOperationException.prototype);
498
+ _this.Message = opts.Message;
499
+ return _this;
500
+ }
501
+ return WAFInvalidOperationException;
502
+ }(__BaseException));
503
+ export { WAFInvalidOperationException };
460
504
  export var ParameterExceptionField;
461
505
  (function (ParameterExceptionField) {
462
506
  ParameterExceptionField["AND_STATEMENT"] = "AND_STATEMENT";
@@ -488,12 +532,14 @@ export var ParameterExceptionField;
488
532
  ParameterExceptionField["LABEL_MATCH_STATEMENT"] = "LABEL_MATCH_STATEMENT";
489
533
  ParameterExceptionField["LOGGING_FILTER"] = "LOGGING_FILTER";
490
534
  ParameterExceptionField["LOG_DESTINATION"] = "LOG_DESTINATION";
535
+ ParameterExceptionField["MANAGED_RULE_GROUP_CONFIG"] = "MANAGED_RULE_GROUP_CONFIG";
491
536
  ParameterExceptionField["MANAGED_RULE_SET"] = "MANAGED_RULE_SET";
492
537
  ParameterExceptionField["MANAGED_RULE_SET_STATEMENT"] = "MANAGED_RULE_SET_STATEMENT";
493
538
  ParameterExceptionField["METRIC_NAME"] = "METRIC_NAME";
494
539
  ParameterExceptionField["NOT_STATEMENT"] = "NOT_STATEMENT";
495
540
  ParameterExceptionField["OR_STATEMENT"] = "OR_STATEMENT";
496
541
  ParameterExceptionField["OVERRIDE_ACTION"] = "OVERRIDE_ACTION";
542
+ ParameterExceptionField["PAYLOAD_TYPE"] = "PAYLOAD_TYPE";
497
543
  ParameterExceptionField["POSITION"] = "POSITION";
498
544
  ParameterExceptionField["RATE_BASED_STATEMENT"] = "RATE_BASED_STATEMENT";
499
545
  ParameterExceptionField["REGEX_PATTERN_REFERENCE_STATEMENT"] = "REGEX_PATTERN_REFERENCE_STATEMENT";
@@ -517,6 +563,47 @@ export var ParameterExceptionField;
517
563
  ParameterExceptionField["WEB_ACL"] = "WEB_ACL";
518
564
  ParameterExceptionField["XSS_MATCH_STATEMENT"] = "XSS_MATCH_STATEMENT";
519
565
  })(ParameterExceptionField || (ParameterExceptionField = {}));
566
+ var WAFInvalidParameterException = (function (_super) {
567
+ __extends(WAFInvalidParameterException, _super);
568
+ function WAFInvalidParameterException(opts) {
569
+ var _this = _super.call(this, __assign({ name: "WAFInvalidParameterException", $fault: "client" }, opts)) || this;
570
+ _this.name = "WAFInvalidParameterException";
571
+ _this.$fault = "client";
572
+ Object.setPrototypeOf(_this, WAFInvalidParameterException.prototype);
573
+ _this.Field = opts.Field;
574
+ _this.Parameter = opts.Parameter;
575
+ _this.Reason = opts.Reason;
576
+ return _this;
577
+ }
578
+ return WAFInvalidParameterException;
579
+ }(__BaseException));
580
+ export { WAFInvalidParameterException };
581
+ var WAFNonexistentItemException = (function (_super) {
582
+ __extends(WAFNonexistentItemException, _super);
583
+ function WAFNonexistentItemException(opts) {
584
+ var _this = _super.call(this, __assign({ name: "WAFNonexistentItemException", $fault: "client" }, opts)) || this;
585
+ _this.name = "WAFNonexistentItemException";
586
+ _this.$fault = "client";
587
+ Object.setPrototypeOf(_this, WAFNonexistentItemException.prototype);
588
+ _this.Message = opts.Message;
589
+ return _this;
590
+ }
591
+ return WAFNonexistentItemException;
592
+ }(__BaseException));
593
+ export { WAFNonexistentItemException };
594
+ var WAFUnavailableEntityException = (function (_super) {
595
+ __extends(WAFUnavailableEntityException, _super);
596
+ function WAFUnavailableEntityException(opts) {
597
+ var _this = _super.call(this, __assign({ name: "WAFUnavailableEntityException", $fault: "client" }, opts)) || this;
598
+ _this.name = "WAFUnavailableEntityException";
599
+ _this.$fault = "client";
600
+ Object.setPrototypeOf(_this, WAFUnavailableEntityException.prototype);
601
+ _this.Message = opts.Message;
602
+ return _this;
603
+ }
604
+ return WAFUnavailableEntityException;
605
+ }(__BaseException));
606
+ export { WAFUnavailableEntityException };
520
607
  export var CustomResponse;
521
608
  (function (CustomResponse) {
522
609
  CustomResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -570,6 +657,58 @@ export var CheckCapacityResponse;
570
657
  (function (CheckCapacityResponse) {
571
658
  CheckCapacityResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
572
659
  })(CheckCapacityResponse || (CheckCapacityResponse = {}));
660
+ var WAFExpiredManagedRuleGroupVersionException = (function (_super) {
661
+ __extends(WAFExpiredManagedRuleGroupVersionException, _super);
662
+ function WAFExpiredManagedRuleGroupVersionException(opts) {
663
+ var _this = _super.call(this, __assign({ name: "WAFExpiredManagedRuleGroupVersionException", $fault: "client" }, opts)) || this;
664
+ _this.name = "WAFExpiredManagedRuleGroupVersionException";
665
+ _this.$fault = "client";
666
+ Object.setPrototypeOf(_this, WAFExpiredManagedRuleGroupVersionException.prototype);
667
+ _this.Message = opts.Message;
668
+ return _this;
669
+ }
670
+ return WAFExpiredManagedRuleGroupVersionException;
671
+ }(__BaseException));
672
+ export { WAFExpiredManagedRuleGroupVersionException };
673
+ var WAFInvalidResourceException = (function (_super) {
674
+ __extends(WAFInvalidResourceException, _super);
675
+ function WAFInvalidResourceException(opts) {
676
+ var _this = _super.call(this, __assign({ name: "WAFInvalidResourceException", $fault: "client" }, opts)) || this;
677
+ _this.name = "WAFInvalidResourceException";
678
+ _this.$fault = "client";
679
+ Object.setPrototypeOf(_this, WAFInvalidResourceException.prototype);
680
+ _this.Message = opts.Message;
681
+ return _this;
682
+ }
683
+ return WAFInvalidResourceException;
684
+ }(__BaseException));
685
+ export { WAFInvalidResourceException };
686
+ var WAFLimitsExceededException = (function (_super) {
687
+ __extends(WAFLimitsExceededException, _super);
688
+ function WAFLimitsExceededException(opts) {
689
+ var _this = _super.call(this, __assign({ name: "WAFLimitsExceededException", $fault: "client" }, opts)) || this;
690
+ _this.name = "WAFLimitsExceededException";
691
+ _this.$fault = "client";
692
+ Object.setPrototypeOf(_this, WAFLimitsExceededException.prototype);
693
+ _this.Message = opts.Message;
694
+ return _this;
695
+ }
696
+ return WAFLimitsExceededException;
697
+ }(__BaseException));
698
+ export { WAFLimitsExceededException };
699
+ var WAFSubscriptionNotFoundException = (function (_super) {
700
+ __extends(WAFSubscriptionNotFoundException, _super);
701
+ function WAFSubscriptionNotFoundException(opts) {
702
+ var _this = _super.call(this, __assign({ name: "WAFSubscriptionNotFoundException", $fault: "client" }, opts)) || this;
703
+ _this.name = "WAFSubscriptionNotFoundException";
704
+ _this.$fault = "client";
705
+ Object.setPrototypeOf(_this, WAFSubscriptionNotFoundException.prototype);
706
+ _this.Message = opts.Message;
707
+ return _this;
708
+ }
709
+ return WAFSubscriptionNotFoundException;
710
+ }(__BaseException));
711
+ export { WAFSubscriptionNotFoundException };
573
712
  export var IPAddressVersion;
574
713
  (function (IPAddressVersion) {
575
714
  IPAddressVersion["IPV4"] = "IPV4";
@@ -591,6 +730,58 @@ export var CreateIPSetResponse;
591
730
  (function (CreateIPSetResponse) {
592
731
  CreateIPSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
593
732
  })(CreateIPSetResponse || (CreateIPSetResponse = {}));
733
+ var WAFDuplicateItemException = (function (_super) {
734
+ __extends(WAFDuplicateItemException, _super);
735
+ function WAFDuplicateItemException(opts) {
736
+ var _this = _super.call(this, __assign({ name: "WAFDuplicateItemException", $fault: "client" }, opts)) || this;
737
+ _this.name = "WAFDuplicateItemException";
738
+ _this.$fault = "client";
739
+ Object.setPrototypeOf(_this, WAFDuplicateItemException.prototype);
740
+ _this.Message = opts.Message;
741
+ return _this;
742
+ }
743
+ return WAFDuplicateItemException;
744
+ }(__BaseException));
745
+ export { WAFDuplicateItemException };
746
+ var WAFOptimisticLockException = (function (_super) {
747
+ __extends(WAFOptimisticLockException, _super);
748
+ function WAFOptimisticLockException(opts) {
749
+ var _this = _super.call(this, __assign({ name: "WAFOptimisticLockException", $fault: "client" }, opts)) || this;
750
+ _this.name = "WAFOptimisticLockException";
751
+ _this.$fault = "client";
752
+ Object.setPrototypeOf(_this, WAFOptimisticLockException.prototype);
753
+ _this.Message = opts.Message;
754
+ return _this;
755
+ }
756
+ return WAFOptimisticLockException;
757
+ }(__BaseException));
758
+ export { WAFOptimisticLockException };
759
+ var WAFTagOperationException = (function (_super) {
760
+ __extends(WAFTagOperationException, _super);
761
+ function WAFTagOperationException(opts) {
762
+ var _this = _super.call(this, __assign({ name: "WAFTagOperationException", $fault: "client" }, opts)) || this;
763
+ _this.name = "WAFTagOperationException";
764
+ _this.$fault = "client";
765
+ Object.setPrototypeOf(_this, WAFTagOperationException.prototype);
766
+ _this.Message = opts.Message;
767
+ return _this;
768
+ }
769
+ return WAFTagOperationException;
770
+ }(__BaseException));
771
+ export { WAFTagOperationException };
772
+ var WAFTagOperationInternalErrorException = (function (_super) {
773
+ __extends(WAFTagOperationInternalErrorException, _super);
774
+ function WAFTagOperationInternalErrorException(opts) {
775
+ var _this = _super.call(this, __assign({ name: "WAFTagOperationInternalErrorException", $fault: "server" }, opts)) || this;
776
+ _this.name = "WAFTagOperationInternalErrorException";
777
+ _this.$fault = "server";
778
+ Object.setPrototypeOf(_this, WAFTagOperationInternalErrorException.prototype);
779
+ _this.Message = opts.Message;
780
+ return _this;
781
+ }
782
+ return WAFTagOperationInternalErrorException;
783
+ }(__BaseException));
784
+ export { WAFTagOperationInternalErrorException };
594
785
  export var Regex;
595
786
  (function (Regex) {
596
787
  Regex.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -653,6 +844,19 @@ export var DeleteIPSetResponse;
653
844
  (function (DeleteIPSetResponse) {
654
845
  DeleteIPSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
655
846
  })(DeleteIPSetResponse || (DeleteIPSetResponse = {}));
847
+ var WAFAssociatedItemException = (function (_super) {
848
+ __extends(WAFAssociatedItemException, _super);
849
+ function WAFAssociatedItemException(opts) {
850
+ var _this = _super.call(this, __assign({ name: "WAFAssociatedItemException", $fault: "client" }, opts)) || this;
851
+ _this.name = "WAFAssociatedItemException";
852
+ _this.$fault = "client";
853
+ Object.setPrototypeOf(_this, WAFAssociatedItemException.prototype);
854
+ _this.Message = opts.Message;
855
+ return _this;
856
+ }
857
+ return WAFAssociatedItemException;
858
+ }(__BaseException));
859
+ export { WAFAssociatedItemException };
656
860
  export var DeleteLoggingConfigurationRequest;
657
861
  (function (DeleteLoggingConfigurationRequest) {
658
862
  DeleteLoggingConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -717,6 +921,19 @@ export var DisassociateWebACLResponse;
717
921
  (function (DisassociateWebACLResponse) {
718
922
  DisassociateWebACLResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
719
923
  })(DisassociateWebACLResponse || (DisassociateWebACLResponse = {}));
924
+ export var Platform;
925
+ (function (Platform) {
926
+ Platform["ANDROID"] = "ANDROID";
927
+ Platform["IOS"] = "IOS";
928
+ })(Platform || (Platform = {}));
929
+ export var GenerateMobileSdkReleaseUrlRequest;
930
+ (function (GenerateMobileSdkReleaseUrlRequest) {
931
+ GenerateMobileSdkReleaseUrlRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
932
+ })(GenerateMobileSdkReleaseUrlRequest || (GenerateMobileSdkReleaseUrlRequest = {}));
933
+ export var GenerateMobileSdkReleaseUrlResponse;
934
+ (function (GenerateMobileSdkReleaseUrlResponse) {
935
+ GenerateMobileSdkReleaseUrlResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
936
+ })(GenerateMobileSdkReleaseUrlResponse || (GenerateMobileSdkReleaseUrlResponse = {}));
720
937
  export var GetIPSetRequest;
721
938
  (function (GetIPSetRequest) {
722
939
  GetIPSetRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -783,6 +1000,18 @@ export var GetManagedRuleSetResponse;
783
1000
  (function (GetManagedRuleSetResponse) {
784
1001
  GetManagedRuleSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
785
1002
  })(GetManagedRuleSetResponse || (GetManagedRuleSetResponse = {}));
1003
+ export var GetMobileSdkReleaseRequest;
1004
+ (function (GetMobileSdkReleaseRequest) {
1005
+ GetMobileSdkReleaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1006
+ })(GetMobileSdkReleaseRequest || (GetMobileSdkReleaseRequest = {}));
1007
+ export var MobileSdkRelease;
1008
+ (function (MobileSdkRelease) {
1009
+ MobileSdkRelease.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1010
+ })(MobileSdkRelease || (MobileSdkRelease = {}));
1011
+ export var GetMobileSdkReleaseResponse;
1012
+ (function (GetMobileSdkReleaseResponse) {
1013
+ GetMobileSdkReleaseResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1014
+ })(GetMobileSdkReleaseResponse || (GetMobileSdkReleaseResponse = {}));
786
1015
  export var GetPermissionPolicyRequest;
787
1016
  (function (GetPermissionPolicyRequest) {
788
1017
  GetPermissionPolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -912,6 +1141,18 @@ export var ListManagedRuleSetsResponse;
912
1141
  (function (ListManagedRuleSetsResponse) {
913
1142
  ListManagedRuleSetsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
914
1143
  })(ListManagedRuleSetsResponse || (ListManagedRuleSetsResponse = {}));
1144
+ export var ListMobileSdkReleasesRequest;
1145
+ (function (ListMobileSdkReleasesRequest) {
1146
+ ListMobileSdkReleasesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1147
+ })(ListMobileSdkReleasesRequest || (ListMobileSdkReleasesRequest = {}));
1148
+ export var ReleaseSummary;
1149
+ (function (ReleaseSummary) {
1150
+ ReleaseSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1151
+ })(ReleaseSummary || (ReleaseSummary = {}));
1152
+ export var ListMobileSdkReleasesResponse;
1153
+ (function (ListMobileSdkReleasesResponse) {
1154
+ ListMobileSdkReleasesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1155
+ })(ListMobileSdkReleasesResponse || (ListMobileSdkReleasesResponse = {}));
915
1156
  export var ListRegexPatternSetsRequest;
916
1157
  (function (ListRegexPatternSetsRequest) {
917
1158
  ListRegexPatternSetsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -970,6 +1211,31 @@ export var PutLoggingConfigurationResponse;
970
1211
  (function (PutLoggingConfigurationResponse) {
971
1212
  PutLoggingConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
972
1213
  })(PutLoggingConfigurationResponse || (PutLoggingConfigurationResponse = {}));
1214
+ var WAFLogDestinationPermissionIssueException = (function (_super) {
1215
+ __extends(WAFLogDestinationPermissionIssueException, _super);
1216
+ function WAFLogDestinationPermissionIssueException(opts) {
1217
+ var _this = _super.call(this, __assign({ name: "WAFLogDestinationPermissionIssueException", $fault: "client" }, opts)) || this;
1218
+ _this.name = "WAFLogDestinationPermissionIssueException";
1219
+ _this.$fault = "client";
1220
+ Object.setPrototypeOf(_this, WAFLogDestinationPermissionIssueException.prototype);
1221
+ _this.Message = opts.Message;
1222
+ return _this;
1223
+ }
1224
+ return WAFLogDestinationPermissionIssueException;
1225
+ }(__BaseException));
1226
+ export { WAFLogDestinationPermissionIssueException };
1227
+ var WAFServiceLinkedRoleErrorException = (function (_super) {
1228
+ __extends(WAFServiceLinkedRoleErrorException, _super);
1229
+ function WAFServiceLinkedRoleErrorException(opts) {
1230
+ var _this = _super.call(this, __assign({ name: "WAFServiceLinkedRoleErrorException", $fault: "client" }, opts)) || this;
1231
+ _this.name = "WAFServiceLinkedRoleErrorException";
1232
+ _this.$fault = "client";
1233
+ Object.setPrototypeOf(_this, WAFServiceLinkedRoleErrorException.prototype);
1234
+ return _this;
1235
+ }
1236
+ return WAFServiceLinkedRoleErrorException;
1237
+ }(__BaseException));
1238
+ export { WAFServiceLinkedRoleErrorException };
973
1239
  export var VersionToPublish;
974
1240
  (function (VersionToPublish) {
975
1241
  VersionToPublish.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -990,6 +1256,19 @@ export var PutPermissionPolicyResponse;
990
1256
  (function (PutPermissionPolicyResponse) {
991
1257
  PutPermissionPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
992
1258
  })(PutPermissionPolicyResponse || (PutPermissionPolicyResponse = {}));
1259
+ var WAFInvalidPermissionPolicyException = (function (_super) {
1260
+ __extends(WAFInvalidPermissionPolicyException, _super);
1261
+ function WAFInvalidPermissionPolicyException(opts) {
1262
+ var _this = _super.call(this, __assign({ name: "WAFInvalidPermissionPolicyException", $fault: "client" }, opts)) || this;
1263
+ _this.name = "WAFInvalidPermissionPolicyException";
1264
+ _this.$fault = "client";
1265
+ Object.setPrototypeOf(_this, WAFInvalidPermissionPolicyException.prototype);
1266
+ _this.Message = opts.Message;
1267
+ return _this;
1268
+ }
1269
+ return WAFInvalidPermissionPolicyException;
1270
+ }(__BaseException));
1271
+ export { WAFInvalidPermissionPolicyException };
993
1272
  export var TagResourceRequest;
994
1273
  (function (TagResourceRequest) {
995
1274
  TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };