@aws-sdk/client-waf-regional 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,17 @@
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
+
13
+
14
+
15
+
16
+
6
17
  # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
18
 
8
19
  **Note:** Version bump only for package @aws-sdk/client-waf-regional
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WAFRegionalServiceException = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  tslib_1.__exportStar(require("./WAFRegional"), exports);
5
6
  tslib_1.__exportStar(require("./WAFRegionalClient"), exports);
6
7
  tslib_1.__exportStar(require("./commands"), exports);
7
8
  tslib_1.__exportStar(require("./models"), exports);
9
+ var WAFRegionalServiceException_1 = require("./models/WAFRegionalServiceException");
10
+ Object.defineProperty(exports, "WAFRegionalServiceException", { enumerable: true, get: function () { return WAFRegionalServiceException_1.WAFRegionalServiceException; } });
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WAFRegionalServiceException = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
5
+ class WAFRegionalServiceException extends smithy_client_1.ServiceException {
6
+ constructor(options) {
7
+ super(options);
8
+ Object.setPrototypeOf(this, WAFRegionalServiceException.prototype);
9
+ }
10
+ }
11
+ exports.WAFRegionalServiceException = WAFRegionalServiceException;
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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.CreateByteMatchSetResponse = exports.ByteMatchSet = exports.ByteMatchTuple = exports.TextTransformation = exports.PositionalConstraint = exports.FieldToMatch = exports.MatchFieldType = exports.CreateByteMatchSetRequest = exports.ParameterExceptionReason = exports.ParameterExceptionField = exports.AssociateWebACLResponse = exports.AssociateWebACLRequest = exports.ActivatedRule = exports.WafRuleType = exports.WafOverrideAction = exports.WafOverrideActionType = exports.ExcludedRule = exports.WafAction = exports.WafActionType = void 0;
4
- exports.GetByteMatchSetRequest = exports.DisassociateWebACLResponse = exports.DisassociateWebACLRequest = 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 = exports.ComparisonOperator = exports.CreateSizeConstraintSetRequest = void 0;
5
- exports.ListGeoMatchSetsRequest = exports.ListByteMatchSetsResponse = exports.ByteMatchSetSummary = exports.ListByteMatchSetsRequest = exports.ListActivatedRulesInRuleGroupResponse = exports.ListActivatedRulesInRuleGroupRequest = exports.GetXssMatchSetResponse = exports.GetXssMatchSetRequest = exports.GetWebACLForResourceResponse = exports.WebACLSummary = exports.GetWebACLForResourceRequest = 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 = void 0;
6
- 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.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.ListResourcesForWebACLResponse = exports.ListResourcesForWebACLRequest = exports.ResourceType = 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 = 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 = exports.UpdateIPSetResponse = exports.UpdateIPSetRequest = exports.IPSetUpdate = exports.UpdateGeoMatchSetResponse = exports.UpdateGeoMatchSetRequest = exports.GeoMatchSetUpdate = exports.UpdateByteMatchSetResponse = exports.UpdateByteMatchSetRequest = exports.ByteMatchSetUpdate = void 0;
3
+ 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.WAFDisallowedNameException = exports.CreateByteMatchSetResponse = exports.ByteMatchSet = exports.ByteMatchTuple = exports.TextTransformation = exports.PositionalConstraint = exports.FieldToMatch = exports.MatchFieldType = exports.CreateByteMatchSetRequest = exports.WAFUnavailableEntityException = exports.WAFNonexistentItemException = exports.WAFInvalidParameterException = exports.ParameterExceptionReason = exports.ParameterExceptionField = exports.WAFInvalidAccountException = exports.WAFInternalErrorException = exports.AssociateWebACLResponse = exports.AssociateWebACLRequest = exports.ActivatedRule = exports.WafRuleType = exports.WafOverrideAction = exports.WafOverrideActionType = exports.ExcludedRule = exports.WafAction = exports.WafActionType = void 0;
4
+ 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.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 = exports.RegexPatternSet = exports.CreateRegexPatternSetRequest = exports.CreateRegexMatchSetResponse = exports.RegexMatchSet = void 0;
5
+ 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.DisassociateWebACLResponse = exports.DisassociateWebACLRequest = exports.DeleteXssMatchSetResponse = exports.DeleteXssMatchSetRequest = exports.DeleteWebACLResponse = exports.DeleteWebACLRequest = exports.DeleteSqlInjectionMatchSetResponse = exports.DeleteSqlInjectionMatchSetRequest = exports.DeleteSizeConstraintSetResponse = exports.DeleteSizeConstraintSetRequest = exports.DeleteRuleGroupResponse = exports.DeleteRuleGroupRequest = exports.DeleteRuleResponse = exports.DeleteRuleRequest = void 0;
6
+ 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.ListResourcesForWebACLResponse = exports.ListResourcesForWebACLRequest = exports.ResourceType = 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 = exports.GetXssMatchSetRequest = exports.GetWebACLForResourceResponse = exports.WebACLSummary = exports.GetWebACLForResourceRequest = exports.GetWebACLResponse = exports.GetWebACLRequest = exports.GetSqlInjectionMatchSetResponse = exports.GetSqlInjectionMatchSetRequest = void 0;
7
+ 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 = exports.PutPermissionPolicyRequest = exports.WAFServiceLinkedRoleErrorException = exports.PutLoggingConfigurationResponse = exports.PutLoggingConfigurationRequest = exports.ListXssMatchSetsResponse = exports.XssMatchSetSummary = exports.ListXssMatchSetsRequest = exports.ListWebACLsResponse = exports.ListWebACLsRequest = exports.ListTagsForResourceResponse = void 0;
8
+ exports.UpdateXssMatchSetResponse = exports.UpdateXssMatchSetRequest = exports.XssMatchSetUpdate = exports.WAFSubscriptionNotFoundException = exports.UpdateWebACLResponse = void 0;
9
+ const WAFRegionalServiceException_1 = require("./WAFRegionalServiceException");
8
10
  var WafActionType;
9
11
  (function (WafActionType) {
10
12
  WafActionType["ALLOW"] = "ALLOW";
@@ -58,6 +60,32 @@ var AssociateWebACLResponse;
58
60
  ...obj,
59
61
  });
60
62
  })(AssociateWebACLResponse = exports.AssociateWebACLResponse || (exports.AssociateWebACLResponse = {}));
63
+ class WAFInternalErrorException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
64
+ constructor(opts) {
65
+ super({
66
+ name: "WAFInternalErrorException",
67
+ $fault: "server",
68
+ ...opts,
69
+ });
70
+ this.name = "WAFInternalErrorException";
71
+ this.$fault = "server";
72
+ Object.setPrototypeOf(this, WAFInternalErrorException.prototype);
73
+ }
74
+ }
75
+ exports.WAFInternalErrorException = WAFInternalErrorException;
76
+ class WAFInvalidAccountException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
77
+ constructor(opts) {
78
+ super({
79
+ name: "WAFInvalidAccountException",
80
+ $fault: "client",
81
+ ...opts,
82
+ });
83
+ this.name = "WAFInvalidAccountException";
84
+ this.$fault = "client";
85
+ Object.setPrototypeOf(this, WAFInvalidAccountException.prototype);
86
+ }
87
+ }
88
+ exports.WAFInvalidAccountException = WAFInvalidAccountException;
61
89
  var ParameterExceptionField;
62
90
  (function (ParameterExceptionField) {
63
91
  ParameterExceptionField["BYTE_MATCH_FIELD_TYPE"] = "BYTE_MATCH_FIELD_TYPE";
@@ -86,6 +114,48 @@ var ParameterExceptionReason;
86
114
  ParameterExceptionReason["INVALID_OPTION"] = "INVALID_OPTION";
87
115
  ParameterExceptionReason["INVALID_TAG_KEY"] = "INVALID_TAG_KEY";
88
116
  })(ParameterExceptionReason = exports.ParameterExceptionReason || (exports.ParameterExceptionReason = {}));
117
+ class WAFInvalidParameterException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
118
+ constructor(opts) {
119
+ super({
120
+ name: "WAFInvalidParameterException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ this.name = "WAFInvalidParameterException";
125
+ this.$fault = "client";
126
+ Object.setPrototypeOf(this, WAFInvalidParameterException.prototype);
127
+ this.field = opts.field;
128
+ this.parameter = opts.parameter;
129
+ this.reason = opts.reason;
130
+ }
131
+ }
132
+ exports.WAFInvalidParameterException = WAFInvalidParameterException;
133
+ class WAFNonexistentItemException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
134
+ constructor(opts) {
135
+ super({
136
+ name: "WAFNonexistentItemException",
137
+ $fault: "client",
138
+ ...opts,
139
+ });
140
+ this.name = "WAFNonexistentItemException";
141
+ this.$fault = "client";
142
+ Object.setPrototypeOf(this, WAFNonexistentItemException.prototype);
143
+ }
144
+ }
145
+ exports.WAFNonexistentItemException = WAFNonexistentItemException;
146
+ class WAFUnavailableEntityException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
147
+ constructor(opts) {
148
+ super({
149
+ name: "WAFUnavailableEntityException",
150
+ $fault: "client",
151
+ ...opts,
152
+ });
153
+ this.name = "WAFUnavailableEntityException";
154
+ this.$fault = "client";
155
+ Object.setPrototypeOf(this, WAFUnavailableEntityException.prototype);
156
+ }
157
+ }
158
+ exports.WAFUnavailableEntityException = WAFUnavailableEntityException;
89
159
  var CreateByteMatchSetRequest;
90
160
  (function (CreateByteMatchSetRequest) {
91
161
  CreateByteMatchSetRequest.filterSensitiveLog = (obj) => ({
@@ -143,6 +213,45 @@ var CreateByteMatchSetResponse;
143
213
  ...obj,
144
214
  });
145
215
  })(CreateByteMatchSetResponse = exports.CreateByteMatchSetResponse || (exports.CreateByteMatchSetResponse = {}));
216
+ class WAFDisallowedNameException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
217
+ constructor(opts) {
218
+ super({
219
+ name: "WAFDisallowedNameException",
220
+ $fault: "client",
221
+ ...opts,
222
+ });
223
+ this.name = "WAFDisallowedNameException";
224
+ this.$fault = "client";
225
+ Object.setPrototypeOf(this, WAFDisallowedNameException.prototype);
226
+ }
227
+ }
228
+ exports.WAFDisallowedNameException = WAFDisallowedNameException;
229
+ class WAFLimitsExceededException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
230
+ constructor(opts) {
231
+ super({
232
+ name: "WAFLimitsExceededException",
233
+ $fault: "client",
234
+ ...opts,
235
+ });
236
+ this.name = "WAFLimitsExceededException";
237
+ this.$fault = "client";
238
+ Object.setPrototypeOf(this, WAFLimitsExceededException.prototype);
239
+ }
240
+ }
241
+ exports.WAFLimitsExceededException = WAFLimitsExceededException;
242
+ class WAFStaleDataException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
243
+ constructor(opts) {
244
+ super({
245
+ name: "WAFStaleDataException",
246
+ $fault: "client",
247
+ ...opts,
248
+ });
249
+ this.name = "WAFStaleDataException";
250
+ this.$fault = "client";
251
+ Object.setPrototypeOf(this, WAFStaleDataException.prototype);
252
+ }
253
+ }
254
+ exports.WAFStaleDataException = WAFStaleDataException;
146
255
  var CreateGeoMatchSetRequest;
147
256
  (function (CreateGeoMatchSetRequest) {
148
257
  CreateGeoMatchSetRequest.filterSensitiveLog = (obj) => ({
@@ -496,6 +605,45 @@ var CreateRateBasedRuleResponse;
496
605
  ...obj,
497
606
  });
498
607
  })(CreateRateBasedRuleResponse = exports.CreateRateBasedRuleResponse || (exports.CreateRateBasedRuleResponse = {}));
608
+ class WAFBadRequestException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
609
+ constructor(opts) {
610
+ super({
611
+ name: "WAFBadRequestException",
612
+ $fault: "client",
613
+ ...opts,
614
+ });
615
+ this.name = "WAFBadRequestException";
616
+ this.$fault = "client";
617
+ Object.setPrototypeOf(this, WAFBadRequestException.prototype);
618
+ }
619
+ }
620
+ exports.WAFBadRequestException = WAFBadRequestException;
621
+ class WAFTagOperationException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
622
+ constructor(opts) {
623
+ super({
624
+ name: "WAFTagOperationException",
625
+ $fault: "client",
626
+ ...opts,
627
+ });
628
+ this.name = "WAFTagOperationException";
629
+ this.$fault = "client";
630
+ Object.setPrototypeOf(this, WAFTagOperationException.prototype);
631
+ }
632
+ }
633
+ exports.WAFTagOperationException = WAFTagOperationException;
634
+ class WAFTagOperationInternalErrorException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
635
+ constructor(opts) {
636
+ super({
637
+ name: "WAFTagOperationInternalErrorException",
638
+ $fault: "server",
639
+ ...opts,
640
+ });
641
+ this.name = "WAFTagOperationInternalErrorException";
642
+ this.$fault = "server";
643
+ Object.setPrototypeOf(this, WAFTagOperationInternalErrorException.prototype);
644
+ }
645
+ }
646
+ exports.WAFTagOperationInternalErrorException = WAFTagOperationInternalErrorException;
499
647
  var CreateRegexMatchSetRequest;
500
648
  (function (CreateRegexMatchSetRequest) {
501
649
  CreateRegexMatchSetRequest.filterSensitiveLog = (obj) => ({
@@ -671,6 +819,34 @@ var MigrationErrorType;
671
819
  MigrationErrorType["S3_BUCKET_NO_PERMISSION"] = "S3_BUCKET_NO_PERMISSION";
672
820
  MigrationErrorType["S3_INTERNAL_ERROR"] = "S3_INTERNAL_ERROR";
673
821
  })(MigrationErrorType = exports.MigrationErrorType || (exports.MigrationErrorType = {}));
822
+ class WAFEntityMigrationException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
823
+ constructor(opts) {
824
+ super({
825
+ name: "WAFEntityMigrationException",
826
+ $fault: "client",
827
+ ...opts,
828
+ });
829
+ this.name = "WAFEntityMigrationException";
830
+ this.$fault = "client";
831
+ Object.setPrototypeOf(this, WAFEntityMigrationException.prototype);
832
+ this.MigrationErrorType = opts.MigrationErrorType;
833
+ this.MigrationErrorReason = opts.MigrationErrorReason;
834
+ }
835
+ }
836
+ exports.WAFEntityMigrationException = WAFEntityMigrationException;
837
+ class WAFInvalidOperationException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
838
+ constructor(opts) {
839
+ super({
840
+ name: "WAFInvalidOperationException",
841
+ $fault: "client",
842
+ ...opts,
843
+ });
844
+ this.name = "WAFInvalidOperationException";
845
+ this.$fault = "client";
846
+ Object.setPrototypeOf(this, WAFInvalidOperationException.prototype);
847
+ }
848
+ }
849
+ exports.WAFInvalidOperationException = WAFInvalidOperationException;
674
850
  var CreateXssMatchSetRequest;
675
851
  (function (CreateXssMatchSetRequest) {
676
852
  CreateXssMatchSetRequest.filterSensitiveLog = (obj) => ({
@@ -707,6 +883,32 @@ var DeleteByteMatchSetResponse;
707
883
  ...obj,
708
884
  });
709
885
  })(DeleteByteMatchSetResponse = exports.DeleteByteMatchSetResponse || (exports.DeleteByteMatchSetResponse = {}));
886
+ class WAFNonEmptyEntityException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
887
+ constructor(opts) {
888
+ super({
889
+ name: "WAFNonEmptyEntityException",
890
+ $fault: "client",
891
+ ...opts,
892
+ });
893
+ this.name = "WAFNonEmptyEntityException";
894
+ this.$fault = "client";
895
+ Object.setPrototypeOf(this, WAFNonEmptyEntityException.prototype);
896
+ }
897
+ }
898
+ exports.WAFNonEmptyEntityException = WAFNonEmptyEntityException;
899
+ class WAFReferencedItemException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
900
+ constructor(opts) {
901
+ super({
902
+ name: "WAFReferencedItemException",
903
+ $fault: "client",
904
+ ...opts,
905
+ });
906
+ this.name = "WAFReferencedItemException";
907
+ this.$fault = "client";
908
+ Object.setPrototypeOf(this, WAFReferencedItemException.prototype);
909
+ }
910
+ }
911
+ exports.WAFReferencedItemException = WAFReferencedItemException;
710
912
  var DeleteGeoMatchSetRequest;
711
913
  (function (DeleteGeoMatchSetRequest) {
712
914
  DeleteGeoMatchSetRequest.filterSensitiveLog = (obj) => ({
@@ -1438,6 +1640,19 @@ var PutLoggingConfigurationResponse;
1438
1640
  ...obj,
1439
1641
  });
1440
1642
  })(PutLoggingConfigurationResponse = exports.PutLoggingConfigurationResponse || (exports.PutLoggingConfigurationResponse = {}));
1643
+ class WAFServiceLinkedRoleErrorException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
1644
+ constructor(opts) {
1645
+ super({
1646
+ name: "WAFServiceLinkedRoleErrorException",
1647
+ $fault: "client",
1648
+ ...opts,
1649
+ });
1650
+ this.name = "WAFServiceLinkedRoleErrorException";
1651
+ this.$fault = "client";
1652
+ Object.setPrototypeOf(this, WAFServiceLinkedRoleErrorException.prototype);
1653
+ }
1654
+ }
1655
+ exports.WAFServiceLinkedRoleErrorException = WAFServiceLinkedRoleErrorException;
1441
1656
  var PutPermissionPolicyRequest;
1442
1657
  (function (PutPermissionPolicyRequest) {
1443
1658
  PutPermissionPolicyRequest.filterSensitiveLog = (obj) => ({
@@ -1450,6 +1665,19 @@ var PutPermissionPolicyResponse;
1450
1665
  ...obj,
1451
1666
  });
1452
1667
  })(PutPermissionPolicyResponse = exports.PutPermissionPolicyResponse || (exports.PutPermissionPolicyResponse = {}));
1668
+ class WAFInvalidPermissionPolicyException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
1669
+ constructor(opts) {
1670
+ super({
1671
+ name: "WAFInvalidPermissionPolicyException",
1672
+ $fault: "client",
1673
+ ...opts,
1674
+ });
1675
+ this.name = "WAFInvalidPermissionPolicyException";
1676
+ this.$fault = "client";
1677
+ Object.setPrototypeOf(this, WAFInvalidPermissionPolicyException.prototype);
1678
+ }
1679
+ }
1680
+ exports.WAFInvalidPermissionPolicyException = WAFInvalidPermissionPolicyException;
1453
1681
  var TagResourceRequest;
1454
1682
  (function (TagResourceRequest) {
1455
1683
  TagResourceRequest.filterSensitiveLog = (obj) => ({
@@ -1497,6 +1725,19 @@ var UpdateByteMatchSetResponse;
1497
1725
  ...obj,
1498
1726
  });
1499
1727
  })(UpdateByteMatchSetResponse = exports.UpdateByteMatchSetResponse || (exports.UpdateByteMatchSetResponse = {}));
1728
+ class WAFNonexistentContainerException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
1729
+ constructor(opts) {
1730
+ super({
1731
+ name: "WAFNonexistentContainerException",
1732
+ $fault: "client",
1733
+ ...opts,
1734
+ });
1735
+ this.name = "WAFNonexistentContainerException";
1736
+ this.$fault = "client";
1737
+ Object.setPrototypeOf(this, WAFNonexistentContainerException.prototype);
1738
+ }
1739
+ }
1740
+ exports.WAFNonexistentContainerException = WAFNonexistentContainerException;
1500
1741
  var GeoMatchSetUpdate;
1501
1742
  (function (GeoMatchSetUpdate) {
1502
1743
  GeoMatchSetUpdate.filterSensitiveLog = (obj) => ({
@@ -1587,6 +1828,19 @@ var UpdateRegexPatternSetResponse;
1587
1828
  ...obj,
1588
1829
  });
1589
1830
  })(UpdateRegexPatternSetResponse = exports.UpdateRegexPatternSetResponse || (exports.UpdateRegexPatternSetResponse = {}));
1831
+ class WAFInvalidRegexPatternException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
1832
+ constructor(opts) {
1833
+ super({
1834
+ name: "WAFInvalidRegexPatternException",
1835
+ $fault: "client",
1836
+ ...opts,
1837
+ });
1838
+ this.name = "WAFInvalidRegexPatternException";
1839
+ this.$fault = "client";
1840
+ Object.setPrototypeOf(this, WAFInvalidRegexPatternException.prototype);
1841
+ }
1842
+ }
1843
+ exports.WAFInvalidRegexPatternException = WAFInvalidRegexPatternException;
1590
1844
  var UpdateRuleRequest;
1591
1845
  (function (UpdateRuleRequest) {
1592
1846
  UpdateRuleRequest.filterSensitiveLog = (obj) => ({
@@ -1671,6 +1925,19 @@ var UpdateWebACLResponse;
1671
1925
  ...obj,
1672
1926
  });
1673
1927
  })(UpdateWebACLResponse = exports.UpdateWebACLResponse || (exports.UpdateWebACLResponse = {}));
1928
+ class WAFSubscriptionNotFoundException extends WAFRegionalServiceException_1.WAFRegionalServiceException {
1929
+ constructor(opts) {
1930
+ super({
1931
+ name: "WAFSubscriptionNotFoundException",
1932
+ $fault: "client",
1933
+ ...opts,
1934
+ });
1935
+ this.name = "WAFSubscriptionNotFoundException";
1936
+ this.$fault = "client";
1937
+ Object.setPrototypeOf(this, WAFSubscriptionNotFoundException.prototype);
1938
+ }
1939
+ }
1940
+ exports.WAFSubscriptionNotFoundException = WAFSubscriptionNotFoundException;
1674
1941
  var XssMatchSetUpdate;
1675
1942
  (function (XssMatchSetUpdate) {
1676
1943
  XssMatchSetUpdate.filterSensitiveLog = (obj) => ({