@aws-sdk/client-wafv2 3.1173.0 → 3.1175.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 +3 -3
@@ -0,0 +1,229 @@
1
+ import type { AnalyticsConfig, ApplicationConfig, AssociationConfig, CaptchaConfig, ChallengeConfig, CustomResponseBody, DataProtectionConfig, DefaultAction, FirewallManagerRuleGroup, MonetizationConfig, OnSourceDDoSProtectionConfig, Rule, RuleGroup, VisibilityConfig } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface GetRuleGroupResponse {
6
+ /**
7
+ * <p></p>
8
+ * @public
9
+ */
10
+ RuleGroup?: RuleGroup | undefined;
11
+ /**
12
+ * <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>
13
+ * @public
14
+ */
15
+ LockToken?: string | undefined;
16
+ }
17
+ /**
18
+ * <p> A web ACL defines a collection of rules to use to inspect and control web requests. Each rule has a statement that defines what to look for in web requests and an action that WAF applies to requests that match the statement. In the web ACL, you assign a default action to take (allow, block) for any request that does not match any of the rules. The rules in a web ACL can be a combination of the types <a>Rule</a>, <a>RuleGroup</a>, and managed rule group. You can associate a web ACL with one or more Amazon Web Services resources to protect. The resource types include Amazon CloudFront distribution, Amazon API Gateway REST API, Application Load Balancer, AppSync GraphQL API, Amazon Cognito user pool, App Runner service, Amplify application, Amazon Web Services Verified Access instance, and Amazon Bedrock AgentCore Gateway. </p>
19
+ * @public
20
+ */
21
+ export interface WebACL {
22
+ /**
23
+ * <p>The name of the web ACL. You cannot change the name of a web ACL after you create it.</p>
24
+ * @public
25
+ */
26
+ Name: string | undefined;
27
+ /**
28
+ * <p>A unique identifier for the <code>WebACL</code>. This ID is returned in the responses to
29
+ * create and list commands. You use this ID to do things like get, update, and delete a
30
+ * <code>WebACL</code>.</p>
31
+ * @public
32
+ */
33
+ Id: string | undefined;
34
+ /**
35
+ * <p>The Amazon Resource Name (ARN) of the web ACL that you want to associate with the
36
+ * resource.</p>
37
+ * @public
38
+ */
39
+ ARN: string | undefined;
40
+ /**
41
+ * <p>The action to perform if none of the <code>Rules</code> contained in the <code>WebACL</code> match. </p>
42
+ * @public
43
+ */
44
+ DefaultAction: DefaultAction | undefined;
45
+ /**
46
+ * <p>A description of the web ACL that helps with identification. </p>
47
+ * @public
48
+ */
49
+ Description?: string | undefined;
50
+ /**
51
+ * <p>The <a>Rule</a> statements used to identify the web requests that you
52
+ * want to manage. Each rule includes one top-level statement that WAF uses to identify matching
53
+ * web requests, and parameters that govern how WAF handles them.
54
+ * </p>
55
+ * @public
56
+ */
57
+ Rules?: Rule[] | undefined;
58
+ /**
59
+ * <p>Defines and enables Amazon CloudWatch metrics and web request sample collection. </p>
60
+ * @public
61
+ */
62
+ VisibilityConfig: VisibilityConfig | undefined;
63
+ /**
64
+ * <p>Specifies data protection to apply to the web request data for the web ACL. This is a web ACL level data protection option. </p>
65
+ * <p>The data protection that you configure for the web ACL alters the data that's available for any other data collection activity,
66
+ * including your WAF logging destinations, web ACL request sampling, and Amazon Security Lake data collection and management. Your other option for data protection is in the logging configuration, which only affects logging. </p>
67
+ * @public
68
+ */
69
+ DataProtectionConfig?: DataProtectionConfig | undefined;
70
+ /**
71
+ * <p>The web ACL capacity units (WCUs) currently being used by this web ACL. </p>
72
+ * <p>WAF uses WCUs to calculate and control the operating
73
+ * resources that are used to run your rules, rule groups, and web ACLs. WAF
74
+ * calculates capacity differently for each rule type, to reflect the relative cost of each rule.
75
+ * Simple rules that cost little to run use fewer WCUs than more complex rules
76
+ * that use more processing power.
77
+ * Rule group capacity is fixed at creation, which helps users plan their
78
+ * web ACL WCU usage when they use a rule group. For more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/aws-waf-capacity-units.html">WAF web ACL capacity units (WCU)</a>
79
+ * in the <i>WAF Developer Guide</i>. </p>
80
+ * @public
81
+ */
82
+ Capacity?: number | undefined;
83
+ /**
84
+ * <p>The first set of rules for WAF to process in the web ACL. This is defined in an
85
+ * Firewall Manager WAF policy and contains only rule group references. You can't alter these. Any
86
+ * rules and rule groups that you define for the web ACL are prioritized after these. </p>
87
+ * <p>In the Firewall Manager WAF policy, the Firewall Manager administrator can define a set of rule groups to run
88
+ * first in the web ACL and a set of rule groups to run last. Within each set, the
89
+ * administrator prioritizes the rule groups, to determine their relative processing
90
+ * order.</p>
91
+ * @public
92
+ */
93
+ PreProcessFirewallManagerRuleGroups?: FirewallManagerRuleGroup[] | undefined;
94
+ /**
95
+ * <p>The last set of rules for WAF to process in the web ACL. This is defined in an
96
+ * Firewall Manager WAF policy and contains only rule group references. You can't alter these. Any
97
+ * rules and rule groups that you define for the web ACL are prioritized before these. </p>
98
+ * <p>In the Firewall Manager WAF policy, the Firewall Manager administrator can define a set of rule groups to run
99
+ * first in the web ACL and a set of rule groups to run last. Within each set, the
100
+ * administrator prioritizes the rule groups, to determine their relative processing
101
+ * order.</p>
102
+ * @public
103
+ */
104
+ PostProcessFirewallManagerRuleGroups?: FirewallManagerRuleGroup[] | undefined;
105
+ /**
106
+ * <p>Indicates whether this web ACL was created by Firewall Manager and is being managed by Firewall Manager. If true, then only Firewall Manager can
107
+ * delete the web ACL or any Firewall Manager rule groups in the web ACL.
108
+ * See also the properties <code>RetrofittedByFirewallManager</code>, <code>PreProcessFirewallManagerRuleGroups</code>, and <code>PostProcessFirewallManagerRuleGroups</code>. </p>
109
+ * @public
110
+ */
111
+ ManagedByFirewallManager?: boolean | undefined;
112
+ /**
113
+ * <p>The label namespace prefix for this web ACL. All labels added by rules in this web ACL have this prefix. </p>
114
+ * <ul>
115
+ * <li>
116
+ * <p>The syntax for the label namespace prefix for a web ACL is the following: </p>
117
+ * <p>
118
+ * <code>awswaf:<account ID>:webacl:<web ACL name>:</code>
119
+ * </p>
120
+ * </li>
121
+ * <li>
122
+ * <p>When a rule with a label matches a web request, WAF adds the fully qualified label to the request. A fully qualified label is made up of the label namespace from the rule group or web ACL where the rule is defined and the label from the rule, separated by a colon: </p>
123
+ * <p>
124
+ * <code><label namespace>:<label from rule></code>
125
+ * </p>
126
+ * </li>
127
+ * </ul>
128
+ * @public
129
+ */
130
+ LabelNamespace?: string | undefined;
131
+ /**
132
+ * <p>A map of custom response keys and content bodies. When you create a rule with a block action, you can send a custom response to the web request. You define these for the web ACL, and then use them in the rules and default actions that you define in the web ACL. </p>
133
+ * <p>For information about customizing web requests and responses,
134
+ * see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-custom-request-response.html">Customizing web requests and responses in WAF</a>
135
+ * in the <i>WAF Developer Guide</i>. </p>
136
+ * <p>For information about the limits on count and size for custom request and response settings, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">WAF quotas</a>
137
+ * in the <i>WAF Developer Guide</i>. </p>
138
+ * @public
139
+ */
140
+ CustomResponseBodies?: Record<string, CustomResponseBody> | undefined;
141
+ /**
142
+ * <p>Specifies how WAF should handle <code>CAPTCHA</code> evaluations for rules that don't have their own <code>CaptchaConfig</code> settings. If you don't specify this, WAF uses its default settings for <code>CaptchaConfig</code>. </p>
143
+ * @public
144
+ */
145
+ CaptchaConfig?: CaptchaConfig | undefined;
146
+ /**
147
+ * <p>Specifies how WAF should handle challenge evaluations for rules that don't have
148
+ * their own <code>ChallengeConfig</code> settings. If you don't specify this, WAF uses its default settings for <code>ChallengeConfig</code>. </p>
149
+ * @public
150
+ */
151
+ ChallengeConfig?: ChallengeConfig | undefined;
152
+ /**
153
+ * <p>Specifies the domains that WAF should accept in a web request token. This enables the use of tokens across multiple protected websites. When WAF provides a token, it uses the domain of the Amazon Web Services resource that the web ACL is protecting. If you don't specify a list of token domains, WAF accepts tokens only for the domain of the protected resource. With a token domain list, WAF accepts the resource's host domain plus all domains in the token domain list, including their prefixed subdomains.</p>
154
+ * @public
155
+ */
156
+ TokenDomains?: string[] | undefined;
157
+ /**
158
+ * <p>Specifies custom configurations for the associations between the web ACL and protected resources. </p>
159
+ * <p>Use this to customize the maximum size of the request body that your protected resources forward to WAF for inspection. You can
160
+ * customize this setting for Application Load Balancer, CloudFront, API Gateway, Amazon Cognito, App Runner, or Verified Access resources. The default setting is 8 KB (8,192 bytes) for Application Load Balancer and 16 KB (16,384 bytes) for the other resource types. </p>
161
+ * <note>
162
+ * <p>You are charged additional fees when your protected resources forward body sizes that are larger than the default. For more information, see <a href="http://aws.amazon.com/waf/pricing/">WAF Pricing</a>.</p>
163
+ * </note>
164
+ * <p>For AppSync, the limit is fixed at 8 KB (8,192 bytes).</p>
165
+ * <p>You can also use this to have your CloudFront distributions insert the WAF challenge JavaScript SDK into the HTML responses that they return. For more information, see the <code>ChallengeJavascriptSdkInjection</code> setting. </p>
166
+ * @public
167
+ */
168
+ AssociationConfig?: AssociationConfig | undefined;
169
+ /**
170
+ * <p>Indicates whether this web ACL was created by a customer account and then retrofitted by Firewall Manager. If true, then the web ACL is currently being
171
+ * managed by a Firewall Manager WAF policy, and only Firewall Manager can manage any Firewall Manager rule groups in the web ACL.
172
+ * See also the properties <code>ManagedByFirewallManager</code>, <code>PreProcessFirewallManagerRuleGroups</code>, and <code>PostProcessFirewallManagerRuleGroups</code>. </p>
173
+ * @public
174
+ */
175
+ RetrofittedByFirewallManager?: boolean | undefined;
176
+ /**
177
+ * <p>Configures the level of DDoS protection that applies to web ACLs associated with Application Load Balancers.</p>
178
+ * @public
179
+ */
180
+ OnSourceDDoSProtectionConfig?: OnSourceDDoSProtectionConfig | undefined;
181
+ /**
182
+ * <p>Returns a list of <code>ApplicationAttribute</code>s.</p>
183
+ * @public
184
+ */
185
+ ApplicationConfig?: ApplicationConfig | undefined;
186
+ /**
187
+ * <p>The monetization configuration for the web ACL. Required when any rule in the web ACL uses the <code>Monetize</code> action. Specifies the payment settlement options and currency mode for AI bot monetization.</p>
188
+ * @public
189
+ */
190
+ MonetizationConfig?: MonetizationConfig | undefined;
191
+ /**
192
+ * <p>The security analytics configuration for the web ACL. For more information, see <a>AnalyticsConfig</a>. </p>
193
+ * @public
194
+ */
195
+ AnalyticsConfig?: AnalyticsConfig | undefined;
196
+ }
197
+ /**
198
+ * @public
199
+ */
200
+ export interface GetWebACLForResourceResponse {
201
+ /**
202
+ * <p>The web ACL that is associated with the resource. If there is no associated resource,
203
+ * WAF returns a null web ACL.</p>
204
+ * @public
205
+ */
206
+ WebACL?: WebACL | undefined;
207
+ }
208
+ /**
209
+ * @public
210
+ */
211
+ export interface GetWebACLResponse {
212
+ /**
213
+ * <p>The web ACL specification. You can modify the settings in this web ACL and use it to
214
+ * update this web ACL or create a new one.</p>
215
+ * @public
216
+ */
217
+ WebACL?: WebACL | undefined;
218
+ /**
219
+ * <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>
220
+ * @public
221
+ */
222
+ LockToken?: string | undefined;
223
+ /**
224
+ * <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>
225
+ * in the <i>WAF Developer Guide</i>.</p>
226
+ * @public
227
+ */
228
+ ApplicationIntegrationURL?: string | undefined;
229
+ }
@@ -35,6 +35,9 @@ export declare var AllQueryArguments$: StaticStructureSchema;
35
35
  export declare var AnalyticsConfig$: StaticStructureSchema;
36
36
  export declare var AndStatement$: StaticStructureSchema;
37
37
  export declare var APIKeySummary$: StaticStructureSchema;
38
+ export declare var ApiPattern$: StaticStructureSchema;
39
+ export declare var ApiPatternFilter$: StaticStructureSchema;
40
+ export declare var ApiSecurityEventDetail$: StaticStructureSchema;
38
41
  export declare var ApplicationAttribute$: StaticStructureSchema;
39
42
  export declare var ApplicationConfig$: StaticStructureSchema;
40
43
  export declare var AsnMatchStatement$: StaticStructureSchema;
@@ -42,9 +45,13 @@ export declare var AssociateWebACLRequest$: StaticStructureSchema;
42
45
  export declare var AssociateWebACLResponse$: StaticStructureSchema;
43
46
  export declare var AssociationConfig$: StaticStructureSchema;
44
47
  export declare var AWSManagedRulesACFPRuleSet$: StaticStructureSchema;
48
+ export declare var AWSManagedRulesAISecurityRuleSet$: StaticStructureSchema;
45
49
  export declare var AWSManagedRulesAntiDDoSRuleSet$: StaticStructureSchema;
46
50
  export declare var AWSManagedRulesATPRuleSet$: StaticStructureSchema;
47
51
  export declare var AWSManagedRulesBotControlRuleSet$: StaticStructureSchema;
52
+ export declare var BedrockGuardrails$: StaticStructureSchema;
53
+ export declare var BedrockGuardrailsRequestAndResponse$: StaticStructureSchema;
54
+ export declare var BedrockGuardrailsRequestOnly$: StaticStructureSchema;
48
55
  export declare var BlockAction$: StaticStructureSchema;
49
56
  export declare var Body$: StaticStructureSchema;
50
57
  export declare var BotStatistics$: StaticStructureSchema;
@@ -108,10 +115,19 @@ export declare var DescribeManagedProductsByVendorRequest$: StaticStructureSchem
108
115
  export declare var DescribeManagedProductsByVendorResponse$: StaticStructureSchema;
109
116
  export declare var DescribeManagedRuleGroupRequest$: StaticStructureSchema;
110
117
  export declare var DescribeManagedRuleGroupResponse$: StaticStructureSchema;
118
+ export declare var DisableBedrockGuardrails$: StaticStructureSchema;
111
119
  export declare var DisallowedFeature$: StaticStructureSchema;
112
120
  export declare var DisassociateWebACLRequest$: StaticStructureSchema;
113
121
  export declare var DisassociateWebACLResponse$: StaticStructureSchema;
114
122
  export declare var EmailField$: StaticStructureSchema;
123
+ export declare var EventActorChange$: StaticStructureSchema;
124
+ export declare var EventActorDetail$: StaticStructureSchema;
125
+ export declare var EventActorDetailSummary$: StaticStructureSchema;
126
+ export declare var EventActorReference$: StaticStructureSchema;
127
+ export declare var EventActorSummary$: StaticStructureSchema;
128
+ export declare var EventDetailSummary$: StaticStructureSchema;
129
+ export declare var EventFilter$: StaticStructureSchema;
130
+ export declare var EventTimelineEntry$: StaticStructureSchema;
115
131
  export declare var ExcludedRule$: StaticStructureSchema;
116
132
  export declare var FieldToMatch$: StaticStructureSchema;
117
133
  export declare var FieldToProtect$: StaticStructureSchema;
@@ -125,6 +141,10 @@ export declare var GenerateMobileSdkReleaseUrlResponse$: StaticStructureSchema;
125
141
  export declare var GeoMatchStatement$: StaticStructureSchema;
126
142
  export declare var GetDecryptedAPIKeyRequest$: StaticStructureSchema;
127
143
  export declare var GetDecryptedAPIKeyResponse$: StaticStructureSchema;
144
+ export declare var GetEventActorRequest$: StaticStructureSchema;
145
+ export declare var GetEventActorResponse$: StaticStructureSchema;
146
+ export declare var GetEventRequest$: StaticStructureSchema;
147
+ export declare var GetEventResponse$: StaticStructureSchema;
128
148
  export declare var GetIPSetRequest$: StaticStructureSchema;
129
149
  export declare var GetIPSetResponse$: StaticStructureSchema;
130
150
  export declare var GetLoggingConfigurationRequest$: StaticStructureSchema;
@@ -179,6 +199,12 @@ export declare var ListAvailableManagedRuleGroupsRequest$: StaticStructureSchema
179
199
  export declare var ListAvailableManagedRuleGroupsResponse$: StaticStructureSchema;
180
200
  export declare var ListAvailableManagedRuleGroupVersionsRequest$: StaticStructureSchema;
181
201
  export declare var ListAvailableManagedRuleGroupVersionsResponse$: StaticStructureSchema;
202
+ export declare var ListEventActorsRequest$: StaticStructureSchema;
203
+ export declare var ListEventActorsResponse$: StaticStructureSchema;
204
+ export declare var ListEventsByWebACLRequest$: StaticStructureSchema;
205
+ export declare var ListEventsByWebACLResponse$: StaticStructureSchema;
206
+ export declare var ListEventsRequest$: StaticStructureSchema;
207
+ export declare var ListEventsResponse$: StaticStructureSchema;
182
208
  export declare var ListIPSetsRequest$: StaticStructureSchema;
183
209
  export declare var ListIPSetsResponse$: StaticStructureSchema;
184
210
  export declare var ListLoggingConfigurationsRequest$: StaticStructureSchema;
@@ -252,6 +278,7 @@ export declare var RegexMatchStatement$: StaticStructureSchema;
252
278
  export declare var RegexPatternSet$: StaticStructureSchema;
253
279
  export declare var RegexPatternSetReferenceStatement$: StaticStructureSchema;
254
280
  export declare var RegexPatternSetSummary$: StaticStructureSchema;
281
+ export declare var RelatedEvent$: StaticStructureSchema;
255
282
  export declare var ReleaseSummary$: StaticStructureSchema;
256
283
  export declare var RequestBodyAssociatedResourceTypeConfig$: StaticStructureSchema;
257
284
  export declare var RequestInspection$: StaticStructureSchema;
@@ -325,6 +352,8 @@ export declare var DescribeManagedRuleGroup$: StaticOperationSchema;
325
352
  export declare var DisassociateWebACL$: StaticOperationSchema;
326
353
  export declare var GenerateMobileSdkReleaseUrl$: StaticOperationSchema;
327
354
  export declare var GetDecryptedAPIKey$: StaticOperationSchema;
355
+ export declare var GetEvent$: StaticOperationSchema;
356
+ export declare var GetEventActor$: StaticOperationSchema;
328
357
  export declare var GetIPSet$: StaticOperationSchema;
329
358
  export declare var GetLoggingConfiguration$: StaticOperationSchema;
330
359
  export declare var GetManagedRuleSet$: StaticOperationSchema;
@@ -343,6 +372,9 @@ export declare var GetWebACLForResource$: StaticOperationSchema;
343
372
  export declare var ListAPIKeys$: StaticOperationSchema;
344
373
  export declare var ListAvailableManagedRuleGroups$: StaticOperationSchema;
345
374
  export declare var ListAvailableManagedRuleGroupVersions$: StaticOperationSchema;
375
+ export declare var ListEventActors$: StaticOperationSchema;
376
+ export declare var ListEvents$: StaticOperationSchema;
377
+ export declare var ListEventsByWebACL$: StaticOperationSchema;
346
378
  export declare var ListIPSets$: StaticOperationSchema;
347
379
  export declare var ListLoggingConfigurations$: StaticOperationSchema;
348
380
  export declare var ListManagedRuleSets$: StaticOperationSchema;
@@ -80,6 +80,11 @@ import {
80
80
  GetDecryptedAPIKeyCommandInput,
81
81
  GetDecryptedAPIKeyCommandOutput,
82
82
  } from "./commands/GetDecryptedAPIKeyCommand";
83
+ import {
84
+ GetEventActorCommandInput,
85
+ GetEventActorCommandOutput,
86
+ } from "./commands/GetEventActorCommand";
87
+ import { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
83
88
  import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
84
89
  import {
85
90
  GetLoggingConfigurationCommandInput,
@@ -143,6 +148,15 @@ import {
143
148
  ListAvailableManagedRuleGroupVersionsCommandInput,
144
149
  ListAvailableManagedRuleGroupVersionsCommandOutput,
145
150
  } from "./commands/ListAvailableManagedRuleGroupVersionsCommand";
151
+ import {
152
+ ListEventActorsCommandInput,
153
+ ListEventActorsCommandOutput,
154
+ } from "./commands/ListEventActorsCommand";
155
+ import {
156
+ ListEventsByWebACLCommandInput,
157
+ ListEventsByWebACLCommandOutput,
158
+ } from "./commands/ListEventsByWebACLCommand";
159
+ import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
146
160
  import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
147
161
  import {
148
162
  ListLoggingConfigurationsCommandInput,
@@ -489,6 +503,29 @@ export interface WAFV2 {
489
503
  options: WAFV2RequestOptions,
490
504
  cb: (err: any, data?: GetDecryptedAPIKeyCommandOutput) => void,
491
505
  ): void;
506
+ getEvent(
507
+ args: GetEventCommandInput,
508
+ options?: WAFV2RequestOptions,
509
+ ): Promise<GetEventCommandOutput>;
510
+ getEvent(args: GetEventCommandInput, cb: (err: any, data?: GetEventCommandOutput) => void): void;
511
+ getEvent(
512
+ args: GetEventCommandInput,
513
+ options: WAFV2RequestOptions,
514
+ cb: (err: any, data?: GetEventCommandOutput) => void,
515
+ ): void;
516
+ getEventActor(
517
+ args: GetEventActorCommandInput,
518
+ options?: WAFV2RequestOptions,
519
+ ): Promise<GetEventActorCommandOutput>;
520
+ getEventActor(
521
+ args: GetEventActorCommandInput,
522
+ cb: (err: any, data?: GetEventActorCommandOutput) => void,
523
+ ): void;
524
+ getEventActor(
525
+ args: GetEventActorCommandInput,
526
+ options: WAFV2RequestOptions,
527
+ cb: (err: any, data?: GetEventActorCommandOutput) => void,
528
+ ): void;
492
529
  getIPSet(
493
530
  args: GetIPSetCommandInput,
494
531
  options?: WAFV2RequestOptions,
@@ -722,6 +759,45 @@ export interface WAFV2 {
722
759
  options: WAFV2RequestOptions,
723
760
  cb: (err: any, data?: ListAvailableManagedRuleGroupVersionsCommandOutput) => void,
724
761
  ): void;
762
+ listEventActors(
763
+ args: ListEventActorsCommandInput,
764
+ options?: WAFV2RequestOptions,
765
+ ): Promise<ListEventActorsCommandOutput>;
766
+ listEventActors(
767
+ args: ListEventActorsCommandInput,
768
+ cb: (err: any, data?: ListEventActorsCommandOutput) => void,
769
+ ): void;
770
+ listEventActors(
771
+ args: ListEventActorsCommandInput,
772
+ options: WAFV2RequestOptions,
773
+ cb: (err: any, data?: ListEventActorsCommandOutput) => void,
774
+ ): void;
775
+ listEvents(
776
+ args: ListEventsCommandInput,
777
+ options?: WAFV2RequestOptions,
778
+ ): Promise<ListEventsCommandOutput>;
779
+ listEvents(
780
+ args: ListEventsCommandInput,
781
+ cb: (err: any, data?: ListEventsCommandOutput) => void,
782
+ ): void;
783
+ listEvents(
784
+ args: ListEventsCommandInput,
785
+ options: WAFV2RequestOptions,
786
+ cb: (err: any, data?: ListEventsCommandOutput) => void,
787
+ ): void;
788
+ listEventsByWebACL(
789
+ args: ListEventsByWebACLCommandInput,
790
+ options?: WAFV2RequestOptions,
791
+ ): Promise<ListEventsByWebACLCommandOutput>;
792
+ listEventsByWebACL(
793
+ args: ListEventsByWebACLCommandInput,
794
+ cb: (err: any, data?: ListEventsByWebACLCommandOutput) => void,
795
+ ): void;
796
+ listEventsByWebACL(
797
+ args: ListEventsByWebACLCommandInput,
798
+ options: WAFV2RequestOptions,
799
+ cb: (err: any, data?: ListEventsByWebACLCommandOutput) => void,
800
+ ): void;
725
801
  listIPSets(
726
802
  args: ListIPSetsCommandInput,
727
803
  options?: WAFV2RequestOptions,
@@ -111,6 +111,11 @@ import {
111
111
  GetDecryptedAPIKeyCommandInput,
112
112
  GetDecryptedAPIKeyCommandOutput,
113
113
  } from "./commands/GetDecryptedAPIKeyCommand";
114
+ import {
115
+ GetEventActorCommandInput,
116
+ GetEventActorCommandOutput,
117
+ } from "./commands/GetEventActorCommand";
118
+ import { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
114
119
  import { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
115
120
  import {
116
121
  GetLoggingConfigurationCommandInput,
@@ -174,6 +179,15 @@ import {
174
179
  ListAvailableManagedRuleGroupVersionsCommandInput,
175
180
  ListAvailableManagedRuleGroupVersionsCommandOutput,
176
181
  } from "./commands/ListAvailableManagedRuleGroupVersionsCommand";
182
+ import {
183
+ ListEventActorsCommandInput,
184
+ ListEventActorsCommandOutput,
185
+ } from "./commands/ListEventActorsCommand";
186
+ import {
187
+ ListEventsByWebACLCommandInput,
188
+ ListEventsByWebACLCommandOutput,
189
+ } from "./commands/ListEventsByWebACLCommand";
190
+ import { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
177
191
  import { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
178
192
  import {
179
193
  ListLoggingConfigurationsCommandInput,
@@ -271,6 +285,8 @@ export type ServiceInputTypes =
271
285
  | DisassociateWebACLCommandInput
272
286
  | GenerateMobileSdkReleaseUrlCommandInput
273
287
  | GetDecryptedAPIKeyCommandInput
288
+ | GetEventActorCommandInput
289
+ | GetEventCommandInput
274
290
  | GetIPSetCommandInput
275
291
  | GetLoggingConfigurationCommandInput
276
292
  | GetManagedRuleSetCommandInput
@@ -289,6 +305,9 @@ export type ServiceInputTypes =
289
305
  | ListAPIKeysCommandInput
290
306
  | ListAvailableManagedRuleGroupVersionsCommandInput
291
307
  | ListAvailableManagedRuleGroupsCommandInput
308
+ | ListEventActorsCommandInput
309
+ | ListEventsByWebACLCommandInput
310
+ | ListEventsCommandInput
292
311
  | ListIPSetsCommandInput
293
312
  | ListLoggingConfigurationsCommandInput
294
313
  | ListManagedRuleSetsCommandInput
@@ -331,6 +350,8 @@ export type ServiceOutputTypes =
331
350
  | DisassociateWebACLCommandOutput
332
351
  | GenerateMobileSdkReleaseUrlCommandOutput
333
352
  | GetDecryptedAPIKeyCommandOutput
353
+ | GetEventActorCommandOutput
354
+ | GetEventCommandOutput
334
355
  | GetIPSetCommandOutput
335
356
  | GetLoggingConfigurationCommandOutput
336
357
  | GetManagedRuleSetCommandOutput
@@ -349,6 +370,9 @@ export type ServiceOutputTypes =
349
370
  | ListAPIKeysCommandOutput
350
371
  | ListAvailableManagedRuleGroupVersionsCommandOutput
351
372
  | ListAvailableManagedRuleGroupsCommandOutput
373
+ | ListEventActorsCommandOutput
374
+ | ListEventsByWebACLCommandOutput
375
+ | ListEventsCommandOutput
352
376
  | ListIPSetsCommandOutput
353
377
  | ListLoggingConfigurationsCommandOutput
354
378
  | ListManagedRuleSetsCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetEventActorRequest, GetEventActorResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetEventActorCommandInput extends GetEventActorRequest {}
5
+ export interface GetEventActorCommandOutput extends GetEventActorResponse, __MetadataBearer {}
6
+ declare const GetEventActorCommand_base: {
7
+ new (
8
+ input: GetEventActorCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ GetEventActorCommandInput,
11
+ GetEventActorCommandOutput,
12
+ import("..").WAFV2ClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: GetEventActorCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ GetEventActorCommandInput,
20
+ GetEventActorCommandOutput,
21
+ import("..").WAFV2ClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class GetEventActorCommand extends GetEventActorCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: GetEventActorRequest;
31
+ output: GetEventActorResponse;
32
+ };
33
+ sdk: {
34
+ input: GetEventActorCommandInput;
35
+ output: GetEventActorCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetEventRequest, GetEventResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetEventCommandInput extends GetEventRequest {}
5
+ export interface GetEventCommandOutput extends GetEventResponse, __MetadataBearer {}
6
+ declare const GetEventCommand_base: {
7
+ new (
8
+ input: GetEventCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ GetEventCommandInput,
11
+ GetEventCommandOutput,
12
+ import("..").WAFV2ClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: GetEventCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ GetEventCommandInput,
20
+ GetEventCommandOutput,
21
+ import("..").WAFV2ClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class GetEventCommand extends GetEventCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: GetEventRequest;
31
+ output: GetEventResponse;
32
+ };
33
+ sdk: {
34
+ input: GetEventCommandInput;
35
+ output: GetEventCommandOutput;
36
+ };
37
+ };
38
+ }
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetRuleGroupRequest, GetRuleGroupResponse } from "../models/models_0";
2
+ import { GetRuleGroupRequest } from "../models/models_0";
3
+ import { GetRuleGroupResponse } from "../models/models_1";
3
4
  export { __MetadataBearer };
4
5
  export interface GetRuleGroupCommandInput extends GetRuleGroupRequest {}
5
6
  export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __MetadataBearer {}
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetWebACLRequest, GetWebACLResponse } from "../models/models_0";
2
+ import { GetWebACLRequest } from "../models/models_0";
3
+ import { GetWebACLResponse } from "../models/models_1";
3
4
  export { __MetadataBearer };
4
5
  export interface GetWebACLCommandInput extends GetWebACLRequest {}
5
6
  export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBearer {}
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetWebACLForResourceRequest, GetWebACLForResourceResponse } from "../models/models_0";
2
+ import { GetWebACLForResourceRequest } from "../models/models_0";
3
+ import { GetWebACLForResourceResponse } from "../models/models_1";
3
4
  export { __MetadataBearer };
4
5
  export interface GetWebACLForResourceCommandInput extends GetWebACLForResourceRequest {}
5
6
  export interface GetWebACLForResourceCommandOutput
@@ -0,0 +1,38 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListEventActorsRequest, ListEventActorsResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface ListEventActorsCommandInput extends ListEventActorsRequest {}
5
+ export interface ListEventActorsCommandOutput extends ListEventActorsResponse, __MetadataBearer {}
6
+ declare const ListEventActorsCommand_base: {
7
+ new (
8
+ input: ListEventActorsCommandInput,
9
+ ): import("@smithy/core/client").CommandImpl<
10
+ ListEventActorsCommandInput,
11
+ ListEventActorsCommandOutput,
12
+ import("..").WAFV2ClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
15
+ >;
16
+ new (
17
+ input: ListEventActorsCommandInput,
18
+ ): import("@smithy/core/client").CommandImpl<
19
+ ListEventActorsCommandInput,
20
+ ListEventActorsCommandOutput,
21
+ import("..").WAFV2ClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
24
+ >;
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
26
+ };
27
+ export declare class ListEventActorsCommand extends ListEventActorsCommand_base {
28
+ protected static __types: {
29
+ api: {
30
+ input: ListEventActorsRequest;
31
+ output: ListEventActorsResponse;
32
+ };
33
+ sdk: {
34
+ input: ListEventActorsCommandInput;
35
+ output: ListEventActorsCommandOutput;
36
+ };
37
+ };
38
+ }