@aws-sdk/client-wafv2 3.933.0 → 3.935.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-cjs/index.js +710 -674
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +508 -0
- package/dist-es/models/errors.js +287 -0
- package/dist-es/models/models_0.js +1 -779
- package/dist-es/schemas/schemas_0.js +19 -1
- package/dist-types/commands/AssociateWebACLCommand.d.ts +3 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +3 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +780 -0
- package/dist-types/models/errors.d.ts +368 -0
- package/dist-types/models/models_0.d.ts +7 -1118
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +565 -0
- package/dist-types/ts3.4/models/errors.d.ts +194 -0
- package/dist-types/ts3.4/models/models_0.d.ts +39 -745
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -103,9 +103,11 @@ const _DAPIK = "DeleteAPIKey";
|
|
|
103
103
|
const _DAPIKR = "DeleteAPIKeyRequest";
|
|
104
104
|
const _DAPIKRe = "DeleteAPIKeyResponse";
|
|
105
105
|
const _DB = "DefaultBehavior";
|
|
106
|
+
const _DF = "DisallowedFeature";
|
|
106
107
|
const _DFMRG = "DeleteFirewallManagerRuleGroups";
|
|
107
108
|
const _DFMRGR = "DeleteFirewallManagerRuleGroupsRequest";
|
|
108
109
|
const _DFMRGRe = "DeleteFirewallManagerRuleGroupsResponse";
|
|
110
|
+
const _DFi = "DisallowedFeatures";
|
|
109
111
|
const _DIPS = "DeleteIPSet";
|
|
110
112
|
const _DIPSR = "DeleteIPSetRequest";
|
|
111
113
|
const _DIPSRe = "DeleteIPSetResponse";
|
|
@@ -167,6 +169,7 @@ const _FT = "FieldType";
|
|
|
167
169
|
const _FTM = "FieldToMatch";
|
|
168
170
|
const _FTP = "FieldToProtect";
|
|
169
171
|
const _FV = "FailureValues";
|
|
172
|
+
const _Fe = "Feature";
|
|
170
173
|
const _Fi = "Filter";
|
|
171
174
|
const _Fil = "Filters";
|
|
172
175
|
const _GDAPIK = "GetDecryptedAPIKey";
|
|
@@ -421,6 +424,7 @@ const _RN = "RuleName";
|
|
|
421
424
|
const _RNWRG = "RuleNameWithinRuleGroup";
|
|
422
425
|
const _RNe = "ReleaseNotes";
|
|
423
426
|
const _RPP = "RegistrationPagePath";
|
|
427
|
+
const _RPPe = "RequiredPricingPlan";
|
|
424
428
|
const _RPS = "RegexPatternSet";
|
|
425
429
|
const _RPSRS = "RegexPatternSetReferenceStatement";
|
|
426
430
|
const _RPSS = "RegexPatternSetSummary";
|
|
@@ -528,6 +532,7 @@ const _WAFAIE = "WAFAssociatedItemException";
|
|
|
528
532
|
const _WAFCWE = "WAFConfigurationWarningException";
|
|
529
533
|
const _WAFDIE = "WAFDuplicateItemException";
|
|
530
534
|
const _WAFEMRGVE = "WAFExpiredManagedRuleGroupVersionException";
|
|
535
|
+
const _WAFFNIIPPE = "WAFFeatureNotIncludedInPricingPlanException";
|
|
531
536
|
const _WAFIEE = "WAFInternalErrorException";
|
|
532
537
|
const _WAFIOE = "WAFInvalidOperationException";
|
|
533
538
|
const _WAFIPE = "WAFInvalidParameterException";
|
|
@@ -551,7 +556,7 @@ const _s = "server";
|
|
|
551
556
|
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.wafv2";
|
|
552
557
|
const n0 = "com.amazonaws.wafv2";
|
|
553
558
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
554
|
-
import { WAFAssociatedItemException as __WAFAssociatedItemException, WAFConfigurationWarningException as __WAFConfigurationWarningException, WAFDuplicateItemException as __WAFDuplicateItemException, WAFExpiredManagedRuleGroupVersionException as __WAFExpiredManagedRuleGroupVersionException, WAFInternalErrorException as __WAFInternalErrorException, WAFInvalidOperationException as __WAFInvalidOperationException, WAFInvalidParameterException as __WAFInvalidParameterException, WAFInvalidPermissionPolicyException as __WAFInvalidPermissionPolicyException, WAFInvalidResourceException as __WAFInvalidResourceException, WAFLimitsExceededException as __WAFLimitsExceededException, WAFLogDestinationPermissionIssueException as __WAFLogDestinationPermissionIssueException, WAFNonexistentItemException as __WAFNonexistentItemException, WAFOptimisticLockException as __WAFOptimisticLockException, WAFServiceLinkedRoleErrorException as __WAFServiceLinkedRoleErrorException, WAFSubscriptionNotFoundException as __WAFSubscriptionNotFoundException, WAFTagOperationException as __WAFTagOperationException, WAFTagOperationInternalErrorException as __WAFTagOperationInternalErrorException, WAFUnavailableEntityException as __WAFUnavailableEntityException, WAFUnsupportedAggregateKeyTypeException as __WAFUnsupportedAggregateKeyTypeException, } from "../models/
|
|
559
|
+
import { WAFAssociatedItemException as __WAFAssociatedItemException, WAFConfigurationWarningException as __WAFConfigurationWarningException, WAFDuplicateItemException as __WAFDuplicateItemException, WAFExpiredManagedRuleGroupVersionException as __WAFExpiredManagedRuleGroupVersionException, WAFFeatureNotIncludedInPricingPlanException as __WAFFeatureNotIncludedInPricingPlanException, WAFInternalErrorException as __WAFInternalErrorException, WAFInvalidOperationException as __WAFInvalidOperationException, WAFInvalidParameterException as __WAFInvalidParameterException, WAFInvalidPermissionPolicyException as __WAFInvalidPermissionPolicyException, WAFInvalidResourceException as __WAFInvalidResourceException, WAFLimitsExceededException as __WAFLimitsExceededException, WAFLogDestinationPermissionIssueException as __WAFLogDestinationPermissionIssueException, WAFNonexistentItemException as __WAFNonexistentItemException, WAFOptimisticLockException as __WAFOptimisticLockException, WAFServiceLinkedRoleErrorException as __WAFServiceLinkedRoleErrorException, WAFSubscriptionNotFoundException as __WAFSubscriptionNotFoundException, WAFTagOperationException as __WAFTagOperationException, WAFTagOperationInternalErrorException as __WAFTagOperationInternalErrorException, WAFUnavailableEntityException as __WAFUnavailableEntityException, WAFUnsupportedAggregateKeyTypeException as __WAFUnsupportedAggregateKeyTypeException, } from "../models/errors";
|
|
555
560
|
import { WAFV2ServiceException as __WAFV2ServiceException } from "../models/WAFV2ServiceException";
|
|
556
561
|
export var ActionCondition = [3, n0, _AC, 0, [_A], [0]];
|
|
557
562
|
export var AddressField = [3, n0, _AF, 0, [_I], [0]];
|
|
@@ -761,6 +766,7 @@ export var DescribeManagedRuleGroupResponse = [
|
|
|
761
766
|
[_VNe, _STA, _C, _R, _LN, _ALv, _CL],
|
|
762
767
|
[0, 0, 1, () => RuleSummaries, 0, () => LabelSummaries, () => LabelSummaries],
|
|
763
768
|
];
|
|
769
|
+
export var DisallowedFeature = [3, n0, _DF, 0, [_Fe, _RPPe], [0, 0]];
|
|
764
770
|
export var DisassociateWebACLRequest = [3, n0, _DWACLRi, 0, [_RA], [0]];
|
|
765
771
|
export var DisassociateWebACLResponse = [3, n0, _DWACLRis, 0, [], []];
|
|
766
772
|
export var EmailField = [3, n0, _EF, 0, [_I], [0]];
|
|
@@ -1484,6 +1490,17 @@ export var WAFExpiredManagedRuleGroupVersionException = [
|
|
|
1484
1490
|
[0],
|
|
1485
1491
|
];
|
|
1486
1492
|
TypeRegistry.for(n0).registerError(WAFExpiredManagedRuleGroupVersionException, __WAFExpiredManagedRuleGroupVersionException);
|
|
1493
|
+
export var WAFFeatureNotIncludedInPricingPlanException = [
|
|
1494
|
+
-3,
|
|
1495
|
+
n0,
|
|
1496
|
+
_WAFFNIIPPE,
|
|
1497
|
+
{
|
|
1498
|
+
[_e]: _c,
|
|
1499
|
+
},
|
|
1500
|
+
[_Me, _DFi],
|
|
1501
|
+
[0, () => DisallowedFeatures],
|
|
1502
|
+
];
|
|
1503
|
+
TypeRegistry.for(n0).registerError(WAFFeatureNotIncludedInPricingPlanException, __WAFFeatureNotIncludedInPricingPlanException);
|
|
1487
1504
|
export var WAFInternalErrorException = [
|
|
1488
1505
|
-3,
|
|
1489
1506
|
n0,
|
|
@@ -1724,6 +1741,7 @@ export var CookieNames = 64 | 0;
|
|
|
1724
1741
|
export var CountryCodes = 64 | 0;
|
|
1725
1742
|
export var CustomHTTPHeaders = [1, n0, _CHTTPHu, 0, () => CustomHTTPHeader];
|
|
1726
1743
|
export var DataProtections = [1, n0, _DPa, 0, () => DataProtection];
|
|
1744
|
+
export var DisallowedFeatures = [1, n0, _DFi, 0, () => DisallowedFeature];
|
|
1727
1745
|
export var ExcludedRules = [1, n0, _ERx, 0, () => ExcludedRule];
|
|
1728
1746
|
export var FieldToProtectKeys = 64 | 0;
|
|
1729
1747
|
export var Filters = [1, n0, _Fil, 0, () => Filter];
|
|
@@ -77,6 +77,9 @@ declare const AssociateWebACLCommand_base: {
|
|
|
77
77
|
* @see {@link AssociateWebACLCommandOutput} for command's `response` shape.
|
|
78
78
|
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
79
79
|
*
|
|
80
|
+
* @throws {@link WAFFeatureNotIncludedInPricingPlanException} (client fault)
|
|
81
|
+
* <p>The operation failed because the specified WAF feature isn't supported by the CloudFront pricing plan associated with the web ACL.</p>
|
|
82
|
+
*
|
|
80
83
|
* @throws {@link WAFInternalErrorException} (server fault)
|
|
81
84
|
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
82
85
|
* problem. Retry your request. </p>
|
|
@@ -282,6 +282,9 @@ declare const PutLoggingConfigurationCommand_base: {
|
|
|
282
282
|
* @see {@link PutLoggingConfigurationCommandOutput} for command's `response` shape.
|
|
283
283
|
* @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
|
|
284
284
|
*
|
|
285
|
+
* @throws {@link WAFFeatureNotIncludedInPricingPlanException} (client fault)
|
|
286
|
+
* <p>The operation failed because the specified WAF feature isn't supported by the CloudFront pricing plan associated with the web ACL.</p>
|
|
287
|
+
*
|
|
285
288
|
* @throws {@link WAFInternalErrorException} (server fault)
|
|
286
289
|
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
287
290
|
* problem. Retry your request. </p>
|
|
@@ -1201,6 +1201,9 @@ declare const UpdateWebACLCommand_base: {
|
|
|
1201
1201
|
* expired. You can retrieve the available versions for the managed rule group by calling
|
|
1202
1202
|
* <a>ListAvailableManagedRuleGroupVersions</a>.</p>
|
|
1203
1203
|
*
|
|
1204
|
+
* @throws {@link WAFFeatureNotIncludedInPricingPlanException} (client fault)
|
|
1205
|
+
* <p>The operation failed because the specified WAF feature isn't supported by the CloudFront pricing plan associated with the web ACL.</p>
|
|
1206
|
+
*
|
|
1204
1207
|
* @throws {@link WAFInternalErrorException} (server fault)
|
|
1205
1208
|
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
1206
1209
|
* problem. Retry your request. </p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -44,5 +44,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
44
44
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
45
45
|
export type { WAFV2ExtensionConfiguration } from "./extensionConfiguration";
|
|
46
46
|
export * from "./commands";
|
|
47
|
-
export * from "./models";
|
|
47
|
+
export * from "./models/enums";
|
|
48
|
+
export * from "./models/errors";
|
|
49
|
+
export type * from "./models/models_0";
|
|
48
50
|
export { WAFV2ServiceException } from "./models/WAFV2ServiceException";
|