@aws-sdk/client-waf 3.52.0 → 3.54.1

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,33 @@
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.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-waf
9
+
10
+
11
+
12
+
13
+
14
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-waf
17
+
18
+
19
+
20
+
21
+
22
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
23
+
24
+
25
+ ### Features
26
+
27
+ * **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))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-waf
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WAFServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./WAF"), exports);
5
6
  tslib_1.__exportStar(require("./WAFClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
9
+ var WAFServiceException_1 = require("./models/WAFServiceException");
10
+ Object.defineProperty(exports, "WAFServiceException", { enumerable: true, get: function () { return WAFServiceException_1.WAFServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WAFServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class WAFServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, WAFServiceException.prototype);
9
+ }
10
+ }
11
+ exports.WAFServiceException = WAFServiceException;
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComparisonOperator = exports.CreateSizeConstraintSetRequest = exports.CreateRuleGroupResponse = exports.RuleGroup = exports.CreateRuleGroupRequest = exports.CreateRuleResponse = exports.Rule = exports.CreateRuleRequest = exports.CreateRegexPatternSetResponse = exports.RegexPatternSet = exports.CreateRegexPatternSetRequest = exports.CreateRegexMatchSetResponse = exports.RegexMatchSet = exports.RegexMatchTuple = exports.CreateRegexMatchSetRequest = exports.CreateRateBasedRuleResponse = exports.RateBasedRule = exports.Predicate = exports.PredicateType = exports.CreateRateBasedRuleRequest = exports.Tag = exports.RateKey = exports.CreateIPSetResponse = exports.IPSet = exports.IPSetDescriptor = exports.IPSetDescriptorType = exports.CreateIPSetRequest = exports.CreateGeoMatchSetResponse = exports.GeoMatchSet = exports.GeoMatchConstraint = exports.GeoMatchConstraintValue = exports.GeoMatchConstraintType = exports.CreateGeoMatchSetRequest = exports.ParameterExceptionReason = exports.ParameterExceptionField = exports.CreateByteMatchSetResponse = exports.ByteMatchSet = exports.ByteMatchTuple = exports.TextTransformation = exports.PositionalConstraint = exports.FieldToMatch = exports.MatchFieldType = exports.CreateByteMatchSetRequest = exports.ActivatedRule = exports.WafRuleType = exports.WafOverrideAction = exports.WafOverrideActionType = exports.ExcludedRule = exports.WafAction = exports.WafActionType = void 0;
4
- exports.GetChangeTokenStatusRequest = exports.GetChangeTokenResponse = exports.GetChangeTokenRequest = exports.GetByteMatchSetResponse = exports.GetByteMatchSetRequest = exports.DeleteXssMatchSetResponse = exports.DeleteXssMatchSetRequest = exports.DeleteWebACLResponse = exports.DeleteWebACLRequest = exports.DeleteSqlInjectionMatchSetResponse = exports.DeleteSqlInjectionMatchSetRequest = exports.DeleteSizeConstraintSetResponse = exports.DeleteSizeConstraintSetRequest = exports.DeleteRuleGroupResponse = exports.DeleteRuleGroupRequest = exports.DeleteRuleResponse = exports.DeleteRuleRequest = exports.DeleteRegexPatternSetResponse = exports.DeleteRegexPatternSetRequest = exports.DeleteRegexMatchSetResponse = exports.DeleteRegexMatchSetRequest = exports.DeleteRateBasedRuleResponse = exports.DeleteRateBasedRuleRequest = exports.DeletePermissionPolicyResponse = exports.DeletePermissionPolicyRequest = exports.DeleteLoggingConfigurationResponse = exports.DeleteLoggingConfigurationRequest = exports.DeleteIPSetResponse = exports.DeleteIPSetRequest = exports.DeleteGeoMatchSetResponse = exports.DeleteGeoMatchSetRequest = exports.DeleteByteMatchSetResponse = exports.DeleteByteMatchSetRequest = exports.CreateXssMatchSetResponse = exports.XssMatchSet = exports.XssMatchTuple = exports.CreateXssMatchSetRequest = exports.MigrationErrorType = exports.CreateWebACLMigrationStackResponse = exports.CreateWebACLMigrationStackRequest = exports.CreateWebACLResponse = exports.WebACL = exports.CreateWebACLRequest = exports.CreateSqlInjectionMatchSetResponse = exports.SqlInjectionMatchSet = exports.SqlInjectionMatchTuple = exports.CreateSqlInjectionMatchSetRequest = exports.CreateSizeConstraintSetResponse = exports.SizeConstraintSet = exports.SizeConstraint = void 0;
5
- exports.ListLoggingConfigurationsResponse = exports.ListLoggingConfigurationsRequest = exports.ListIPSetsResponse = exports.IPSetSummary = exports.ListIPSetsRequest = exports.ListGeoMatchSetsResponse = exports.GeoMatchSetSummary = exports.ListGeoMatchSetsRequest = exports.ListByteMatchSetsResponse = exports.ByteMatchSetSummary = exports.ListByteMatchSetsRequest = exports.ListActivatedRulesInRuleGroupResponse = exports.ListActivatedRulesInRuleGroupRequest = exports.GetXssMatchSetResponse = exports.GetXssMatchSetRequest = exports.GetWebACLResponse = exports.GetWebACLRequest = exports.GetSqlInjectionMatchSetResponse = exports.GetSqlInjectionMatchSetRequest = exports.GetSizeConstraintSetResponse = exports.GetSizeConstraintSetRequest = exports.GetSampledRequestsResponse = exports.SampledHTTPRequest = exports.HTTPRequest = exports.HTTPHeader = exports.GetSampledRequestsRequest = exports.TimeWindow = exports.GetRuleGroupResponse = exports.GetRuleGroupRequest = exports.GetRuleResponse = exports.GetRuleRequest = exports.GetRegexPatternSetResponse = exports.GetRegexPatternSetRequest = exports.GetRegexMatchSetResponse = exports.GetRegexMatchSetRequest = exports.GetRateBasedRuleManagedKeysResponse = exports.GetRateBasedRuleManagedKeysRequest = exports.GetRateBasedRuleResponse = exports.GetRateBasedRuleRequest = exports.GetPermissionPolicyResponse = exports.GetPermissionPolicyRequest = exports.GetLoggingConfigurationResponse = exports.LoggingConfiguration = exports.GetLoggingConfigurationRequest = exports.GetIPSetResponse = exports.GetIPSetRequest = exports.GetGeoMatchSetResponse = exports.GetGeoMatchSetRequest = exports.GetChangeTokenStatusResponse = exports.ChangeTokenStatus = void 0;
6
- exports.UpdateIPSetResponse = exports.UpdateIPSetRequest = exports.IPSetUpdate = exports.UpdateGeoMatchSetResponse = exports.UpdateGeoMatchSetRequest = exports.GeoMatchSetUpdate = exports.UpdateByteMatchSetResponse = exports.UpdateByteMatchSetRequest = exports.ByteMatchSetUpdate = exports.ChangeAction = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.PutPermissionPolicyResponse = exports.PutPermissionPolicyRequest = exports.PutLoggingConfigurationResponse = exports.PutLoggingConfigurationRequest = exports.ListXssMatchSetsResponse = exports.XssMatchSetSummary = exports.ListXssMatchSetsRequest = exports.ListWebACLsResponse = exports.WebACLSummary = exports.ListWebACLsRequest = exports.ListTagsForResourceResponse = exports.TagInfoForResource = exports.ListTagsForResourceRequest = exports.ListSubscribedRuleGroupsResponse = exports.SubscribedRuleGroupSummary = exports.ListSubscribedRuleGroupsRequest = exports.ListSqlInjectionMatchSetsResponse = exports.SqlInjectionMatchSetSummary = exports.ListSqlInjectionMatchSetsRequest = exports.ListSizeConstraintSetsResponse = exports.SizeConstraintSetSummary = exports.ListSizeConstraintSetsRequest = exports.ListRulesResponse = exports.ListRulesRequest = exports.ListRuleGroupsResponse = exports.RuleGroupSummary = exports.ListRuleGroupsRequest = exports.ListRegexPatternSetsResponse = exports.RegexPatternSetSummary = exports.ListRegexPatternSetsRequest = exports.ListRegexMatchSetsResponse = exports.RegexMatchSetSummary = exports.ListRegexMatchSetsRequest = exports.ListRateBasedRulesResponse = exports.RuleSummary = exports.ListRateBasedRulesRequest = void 0;
7
- exports.UpdateXssMatchSetResponse = exports.UpdateXssMatchSetRequest = exports.XssMatchSetUpdate = exports.UpdateWebACLResponse = exports.UpdateWebACLRequest = exports.WebACLUpdate = exports.UpdateSqlInjectionMatchSetResponse = exports.UpdateSqlInjectionMatchSetRequest = exports.SqlInjectionMatchSetUpdate = exports.UpdateSizeConstraintSetResponse = exports.UpdateSizeConstraintSetRequest = exports.SizeConstraintSetUpdate = exports.UpdateRuleGroupResponse = exports.UpdateRuleGroupRequest = exports.RuleGroupUpdate = exports.UpdateRuleResponse = exports.UpdateRuleRequest = exports.UpdateRegexPatternSetResponse = exports.UpdateRegexPatternSetRequest = exports.RegexPatternSetUpdate = exports.UpdateRegexMatchSetResponse = exports.UpdateRegexMatchSetRequest = exports.RegexMatchSetUpdate = exports.UpdateRateBasedRuleResponse = exports.UpdateRateBasedRuleRequest = exports.RuleUpdate = void 0;
3
+ exports.RegexPatternSet = exports.CreateRegexPatternSetRequest = exports.CreateRegexMatchSetResponse = exports.RegexMatchSet = exports.RegexMatchTuple = exports.CreateRegexMatchSetRequest = exports.WAFTagOperationInternalErrorException = exports.WAFTagOperationException = exports.WAFBadRequestException = exports.CreateRateBasedRuleResponse = exports.RateBasedRule = exports.Predicate = exports.PredicateType = exports.CreateRateBasedRuleRequest = exports.Tag = exports.RateKey = exports.CreateIPSetResponse = exports.IPSet = exports.IPSetDescriptor = exports.IPSetDescriptorType = exports.CreateIPSetRequest = exports.CreateGeoMatchSetResponse = exports.GeoMatchSet = exports.GeoMatchConstraint = exports.GeoMatchConstraintValue = exports.GeoMatchConstraintType = exports.CreateGeoMatchSetRequest = exports.WAFStaleDataException = exports.WAFLimitsExceededException = exports.WAFInvalidParameterException = exports.ParameterExceptionReason = exports.ParameterExceptionField = exports.WAFInvalidAccountException = exports.WAFInternalErrorException = exports.WAFDisallowedNameException = exports.CreateByteMatchSetResponse = exports.ByteMatchSet = exports.ByteMatchTuple = exports.TextTransformation = exports.PositionalConstraint = exports.FieldToMatch = exports.MatchFieldType = exports.CreateByteMatchSetRequest = exports.ActivatedRule = exports.WafRuleType = exports.WafOverrideAction = exports.WafOverrideActionType = exports.ExcludedRule = exports.WafAction = exports.WafActionType = void 0;
4
+ exports.DeleteRuleGroupRequest = exports.DeleteRuleResponse = exports.DeleteRuleRequest = exports.DeleteRegexPatternSetResponse = exports.DeleteRegexPatternSetRequest = exports.DeleteRegexMatchSetResponse = exports.DeleteRegexMatchSetRequest = exports.DeleteRateBasedRuleResponse = exports.DeleteRateBasedRuleRequest = exports.DeletePermissionPolicyResponse = exports.DeletePermissionPolicyRequest = exports.DeleteLoggingConfigurationResponse = exports.DeleteLoggingConfigurationRequest = exports.DeleteIPSetResponse = exports.DeleteIPSetRequest = exports.DeleteGeoMatchSetResponse = exports.DeleteGeoMatchSetRequest = exports.WAFReferencedItemException = exports.WAFNonEmptyEntityException = exports.DeleteByteMatchSetResponse = exports.DeleteByteMatchSetRequest = exports.CreateXssMatchSetResponse = exports.XssMatchSet = exports.XssMatchTuple = exports.CreateXssMatchSetRequest = exports.WAFNonexistentItemException = exports.WAFInvalidOperationException = exports.WAFEntityMigrationException = exports.MigrationErrorType = exports.CreateWebACLMigrationStackResponse = exports.CreateWebACLMigrationStackRequest = exports.CreateWebACLResponse = exports.WebACL = exports.CreateWebACLRequest = exports.CreateSqlInjectionMatchSetResponse = exports.SqlInjectionMatchSet = exports.SqlInjectionMatchTuple = exports.CreateSqlInjectionMatchSetRequest = exports.CreateSizeConstraintSetResponse = exports.SizeConstraintSet = exports.SizeConstraint = exports.ComparisonOperator = exports.CreateSizeConstraintSetRequest = exports.CreateRuleGroupResponse = exports.RuleGroup = exports.CreateRuleGroupRequest = exports.CreateRuleResponse = exports.Rule = exports.CreateRuleRequest = exports.CreateRegexPatternSetResponse = void 0;
5
+ exports.GetXssMatchSetRequest = exports.GetWebACLResponse = exports.GetWebACLRequest = exports.GetSqlInjectionMatchSetResponse = exports.GetSqlInjectionMatchSetRequest = exports.GetSizeConstraintSetResponse = exports.GetSizeConstraintSetRequest = exports.GetSampledRequestsResponse = exports.SampledHTTPRequest = exports.HTTPRequest = exports.HTTPHeader = exports.GetSampledRequestsRequest = exports.TimeWindow = exports.GetRuleGroupResponse = exports.GetRuleGroupRequest = exports.GetRuleResponse = exports.GetRuleRequest = exports.GetRegexPatternSetResponse = exports.GetRegexPatternSetRequest = exports.GetRegexMatchSetResponse = exports.GetRegexMatchSetRequest = exports.GetRateBasedRuleManagedKeysResponse = exports.GetRateBasedRuleManagedKeysRequest = exports.GetRateBasedRuleResponse = exports.GetRateBasedRuleRequest = exports.GetPermissionPolicyResponse = exports.GetPermissionPolicyRequest = exports.GetLoggingConfigurationResponse = exports.LoggingConfiguration = exports.GetLoggingConfigurationRequest = exports.GetIPSetResponse = exports.GetIPSetRequest = exports.GetGeoMatchSetResponse = exports.GetGeoMatchSetRequest = exports.GetChangeTokenStatusResponse = exports.ChangeTokenStatus = exports.GetChangeTokenStatusRequest = exports.GetChangeTokenResponse = exports.GetChangeTokenRequest = exports.GetByteMatchSetResponse = exports.GetByteMatchSetRequest = exports.DeleteXssMatchSetResponse = exports.DeleteXssMatchSetRequest = exports.DeleteWebACLResponse = exports.DeleteWebACLRequest = exports.DeleteSqlInjectionMatchSetResponse = exports.DeleteSqlInjectionMatchSetRequest = exports.DeleteSizeConstraintSetResponse = exports.DeleteSizeConstraintSetRequest = exports.DeleteRuleGroupResponse = void 0;
6
+ exports.PutPermissionPolicyRequest = exports.WAFServiceLinkedRoleErrorException = exports.PutLoggingConfigurationResponse = exports.PutLoggingConfigurationRequest = exports.ListXssMatchSetsResponse = exports.XssMatchSetSummary = exports.ListXssMatchSetsRequest = exports.ListWebACLsResponse = exports.WebACLSummary = exports.ListWebACLsRequest = exports.ListTagsForResourceResponse = exports.TagInfoForResource = exports.ListTagsForResourceRequest = exports.ListSubscribedRuleGroupsResponse = exports.SubscribedRuleGroupSummary = exports.ListSubscribedRuleGroupsRequest = exports.ListSqlInjectionMatchSetsResponse = exports.SqlInjectionMatchSetSummary = exports.ListSqlInjectionMatchSetsRequest = exports.ListSizeConstraintSetsResponse = exports.SizeConstraintSetSummary = exports.ListSizeConstraintSetsRequest = exports.ListRulesResponse = exports.ListRulesRequest = exports.ListRuleGroupsResponse = exports.RuleGroupSummary = exports.ListRuleGroupsRequest = exports.ListRegexPatternSetsResponse = exports.RegexPatternSetSummary = exports.ListRegexPatternSetsRequest = exports.ListRegexMatchSetsResponse = exports.RegexMatchSetSummary = exports.ListRegexMatchSetsRequest = exports.ListRateBasedRulesResponse = exports.RuleSummary = exports.ListRateBasedRulesRequest = exports.ListLoggingConfigurationsResponse = exports.ListLoggingConfigurationsRequest = exports.ListIPSetsResponse = exports.IPSetSummary = exports.ListIPSetsRequest = exports.ListGeoMatchSetsResponse = exports.GeoMatchSetSummary = exports.ListGeoMatchSetsRequest = exports.ListByteMatchSetsResponse = exports.ByteMatchSetSummary = exports.ListByteMatchSetsRequest = exports.ListActivatedRulesInRuleGroupResponse = exports.ListActivatedRulesInRuleGroupRequest = exports.GetXssMatchSetResponse = void 0;
7
+ exports.UpdateXssMatchSetResponse = exports.UpdateXssMatchSetRequest = exports.XssMatchSetUpdate = exports.WAFSubscriptionNotFoundException = exports.UpdateWebACLResponse = exports.UpdateWebACLRequest = exports.WebACLUpdate = exports.UpdateSqlInjectionMatchSetResponse = exports.UpdateSqlInjectionMatchSetRequest = exports.SqlInjectionMatchSetUpdate = exports.UpdateSizeConstraintSetResponse = exports.UpdateSizeConstraintSetRequest = exports.SizeConstraintSetUpdate = exports.UpdateRuleGroupResponse = exports.UpdateRuleGroupRequest = exports.RuleGroupUpdate = exports.UpdateRuleResponse = exports.UpdateRuleRequest = exports.WAFInvalidRegexPatternException = exports.UpdateRegexPatternSetResponse = exports.UpdateRegexPatternSetRequest = exports.RegexPatternSetUpdate = exports.UpdateRegexMatchSetResponse = exports.UpdateRegexMatchSetRequest = exports.RegexMatchSetUpdate = exports.UpdateRateBasedRuleResponse = exports.UpdateRateBasedRuleRequest = exports.RuleUpdate = exports.UpdateIPSetResponse = exports.UpdateIPSetRequest = exports.IPSetUpdate = exports.UpdateGeoMatchSetResponse = exports.UpdateGeoMatchSetRequest = exports.GeoMatchSetUpdate = exports.WAFNonexistentContainerException = exports.UpdateByteMatchSetResponse = exports.UpdateByteMatchSetRequest = exports.ByteMatchSetUpdate = exports.ChangeAction = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.WAFInvalidPermissionPolicyException = exports.PutPermissionPolicyResponse = void 0;
8
+ const WAFServiceException_1 = require("./WAFServiceException");
8
9
  var WafActionType;
9
10
  (function (WafActionType) {
10
11
  WafActionType["ALLOW"] = "ALLOW";
@@ -103,6 +104,45 @@ var CreateByteMatchSetResponse;
103
104
  ...obj,
104
105
  });
105
106
  })(CreateByteMatchSetResponse = exports.CreateByteMatchSetResponse || (exports.CreateByteMatchSetResponse = {}));
107
+ class WAFDisallowedNameException extends WAFServiceException_1.WAFServiceException {
108
+ constructor(opts) {
109
+ super({
110
+ name: "WAFDisallowedNameException",
111
+ $fault: "client",
112
+ ...opts,
113
+ });
114
+ this.name = "WAFDisallowedNameException";
115
+ this.$fault = "client";
116
+ Object.setPrototypeOf(this, WAFDisallowedNameException.prototype);
117
+ }
118
+ }
119
+ exports.WAFDisallowedNameException = WAFDisallowedNameException;
120
+ class WAFInternalErrorException extends WAFServiceException_1.WAFServiceException {
121
+ constructor(opts) {
122
+ super({
123
+ name: "WAFInternalErrorException",
124
+ $fault: "server",
125
+ ...opts,
126
+ });
127
+ this.name = "WAFInternalErrorException";
128
+ this.$fault = "server";
129
+ Object.setPrototypeOf(this, WAFInternalErrorException.prototype);
130
+ }
131
+ }
132
+ exports.WAFInternalErrorException = WAFInternalErrorException;
133
+ class WAFInvalidAccountException extends WAFServiceException_1.WAFServiceException {
134
+ constructor(opts) {
135
+ super({
136
+ name: "WAFInvalidAccountException",
137
+ $fault: "client",
138
+ ...opts,
139
+ });
140
+ this.name = "WAFInvalidAccountException";
141
+ this.$fault = "client";
142
+ Object.setPrototypeOf(this, WAFInvalidAccountException.prototype);
143
+ }
144
+ }
145
+ exports.WAFInvalidAccountException = WAFInvalidAccountException;
106
146
  var ParameterExceptionField;
107
147
  (function (ParameterExceptionField) {
108
148
  ParameterExceptionField["BYTE_MATCH_FIELD_TYPE"] = "BYTE_MATCH_FIELD_TYPE";
@@ -131,6 +171,48 @@ var ParameterExceptionReason;
131
171
  ParameterExceptionReason["INVALID_OPTION"] = "INVALID_OPTION";
132
172
  ParameterExceptionReason["INVALID_TAG_KEY"] = "INVALID_TAG_KEY";
133
173
  })(ParameterExceptionReason = exports.ParameterExceptionReason || (exports.ParameterExceptionReason = {}));
174
+ class WAFInvalidParameterException extends WAFServiceException_1.WAFServiceException {
175
+ constructor(opts) {
176
+ super({
177
+ name: "WAFInvalidParameterException",
178
+ $fault: "client",
179
+ ...opts,
180
+ });
181
+ this.name = "WAFInvalidParameterException";
182
+ this.$fault = "client";
183
+ Object.setPrototypeOf(this, WAFInvalidParameterException.prototype);
184
+ this.field = opts.field;
185
+ this.parameter = opts.parameter;
186
+ this.reason = opts.reason;
187
+ }
188
+ }
189
+ exports.WAFInvalidParameterException = WAFInvalidParameterException;
190
+ class WAFLimitsExceededException extends WAFServiceException_1.WAFServiceException {
191
+ constructor(opts) {
192
+ super({
193
+ name: "WAFLimitsExceededException",
194
+ $fault: "client",
195
+ ...opts,
196
+ });
197
+ this.name = "WAFLimitsExceededException";
198
+ this.$fault = "client";
199
+ Object.setPrototypeOf(this, WAFLimitsExceededException.prototype);
200
+ }
201
+ }
202
+ exports.WAFLimitsExceededException = WAFLimitsExceededException;
203
+ class WAFStaleDataException extends WAFServiceException_1.WAFServiceException {
204
+ constructor(opts) {
205
+ super({
206
+ name: "WAFStaleDataException",
207
+ $fault: "client",
208
+ ...opts,
209
+ });
210
+ this.name = "WAFStaleDataException";
211
+ this.$fault = "client";
212
+ Object.setPrototypeOf(this, WAFStaleDataException.prototype);
213
+ }
214
+ }
215
+ exports.WAFStaleDataException = WAFStaleDataException;
134
216
  var CreateGeoMatchSetRequest;
135
217
  (function (CreateGeoMatchSetRequest) {
136
218
  CreateGeoMatchSetRequest.filterSensitiveLog = (obj) => ({
@@ -484,6 +566,45 @@ var CreateRateBasedRuleResponse;
484
566
  ...obj,
485
567
  });
486
568
  })(CreateRateBasedRuleResponse = exports.CreateRateBasedRuleResponse || (exports.CreateRateBasedRuleResponse = {}));
569
+ class WAFBadRequestException extends WAFServiceException_1.WAFServiceException {
570
+ constructor(opts) {
571
+ super({
572
+ name: "WAFBadRequestException",
573
+ $fault: "client",
574
+ ...opts,
575
+ });
576
+ this.name = "WAFBadRequestException";
577
+ this.$fault = "client";
578
+ Object.setPrototypeOf(this, WAFBadRequestException.prototype);
579
+ }
580
+ }
581
+ exports.WAFBadRequestException = WAFBadRequestException;
582
+ class WAFTagOperationException extends WAFServiceException_1.WAFServiceException {
583
+ constructor(opts) {
584
+ super({
585
+ name: "WAFTagOperationException",
586
+ $fault: "client",
587
+ ...opts,
588
+ });
589
+ this.name = "WAFTagOperationException";
590
+ this.$fault = "client";
591
+ Object.setPrototypeOf(this, WAFTagOperationException.prototype);
592
+ }
593
+ }
594
+ exports.WAFTagOperationException = WAFTagOperationException;
595
+ class WAFTagOperationInternalErrorException extends WAFServiceException_1.WAFServiceException {
596
+ constructor(opts) {
597
+ super({
598
+ name: "WAFTagOperationInternalErrorException",
599
+ $fault: "server",
600
+ ...opts,
601
+ });
602
+ this.name = "WAFTagOperationInternalErrorException";
603
+ this.$fault = "server";
604
+ Object.setPrototypeOf(this, WAFTagOperationInternalErrorException.prototype);
605
+ }
606
+ }
607
+ exports.WAFTagOperationInternalErrorException = WAFTagOperationInternalErrorException;
487
608
  var CreateRegexMatchSetRequest;
488
609
  (function (CreateRegexMatchSetRequest) {
489
610
  CreateRegexMatchSetRequest.filterSensitiveLog = (obj) => ({
@@ -659,6 +780,47 @@ var MigrationErrorType;
659
780
  MigrationErrorType["S3_BUCKET_NO_PERMISSION"] = "S3_BUCKET_NO_PERMISSION";
660
781
  MigrationErrorType["S3_INTERNAL_ERROR"] = "S3_INTERNAL_ERROR";
661
782
  })(MigrationErrorType = exports.MigrationErrorType || (exports.MigrationErrorType = {}));
783
+ class WAFEntityMigrationException extends WAFServiceException_1.WAFServiceException {
784
+ constructor(opts) {
785
+ super({
786
+ name: "WAFEntityMigrationException",
787
+ $fault: "client",
788
+ ...opts,
789
+ });
790
+ this.name = "WAFEntityMigrationException";
791
+ this.$fault = "client";
792
+ Object.setPrototypeOf(this, WAFEntityMigrationException.prototype);
793
+ this.MigrationErrorType = opts.MigrationErrorType;
794
+ this.MigrationErrorReason = opts.MigrationErrorReason;
795
+ }
796
+ }
797
+ exports.WAFEntityMigrationException = WAFEntityMigrationException;
798
+ class WAFInvalidOperationException extends WAFServiceException_1.WAFServiceException {
799
+ constructor(opts) {
800
+ super({
801
+ name: "WAFInvalidOperationException",
802
+ $fault: "client",
803
+ ...opts,
804
+ });
805
+ this.name = "WAFInvalidOperationException";
806
+ this.$fault = "client";
807
+ Object.setPrototypeOf(this, WAFInvalidOperationException.prototype);
808
+ }
809
+ }
810
+ exports.WAFInvalidOperationException = WAFInvalidOperationException;
811
+ class WAFNonexistentItemException extends WAFServiceException_1.WAFServiceException {
812
+ constructor(opts) {
813
+ super({
814
+ name: "WAFNonexistentItemException",
815
+ $fault: "client",
816
+ ...opts,
817
+ });
818
+ this.name = "WAFNonexistentItemException";
819
+ this.$fault = "client";
820
+ Object.setPrototypeOf(this, WAFNonexistentItemException.prototype);
821
+ }
822
+ }
823
+ exports.WAFNonexistentItemException = WAFNonexistentItemException;
662
824
  var CreateXssMatchSetRequest;
663
825
  (function (CreateXssMatchSetRequest) {
664
826
  CreateXssMatchSetRequest.filterSensitiveLog = (obj) => ({
@@ -695,6 +857,32 @@ var DeleteByteMatchSetResponse;
695
857
  ...obj,
696
858
  });
697
859
  })(DeleteByteMatchSetResponse = exports.DeleteByteMatchSetResponse || (exports.DeleteByteMatchSetResponse = {}));
860
+ class WAFNonEmptyEntityException extends WAFServiceException_1.WAFServiceException {
861
+ constructor(opts) {
862
+ super({
863
+ name: "WAFNonEmptyEntityException",
864
+ $fault: "client",
865
+ ...opts,
866
+ });
867
+ this.name = "WAFNonEmptyEntityException";
868
+ this.$fault = "client";
869
+ Object.setPrototypeOf(this, WAFNonEmptyEntityException.prototype);
870
+ }
871
+ }
872
+ exports.WAFNonEmptyEntityException = WAFNonEmptyEntityException;
873
+ class WAFReferencedItemException extends WAFServiceException_1.WAFServiceException {
874
+ constructor(opts) {
875
+ super({
876
+ name: "WAFReferencedItemException",
877
+ $fault: "client",
878
+ ...opts,
879
+ });
880
+ this.name = "WAFReferencedItemException";
881
+ this.$fault = "client";
882
+ Object.setPrototypeOf(this, WAFReferencedItemException.prototype);
883
+ }
884
+ }
885
+ exports.WAFReferencedItemException = WAFReferencedItemException;
698
886
  var DeleteGeoMatchSetRequest;
699
887
  (function (DeleteGeoMatchSetRequest) {
700
888
  DeleteGeoMatchSetRequest.filterSensitiveLog = (obj) => ({
@@ -1385,6 +1573,19 @@ var PutLoggingConfigurationResponse;
1385
1573
  ...obj,
1386
1574
  });
1387
1575
  })(PutLoggingConfigurationResponse = exports.PutLoggingConfigurationResponse || (exports.PutLoggingConfigurationResponse = {}));
1576
+ class WAFServiceLinkedRoleErrorException extends WAFServiceException_1.WAFServiceException {
1577
+ constructor(opts) {
1578
+ super({
1579
+ name: "WAFServiceLinkedRoleErrorException",
1580
+ $fault: "client",
1581
+ ...opts,
1582
+ });
1583
+ this.name = "WAFServiceLinkedRoleErrorException";
1584
+ this.$fault = "client";
1585
+ Object.setPrototypeOf(this, WAFServiceLinkedRoleErrorException.prototype);
1586
+ }
1587
+ }
1588
+ exports.WAFServiceLinkedRoleErrorException = WAFServiceLinkedRoleErrorException;
1388
1589
  var PutPermissionPolicyRequest;
1389
1590
  (function (PutPermissionPolicyRequest) {
1390
1591
  PutPermissionPolicyRequest.filterSensitiveLog = (obj) => ({
@@ -1397,6 +1598,19 @@ var PutPermissionPolicyResponse;
1397
1598
  ...obj,
1398
1599
  });
1399
1600
  })(PutPermissionPolicyResponse = exports.PutPermissionPolicyResponse || (exports.PutPermissionPolicyResponse = {}));
1601
+ class WAFInvalidPermissionPolicyException extends WAFServiceException_1.WAFServiceException {
1602
+ constructor(opts) {
1603
+ super({
1604
+ name: "WAFInvalidPermissionPolicyException",
1605
+ $fault: "client",
1606
+ ...opts,
1607
+ });
1608
+ this.name = "WAFInvalidPermissionPolicyException";
1609
+ this.$fault = "client";
1610
+ Object.setPrototypeOf(this, WAFInvalidPermissionPolicyException.prototype);
1611
+ }
1612
+ }
1613
+ exports.WAFInvalidPermissionPolicyException = WAFInvalidPermissionPolicyException;
1400
1614
  var TagResourceRequest;
1401
1615
  (function (TagResourceRequest) {
1402
1616
  TagResourceRequest.filterSensitiveLog = (obj) => ({
@@ -1444,6 +1658,19 @@ var UpdateByteMatchSetResponse;
1444
1658
  ...obj,
1445
1659
  });
1446
1660
  })(UpdateByteMatchSetResponse = exports.UpdateByteMatchSetResponse || (exports.UpdateByteMatchSetResponse = {}));
1661
+ class WAFNonexistentContainerException extends WAFServiceException_1.WAFServiceException {
1662
+ constructor(opts) {
1663
+ super({
1664
+ name: "WAFNonexistentContainerException",
1665
+ $fault: "client",
1666
+ ...opts,
1667
+ });
1668
+ this.name = "WAFNonexistentContainerException";
1669
+ this.$fault = "client";
1670
+ Object.setPrototypeOf(this, WAFNonexistentContainerException.prototype);
1671
+ }
1672
+ }
1673
+ exports.WAFNonexistentContainerException = WAFNonexistentContainerException;
1447
1674
  var GeoMatchSetUpdate;
1448
1675
  (function (GeoMatchSetUpdate) {
1449
1676
  GeoMatchSetUpdate.filterSensitiveLog = (obj) => ({
@@ -1534,6 +1761,19 @@ var UpdateRegexPatternSetResponse;
1534
1761
  ...obj,
1535
1762
  });
1536
1763
  })(UpdateRegexPatternSetResponse = exports.UpdateRegexPatternSetResponse || (exports.UpdateRegexPatternSetResponse = {}));
1764
+ class WAFInvalidRegexPatternException extends WAFServiceException_1.WAFServiceException {
1765
+ constructor(opts) {
1766
+ super({
1767
+ name: "WAFInvalidRegexPatternException",
1768
+ $fault: "client",
1769
+ ...opts,
1770
+ });
1771
+ this.name = "WAFInvalidRegexPatternException";
1772
+ this.$fault = "client";
1773
+ Object.setPrototypeOf(this, WAFInvalidRegexPatternException.prototype);
1774
+ }
1775
+ }
1776
+ exports.WAFInvalidRegexPatternException = WAFInvalidRegexPatternException;
1537
1777
  var UpdateRuleRequest;
1538
1778
  (function (UpdateRuleRequest) {
1539
1779
  UpdateRuleRequest.filterSensitiveLog = (obj) => ({
@@ -1618,6 +1858,19 @@ var UpdateWebACLResponse;
1618
1858
  ...obj,
1619
1859
  });
1620
1860
  })(UpdateWebACLResponse = exports.UpdateWebACLResponse || (exports.UpdateWebACLResponse = {}));
1861
+ class WAFSubscriptionNotFoundException extends WAFServiceException_1.WAFServiceException {
1862
+ constructor(opts) {
1863
+ super({
1864
+ name: "WAFSubscriptionNotFoundException",
1865
+ $fault: "client",
1866
+ ...opts,
1867
+ });
1868
+ this.name = "WAFSubscriptionNotFoundException";
1869
+ this.$fault = "client";
1870
+ Object.setPrototypeOf(this, WAFSubscriptionNotFoundException.prototype);
1871
+ }
1872
+ }
1873
+ exports.WAFSubscriptionNotFoundException = WAFSubscriptionNotFoundException;
1621
1874
  var XssMatchSetUpdate;
1622
1875
  (function (XssMatchSetUpdate) {
1623
1876
  XssMatchSetUpdate.filterSensitiveLog = (obj) => ({