@aws-sdk/client-wafv2 3.933.0 → 3.934.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 +35 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/schemas/schemas_0.js +19 -1
- package/dist-types/commands/AssociateWebACLCommand.d.ts +3 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +2 -1
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +3 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +34 -22
- package/dist-types/models/models_1.d.ts +23 -0
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -5
- package/dist-types/ts3.4/models/models_1.d.ts +6 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -482,6 +482,22 @@ const AssociatedResourceType = {
|
|
|
482
482
|
COGNITO_USER_POOL: "COGNITO_USER_POOL",
|
|
483
483
|
VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE",
|
|
484
484
|
};
|
|
485
|
+
let WAFFeatureNotIncludedInPricingPlanException$1 = class WAFFeatureNotIncludedInPricingPlanException extends WAFV2ServiceException$1 {
|
|
486
|
+
name = "WAFFeatureNotIncludedInPricingPlanException";
|
|
487
|
+
$fault = "client";
|
|
488
|
+
Message;
|
|
489
|
+
DisallowedFeatures;
|
|
490
|
+
constructor(opts) {
|
|
491
|
+
super({
|
|
492
|
+
name: "WAFFeatureNotIncludedInPricingPlanException",
|
|
493
|
+
$fault: "client",
|
|
494
|
+
...opts,
|
|
495
|
+
});
|
|
496
|
+
Object.setPrototypeOf(this, WAFFeatureNotIncludedInPricingPlanException.prototype);
|
|
497
|
+
this.Message = opts.Message;
|
|
498
|
+
this.DisallowedFeatures = opts.DisallowedFeatures;
|
|
499
|
+
}
|
|
500
|
+
};
|
|
485
501
|
let WAFInternalErrorException$1 = class WAFInternalErrorException extends WAFV2ServiceException$1 {
|
|
486
502
|
name = "WAFInternalErrorException";
|
|
487
503
|
$fault = "server";
|
|
@@ -1001,9 +1017,11 @@ const _DAPIK = "DeleteAPIKey";
|
|
|
1001
1017
|
const _DAPIKR = "DeleteAPIKeyRequest";
|
|
1002
1018
|
const _DAPIKRe = "DeleteAPIKeyResponse";
|
|
1003
1019
|
const _DB = "DefaultBehavior";
|
|
1020
|
+
const _DF = "DisallowedFeature";
|
|
1004
1021
|
const _DFMRG = "DeleteFirewallManagerRuleGroups";
|
|
1005
1022
|
const _DFMRGR = "DeleteFirewallManagerRuleGroupsRequest";
|
|
1006
1023
|
const _DFMRGRe = "DeleteFirewallManagerRuleGroupsResponse";
|
|
1024
|
+
const _DFi = "DisallowedFeatures";
|
|
1007
1025
|
const _DIPS = "DeleteIPSet";
|
|
1008
1026
|
const _DIPSR = "DeleteIPSetRequest";
|
|
1009
1027
|
const _DIPSRe = "DeleteIPSetResponse";
|
|
@@ -1065,6 +1083,7 @@ const _FT = "FieldType";
|
|
|
1065
1083
|
const _FTM = "FieldToMatch";
|
|
1066
1084
|
const _FTP = "FieldToProtect";
|
|
1067
1085
|
const _FV = "FailureValues";
|
|
1086
|
+
const _Fe = "Feature";
|
|
1068
1087
|
const _Fi = "Filter";
|
|
1069
1088
|
const _Fil = "Filters";
|
|
1070
1089
|
const _GDAPIK = "GetDecryptedAPIKey";
|
|
@@ -1319,6 +1338,7 @@ const _RN = "RuleName";
|
|
|
1319
1338
|
const _RNWRG = "RuleNameWithinRuleGroup";
|
|
1320
1339
|
const _RNe = "ReleaseNotes";
|
|
1321
1340
|
const _RPP = "RegistrationPagePath";
|
|
1341
|
+
const _RPPe = "RequiredPricingPlan";
|
|
1322
1342
|
const _RPS = "RegexPatternSet";
|
|
1323
1343
|
const _RPSRS = "RegexPatternSetReferenceStatement";
|
|
1324
1344
|
const _RPSS = "RegexPatternSetSummary";
|
|
@@ -1426,6 +1446,7 @@ const _WAFAIE = "WAFAssociatedItemException";
|
|
|
1426
1446
|
const _WAFCWE = "WAFConfigurationWarningException";
|
|
1427
1447
|
const _WAFDIE = "WAFDuplicateItemException";
|
|
1428
1448
|
const _WAFEMRGVE = "WAFExpiredManagedRuleGroupVersionException";
|
|
1449
|
+
const _WAFFNIIPPE = "WAFFeatureNotIncludedInPricingPlanException";
|
|
1429
1450
|
const _WAFIEE = "WAFInternalErrorException";
|
|
1430
1451
|
const _WAFIOE = "WAFInvalidOperationException";
|
|
1431
1452
|
const _WAFIPE = "WAFInvalidParameterException";
|
|
@@ -1656,6 +1677,7 @@ var DescribeManagedRuleGroupResponse = [
|
|
|
1656
1677
|
[_VNe, _STA, _C, _R, _LN, _ALv, _CL],
|
|
1657
1678
|
[0, 0, 1, () => RuleSummaries, 0, () => LabelSummaries, () => LabelSummaries],
|
|
1658
1679
|
];
|
|
1680
|
+
var DisallowedFeature = [3, n0, _DF, 0, [_Fe, _RPPe], [0, 0]];
|
|
1659
1681
|
var DisassociateWebACLRequest = [3, n0, _DWACLRi, 0, [_RA], [0]];
|
|
1660
1682
|
var DisassociateWebACLResponse = [3, n0, _DWACLRis, 0, [], []];
|
|
1661
1683
|
var EmailField = [3, n0, _EF, 0, [_I], [0]];
|
|
@@ -2379,6 +2401,17 @@ var WAFExpiredManagedRuleGroupVersionException = [
|
|
|
2379
2401
|
[0],
|
|
2380
2402
|
];
|
|
2381
2403
|
schema.TypeRegistry.for(n0).registerError(WAFExpiredManagedRuleGroupVersionException, WAFExpiredManagedRuleGroupVersionException$1);
|
|
2404
|
+
var WAFFeatureNotIncludedInPricingPlanException = [
|
|
2405
|
+
-3,
|
|
2406
|
+
n0,
|
|
2407
|
+
_WAFFNIIPPE,
|
|
2408
|
+
{
|
|
2409
|
+
[_e]: _c,
|
|
2410
|
+
},
|
|
2411
|
+
[_Me, _DFi],
|
|
2412
|
+
[0, () => DisallowedFeatures],
|
|
2413
|
+
];
|
|
2414
|
+
schema.TypeRegistry.for(n0).registerError(WAFFeatureNotIncludedInPricingPlanException, WAFFeatureNotIncludedInPricingPlanException$1);
|
|
2382
2415
|
var WAFInternalErrorException = [
|
|
2383
2416
|
-3,
|
|
2384
2417
|
n0,
|
|
@@ -2613,6 +2646,7 @@ var ApplicationAttributes = [1, n0, _AApp, 0, () => ApplicationAttribute];
|
|
|
2613
2646
|
var Conditions = [1, n0, _Cond, 0, () => Condition];
|
|
2614
2647
|
var CustomHTTPHeaders = [1, n0, _CHTTPHu, 0, () => CustomHTTPHeader];
|
|
2615
2648
|
var DataProtections = [1, n0, _DPa, 0, () => DataProtection];
|
|
2649
|
+
var DisallowedFeatures = [1, n0, _DFi, 0, () => DisallowedFeature];
|
|
2616
2650
|
var ExcludedRules = [1, n0, _ERx, 0, () => ExcludedRule];
|
|
2617
2651
|
var Filters = [1, n0, _Fil, 0, () => Filter];
|
|
2618
2652
|
var FirewallManagerRuleGroups = [1, n0, _FMRGi, 0, () => FirewallManagerRuleGroup];
|
|
@@ -3823,6 +3857,7 @@ exports.WAFAssociatedItemException = WAFAssociatedItemException$1;
|
|
|
3823
3857
|
exports.WAFConfigurationWarningException = WAFConfigurationWarningException$1;
|
|
3824
3858
|
exports.WAFDuplicateItemException = WAFDuplicateItemException$1;
|
|
3825
3859
|
exports.WAFExpiredManagedRuleGroupVersionException = WAFExpiredManagedRuleGroupVersionException$1;
|
|
3860
|
+
exports.WAFFeatureNotIncludedInPricingPlanException = WAFFeatureNotIncludedInPricingPlanException$1;
|
|
3826
3861
|
exports.WAFInternalErrorException = WAFInternalErrorException$1;
|
|
3827
3862
|
exports.WAFInvalidOperationException = WAFInvalidOperationException$1;
|
|
3828
3863
|
exports.WAFInvalidParameterException = WAFInvalidParameterException$1;
|
package/dist-es/models/index.js
CHANGED
|
@@ -364,6 +364,22 @@ export const AssociatedResourceType = {
|
|
|
364
364
|
COGNITO_USER_POOL: "COGNITO_USER_POOL",
|
|
365
365
|
VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE",
|
|
366
366
|
};
|
|
367
|
+
export class WAFFeatureNotIncludedInPricingPlanException extends __BaseException {
|
|
368
|
+
name = "WAFFeatureNotIncludedInPricingPlanException";
|
|
369
|
+
$fault = "client";
|
|
370
|
+
Message;
|
|
371
|
+
DisallowedFeatures;
|
|
372
|
+
constructor(opts) {
|
|
373
|
+
super({
|
|
374
|
+
name: "WAFFeatureNotIncludedInPricingPlanException",
|
|
375
|
+
$fault: "client",
|
|
376
|
+
...opts,
|
|
377
|
+
});
|
|
378
|
+
Object.setPrototypeOf(this, WAFFeatureNotIncludedInPricingPlanException.prototype);
|
|
379
|
+
this.Message = opts.Message;
|
|
380
|
+
this.DisallowedFeatures = opts.DisallowedFeatures;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
367
383
|
export class WAFInternalErrorException extends __BaseException {
|
|
368
384
|
name = "WAFInternalErrorException";
|
|
369
385
|
$fault = "server";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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/index";
|
|
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/index";
|
|
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>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetWebACLRequest
|
|
3
|
+
import { GetWebACLRequest } from "../models/models_0";
|
|
4
|
+
import { GetWebACLResponse } from "../models/models_1";
|
|
4
5
|
import { ServiceInputTypes, ServiceOutputTypes, WAFV2ClientResolvedConfig } from "../WAFV2Client";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -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>
|
|
@@ -3345,6 +3345,40 @@ export interface AssociateWebACLRequest {
|
|
|
3345
3345
|
*/
|
|
3346
3346
|
export interface AssociateWebACLResponse {
|
|
3347
3347
|
}
|
|
3348
|
+
/**
|
|
3349
|
+
* <p>A WAF feature that is not supported by the CloudFront pricing plan associated with the web ACL.</p>
|
|
3350
|
+
* @public
|
|
3351
|
+
*/
|
|
3352
|
+
export interface DisallowedFeature {
|
|
3353
|
+
/**
|
|
3354
|
+
* <p>The name of the disallowed WAF feature.</p>
|
|
3355
|
+
* @public
|
|
3356
|
+
*/
|
|
3357
|
+
Feature?: string | undefined;
|
|
3358
|
+
/**
|
|
3359
|
+
* <p>The name of the CloudFront pricing plan required to use the WAF feature.</p>
|
|
3360
|
+
* @public
|
|
3361
|
+
*/
|
|
3362
|
+
RequiredPricingPlan?: string | undefined;
|
|
3363
|
+
}
|
|
3364
|
+
/**
|
|
3365
|
+
* <p>The operation failed because the specified WAF feature isn't supported by the CloudFront pricing plan associated with the web ACL.</p>
|
|
3366
|
+
* @public
|
|
3367
|
+
*/
|
|
3368
|
+
export declare class WAFFeatureNotIncludedInPricingPlanException extends __BaseException {
|
|
3369
|
+
readonly name: "WAFFeatureNotIncludedInPricingPlanException";
|
|
3370
|
+
readonly $fault: "client";
|
|
3371
|
+
Message?: string | undefined;
|
|
3372
|
+
/**
|
|
3373
|
+
* <p>The names of the disallowed WAF features.</p>
|
|
3374
|
+
* @public
|
|
3375
|
+
*/
|
|
3376
|
+
DisallowedFeatures?: DisallowedFeature[] | undefined;
|
|
3377
|
+
/**
|
|
3378
|
+
* @internal
|
|
3379
|
+
*/
|
|
3380
|
+
constructor(opts: __ExceptionOptionType<WAFFeatureNotIncludedInPricingPlanException, __BaseException>);
|
|
3381
|
+
}
|
|
3348
3382
|
/**
|
|
3349
3383
|
* <p>Your request is valid, but WAF couldn’t perform the operation because of a system
|
|
3350
3384
|
* problem. Retry your request. </p>
|
|
@@ -8863,25 +8897,3 @@ export interface GetWebACLForResourceResponse {
|
|
|
8863
8897
|
*/
|
|
8864
8898
|
WebACL?: WebACL | undefined;
|
|
8865
8899
|
}
|
|
8866
|
-
/**
|
|
8867
|
-
* @public
|
|
8868
|
-
*/
|
|
8869
|
-
export interface GetWebACLResponse {
|
|
8870
|
-
/**
|
|
8871
|
-
* <p>The web ACL specification. You can modify the settings in this web ACL and use it to
|
|
8872
|
-
* update this web ACL or create a new one.</p>
|
|
8873
|
-
* @public
|
|
8874
|
-
*/
|
|
8875
|
-
WebACL?: WebACL | undefined;
|
|
8876
|
-
/**
|
|
8877
|
-
* <p>A token used for optimistic locking. WAF returns a token to your <code>get</code> and <code>list</code> requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like <code>update</code> and <code>delete</code>. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a <code>WAFOptimisticLockException</code>. If this happens, perform another <code>get</code>, and use the new token returned by that operation. </p>
|
|
8878
|
-
* @public
|
|
8879
|
-
*/
|
|
8880
|
-
LockToken?: string | undefined;
|
|
8881
|
-
/**
|
|
8882
|
-
* <p>The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code> and the account creation fraud prevention managed rule group <code>AWSManagedRulesACFPRuleSet</code>. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a>
|
|
8883
|
-
* in the <i>WAF Developer Guide</i>.</p>
|
|
8884
|
-
* @public
|
|
8885
|
-
*/
|
|
8886
|
-
ApplicationIntegrationURL?: string | undefined;
|
|
8887
|
-
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { WebACL } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface GetWebACLResponse {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The web ACL specification. You can modify the settings in this web ACL and use it to
|
|
8
|
+
* update this web ACL or create a new one.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
WebACL?: WebACL | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>A token used for optimistic locking. WAF returns a token to your <code>get</code> and <code>list</code> requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like <code>update</code> and <code>delete</code>. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a <code>WAFOptimisticLockException</code>. If this happens, perform another <code>get</code>, and use the new token returned by that operation. </p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
LockToken?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The URL to use in SDK integrations with Amazon Web Services managed rule groups. For example, you can use the integration SDKs with the account takeover prevention managed rule group <code>AWSManagedRulesATPRuleSet</code> and the account creation fraud prevention managed rule group <code>AWSManagedRulesACFPRuleSet</code>. This is only populated if you are using a rule group in your web ACL that integrates with your applications in this way. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-application-integration.html">WAF client application integration</a>
|
|
19
|
+
* in the <i>WAF Developer Guide</i>.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
ApplicationIntegrationURL?: string | undefined;
|
|
23
|
+
}
|
|
@@ -72,6 +72,7 @@ export declare var DescribeManagedProductsByVendorRequest: StaticStructureSchema
|
|
|
72
72
|
export declare var DescribeManagedProductsByVendorResponse: StaticStructureSchema;
|
|
73
73
|
export declare var DescribeManagedRuleGroupRequest: StaticStructureSchema;
|
|
74
74
|
export declare var DescribeManagedRuleGroupResponse: StaticStructureSchema;
|
|
75
|
+
export declare var DisallowedFeature: StaticStructureSchema;
|
|
75
76
|
export declare var DisassociateWebACLRequest: StaticStructureSchema;
|
|
76
77
|
export declare var DisassociateWebACLResponse: StaticStructureSchema;
|
|
77
78
|
export declare var EmailField: StaticStructureSchema;
|
|
@@ -246,6 +247,7 @@ export declare var WAFAssociatedItemException: StaticErrorSchema;
|
|
|
246
247
|
export declare var WAFConfigurationWarningException: StaticErrorSchema;
|
|
247
248
|
export declare var WAFDuplicateItemException: StaticErrorSchema;
|
|
248
249
|
export declare var WAFExpiredManagedRuleGroupVersionException: StaticErrorSchema;
|
|
250
|
+
export declare var WAFFeatureNotIncludedInPricingPlanException: StaticErrorSchema;
|
|
249
251
|
export declare var WAFInternalErrorException: StaticErrorSchema;
|
|
250
252
|
export declare var WAFInvalidOperationException: StaticErrorSchema;
|
|
251
253
|
export declare var WAFInvalidParameterException: StaticErrorSchema;
|
|
@@ -277,6 +279,7 @@ export declare var CookieNames: number;
|
|
|
277
279
|
export declare var CountryCodes: number;
|
|
278
280
|
export declare var CustomHTTPHeaders: StaticListSchema;
|
|
279
281
|
export declare var DataProtections: StaticListSchema;
|
|
282
|
+
export declare var DisallowedFeatures: StaticListSchema;
|
|
280
283
|
export declare var ExcludedRules: StaticListSchema;
|
|
281
284
|
export declare var FieldToProtectKeys: number;
|
|
282
285
|
export declare var Filters: StaticListSchema;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { GetWebACLRequest
|
|
3
|
+
import { GetWebACLRequest } from "../models/models_0";
|
|
4
|
+
import { GetWebACLResponse } from "../models/models_1";
|
|
4
5
|
import {
|
|
5
6
|
ServiceInputTypes,
|
|
6
7
|
ServiceOutputTypes,
|
|
@@ -738,6 +738,22 @@ export interface AssociateWebACLRequest {
|
|
|
738
738
|
ResourceArn: string | undefined;
|
|
739
739
|
}
|
|
740
740
|
export interface AssociateWebACLResponse {}
|
|
741
|
+
export interface DisallowedFeature {
|
|
742
|
+
Feature?: string | undefined;
|
|
743
|
+
RequiredPricingPlan?: string | undefined;
|
|
744
|
+
}
|
|
745
|
+
export declare class WAFFeatureNotIncludedInPricingPlanException extends __BaseException {
|
|
746
|
+
readonly name: "WAFFeatureNotIncludedInPricingPlanException";
|
|
747
|
+
readonly $fault: "client";
|
|
748
|
+
Message?: string | undefined;
|
|
749
|
+
DisallowedFeatures?: DisallowedFeature[] | undefined;
|
|
750
|
+
constructor(
|
|
751
|
+
opts: __ExceptionOptionType<
|
|
752
|
+
WAFFeatureNotIncludedInPricingPlanException,
|
|
753
|
+
__BaseException
|
|
754
|
+
>
|
|
755
|
+
);
|
|
756
|
+
}
|
|
741
757
|
export declare class WAFInternalErrorException extends __BaseException {
|
|
742
758
|
readonly name: "WAFInternalErrorException";
|
|
743
759
|
readonly $fault: "server";
|
|
@@ -1899,8 +1915,3 @@ export interface WebACL {
|
|
|
1899
1915
|
export interface GetWebACLForResourceResponse {
|
|
1900
1916
|
WebACL?: WebACL | undefined;
|
|
1901
1917
|
}
|
|
1902
|
-
export interface GetWebACLResponse {
|
|
1903
|
-
WebACL?: WebACL | undefined;
|
|
1904
|
-
LockToken?: string | undefined;
|
|
1905
|
-
ApplicationIntegrationURL?: string | undefined;
|
|
1906
|
-
}
|
|
@@ -78,6 +78,7 @@ export declare var DescribeManagedProductsByVendorRequest: StaticStructureSchema
|
|
|
78
78
|
export declare var DescribeManagedProductsByVendorResponse: StaticStructureSchema;
|
|
79
79
|
export declare var DescribeManagedRuleGroupRequest: StaticStructureSchema;
|
|
80
80
|
export declare var DescribeManagedRuleGroupResponse: StaticStructureSchema;
|
|
81
|
+
export declare var DisallowedFeature: StaticStructureSchema;
|
|
81
82
|
export declare var DisassociateWebACLRequest: StaticStructureSchema;
|
|
82
83
|
export declare var DisassociateWebACLResponse: StaticStructureSchema;
|
|
83
84
|
export declare var EmailField: StaticStructureSchema;
|
|
@@ -252,6 +253,7 @@ export declare var WAFAssociatedItemException: StaticErrorSchema;
|
|
|
252
253
|
export declare var WAFConfigurationWarningException: StaticErrorSchema;
|
|
253
254
|
export declare var WAFDuplicateItemException: StaticErrorSchema;
|
|
254
255
|
export declare var WAFExpiredManagedRuleGroupVersionException: StaticErrorSchema;
|
|
256
|
+
export declare var WAFFeatureNotIncludedInPricingPlanException: StaticErrorSchema;
|
|
255
257
|
export declare var WAFInternalErrorException: StaticErrorSchema;
|
|
256
258
|
export declare var WAFInvalidOperationException: StaticErrorSchema;
|
|
257
259
|
export declare var WAFInvalidParameterException: StaticErrorSchema;
|
|
@@ -283,6 +285,7 @@ export declare var CookieNames: number;
|
|
|
283
285
|
export declare var CountryCodes: number;
|
|
284
286
|
export declare var CustomHTTPHeaders: StaticListSchema;
|
|
285
287
|
export declare var DataProtections: StaticListSchema;
|
|
288
|
+
export declare var DisallowedFeatures: StaticListSchema;
|
|
286
289
|
export declare var ExcludedRules: StaticListSchema;
|
|
287
290
|
export declare var FieldToProtectKeys: number;
|
|
288
291
|
export declare var Filters: StaticListSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.934.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-wafv2",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.934.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.934.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.934.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
30
|
"@aws-sdk/types": "3.930.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.934.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|