@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/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";
@@ -474,6 +475,32 @@ export var AssociateWebACLResponse;
474
475
  (function (AssociateWebACLResponse) {
475
476
  AssociateWebACLResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
476
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 };
477
504
  export var ParameterExceptionField;
478
505
  (function (ParameterExceptionField) {
479
506
  ParameterExceptionField["AND_STATEMENT"] = "AND_STATEMENT";
@@ -536,6 +563,47 @@ export var ParameterExceptionField;
536
563
  ParameterExceptionField["WEB_ACL"] = "WEB_ACL";
537
564
  ParameterExceptionField["XSS_MATCH_STATEMENT"] = "XSS_MATCH_STATEMENT";
538
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 };
539
607
  export var CustomResponse;
540
608
  (function (CustomResponse) {
541
609
  CustomResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -589,6 +657,58 @@ export var CheckCapacityResponse;
589
657
  (function (CheckCapacityResponse) {
590
658
  CheckCapacityResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
591
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 };
592
712
  export var IPAddressVersion;
593
713
  (function (IPAddressVersion) {
594
714
  IPAddressVersion["IPV4"] = "IPV4";
@@ -610,6 +730,58 @@ export var CreateIPSetResponse;
610
730
  (function (CreateIPSetResponse) {
611
731
  CreateIPSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
612
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 };
613
785
  export var Regex;
614
786
  (function (Regex) {
615
787
  Regex.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -672,6 +844,19 @@ export var DeleteIPSetResponse;
672
844
  (function (DeleteIPSetResponse) {
673
845
  DeleteIPSetResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
674
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 };
675
860
  export var DeleteLoggingConfigurationRequest;
676
861
  (function (DeleteLoggingConfigurationRequest) {
677
862
  DeleteLoggingConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1026,6 +1211,31 @@ export var PutLoggingConfigurationResponse;
1026
1211
  (function (PutLoggingConfigurationResponse) {
1027
1212
  PutLoggingConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1028
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 };
1029
1239
  export var VersionToPublish;
1030
1240
  (function (VersionToPublish) {
1031
1241
  VersionToPublish.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1046,6 +1256,19 @@ export var PutPermissionPolicyResponse;
1046
1256
  (function (PutPermissionPolicyResponse) {
1047
1257
  PutPermissionPolicyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1048
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 };
1049
1272
  export var TagResourceRequest;
1050
1273
  (function (TagResourceRequest) {
1051
1274
  TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };