@aws-sdk/client-wafv2 3.303.0 → 3.305.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +11 -1
- package/dist-cjs/protocols/Aws_json1_1.js +47 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +10 -0
- package/dist-es/protocols/Aws_json1_1.js +47 -0
- 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 +1 -1
|
@@ -587,6 +587,11 @@ export interface XssMatchStatement {
|
|
|
587
587
|
FieldToMatch: FieldToMatch | undefined;
|
|
588
588
|
TextTransformations: TextTransformation[] | undefined;
|
|
589
589
|
}
|
|
590
|
+
export declare const AssociatedResourceType: {
|
|
591
|
+
readonly CLOUDFRONT: "CLOUDFRONT";
|
|
592
|
+
};
|
|
593
|
+
export type AssociatedResourceType =
|
|
594
|
+
(typeof AssociatedResourceType)[keyof typeof AssociatedResourceType];
|
|
590
595
|
export interface AssociateWebACLRequest {
|
|
591
596
|
WebACLArn: string | undefined;
|
|
592
597
|
ResourceArn: string | undefined;
|
|
@@ -611,6 +616,7 @@ export declare class WAFInvalidOperationException extends __BaseException {
|
|
|
611
616
|
export declare const ParameterExceptionField: {
|
|
612
617
|
readonly AND_STATEMENT: "AND_STATEMENT";
|
|
613
618
|
readonly ASSOCIABLE_RESOURCE: "ASSOCIABLE_RESOURCE";
|
|
619
|
+
readonly ASSOCIATED_RESOURCE_TYPE: "ASSOCIATED_RESOURCE_TYPE";
|
|
614
620
|
readonly ATP_RULE_SET_RESPONSE_INSPECTION: "ATP_RULE_SET_RESPONSE_INSPECTION";
|
|
615
621
|
readonly BODY_PARSING_FALLBACK_BEHAVIOR: "BODY_PARSING_FALLBACK_BEHAVIOR";
|
|
616
622
|
readonly BYTE_MATCH_STATEMENT: "BYTE_MATCH_STATEMENT";
|
|
@@ -704,6 +710,20 @@ export declare class WAFUnavailableEntityException extends __BaseException {
|
|
|
704
710
|
opts: __ExceptionOptionType<WAFUnavailableEntityException, __BaseException>
|
|
705
711
|
);
|
|
706
712
|
}
|
|
713
|
+
export declare const SizeInspectionLimit: {
|
|
714
|
+
readonly KB_16: "KB_16";
|
|
715
|
+
readonly KB_32: "KB_32";
|
|
716
|
+
readonly KB_48: "KB_48";
|
|
717
|
+
readonly KB_64: "KB_64";
|
|
718
|
+
};
|
|
719
|
+
export type SizeInspectionLimit =
|
|
720
|
+
(typeof SizeInspectionLimit)[keyof typeof SizeInspectionLimit];
|
|
721
|
+
export interface RequestBodyAssociatedResourceTypeConfig {
|
|
722
|
+
DefaultSizeInspectionLimit: SizeInspectionLimit | string | undefined;
|
|
723
|
+
}
|
|
724
|
+
export interface AssociationConfig {
|
|
725
|
+
RequestBody?: Record<string, RequestBodyAssociatedResourceTypeConfig>;
|
|
726
|
+
}
|
|
707
727
|
export interface ImmunityTimeProperty {
|
|
708
728
|
ImmunityTime: number | undefined;
|
|
709
729
|
}
|
|
@@ -1528,6 +1548,7 @@ export interface CreateWebACLRequest {
|
|
|
1528
1548
|
CaptchaConfig?: CaptchaConfig;
|
|
1529
1549
|
ChallengeConfig?: ChallengeConfig;
|
|
1530
1550
|
TokenDomains?: string[];
|
|
1551
|
+
AssociationConfig?: AssociationConfig;
|
|
1531
1552
|
}
|
|
1532
1553
|
export interface RuleGroup {
|
|
1533
1554
|
Name: string | undefined;
|
|
@@ -1565,6 +1586,7 @@ export interface UpdateWebACLRequest {
|
|
|
1565
1586
|
CaptchaConfig?: CaptchaConfig;
|
|
1566
1587
|
ChallengeConfig?: ChallengeConfig;
|
|
1567
1588
|
TokenDomains?: string[];
|
|
1589
|
+
AssociationConfig?: AssociationConfig;
|
|
1568
1590
|
}
|
|
1569
1591
|
export interface GetRuleGroupResponse {
|
|
1570
1592
|
RuleGroup?: RuleGroup;
|
|
@@ -1587,6 +1609,7 @@ export interface WebACL {
|
|
|
1587
1609
|
CaptchaConfig?: CaptchaConfig;
|
|
1588
1610
|
ChallengeConfig?: ChallengeConfig;
|
|
1589
1611
|
TokenDomains?: string[];
|
|
1612
|
+
AssociationConfig?: AssociationConfig;
|
|
1590
1613
|
}
|
|
1591
1614
|
export interface GetWebACLForResourceResponse {
|
|
1592
1615
|
WebACL?: WebACL;
|
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.305.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|