@aws-sdk/client-wafv2 3.52.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
12
+ * **clients:** update clients as of 2022/02/23 ([#3356](https://github.com/aws/aws-sdk-js-v3/issues/3356)) ([b6b2e25](https://github.com/aws/aws-sdk-js-v3/commit/b6b2e258add12c73d807483ca078401a6d84a12b))
13
+
14
+
15
+
16
+
17
+
6
18
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
19
 
8
20
 
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WAFV2ServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./WAFV2"), exports);
5
6
  tslib_1.__exportStar(require("./WAFV2Client"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
9
+ var WAFV2ServiceException_1 = require("./models/WAFV2ServiceException");
10
+ Object.defineProperty(exports, "WAFV2ServiceException", { enumerable: true, get: function () { return WAFV2ServiceException_1.WAFV2ServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WAFV2ServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class WAFV2ServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, WAFV2ServiceException.prototype);
9
+ }
10
+ }
11
+ exports.WAFV2ServiceException = WAFV2ServiceException;
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CaptchaAction = exports.BlockAction = exports.CustomResponse = exports.ParameterExceptionField = exports.AssociateWebACLResponse = exports.AssociateWebACLRequest = exports.XssMatchStatement = exports.SqliMatchStatement = exports.SizeConstraintStatement = exports.ComparisonOperator = exports.RuleGroupReferenceStatement = exports.RegexPatternSetReferenceStatement = exports.RegexMatchStatement = exports.RateBasedStatementAggregateKeyType = exports.ManagedRuleGroupConfig = exports.UsernameField = exports.PayloadType = exports.PasswordField = exports.ExcludedRule = exports.LabelMatchStatement = exports.LabelMatchScope = exports.IPSetReferenceStatement = exports.IPSetForwardedIPConfig = exports.ForwardedIPPosition = exports.GeoMatchStatement = exports.ForwardedIPConfig = exports.FallbackBehavior = exports.CountryCode = exports.ByteMatchStatement = exports.TextTransformation = exports.TextTransformationType = exports.PositionalConstraint = exports.FieldToMatch = exports.UriPath = exports.SingleQueryArgument = exports.SingleHeader = exports.QueryString = exports.Method = exports.JsonBody = exports.JsonMatchScope = exports.JsonMatchPattern = exports.BodyParsingFallbackBehavior = exports.Body = exports.AllQueryArguments = exports.AllowAction = exports.CustomRequestHandling = exports.CustomHTTPHeader = exports.All = exports.ActionCondition = exports.ActionValue = void 0;
4
- exports.GetIPSetRequest = exports.GenerateMobileSdkReleaseUrlResponse = exports.GenerateMobileSdkReleaseUrlRequest = exports.Platform = exports.DisassociateWebACLResponse = exports.DisassociateWebACLRequest = exports.DescribeManagedRuleGroupResponse = exports.RuleSummary = exports.LabelSummary = exports.DescribeManagedRuleGroupRequest = exports.DeleteWebACLResponse = exports.DeleteWebACLRequest = exports.DeleteRuleGroupResponse = exports.DeleteRuleGroupRequest = exports.DeleteRegexPatternSetResponse = exports.DeleteRegexPatternSetRequest = exports.DeletePermissionPolicyResponse = exports.DeletePermissionPolicyRequest = exports.DeleteLoggingConfigurationResponse = exports.DeleteLoggingConfigurationRequest = exports.DeleteIPSetResponse = exports.DeleteIPSetRequest = exports.DeleteFirewallManagerRuleGroupsResponse = exports.DeleteFirewallManagerRuleGroupsRequest = exports.CreateWebACLResponse = exports.WebACLSummary = exports.DefaultAction = exports.CreateRuleGroupResponse = exports.RuleGroupSummary = exports.CustomResponseBody = exports.ResponseContentType = exports.CreateRegexPatternSetResponse = exports.RegexPatternSetSummary = exports.CreateRegexPatternSetRequest = exports.Regex = exports.CreateIPSetResponse = exports.IPSetSummary = exports.CreateIPSetRequest = exports.Tag = exports.IPAddressVersion = exports.CheckCapacityResponse = exports.Scope = exports.VisibilityConfig = exports.Label = exports.OverrideAction = exports.NoneAction = exports.CaptchaConfig = exports.ImmunityTimeProperty = exports.RuleAction = exports.CountAction = void 0;
5
- exports.ListManagedRuleSetsResponse = exports.ManagedRuleSetSummary = exports.ListManagedRuleSetsRequest = exports.ListLoggingConfigurationsResponse = exports.ListLoggingConfigurationsRequest = exports.ListIPSetsResponse = exports.ListIPSetsRequest = exports.ListAvailableManagedRuleGroupVersionsResponse = exports.ManagedRuleGroupVersion = exports.ListAvailableManagedRuleGroupVersionsRequest = exports.ListAvailableManagedRuleGroupsResponse = exports.ManagedRuleGroupSummary = exports.ListAvailableManagedRuleGroupsRequest = exports.GetWebACLForResourceRequest = exports.GetWebACLRequest = exports.GetSampledRequestsResponse = exports.SampledHTTPRequest = exports.HTTPRequest = exports.HTTPHeader = exports.CaptchaResponse = exports.FailureReason = exports.GetSampledRequestsRequest = exports.TimeWindow = exports.GetRuleGroupRequest = exports.GetRegexPatternSetResponse = exports.RegexPatternSet = exports.GetRegexPatternSetRequest = exports.GetRateBasedStatementManagedKeysResponse = exports.RateBasedStatementManagedKeysIPSet = exports.GetRateBasedStatementManagedKeysRequest = exports.GetPermissionPolicyResponse = exports.GetPermissionPolicyRequest = exports.GetMobileSdkReleaseResponse = exports.MobileSdkRelease = exports.GetMobileSdkReleaseRequest = exports.GetManagedRuleSetResponse = exports.ManagedRuleSet = exports.ManagedRuleSetVersion = exports.GetManagedRuleSetRequest = exports.GetLoggingConfigurationResponse = exports.LoggingConfiguration = exports.LoggingFilter = exports.Filter = exports.FilterRequirement = exports.Condition = exports.LabelNameCondition = exports.FilterBehavior = exports.GetLoggingConfigurationRequest = exports.GetIPSetResponse = exports.IPSet = void 0;
6
- exports.GetRuleGroupResponse = exports.UpdateWebACLRequest = exports.UpdateRuleGroupRequest = exports.RuleGroup = exports.CreateWebACLRequest = exports.CreateRuleGroupRequest = exports.CheckCapacityRequest = exports.FirewallManagerRuleGroup = exports.FirewallManagerStatement = exports.OrStatement = exports.AndStatement = exports.Rule = exports.RateBasedStatement = exports.NotStatement = exports.ManagedRuleGroupStatement = exports.Statement = exports.UpdateWebACLResponse = exports.UpdateRuleGroupResponse = exports.UpdateRegexPatternSetResponse = exports.UpdateRegexPatternSetRequest = exports.UpdateManagedRuleSetVersionExpiryDateResponse = exports.UpdateManagedRuleSetVersionExpiryDateRequest = exports.UpdateIPSetResponse = exports.UpdateIPSetRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutPermissionPolicyResponse = exports.PutPermissionPolicyRequest = exports.PutManagedRuleSetVersionsResponse = exports.PutManagedRuleSetVersionsRequest = exports.VersionToPublish = exports.PutLoggingConfigurationResponse = exports.PutLoggingConfigurationRequest = exports.ListWebACLsResponse = exports.ListWebACLsRequest = exports.ListTagsForResourceResponse = exports.TagInfoForResource = exports.ListTagsForResourceRequest = exports.ListRuleGroupsResponse = exports.ListRuleGroupsRequest = exports.ListResourcesForWebACLResponse = exports.ListResourcesForWebACLRequest = exports.ResourceType = exports.ListRegexPatternSetsResponse = exports.ListRegexPatternSetsRequest = exports.ListMobileSdkReleasesResponse = exports.ReleaseSummary = exports.ListMobileSdkReleasesRequest = void 0;
7
- exports.GetWebACLResponse = exports.GetWebACLForResourceResponse = exports.WebACL = void 0;
3
+ exports.WAFInvalidParameterException = exports.ParameterExceptionField = exports.WAFInvalidOperationException = exports.WAFInternalErrorException = exports.AssociateWebACLResponse = exports.AssociateWebACLRequest = exports.XssMatchStatement = exports.SqliMatchStatement = exports.SizeConstraintStatement = exports.ComparisonOperator = exports.RuleGroupReferenceStatement = exports.RegexPatternSetReferenceStatement = exports.RegexMatchStatement = exports.RateBasedStatementAggregateKeyType = exports.ManagedRuleGroupConfig = exports.UsernameField = exports.PayloadType = exports.PasswordField = exports.ExcludedRule = exports.LabelMatchStatement = exports.LabelMatchScope = exports.IPSetReferenceStatement = exports.IPSetForwardedIPConfig = exports.ForwardedIPPosition = exports.GeoMatchStatement = exports.ForwardedIPConfig = exports.FallbackBehavior = exports.CountryCode = exports.ByteMatchStatement = exports.TextTransformation = exports.TextTransformationType = exports.PositionalConstraint = exports.FieldToMatch = exports.UriPath = exports.SingleQueryArgument = exports.SingleHeader = exports.QueryString = exports.Method = exports.JsonBody = exports.JsonMatchScope = exports.JsonMatchPattern = exports.BodyParsingFallbackBehavior = exports.Body = exports.AllQueryArguments = exports.AllowAction = exports.CustomRequestHandling = exports.CustomHTTPHeader = exports.All = exports.ActionCondition = exports.ActionValue = void 0;
4
+ exports.DeleteRegexPatternSetResponse = exports.DeleteRegexPatternSetRequest = exports.DeletePermissionPolicyResponse = exports.DeletePermissionPolicyRequest = exports.DeleteLoggingConfigurationResponse = exports.DeleteLoggingConfigurationRequest = exports.WAFAssociatedItemException = exports.DeleteIPSetResponse = exports.DeleteIPSetRequest = exports.DeleteFirewallManagerRuleGroupsResponse = exports.DeleteFirewallManagerRuleGroupsRequest = exports.CreateWebACLResponse = exports.WebACLSummary = exports.DefaultAction = exports.CreateRuleGroupResponse = exports.RuleGroupSummary = exports.CustomResponseBody = exports.ResponseContentType = exports.CreateRegexPatternSetResponse = exports.RegexPatternSetSummary = exports.CreateRegexPatternSetRequest = exports.Regex = exports.WAFTagOperationInternalErrorException = exports.WAFTagOperationException = exports.WAFOptimisticLockException = exports.WAFDuplicateItemException = exports.CreateIPSetResponse = exports.IPSetSummary = exports.CreateIPSetRequest = exports.Tag = exports.IPAddressVersion = exports.WAFSubscriptionNotFoundException = exports.WAFLimitsExceededException = exports.WAFInvalidResourceException = exports.WAFExpiredManagedRuleGroupVersionException = exports.CheckCapacityResponse = exports.Scope = exports.VisibilityConfig = exports.Label = exports.OverrideAction = exports.NoneAction = exports.CaptchaConfig = exports.ImmunityTimeProperty = exports.RuleAction = exports.CountAction = exports.CaptchaAction = exports.BlockAction = exports.CustomResponse = exports.WAFUnavailableEntityException = exports.WAFNonexistentItemException = void 0;
5
+ exports.GetWebACLRequest = exports.GetSampledRequestsResponse = exports.SampledHTTPRequest = exports.HTTPRequest = exports.HTTPHeader = exports.CaptchaResponse = exports.FailureReason = exports.GetSampledRequestsRequest = exports.TimeWindow = exports.GetRuleGroupRequest = exports.GetRegexPatternSetResponse = exports.RegexPatternSet = exports.GetRegexPatternSetRequest = exports.GetRateBasedStatementManagedKeysResponse = exports.RateBasedStatementManagedKeysIPSet = exports.GetRateBasedStatementManagedKeysRequest = exports.GetPermissionPolicyResponse = exports.GetPermissionPolicyRequest = exports.GetMobileSdkReleaseResponse = exports.MobileSdkRelease = exports.GetMobileSdkReleaseRequest = exports.GetManagedRuleSetResponse = exports.ManagedRuleSet = exports.ManagedRuleSetVersion = exports.GetManagedRuleSetRequest = exports.GetLoggingConfigurationResponse = exports.LoggingConfiguration = exports.LoggingFilter = exports.Filter = exports.FilterRequirement = exports.Condition = exports.LabelNameCondition = exports.FilterBehavior = exports.GetLoggingConfigurationRequest = exports.GetIPSetResponse = exports.IPSet = exports.GetIPSetRequest = exports.GenerateMobileSdkReleaseUrlResponse = exports.GenerateMobileSdkReleaseUrlRequest = exports.Platform = exports.DisassociateWebACLResponse = exports.DisassociateWebACLRequest = exports.DescribeManagedRuleGroupResponse = exports.RuleSummary = exports.LabelSummary = exports.DescribeManagedRuleGroupRequest = exports.DeleteWebACLResponse = exports.DeleteWebACLRequest = exports.DeleteRuleGroupResponse = exports.DeleteRuleGroupRequest = void 0;
6
+ exports.UpdateRuleGroupResponse = exports.UpdateRegexPatternSetResponse = exports.UpdateRegexPatternSetRequest = exports.UpdateManagedRuleSetVersionExpiryDateResponse = exports.UpdateManagedRuleSetVersionExpiryDateRequest = exports.UpdateIPSetResponse = exports.UpdateIPSetRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.WAFInvalidPermissionPolicyException = exports.PutPermissionPolicyResponse = exports.PutPermissionPolicyRequest = exports.PutManagedRuleSetVersionsResponse = exports.PutManagedRuleSetVersionsRequest = exports.VersionToPublish = exports.WAFServiceLinkedRoleErrorException = exports.WAFLogDestinationPermissionIssueException = exports.PutLoggingConfigurationResponse = exports.PutLoggingConfigurationRequest = exports.ListWebACLsResponse = exports.ListWebACLsRequest = exports.ListTagsForResourceResponse = exports.TagInfoForResource = exports.ListTagsForResourceRequest = exports.ListRuleGroupsResponse = exports.ListRuleGroupsRequest = exports.ListResourcesForWebACLResponse = exports.ListResourcesForWebACLRequest = exports.ResourceType = exports.ListRegexPatternSetsResponse = exports.ListRegexPatternSetsRequest = exports.ListMobileSdkReleasesResponse = exports.ReleaseSummary = exports.ListMobileSdkReleasesRequest = exports.ListManagedRuleSetsResponse = exports.ManagedRuleSetSummary = exports.ListManagedRuleSetsRequest = exports.ListLoggingConfigurationsResponse = exports.ListLoggingConfigurationsRequest = exports.ListIPSetsResponse = exports.ListIPSetsRequest = exports.ListAvailableManagedRuleGroupVersionsResponse = exports.ManagedRuleGroupVersion = exports.ListAvailableManagedRuleGroupVersionsRequest = exports.ListAvailableManagedRuleGroupsResponse = exports.ManagedRuleGroupSummary = exports.ListAvailableManagedRuleGroupsRequest = exports.GetWebACLForResourceRequest = void 0;
7
+ exports.GetWebACLResponse = exports.GetWebACLForResourceResponse = exports.WebACL = exports.GetRuleGroupResponse = exports.UpdateWebACLRequest = exports.UpdateRuleGroupRequest = exports.RuleGroup = exports.CreateWebACLRequest = exports.CreateRuleGroupRequest = exports.CheckCapacityRequest = exports.FirewallManagerRuleGroup = exports.FirewallManagerStatement = exports.OrStatement = exports.AndStatement = exports.Rule = exports.RateBasedStatement = exports.NotStatement = exports.ManagedRuleGroupStatement = exports.Statement = exports.UpdateWebACLResponse = void 0;
8
+ const WAFV2ServiceException_1 = require("./WAFV2ServiceException");
8
9
  var ActionValue;
9
10
  (function (ActionValue) {
10
11
  ActionValue["ALLOW"] = "ALLOW";
@@ -548,6 +549,34 @@ var AssociateWebACLResponse;
548
549
  ...obj,
549
550
  });
550
551
  })(AssociateWebACLResponse = exports.AssociateWebACLResponse || (exports.AssociateWebACLResponse = {}));
552
+ class WAFInternalErrorException extends WAFV2ServiceException_1.WAFV2ServiceException {
553
+ constructor(opts) {
554
+ super({
555
+ name: "WAFInternalErrorException",
556
+ $fault: "server",
557
+ ...opts,
558
+ });
559
+ this.name = "WAFInternalErrorException";
560
+ this.$fault = "server";
561
+ Object.setPrototypeOf(this, WAFInternalErrorException.prototype);
562
+ this.Message = opts.Message;
563
+ }
564
+ }
565
+ exports.WAFInternalErrorException = WAFInternalErrorException;
566
+ class WAFInvalidOperationException extends WAFV2ServiceException_1.WAFV2ServiceException {
567
+ constructor(opts) {
568
+ super({
569
+ name: "WAFInvalidOperationException",
570
+ $fault: "client",
571
+ ...opts,
572
+ });
573
+ this.name = "WAFInvalidOperationException";
574
+ this.$fault = "client";
575
+ Object.setPrototypeOf(this, WAFInvalidOperationException.prototype);
576
+ this.Message = opts.Message;
577
+ }
578
+ }
579
+ exports.WAFInvalidOperationException = WAFInvalidOperationException;
551
580
  var ParameterExceptionField;
552
581
  (function (ParameterExceptionField) {
553
582
  ParameterExceptionField["AND_STATEMENT"] = "AND_STATEMENT";
@@ -610,6 +639,50 @@ var ParameterExceptionField;
610
639
  ParameterExceptionField["WEB_ACL"] = "WEB_ACL";
611
640
  ParameterExceptionField["XSS_MATCH_STATEMENT"] = "XSS_MATCH_STATEMENT";
612
641
  })(ParameterExceptionField = exports.ParameterExceptionField || (exports.ParameterExceptionField = {}));
642
+ class WAFInvalidParameterException extends WAFV2ServiceException_1.WAFV2ServiceException {
643
+ constructor(opts) {
644
+ super({
645
+ name: "WAFInvalidParameterException",
646
+ $fault: "client",
647
+ ...opts,
648
+ });
649
+ this.name = "WAFInvalidParameterException";
650
+ this.$fault = "client";
651
+ Object.setPrototypeOf(this, WAFInvalidParameterException.prototype);
652
+ this.Field = opts.Field;
653
+ this.Parameter = opts.Parameter;
654
+ this.Reason = opts.Reason;
655
+ }
656
+ }
657
+ exports.WAFInvalidParameterException = WAFInvalidParameterException;
658
+ class WAFNonexistentItemException extends WAFV2ServiceException_1.WAFV2ServiceException {
659
+ constructor(opts) {
660
+ super({
661
+ name: "WAFNonexistentItemException",
662
+ $fault: "client",
663
+ ...opts,
664
+ });
665
+ this.name = "WAFNonexistentItemException";
666
+ this.$fault = "client";
667
+ Object.setPrototypeOf(this, WAFNonexistentItemException.prototype);
668
+ this.Message = opts.Message;
669
+ }
670
+ }
671
+ exports.WAFNonexistentItemException = WAFNonexistentItemException;
672
+ class WAFUnavailableEntityException extends WAFV2ServiceException_1.WAFV2ServiceException {
673
+ constructor(opts) {
674
+ super({
675
+ name: "WAFUnavailableEntityException",
676
+ $fault: "client",
677
+ ...opts,
678
+ });
679
+ this.name = "WAFUnavailableEntityException";
680
+ this.$fault = "client";
681
+ Object.setPrototypeOf(this, WAFUnavailableEntityException.prototype);
682
+ this.Message = opts.Message;
683
+ }
684
+ }
685
+ exports.WAFUnavailableEntityException = WAFUnavailableEntityException;
613
686
  var CustomResponse;
614
687
  (function (CustomResponse) {
615
688
  CustomResponse.filterSensitiveLog = (obj) => ({
@@ -687,6 +760,62 @@ var CheckCapacityResponse;
687
760
  ...obj,
688
761
  });
689
762
  })(CheckCapacityResponse = exports.CheckCapacityResponse || (exports.CheckCapacityResponse = {}));
763
+ class WAFExpiredManagedRuleGroupVersionException extends WAFV2ServiceException_1.WAFV2ServiceException {
764
+ constructor(opts) {
765
+ super({
766
+ name: "WAFExpiredManagedRuleGroupVersionException",
767
+ $fault: "client",
768
+ ...opts,
769
+ });
770
+ this.name = "WAFExpiredManagedRuleGroupVersionException";
771
+ this.$fault = "client";
772
+ Object.setPrototypeOf(this, WAFExpiredManagedRuleGroupVersionException.prototype);
773
+ this.Message = opts.Message;
774
+ }
775
+ }
776
+ exports.WAFExpiredManagedRuleGroupVersionException = WAFExpiredManagedRuleGroupVersionException;
777
+ class WAFInvalidResourceException extends WAFV2ServiceException_1.WAFV2ServiceException {
778
+ constructor(opts) {
779
+ super({
780
+ name: "WAFInvalidResourceException",
781
+ $fault: "client",
782
+ ...opts,
783
+ });
784
+ this.name = "WAFInvalidResourceException";
785
+ this.$fault = "client";
786
+ Object.setPrototypeOf(this, WAFInvalidResourceException.prototype);
787
+ this.Message = opts.Message;
788
+ }
789
+ }
790
+ exports.WAFInvalidResourceException = WAFInvalidResourceException;
791
+ class WAFLimitsExceededException extends WAFV2ServiceException_1.WAFV2ServiceException {
792
+ constructor(opts) {
793
+ super({
794
+ name: "WAFLimitsExceededException",
795
+ $fault: "client",
796
+ ...opts,
797
+ });
798
+ this.name = "WAFLimitsExceededException";
799
+ this.$fault = "client";
800
+ Object.setPrototypeOf(this, WAFLimitsExceededException.prototype);
801
+ this.Message = opts.Message;
802
+ }
803
+ }
804
+ exports.WAFLimitsExceededException = WAFLimitsExceededException;
805
+ class WAFSubscriptionNotFoundException extends WAFV2ServiceException_1.WAFV2ServiceException {
806
+ constructor(opts) {
807
+ super({
808
+ name: "WAFSubscriptionNotFoundException",
809
+ $fault: "client",
810
+ ...opts,
811
+ });
812
+ this.name = "WAFSubscriptionNotFoundException";
813
+ this.$fault = "client";
814
+ Object.setPrototypeOf(this, WAFSubscriptionNotFoundException.prototype);
815
+ this.Message = opts.Message;
816
+ }
817
+ }
818
+ exports.WAFSubscriptionNotFoundException = WAFSubscriptionNotFoundException;
690
819
  var IPAddressVersion;
691
820
  (function (IPAddressVersion) {
692
821
  IPAddressVersion["IPV4"] = "IPV4";
@@ -716,6 +845,62 @@ var CreateIPSetResponse;
716
845
  ...obj,
717
846
  });
718
847
  })(CreateIPSetResponse = exports.CreateIPSetResponse || (exports.CreateIPSetResponse = {}));
848
+ class WAFDuplicateItemException extends WAFV2ServiceException_1.WAFV2ServiceException {
849
+ constructor(opts) {
850
+ super({
851
+ name: "WAFDuplicateItemException",
852
+ $fault: "client",
853
+ ...opts,
854
+ });
855
+ this.name = "WAFDuplicateItemException";
856
+ this.$fault = "client";
857
+ Object.setPrototypeOf(this, WAFDuplicateItemException.prototype);
858
+ this.Message = opts.Message;
859
+ }
860
+ }
861
+ exports.WAFDuplicateItemException = WAFDuplicateItemException;
862
+ class WAFOptimisticLockException extends WAFV2ServiceException_1.WAFV2ServiceException {
863
+ constructor(opts) {
864
+ super({
865
+ name: "WAFOptimisticLockException",
866
+ $fault: "client",
867
+ ...opts,
868
+ });
869
+ this.name = "WAFOptimisticLockException";
870
+ this.$fault = "client";
871
+ Object.setPrototypeOf(this, WAFOptimisticLockException.prototype);
872
+ this.Message = opts.Message;
873
+ }
874
+ }
875
+ exports.WAFOptimisticLockException = WAFOptimisticLockException;
876
+ class WAFTagOperationException extends WAFV2ServiceException_1.WAFV2ServiceException {
877
+ constructor(opts) {
878
+ super({
879
+ name: "WAFTagOperationException",
880
+ $fault: "client",
881
+ ...opts,
882
+ });
883
+ this.name = "WAFTagOperationException";
884
+ this.$fault = "client";
885
+ Object.setPrototypeOf(this, WAFTagOperationException.prototype);
886
+ this.Message = opts.Message;
887
+ }
888
+ }
889
+ exports.WAFTagOperationException = WAFTagOperationException;
890
+ class WAFTagOperationInternalErrorException extends WAFV2ServiceException_1.WAFV2ServiceException {
891
+ constructor(opts) {
892
+ super({
893
+ name: "WAFTagOperationInternalErrorException",
894
+ $fault: "server",
895
+ ...opts,
896
+ });
897
+ this.name = "WAFTagOperationInternalErrorException";
898
+ this.$fault = "server";
899
+ Object.setPrototypeOf(this, WAFTagOperationInternalErrorException.prototype);
900
+ this.Message = opts.Message;
901
+ }
902
+ }
903
+ exports.WAFTagOperationInternalErrorException = WAFTagOperationInternalErrorException;
719
904
  var Regex;
720
905
  (function (Regex) {
721
906
  Regex.filterSensitiveLog = (obj) => ({
@@ -806,6 +991,20 @@ var DeleteIPSetResponse;
806
991
  ...obj,
807
992
  });
808
993
  })(DeleteIPSetResponse = exports.DeleteIPSetResponse || (exports.DeleteIPSetResponse = {}));
994
+ class WAFAssociatedItemException extends WAFV2ServiceException_1.WAFV2ServiceException {
995
+ constructor(opts) {
996
+ super({
997
+ name: "WAFAssociatedItemException",
998
+ $fault: "client",
999
+ ...opts,
1000
+ });
1001
+ this.name = "WAFAssociatedItemException";
1002
+ this.$fault = "client";
1003
+ Object.setPrototypeOf(this, WAFAssociatedItemException.prototype);
1004
+ this.Message = opts.Message;
1005
+ }
1006
+ }
1007
+ exports.WAFAssociatedItemException = WAFAssociatedItemException;
809
1008
  var DeleteLoggingConfigurationRequest;
810
1009
  (function (DeleteLoggingConfigurationRequest) {
811
1010
  DeleteLoggingConfigurationRequest.filterSensitiveLog = (obj) => ({
@@ -1324,6 +1523,33 @@ var PutLoggingConfigurationResponse;
1324
1523
  ...obj,
1325
1524
  });
1326
1525
  })(PutLoggingConfigurationResponse = exports.PutLoggingConfigurationResponse || (exports.PutLoggingConfigurationResponse = {}));
1526
+ class WAFLogDestinationPermissionIssueException extends WAFV2ServiceException_1.WAFV2ServiceException {
1527
+ constructor(opts) {
1528
+ super({
1529
+ name: "WAFLogDestinationPermissionIssueException",
1530
+ $fault: "client",
1531
+ ...opts,
1532
+ });
1533
+ this.name = "WAFLogDestinationPermissionIssueException";
1534
+ this.$fault = "client";
1535
+ Object.setPrototypeOf(this, WAFLogDestinationPermissionIssueException.prototype);
1536
+ this.Message = opts.Message;
1537
+ }
1538
+ }
1539
+ exports.WAFLogDestinationPermissionIssueException = WAFLogDestinationPermissionIssueException;
1540
+ class WAFServiceLinkedRoleErrorException extends WAFV2ServiceException_1.WAFV2ServiceException {
1541
+ constructor(opts) {
1542
+ super({
1543
+ name: "WAFServiceLinkedRoleErrorException",
1544
+ $fault: "client",
1545
+ ...opts,
1546
+ });
1547
+ this.name = "WAFServiceLinkedRoleErrorException";
1548
+ this.$fault = "client";
1549
+ Object.setPrototypeOf(this, WAFServiceLinkedRoleErrorException.prototype);
1550
+ }
1551
+ }
1552
+ exports.WAFServiceLinkedRoleErrorException = WAFServiceLinkedRoleErrorException;
1327
1553
  var VersionToPublish;
1328
1554
  (function (VersionToPublish) {
1329
1555
  VersionToPublish.filterSensitiveLog = (obj) => ({
@@ -1354,6 +1580,20 @@ var PutPermissionPolicyResponse;
1354
1580
  ...obj,
1355
1581
  });
1356
1582
  })(PutPermissionPolicyResponse = exports.PutPermissionPolicyResponse || (exports.PutPermissionPolicyResponse = {}));
1583
+ class WAFInvalidPermissionPolicyException extends WAFV2ServiceException_1.WAFV2ServiceException {
1584
+ constructor(opts) {
1585
+ super({
1586
+ name: "WAFInvalidPermissionPolicyException",
1587
+ $fault: "client",
1588
+ ...opts,
1589
+ });
1590
+ this.name = "WAFInvalidPermissionPolicyException";
1591
+ this.$fault = "client";
1592
+ Object.setPrototypeOf(this, WAFInvalidPermissionPolicyException.prototype);
1593
+ this.Message = opts.Message;
1594
+ }
1595
+ }
1596
+ exports.WAFInvalidPermissionPolicyException = WAFInvalidPermissionPolicyException;
1357
1597
  var TagResourceRequest;
1358
1598
  (function (TagResourceRequest) {
1359
1599
  TagResourceRequest.filterSensitiveLog = (obj) => ({