@aws-sdk/client-wafv2 3.310.0 → 3.312.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/README.md +1 -1
- package/dist-cjs/models/models_0.js +11 -1
- package/dist-cjs/protocols/Aws_json1_1.js +99 -192
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/protocols/Aws_json1_1.js +99 -192
- package/dist-types/WAFV2.d.ts +13 -11
- package/dist-types/WAFV2Client.d.ts +1 -1
- package/dist-types/commands/AssociateWebACLCommand.d.ts +2 -2
- package/dist-types/commands/CheckCapacityCommand.d.ts +2 -2
- package/dist-types/commands/CreateWebACLCommand.d.ts +8 -1
- package/dist-types/commands/DeleteWebACLCommand.d.ts +4 -2
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +2 -2
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWebACLCommand.d.ts +8 -1
- package/dist-types/models/models_0.d.ts +239 -136
- package/dist-types/ts3.4/models/models_0.d.ts +23 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@ Guide</a>.</p>
|
|
|
39
39
|
<ul>
|
|
40
40
|
<li>
|
|
41
41
|
<p>For regional applications, you can use any of the endpoints in the list.
|
|
42
|
-
A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API,
|
|
42
|
+
A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, or an App Runner service. </p>
|
|
43
43
|
</li>
|
|
44
44
|
<li>
|
|
45
45
|
<p>For Amazon CloudFront applications, you must use the API endpoint listed for
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WAFInvalidPermissionPolicyException = exports.WAFServiceLinkedRoleErrorException = exports.WAFLogDestinationPermissionIssueException = exports.ResourceType = exports.FailureReason = exports.FilterRequirement = exports.FilterBehavior = exports.Platform = exports.WAFAssociatedItemException = exports.WAFConfigurationWarningException = exports.ResponseContentType = exports.WAFTagOperationInternalErrorException = exports.WAFTagOperationException = exports.WAFOptimisticLockException = exports.WAFDuplicateItemException = exports.IPAddressVersion = exports.WAFSubscriptionNotFoundException = exports.WAFLimitsExceededException = exports.WAFInvalidResourceException = exports.WAFExpiredManagedRuleGroupVersionException = exports.Scope = exports.WAFUnavailableEntityException = exports.WAFNonexistentItemException = exports.WAFInvalidParameterException = exports.ParameterExceptionField = exports.WAFInvalidOperationException = exports.WAFInternalErrorException = exports.SensitivityLevel = exports.ComparisonOperator = exports.RateBasedStatementAggregateKeyType = exports.InspectionLevel = exports.PayloadType = exports.LabelMatchScope = exports.ForwardedIPPosition = exports.FallbackBehavior = exports.CountryCode = exports.TextTransformationType = exports.PositionalConstraint = exports.JsonMatchScope = exports.BodyParsingFallbackBehavior = exports.MapMatchScope = exports.OversizeHandling = exports.ActionValue = void 0;
|
|
3
|
+
exports.WAFInvalidPermissionPolicyException = exports.WAFServiceLinkedRoleErrorException = exports.WAFLogDestinationPermissionIssueException = exports.ResourceType = exports.FailureReason = exports.FilterRequirement = exports.FilterBehavior = exports.Platform = exports.WAFAssociatedItemException = exports.WAFConfigurationWarningException = exports.ResponseContentType = exports.WAFTagOperationInternalErrorException = exports.WAFTagOperationException = exports.WAFOptimisticLockException = exports.WAFDuplicateItemException = exports.IPAddressVersion = exports.WAFSubscriptionNotFoundException = exports.WAFLimitsExceededException = exports.WAFInvalidResourceException = exports.WAFExpiredManagedRuleGroupVersionException = exports.Scope = exports.SizeInspectionLimit = exports.WAFUnavailableEntityException = exports.WAFNonexistentItemException = exports.WAFInvalidParameterException = exports.ParameterExceptionField = exports.WAFInvalidOperationException = exports.WAFInternalErrorException = exports.AssociatedResourceType = exports.SensitivityLevel = exports.ComparisonOperator = exports.RateBasedStatementAggregateKeyType = exports.InspectionLevel = exports.PayloadType = exports.LabelMatchScope = exports.ForwardedIPPosition = exports.FallbackBehavior = exports.CountryCode = exports.TextTransformationType = exports.PositionalConstraint = exports.JsonMatchScope = exports.BodyParsingFallbackBehavior = exports.MapMatchScope = exports.OversizeHandling = exports.ActionValue = void 0;
|
|
4
4
|
const WAFV2ServiceException_1 = require("./WAFV2ServiceException");
|
|
5
5
|
exports.ActionValue = {
|
|
6
6
|
ALLOW: "ALLOW",
|
|
@@ -349,6 +349,9 @@ exports.SensitivityLevel = {
|
|
|
349
349
|
HIGH: "HIGH",
|
|
350
350
|
LOW: "LOW",
|
|
351
351
|
};
|
|
352
|
+
exports.AssociatedResourceType = {
|
|
353
|
+
CLOUDFRONT: "CLOUDFRONT",
|
|
354
|
+
};
|
|
352
355
|
class WAFInternalErrorException extends WAFV2ServiceException_1.WAFV2ServiceException {
|
|
353
356
|
constructor(opts) {
|
|
354
357
|
super({
|
|
@@ -380,6 +383,7 @@ exports.WAFInvalidOperationException = WAFInvalidOperationException;
|
|
|
380
383
|
exports.ParameterExceptionField = {
|
|
381
384
|
AND_STATEMENT: "AND_STATEMENT",
|
|
382
385
|
ASSOCIABLE_RESOURCE: "ASSOCIABLE_RESOURCE",
|
|
386
|
+
ASSOCIATED_RESOURCE_TYPE: "ASSOCIATED_RESOURCE_TYPE",
|
|
383
387
|
ATP_RULE_SET_RESPONSE_INSPECTION: "ATP_RULE_SET_RESPONSE_INSPECTION",
|
|
384
388
|
BODY_PARSING_FALLBACK_BEHAVIOR: "BODY_PARSING_FALLBACK_BEHAVIOR",
|
|
385
389
|
BYTE_MATCH_STATEMENT: "BYTE_MATCH_STATEMENT",
|
|
@@ -489,6 +493,12 @@ class WAFUnavailableEntityException extends WAFV2ServiceException_1.WAFV2Service
|
|
|
489
493
|
}
|
|
490
494
|
}
|
|
491
495
|
exports.WAFUnavailableEntityException = WAFUnavailableEntityException;
|
|
496
|
+
exports.SizeInspectionLimit = {
|
|
497
|
+
KB_16: "KB_16",
|
|
498
|
+
KB_32: "KB_32",
|
|
499
|
+
KB_48: "KB_48",
|
|
500
|
+
KB_64: "KB_64",
|
|
501
|
+
};
|
|
492
502
|
exports.Scope = {
|
|
493
503
|
CLOUDFRONT: "CLOUDFRONT",
|
|
494
504
|
REGIONAL: "REGIONAL",
|