@aws-sdk/client-wafv2 3.1173.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.
Files changed (51) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +418 -72
  3. package/dist-es/WAFV2.js +10 -0
  4. package/dist-es/commands/GetEventActorCommand.js +4 -0
  5. package/dist-es/commands/GetEventCommand.js +4 -0
  6. package/dist-es/commands/ListEventActorsCommand.js +4 -0
  7. package/dist-es/commands/ListEventsByWebACLCommand.js +4 -0
  8. package/dist-es/commands/ListEventsCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/index.js +1 -0
  11. package/dist-es/models/enums.js +33 -0
  12. package/dist-es/models/models_1.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +324 -71
  14. package/dist-types/WAFV2.d.ts +35 -0
  15. package/dist-types/WAFV2Client.d.ts +7 -2
  16. package/dist-types/commands/CheckCapacityCommand.d.ts +22 -0
  17. package/dist-types/commands/CreateRuleGroupCommand.d.ts +22 -0
  18. package/dist-types/commands/CreateWebACLCommand.d.ts +23 -1
  19. package/dist-types/commands/GetEventActorCommand.d.ts +146 -0
  20. package/dist-types/commands/GetEventCommand.d.ts +154 -0
  21. package/dist-types/commands/GetRuleGroupCommand.d.ts +24 -1
  22. package/dist-types/commands/GetWebACLCommand.d.ts +47 -2
  23. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +47 -2
  24. package/dist-types/commands/ListEventActorsCommand.d.ts +119 -0
  25. package/dist-types/commands/ListEventsByWebACLCommand.d.ts +187 -0
  26. package/dist-types/commands/ListEventsCommand.d.ts +180 -0
  27. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +22 -0
  28. package/dist-types/commands/UpdateWebACLCommand.d.ts +23 -1
  29. package/dist-types/commands/index.d.ts +5 -0
  30. package/dist-types/index.d.ts +1 -0
  31. package/dist-types/models/enums.d.ts +89 -0
  32. package/dist-types/models/models_0.d.ts +962 -344
  33. package/dist-types/models/models_1.d.ts +229 -0
  34. package/dist-types/schemas/schemas_0.d.ts +32 -0
  35. package/dist-types/ts3.4/WAFV2.d.ts +76 -0
  36. package/dist-types/ts3.4/WAFV2Client.d.ts +24 -0
  37. package/dist-types/ts3.4/commands/GetEventActorCommand.d.ts +38 -0
  38. package/dist-types/ts3.4/commands/GetEventCommand.d.ts +38 -0
  39. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -1
  40. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -1
  41. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +2 -1
  42. package/dist-types/ts3.4/commands/ListEventActorsCommand.d.ts +38 -0
  43. package/dist-types/ts3.4/commands/ListEventsByWebACLCommand.d.ts +39 -0
  44. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +38 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  46. package/dist-types/ts3.4/index.d.ts +1 -0
  47. package/dist-types/ts3.4/models/enums.d.ts +40 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +167 -37
  49. package/dist-types/ts3.4/models/models_1.d.ts +53 -0
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  51. package/package.json +1 -1
package/dist-es/WAFV2.js CHANGED
@@ -20,6 +20,8 @@ import { DescribeManagedRuleGroupCommand, } from "./commands/DescribeManagedRule
20
20
  import { DisassociateWebACLCommand, } from "./commands/DisassociateWebACLCommand";
21
21
  import { GenerateMobileSdkReleaseUrlCommand, } from "./commands/GenerateMobileSdkReleaseUrlCommand";
22
22
  import { GetDecryptedAPIKeyCommand, } from "./commands/GetDecryptedAPIKeyCommand";
23
+ import { GetEventActorCommand, } from "./commands/GetEventActorCommand";
24
+ import { GetEventCommand } from "./commands/GetEventCommand";
23
25
  import { GetIPSetCommand } from "./commands/GetIPSetCommand";
24
26
  import { GetLoggingConfigurationCommand, } from "./commands/GetLoggingConfigurationCommand";
25
27
  import { GetManagedRuleSetCommand, } from "./commands/GetManagedRuleSetCommand";
@@ -38,6 +40,9 @@ import { GetWebACLForResourceCommand, } from "./commands/GetWebACLForResourceCom
38
40
  import { ListAPIKeysCommand, } from "./commands/ListAPIKeysCommand";
39
41
  import { ListAvailableManagedRuleGroupsCommand, } from "./commands/ListAvailableManagedRuleGroupsCommand";
40
42
  import { ListAvailableManagedRuleGroupVersionsCommand, } from "./commands/ListAvailableManagedRuleGroupVersionsCommand";
43
+ import { ListEventActorsCommand, } from "./commands/ListEventActorsCommand";
44
+ import { ListEventsByWebACLCommand, } from "./commands/ListEventsByWebACLCommand";
45
+ import { ListEventsCommand, } from "./commands/ListEventsCommand";
41
46
  import { ListIPSetsCommand, } from "./commands/ListIPSetsCommand";
42
47
  import { ListLoggingConfigurationsCommand, } from "./commands/ListLoggingConfigurationsCommand";
43
48
  import { ListManagedRuleSetsCommand, } from "./commands/ListManagedRuleSetsCommand";
@@ -81,6 +86,8 @@ const commands = {
81
86
  DisassociateWebACLCommand,
82
87
  GenerateMobileSdkReleaseUrlCommand,
83
88
  GetDecryptedAPIKeyCommand,
89
+ GetEventCommand,
90
+ GetEventActorCommand,
84
91
  GetIPSetCommand,
85
92
  GetLoggingConfigurationCommand,
86
93
  GetManagedRuleSetCommand,
@@ -99,6 +106,9 @@ const commands = {
99
106
  ListAPIKeysCommand,
100
107
  ListAvailableManagedRuleGroupsCommand,
101
108
  ListAvailableManagedRuleGroupVersionsCommand,
109
+ ListEventActorsCommand,
110
+ ListEventsCommand,
111
+ ListEventsByWebACLCommand,
102
112
  ListIPSetsCommand,
103
113
  ListLoggingConfigurationsCommand,
104
114
  ListManagedRuleSetsCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetEventActor$ } from "../schemas/schemas_0";
3
+ export class GetEventActorCommand extends command(_ep0, _mw0, "GetEventActor", GetEventActor$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetEvent$ } from "../schemas/schemas_0";
3
+ export class GetEventCommand extends command(_ep0, _mw0, "GetEvent", GetEvent$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListEventActors$ } from "../schemas/schemas_0";
3
+ export class ListEventActorsCommand extends command(_ep0, _mw0, "ListEventActors", ListEventActors$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListEventsByWebACL$ } from "../schemas/schemas_0";
3
+ export class ListEventsByWebACLCommand extends command(_ep0, _mw0, "ListEventsByWebACL", ListEventsByWebACL$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListEvents$ } from "../schemas/schemas_0";
3
+ export class ListEventsCommand extends command(_ep0, _mw0, "ListEvents", ListEvents$) {
4
+ }
@@ -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-es/index.js CHANGED
@@ -6,4 +6,5 @@ export * from "./schemas/schemas_0";
6
6
  export * from "./models/enums";
7
7
  export * from "./models/errors";
8
8
  export * from "./models/models_0";
9
+ export * from "./models/models_1";
9
10
  export { WAFV2ServiceException } from "./models/WAFV2ServiceException";
@@ -378,9 +378,15 @@ export const SensitivityLevel = {
378
378
  HIGH: "HIGH",
379
379
  LOW: "LOW",
380
380
  };
381
+ export const Confidence = {
382
+ HIGH: "HIGH",
383
+ LOW: "LOW",
384
+ MEDIUM: "MEDIUM",
385
+ };
381
386
  export const AssociatedResourceType = {
382
387
  AGENTCORE_GATEWAY: "AGENTCORE_GATEWAY",
383
388
  API_GATEWAY: "API_GATEWAY",
389
+ APPLICATION_LOAD_BALANCER: "APPLICATION_LOAD_BALANCER",
384
390
  APP_RUNNER_SERVICE: "APP_RUNNER_SERVICE",
385
391
  CLOUDFRONT: "CLOUDFRONT",
386
392
  COGNITO_USER_POOL: "COGNITO_USER_POOL",
@@ -392,6 +398,7 @@ export const ParameterExceptionField = {
392
398
  ASSOCIABLE_RESOURCE: "ASSOCIABLE_RESOURCE",
393
399
  ASSOCIATED_RESOURCE_TYPE: "ASSOCIATED_RESOURCE_TYPE",
394
400
  ATP_RULE_SET_RESPONSE_INSPECTION: "ATP_RULE_SET_RESPONSE_INSPECTION",
401
+ BEDROCK_GUARDRAILS: "BEDROCK_GUARDRAILS",
395
402
  BODY_PARSING_FALLBACK_BEHAVIOR: "BODY_PARSING_FALLBACK_BEHAVIOR",
396
403
  BYTE_MATCH_STATEMENT: "BYTE_MATCH_STATEMENT",
397
404
  CHALLENGE_CONFIG: "CHALLENGE_CONFIG",
@@ -447,6 +454,7 @@ export const ParameterExceptionField = {
447
454
  RESOURCE_ARN: "RESOURCE_ARN",
448
455
  RESOURCE_TYPE: "RESOURCE_TYPE",
449
456
  RESPONSE_CONTENT_TYPE: "RESPONSE_CONTENT_TYPE",
457
+ ROLE_ARN: "ROLE_ARN",
450
458
  RULE: "RULE",
451
459
  RULE_ACTION: "RULE_ACTION",
452
460
  RULE_GROUP: "RULE_GROUP",
@@ -471,6 +479,7 @@ export const SizeInspectionLimit = {
471
479
  KB_32: "KB_32",
472
480
  KB_48: "KB_48",
473
481
  KB_64: "KB_64",
482
+ KB_8: "KB_8",
474
483
  };
475
484
  export const Scope = {
476
485
  CLOUDFRONT: "CLOUDFRONT",
@@ -529,6 +538,15 @@ export const Platform = {
529
538
  ANDROID: "ANDROID",
530
539
  IOS: "IOS",
531
540
  };
541
+ export const EventCategory = {
542
+ API_SECURITY: "API_SECURITY",
543
+ };
544
+ export const EventStatus = {
545
+ EVENT_COMPLETED: "EVENT_COMPLETED",
546
+ EVENT_ENDED: "EVENT_ENDED",
547
+ EVENT_IN_PROGRESS: "EVENT_IN_PROGRESS",
548
+ EVENT_STARTED: "EVENT_STARTED",
549
+ };
532
550
  export const FilterBehavior = {
533
551
  DROP: "DROP",
534
552
  KEEP: "KEEP",
@@ -576,6 +594,21 @@ export const FailureReason = {
576
594
  TOKEN_INVALID: "TOKEN_INVALID",
577
595
  TOKEN_MISSING: "TOKEN_MISSING",
578
596
  };
597
+ export const EventActorSortBy = {
598
+ EVENT_COUNT: "EVENT_COUNT",
599
+ };
600
+ export const EventFilterKey = {
601
+ EVENT_CATEGORY: "EVENT_CATEGORY",
602
+ RESOURCE_ARN: "RESOURCE_ARN",
603
+ };
604
+ export const EventIncludeField = {
605
+ TIMELINE: "TIMELINE",
606
+ };
607
+ export const EventSortBy = {
608
+ CONFIDENCE: "CONFIDENCE",
609
+ END_TIME: "END_TIME",
610
+ START_TIME: "START_TIME",
611
+ };
579
612
  export const ResourceType = {
580
613
  AGENTCORE_GATEWAY: "AGENTCORE_GATEWAY",
581
614
  AMPLIFY: "AMPLIFY",
@@ -0,0 +1 @@
1
+ export {};