@aws-sdk/client-wafv2 3.1172.0 → 3.1174.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 +35 -0
- package/dist-cjs/index.js +418 -72
- package/dist-es/WAFV2.js +10 -0
- package/dist-es/commands/GetEventActorCommand.js +4 -0
- package/dist-es/commands/GetEventCommand.js +4 -0
- package/dist-es/commands/ListEventActorsCommand.js +4 -0
- package/dist-es/commands/ListEventsByWebACLCommand.js +4 -0
- package/dist-es/commands/ListEventsCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +33 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/schemas/schemas_0.js +324 -71
- package/dist-types/WAFV2.d.ts +35 -0
- package/dist-types/WAFV2Client.d.ts +7 -2
- package/dist-types/commands/CheckCapacityCommand.d.ts +22 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +22 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +23 -1
- package/dist-types/commands/GetEventActorCommand.d.ts +146 -0
- package/dist-types/commands/GetEventCommand.d.ts +154 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +24 -1
- package/dist-types/commands/GetWebACLCommand.d.ts +47 -2
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +47 -2
- package/dist-types/commands/ListEventActorsCommand.d.ts +119 -0
- package/dist-types/commands/ListEventsByWebACLCommand.d.ts +187 -0
- package/dist-types/commands/ListEventsCommand.d.ts +180 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +22 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +23 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +89 -0
- package/dist-types/models/models_0.d.ts +962 -344
- package/dist-types/models/models_1.d.ts +229 -0
- package/dist-types/schemas/schemas_0.d.ts +32 -0
- package/dist-types/ts3.4/WAFV2.d.ts +76 -0
- package/dist-types/ts3.4/WAFV2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/GetEventActorCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetEventCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListEventActorsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListEventsByWebACLCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +40 -0
- package/dist-types/ts3.4/models/models_0.d.ts +167 -37
- package/dist-types/ts3.4/models/models_1.d.ts +53 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
- package/package.json +1 -1
|
@@ -842,6 +842,17 @@ declare const UpdateRuleGroupCommand_base: {
|
|
|
842
842
|
* },
|
|
843
843
|
* SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
|
|
844
844
|
* },
|
|
845
|
+
* AWSManagedRulesAISecurityRuleSet: { // AWSManagedRulesAISecurityRuleSet
|
|
846
|
+
* BedrockGuardrails: { // BedrockGuardrails
|
|
847
|
+
* Disable: {},
|
|
848
|
+
* ProtectRequestOnly: { // BedrockGuardrailsRequestOnly
|
|
849
|
+
* RoleArn: "STRING_VALUE", // required
|
|
850
|
+
* },
|
|
851
|
+
* ProtectRequestAndResponse: { // BedrockGuardrailsRequestAndResponse
|
|
852
|
+
* RoleArn: "STRING_VALUE", // required
|
|
853
|
+
* },
|
|
854
|
+
* },
|
|
855
|
+
* },
|
|
845
856
|
* },
|
|
846
857
|
* ],
|
|
847
858
|
* RuleActionOverrides: [
|
|
@@ -1085,6 +1096,17 @@ declare const UpdateRuleGroupCommand_base: {
|
|
|
1085
1096
|
* },
|
|
1086
1097
|
* SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
|
|
1087
1098
|
* },
|
|
1099
|
+
* AWSManagedRulesAISecurityRuleSet: {
|
|
1100
|
+
* BedrockGuardrails: {
|
|
1101
|
+
* Disable: {},
|
|
1102
|
+
* ProtectRequestOnly: {
|
|
1103
|
+
* RoleArn: "STRING_VALUE", // required
|
|
1104
|
+
* },
|
|
1105
|
+
* ProtectRequestAndResponse: {
|
|
1106
|
+
* RoleArn: "STRING_VALUE", // required
|
|
1107
|
+
* },
|
|
1108
|
+
* },
|
|
1109
|
+
* },
|
|
1088
1110
|
* },
|
|
1089
1111
|
* ],
|
|
1090
1112
|
* RuleActionOverrides: [
|
|
@@ -847,6 +847,17 @@ declare const UpdateWebACLCommand_base: {
|
|
|
847
847
|
* },
|
|
848
848
|
* SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
|
|
849
849
|
* },
|
|
850
|
+
* AWSManagedRulesAISecurityRuleSet: { // AWSManagedRulesAISecurityRuleSet
|
|
851
|
+
* BedrockGuardrails: { // BedrockGuardrails
|
|
852
|
+
* Disable: {},
|
|
853
|
+
* ProtectRequestOnly: { // BedrockGuardrailsRequestOnly
|
|
854
|
+
* RoleArn: "STRING_VALUE", // required
|
|
855
|
+
* },
|
|
856
|
+
* ProtectRequestAndResponse: { // BedrockGuardrailsRequestAndResponse
|
|
857
|
+
* RoleArn: "STRING_VALUE", // required
|
|
858
|
+
* },
|
|
859
|
+
* },
|
|
860
|
+
* },
|
|
850
861
|
* },
|
|
851
862
|
* ],
|
|
852
863
|
* RuleActionOverrides: [
|
|
@@ -1082,6 +1093,17 @@ declare const UpdateWebACLCommand_base: {
|
|
|
1082
1093
|
* },
|
|
1083
1094
|
* SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
|
|
1084
1095
|
* },
|
|
1096
|
+
* AWSManagedRulesAISecurityRuleSet: {
|
|
1097
|
+
* BedrockGuardrails: {
|
|
1098
|
+
* Disable: {},
|
|
1099
|
+
* ProtectRequestOnly: {
|
|
1100
|
+
* RoleArn: "STRING_VALUE", // required
|
|
1101
|
+
* },
|
|
1102
|
+
* ProtectRequestAndResponse: {
|
|
1103
|
+
* RoleArn: "STRING_VALUE", // required
|
|
1104
|
+
* },
|
|
1105
|
+
* },
|
|
1106
|
+
* },
|
|
1085
1107
|
* },
|
|
1086
1108
|
* ],
|
|
1087
1109
|
* RuleActionOverrides: [
|
|
@@ -1193,7 +1215,7 @@ declare const UpdateWebACLCommand_base: {
|
|
|
1193
1215
|
* AssociationConfig: { // AssociationConfig
|
|
1194
1216
|
* RequestBody: { // RequestBody
|
|
1195
1217
|
* "<keys>": { // RequestBodyAssociatedResourceTypeConfig
|
|
1196
|
-
* DefaultSizeInspectionLimit: "KB_16" || "KB_32" || "KB_48" || "KB_64", // required
|
|
1218
|
+
* DefaultSizeInspectionLimit: "KB_8" || "KB_16" || "KB_32" || "KB_48" || "KB_64", // required
|
|
1197
1219
|
* },
|
|
1198
1220
|
* },
|
|
1199
1221
|
* ChallengeJavascriptSdkInjection: { // ChallengeJavascriptSdkInjection
|
|
@@ -19,6 +19,8 @@ export * from "./DescribeManagedRuleGroupCommand";
|
|
|
19
19
|
export * from "./DisassociateWebACLCommand";
|
|
20
20
|
export * from "./GenerateMobileSdkReleaseUrlCommand";
|
|
21
21
|
export * from "./GetDecryptedAPIKeyCommand";
|
|
22
|
+
export * from "./GetEventActorCommand";
|
|
23
|
+
export * from "./GetEventCommand";
|
|
22
24
|
export * from "./GetIPSetCommand";
|
|
23
25
|
export * from "./GetLoggingConfigurationCommand";
|
|
24
26
|
export * from "./GetManagedRuleSetCommand";
|
|
@@ -37,6 +39,9 @@ export * from "./GetWebACLForResourceCommand";
|
|
|
37
39
|
export * from "./ListAPIKeysCommand";
|
|
38
40
|
export * from "./ListAvailableManagedRuleGroupVersionsCommand";
|
|
39
41
|
export * from "./ListAvailableManagedRuleGroupsCommand";
|
|
42
|
+
export * from "./ListEventActorsCommand";
|
|
43
|
+
export * from "./ListEventsByWebACLCommand";
|
|
44
|
+
export * from "./ListEventsCommand";
|
|
40
45
|
export * from "./ListIPSetsCommand";
|
|
41
46
|
export * from "./ListLoggingConfigurationsCommand";
|
|
42
47
|
export * from "./ListManagedRuleSetsCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -538,6 +538,19 @@ export declare const SensitivityLevel: {
|
|
|
538
538
|
* @public
|
|
539
539
|
*/
|
|
540
540
|
export type SensitivityLevel = (typeof SensitivityLevel)[keyof typeof SensitivityLevel];
|
|
541
|
+
/**
|
|
542
|
+
* @public
|
|
543
|
+
* @enum
|
|
544
|
+
*/
|
|
545
|
+
export declare const Confidence: {
|
|
546
|
+
readonly HIGH: "HIGH";
|
|
547
|
+
readonly LOW: "LOW";
|
|
548
|
+
readonly MEDIUM: "MEDIUM";
|
|
549
|
+
};
|
|
550
|
+
/**
|
|
551
|
+
* @public
|
|
552
|
+
*/
|
|
553
|
+
export type Confidence = (typeof Confidence)[keyof typeof Confidence];
|
|
541
554
|
/**
|
|
542
555
|
* @public
|
|
543
556
|
* @enum
|
|
@@ -545,6 +558,7 @@ export type SensitivityLevel = (typeof SensitivityLevel)[keyof typeof Sensitivit
|
|
|
545
558
|
export declare const AssociatedResourceType: {
|
|
546
559
|
readonly AGENTCORE_GATEWAY: "AGENTCORE_GATEWAY";
|
|
547
560
|
readonly API_GATEWAY: "API_GATEWAY";
|
|
561
|
+
readonly APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER";
|
|
548
562
|
readonly APP_RUNNER_SERVICE: "APP_RUNNER_SERVICE";
|
|
549
563
|
readonly CLOUDFRONT: "CLOUDFRONT";
|
|
550
564
|
readonly COGNITO_USER_POOL: "COGNITO_USER_POOL";
|
|
@@ -564,6 +578,7 @@ export declare const ParameterExceptionField: {
|
|
|
564
578
|
readonly ASSOCIABLE_RESOURCE: "ASSOCIABLE_RESOURCE";
|
|
565
579
|
readonly ASSOCIATED_RESOURCE_TYPE: "ASSOCIATED_RESOURCE_TYPE";
|
|
566
580
|
readonly ATP_RULE_SET_RESPONSE_INSPECTION: "ATP_RULE_SET_RESPONSE_INSPECTION";
|
|
581
|
+
readonly BEDROCK_GUARDRAILS: "BEDROCK_GUARDRAILS";
|
|
567
582
|
readonly BODY_PARSING_FALLBACK_BEHAVIOR: "BODY_PARSING_FALLBACK_BEHAVIOR";
|
|
568
583
|
readonly BYTE_MATCH_STATEMENT: "BYTE_MATCH_STATEMENT";
|
|
569
584
|
readonly CHALLENGE_CONFIG: "CHALLENGE_CONFIG";
|
|
@@ -619,6 +634,7 @@ export declare const ParameterExceptionField: {
|
|
|
619
634
|
readonly RESOURCE_ARN: "RESOURCE_ARN";
|
|
620
635
|
readonly RESOURCE_TYPE: "RESOURCE_TYPE";
|
|
621
636
|
readonly RESPONSE_CONTENT_TYPE: "RESPONSE_CONTENT_TYPE";
|
|
637
|
+
readonly ROLE_ARN: "ROLE_ARN";
|
|
622
638
|
readonly RULE: "RULE";
|
|
623
639
|
readonly RULE_ACTION: "RULE_ACTION";
|
|
624
640
|
readonly RULE_GROUP: "RULE_GROUP";
|
|
@@ -651,6 +667,7 @@ export declare const SizeInspectionLimit: {
|
|
|
651
667
|
readonly KB_32: "KB_32";
|
|
652
668
|
readonly KB_48: "KB_48";
|
|
653
669
|
readonly KB_64: "KB_64";
|
|
670
|
+
readonly KB_8: "KB_8";
|
|
654
671
|
};
|
|
655
672
|
/**
|
|
656
673
|
* @public
|
|
@@ -817,6 +834,31 @@ export declare const Platform: {
|
|
|
817
834
|
* @public
|
|
818
835
|
*/
|
|
819
836
|
export type Platform = (typeof Platform)[keyof typeof Platform];
|
|
837
|
+
/**
|
|
838
|
+
* @public
|
|
839
|
+
* @enum
|
|
840
|
+
*/
|
|
841
|
+
export declare const EventCategory: {
|
|
842
|
+
readonly API_SECURITY: "API_SECURITY";
|
|
843
|
+
};
|
|
844
|
+
/**
|
|
845
|
+
* @public
|
|
846
|
+
*/
|
|
847
|
+
export type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
|
|
848
|
+
/**
|
|
849
|
+
* @public
|
|
850
|
+
* @enum
|
|
851
|
+
*/
|
|
852
|
+
export declare const EventStatus: {
|
|
853
|
+
readonly EVENT_COMPLETED: "EVENT_COMPLETED";
|
|
854
|
+
readonly EVENT_ENDED: "EVENT_ENDED";
|
|
855
|
+
readonly EVENT_IN_PROGRESS: "EVENT_IN_PROGRESS";
|
|
856
|
+
readonly EVENT_STARTED: "EVENT_STARTED";
|
|
857
|
+
};
|
|
858
|
+
/**
|
|
859
|
+
* @public
|
|
860
|
+
*/
|
|
861
|
+
export type EventStatus = (typeof EventStatus)[keyof typeof EventStatus];
|
|
820
862
|
/**
|
|
821
863
|
* @public
|
|
822
864
|
* @enum
|
|
@@ -944,6 +986,53 @@ export declare const FailureReason: {
|
|
|
944
986
|
* @public
|
|
945
987
|
*/
|
|
946
988
|
export type FailureReason = (typeof FailureReason)[keyof typeof FailureReason];
|
|
989
|
+
/**
|
|
990
|
+
* @public
|
|
991
|
+
* @enum
|
|
992
|
+
*/
|
|
993
|
+
export declare const EventActorSortBy: {
|
|
994
|
+
readonly EVENT_COUNT: "EVENT_COUNT";
|
|
995
|
+
};
|
|
996
|
+
/**
|
|
997
|
+
* @public
|
|
998
|
+
*/
|
|
999
|
+
export type EventActorSortBy = (typeof EventActorSortBy)[keyof typeof EventActorSortBy];
|
|
1000
|
+
/**
|
|
1001
|
+
* @public
|
|
1002
|
+
* @enum
|
|
1003
|
+
*/
|
|
1004
|
+
export declare const EventFilterKey: {
|
|
1005
|
+
readonly EVENT_CATEGORY: "EVENT_CATEGORY";
|
|
1006
|
+
readonly RESOURCE_ARN: "RESOURCE_ARN";
|
|
1007
|
+
};
|
|
1008
|
+
/**
|
|
1009
|
+
* @public
|
|
1010
|
+
*/
|
|
1011
|
+
export type EventFilterKey = (typeof EventFilterKey)[keyof typeof EventFilterKey];
|
|
1012
|
+
/**
|
|
1013
|
+
* @public
|
|
1014
|
+
* @enum
|
|
1015
|
+
*/
|
|
1016
|
+
export declare const EventIncludeField: {
|
|
1017
|
+
readonly TIMELINE: "TIMELINE";
|
|
1018
|
+
};
|
|
1019
|
+
/**
|
|
1020
|
+
* @public
|
|
1021
|
+
*/
|
|
1022
|
+
export type EventIncludeField = (typeof EventIncludeField)[keyof typeof EventIncludeField];
|
|
1023
|
+
/**
|
|
1024
|
+
* @public
|
|
1025
|
+
* @enum
|
|
1026
|
+
*/
|
|
1027
|
+
export declare const EventSortBy: {
|
|
1028
|
+
readonly CONFIDENCE: "CONFIDENCE";
|
|
1029
|
+
readonly END_TIME: "END_TIME";
|
|
1030
|
+
readonly START_TIME: "START_TIME";
|
|
1031
|
+
};
|
|
1032
|
+
/**
|
|
1033
|
+
* @public
|
|
1034
|
+
*/
|
|
1035
|
+
export type EventSortBy = (typeof EventSortBy)[keyof typeof EventSortBy];
|
|
947
1036
|
/**
|
|
948
1037
|
* @public
|
|
949
1038
|
* @enum
|