aws-sdk-wafv2 1.74.0 → 1.75.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.
data/sig/types.rbs ADDED
@@ -0,0 +1,1637 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::WAFV2
9
+ module Types
10
+
11
+ class APIKeySummary
12
+ attr_accessor token_domains: ::Array[::String]
13
+ attr_accessor api_key: ::String
14
+ attr_accessor creation_timestamp: ::Time
15
+ attr_accessor version: ::Integer
16
+ SENSITIVE: []
17
+ end
18
+
19
+ class AWSManagedRulesACFPRuleSet
20
+ attr_accessor creation_path: ::String
21
+ attr_accessor registration_page_path: ::String
22
+ attr_accessor request_inspection: Types::RequestInspectionACFP
23
+ attr_accessor response_inspection: Types::ResponseInspection
24
+ attr_accessor enable_regex_in_path: bool
25
+ SENSITIVE: []
26
+ end
27
+
28
+ class AWSManagedRulesATPRuleSet
29
+ attr_accessor login_path: ::String
30
+ attr_accessor request_inspection: Types::RequestInspection
31
+ attr_accessor response_inspection: Types::ResponseInspection
32
+ attr_accessor enable_regex_in_path: bool
33
+ SENSITIVE: []
34
+ end
35
+
36
+ class AWSManagedRulesBotControlRuleSet
37
+ attr_accessor inspection_level: ("COMMON" | "TARGETED")
38
+ attr_accessor enable_machine_learning: bool
39
+ SENSITIVE: []
40
+ end
41
+
42
+ class ActionCondition
43
+ attr_accessor action: ("ALLOW" | "BLOCK" | "COUNT" | "CAPTCHA" | "CHALLENGE" | "EXCLUDED_AS_COUNT")
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class AddressField
48
+ attr_accessor identifier: ::String
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class All < Aws::EmptyStructure
53
+ end
54
+
55
+ class AllQueryArguments < Aws::EmptyStructure
56
+ end
57
+
58
+ class AllowAction
59
+ attr_accessor custom_request_handling: Types::CustomRequestHandling
60
+ SENSITIVE: []
61
+ end
62
+
63
+ class AndStatement
64
+ attr_accessor statements: ::Array[Types::Statement]
65
+ SENSITIVE: []
66
+ end
67
+
68
+ class AssociateWebACLRequest
69
+ attr_accessor web_acl_arn: ::String
70
+ attr_accessor resource_arn: ::String
71
+ SENSITIVE: []
72
+ end
73
+
74
+ class AssociateWebACLResponse < Aws::EmptyStructure
75
+ end
76
+
77
+ class AssociationConfig
78
+ attr_accessor request_body: ::Hash[("CLOUDFRONT"), Types::RequestBodyAssociatedResourceTypeConfig]
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class BlockAction
83
+ attr_accessor custom_response: Types::CustomResponse
84
+ SENSITIVE: []
85
+ end
86
+
87
+ class Body
88
+ attr_accessor oversize_handling: ("CONTINUE" | "MATCH" | "NO_MATCH")
89
+ SENSITIVE: []
90
+ end
91
+
92
+ class ByteMatchStatement
93
+ attr_accessor search_string: ::String
94
+ attr_accessor field_to_match: Types::FieldToMatch
95
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
96
+ attr_accessor positional_constraint: ("EXACTLY" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS" | "CONTAINS_WORD")
97
+ SENSITIVE: []
98
+ end
99
+
100
+ class CaptchaAction
101
+ attr_accessor custom_request_handling: Types::CustomRequestHandling
102
+ SENSITIVE: []
103
+ end
104
+
105
+ class CaptchaConfig
106
+ attr_accessor immunity_time_property: Types::ImmunityTimeProperty
107
+ SENSITIVE: []
108
+ end
109
+
110
+ class CaptchaResponse
111
+ attr_accessor response_code: ::Integer
112
+ attr_accessor solve_timestamp: ::Integer
113
+ attr_accessor failure_reason: ("TOKEN_MISSING" | "TOKEN_EXPIRED" | "TOKEN_INVALID" | "TOKEN_DOMAIN_MISMATCH")
114
+ SENSITIVE: []
115
+ end
116
+
117
+ class ChallengeAction
118
+ attr_accessor custom_request_handling: Types::CustomRequestHandling
119
+ SENSITIVE: []
120
+ end
121
+
122
+ class ChallengeConfig
123
+ attr_accessor immunity_time_property: Types::ImmunityTimeProperty
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class ChallengeResponse
128
+ attr_accessor response_code: ::Integer
129
+ attr_accessor solve_timestamp: ::Integer
130
+ attr_accessor failure_reason: ("TOKEN_MISSING" | "TOKEN_EXPIRED" | "TOKEN_INVALID" | "TOKEN_DOMAIN_MISMATCH")
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class CheckCapacityRequest
135
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
136
+ attr_accessor rules: ::Array[Types::Rule]
137
+ SENSITIVE: []
138
+ end
139
+
140
+ class CheckCapacityResponse
141
+ attr_accessor capacity: ::Integer
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class Condition
146
+ attr_accessor action_condition: Types::ActionCondition
147
+ attr_accessor label_name_condition: Types::LabelNameCondition
148
+ SENSITIVE: []
149
+ end
150
+
151
+ class CookieMatchPattern
152
+ attr_accessor all: Types::All
153
+ attr_accessor included_cookies: ::Array[::String]
154
+ attr_accessor excluded_cookies: ::Array[::String]
155
+ SENSITIVE: []
156
+ end
157
+
158
+ class Cookies
159
+ attr_accessor match_pattern: Types::CookieMatchPattern
160
+ attr_accessor match_scope: ("ALL" | "KEY" | "VALUE")
161
+ attr_accessor oversize_handling: ("CONTINUE" | "MATCH" | "NO_MATCH")
162
+ SENSITIVE: []
163
+ end
164
+
165
+ class CountAction
166
+ attr_accessor custom_request_handling: Types::CustomRequestHandling
167
+ SENSITIVE: []
168
+ end
169
+
170
+ class CreateAPIKeyRequest
171
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
172
+ attr_accessor token_domains: ::Array[::String]
173
+ SENSITIVE: []
174
+ end
175
+
176
+ class CreateAPIKeyResponse
177
+ attr_accessor api_key: ::String
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class CreateIPSetRequest
182
+ attr_accessor name: ::String
183
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
184
+ attr_accessor description: ::String
185
+ attr_accessor ip_address_version: ("IPV4" | "IPV6")
186
+ attr_accessor addresses: ::Array[::String]
187
+ attr_accessor tags: ::Array[Types::Tag]
188
+ SENSITIVE: []
189
+ end
190
+
191
+ class CreateIPSetResponse
192
+ attr_accessor summary: Types::IPSetSummary
193
+ SENSITIVE: []
194
+ end
195
+
196
+ class CreateRegexPatternSetRequest
197
+ attr_accessor name: ::String
198
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
199
+ attr_accessor description: ::String
200
+ attr_accessor regular_expression_list: ::Array[Types::Regex]
201
+ attr_accessor tags: ::Array[Types::Tag]
202
+ SENSITIVE: []
203
+ end
204
+
205
+ class CreateRegexPatternSetResponse
206
+ attr_accessor summary: Types::RegexPatternSetSummary
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class CreateRuleGroupRequest
211
+ attr_accessor name: ::String
212
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
213
+ attr_accessor capacity: ::Integer
214
+ attr_accessor description: ::String
215
+ attr_accessor rules: ::Array[Types::Rule]
216
+ attr_accessor visibility_config: Types::VisibilityConfig
217
+ attr_accessor tags: ::Array[Types::Tag]
218
+ attr_accessor custom_response_bodies: ::Hash[::String, Types::CustomResponseBody]
219
+ SENSITIVE: []
220
+ end
221
+
222
+ class CreateRuleGroupResponse
223
+ attr_accessor summary: Types::RuleGroupSummary
224
+ SENSITIVE: []
225
+ end
226
+
227
+ class CreateWebACLRequest
228
+ attr_accessor name: ::String
229
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
230
+ attr_accessor default_action: Types::DefaultAction
231
+ attr_accessor description: ::String
232
+ attr_accessor rules: ::Array[Types::Rule]
233
+ attr_accessor visibility_config: Types::VisibilityConfig
234
+ attr_accessor tags: ::Array[Types::Tag]
235
+ attr_accessor custom_response_bodies: ::Hash[::String, Types::CustomResponseBody]
236
+ attr_accessor captcha_config: Types::CaptchaConfig
237
+ attr_accessor challenge_config: Types::ChallengeConfig
238
+ attr_accessor token_domains: ::Array[::String]
239
+ attr_accessor association_config: Types::AssociationConfig
240
+ SENSITIVE: []
241
+ end
242
+
243
+ class CreateWebACLResponse
244
+ attr_accessor summary: Types::WebACLSummary
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class CustomHTTPHeader
249
+ attr_accessor name: ::String
250
+ attr_accessor value: ::String
251
+ SENSITIVE: []
252
+ end
253
+
254
+ class CustomRequestHandling
255
+ attr_accessor insert_headers: ::Array[Types::CustomHTTPHeader]
256
+ SENSITIVE: []
257
+ end
258
+
259
+ class CustomResponse
260
+ attr_accessor response_code: ::Integer
261
+ attr_accessor custom_response_body_key: ::String
262
+ attr_accessor response_headers: ::Array[Types::CustomHTTPHeader]
263
+ SENSITIVE: []
264
+ end
265
+
266
+ class CustomResponseBody
267
+ attr_accessor content_type: ("TEXT_PLAIN" | "TEXT_HTML" | "APPLICATION_JSON")
268
+ attr_accessor content: ::String
269
+ SENSITIVE: []
270
+ end
271
+
272
+ class DefaultAction
273
+ attr_accessor block: Types::BlockAction
274
+ attr_accessor allow: Types::AllowAction
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class DeleteFirewallManagerRuleGroupsRequest
279
+ attr_accessor web_acl_arn: ::String
280
+ attr_accessor web_acl_lock_token: ::String
281
+ SENSITIVE: []
282
+ end
283
+
284
+ class DeleteFirewallManagerRuleGroupsResponse
285
+ attr_accessor next_web_acl_lock_token: ::String
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class DeleteIPSetRequest
290
+ attr_accessor name: ::String
291
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
292
+ attr_accessor id: ::String
293
+ attr_accessor lock_token: ::String
294
+ SENSITIVE: []
295
+ end
296
+
297
+ class DeleteIPSetResponse < Aws::EmptyStructure
298
+ end
299
+
300
+ class DeleteLoggingConfigurationRequest
301
+ attr_accessor resource_arn: ::String
302
+ SENSITIVE: []
303
+ end
304
+
305
+ class DeleteLoggingConfigurationResponse < Aws::EmptyStructure
306
+ end
307
+
308
+ class DeletePermissionPolicyRequest
309
+ attr_accessor resource_arn: ::String
310
+ SENSITIVE: []
311
+ end
312
+
313
+ class DeletePermissionPolicyResponse < Aws::EmptyStructure
314
+ end
315
+
316
+ class DeleteRegexPatternSetRequest
317
+ attr_accessor name: ::String
318
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
319
+ attr_accessor id: ::String
320
+ attr_accessor lock_token: ::String
321
+ SENSITIVE: []
322
+ end
323
+
324
+ class DeleteRegexPatternSetResponse < Aws::EmptyStructure
325
+ end
326
+
327
+ class DeleteRuleGroupRequest
328
+ attr_accessor name: ::String
329
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
330
+ attr_accessor id: ::String
331
+ attr_accessor lock_token: ::String
332
+ SENSITIVE: []
333
+ end
334
+
335
+ class DeleteRuleGroupResponse < Aws::EmptyStructure
336
+ end
337
+
338
+ class DeleteWebACLRequest
339
+ attr_accessor name: ::String
340
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
341
+ attr_accessor id: ::String
342
+ attr_accessor lock_token: ::String
343
+ SENSITIVE: []
344
+ end
345
+
346
+ class DeleteWebACLResponse < Aws::EmptyStructure
347
+ end
348
+
349
+ class DescribeAllManagedProductsRequest
350
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
351
+ SENSITIVE: []
352
+ end
353
+
354
+ class DescribeAllManagedProductsResponse
355
+ attr_accessor managed_products: ::Array[Types::ManagedProductDescriptor]
356
+ SENSITIVE: []
357
+ end
358
+
359
+ class DescribeManagedProductsByVendorRequest
360
+ attr_accessor vendor_name: ::String
361
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class DescribeManagedProductsByVendorResponse
366
+ attr_accessor managed_products: ::Array[Types::ManagedProductDescriptor]
367
+ SENSITIVE: []
368
+ end
369
+
370
+ class DescribeManagedRuleGroupRequest
371
+ attr_accessor vendor_name: ::String
372
+ attr_accessor name: ::String
373
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
374
+ attr_accessor version_name: ::String
375
+ SENSITIVE: []
376
+ end
377
+
378
+ class DescribeManagedRuleGroupResponse
379
+ attr_accessor version_name: ::String
380
+ attr_accessor sns_topic_arn: ::String
381
+ attr_accessor capacity: ::Integer
382
+ attr_accessor rules: ::Array[Types::RuleSummary]
383
+ attr_accessor label_namespace: ::String
384
+ attr_accessor available_labels: ::Array[Types::LabelSummary]
385
+ attr_accessor consumed_labels: ::Array[Types::LabelSummary]
386
+ SENSITIVE: []
387
+ end
388
+
389
+ class DisassociateWebACLRequest
390
+ attr_accessor resource_arn: ::String
391
+ SENSITIVE: []
392
+ end
393
+
394
+ class DisassociateWebACLResponse < Aws::EmptyStructure
395
+ end
396
+
397
+ class EmailField
398
+ attr_accessor identifier: ::String
399
+ SENSITIVE: []
400
+ end
401
+
402
+ class ExcludedRule
403
+ attr_accessor name: ::String
404
+ SENSITIVE: []
405
+ end
406
+
407
+ class FieldToMatch
408
+ attr_accessor single_header: Types::SingleHeader
409
+ attr_accessor single_query_argument: Types::SingleQueryArgument
410
+ attr_accessor all_query_arguments: Types::AllQueryArguments
411
+ attr_accessor uri_path: Types::UriPath
412
+ attr_accessor query_string: Types::QueryString
413
+ attr_accessor body: Types::Body
414
+ attr_accessor method: Types::Method
415
+ attr_accessor json_body: Types::JsonBody
416
+ attr_accessor headers: Types::Headers
417
+ attr_accessor cookies: Types::Cookies
418
+ attr_accessor header_order: Types::HeaderOrder
419
+ attr_accessor ja3_fingerprint: Types::JA3Fingerprint
420
+ SENSITIVE: []
421
+ end
422
+
423
+ class Filter
424
+ attr_accessor behavior: ("KEEP" | "DROP")
425
+ attr_accessor requirement: ("MEETS_ALL" | "MEETS_ANY")
426
+ attr_accessor conditions: ::Array[Types::Condition]
427
+ SENSITIVE: []
428
+ end
429
+
430
+ class FirewallManagerRuleGroup
431
+ attr_accessor name: ::String
432
+ attr_accessor priority: ::Integer
433
+ attr_accessor firewall_manager_statement: Types::FirewallManagerStatement
434
+ attr_accessor override_action: Types::OverrideAction
435
+ attr_accessor visibility_config: Types::VisibilityConfig
436
+ SENSITIVE: []
437
+ end
438
+
439
+ class FirewallManagerStatement
440
+ attr_accessor managed_rule_group_statement: Types::ManagedRuleGroupStatement
441
+ attr_accessor rule_group_reference_statement: Types::RuleGroupReferenceStatement
442
+ SENSITIVE: []
443
+ end
444
+
445
+ class ForwardedIPConfig
446
+ attr_accessor header_name: ::String
447
+ attr_accessor fallback_behavior: ("MATCH" | "NO_MATCH")
448
+ SENSITIVE: []
449
+ end
450
+
451
+ class GenerateMobileSdkReleaseUrlRequest
452
+ attr_accessor platform: ("IOS" | "ANDROID")
453
+ attr_accessor release_version: ::String
454
+ SENSITIVE: []
455
+ end
456
+
457
+ class GenerateMobileSdkReleaseUrlResponse
458
+ attr_accessor url: ::String
459
+ SENSITIVE: []
460
+ end
461
+
462
+ class GeoMatchStatement
463
+ attr_accessor country_codes: ::Array[("AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KP" | "KR" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW" | "XK")]
464
+ attr_accessor forwarded_ip_config: Types::ForwardedIPConfig
465
+ SENSITIVE: []
466
+ end
467
+
468
+ class GetDecryptedAPIKeyRequest
469
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
470
+ attr_accessor api_key: ::String
471
+ SENSITIVE: []
472
+ end
473
+
474
+ class GetDecryptedAPIKeyResponse
475
+ attr_accessor token_domains: ::Array[::String]
476
+ attr_accessor creation_timestamp: ::Time
477
+ SENSITIVE: []
478
+ end
479
+
480
+ class GetIPSetRequest
481
+ attr_accessor name: ::String
482
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
483
+ attr_accessor id: ::String
484
+ SENSITIVE: []
485
+ end
486
+
487
+ class GetIPSetResponse
488
+ attr_accessor ip_set: Types::IPSet
489
+ attr_accessor lock_token: ::String
490
+ SENSITIVE: []
491
+ end
492
+
493
+ class GetLoggingConfigurationRequest
494
+ attr_accessor resource_arn: ::String
495
+ SENSITIVE: []
496
+ end
497
+
498
+ class GetLoggingConfigurationResponse
499
+ attr_accessor logging_configuration: Types::LoggingConfiguration
500
+ SENSITIVE: []
501
+ end
502
+
503
+ class GetManagedRuleSetRequest
504
+ attr_accessor name: ::String
505
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
506
+ attr_accessor id: ::String
507
+ SENSITIVE: []
508
+ end
509
+
510
+ class GetManagedRuleSetResponse
511
+ attr_accessor managed_rule_set: Types::ManagedRuleSet
512
+ attr_accessor lock_token: ::String
513
+ SENSITIVE: []
514
+ end
515
+
516
+ class GetMobileSdkReleaseRequest
517
+ attr_accessor platform: ("IOS" | "ANDROID")
518
+ attr_accessor release_version: ::String
519
+ SENSITIVE: []
520
+ end
521
+
522
+ class GetMobileSdkReleaseResponse
523
+ attr_accessor mobile_sdk_release: Types::MobileSdkRelease
524
+ SENSITIVE: []
525
+ end
526
+
527
+ class GetPermissionPolicyRequest
528
+ attr_accessor resource_arn: ::String
529
+ SENSITIVE: []
530
+ end
531
+
532
+ class GetPermissionPolicyResponse
533
+ attr_accessor policy: ::String
534
+ SENSITIVE: []
535
+ end
536
+
537
+ class GetRateBasedStatementManagedKeysRequest
538
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
539
+ attr_accessor web_acl_name: ::String
540
+ attr_accessor web_acl_id: ::String
541
+ attr_accessor rule_group_rule_name: ::String
542
+ attr_accessor rule_name: ::String
543
+ SENSITIVE: []
544
+ end
545
+
546
+ class GetRateBasedStatementManagedKeysResponse
547
+ attr_accessor managed_keys_ipv4: Types::RateBasedStatementManagedKeysIPSet
548
+ attr_accessor managed_keys_ipv6: Types::RateBasedStatementManagedKeysIPSet
549
+ SENSITIVE: []
550
+ end
551
+
552
+ class GetRegexPatternSetRequest
553
+ attr_accessor name: ::String
554
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
555
+ attr_accessor id: ::String
556
+ SENSITIVE: []
557
+ end
558
+
559
+ class GetRegexPatternSetResponse
560
+ attr_accessor regex_pattern_set: Types::RegexPatternSet
561
+ attr_accessor lock_token: ::String
562
+ SENSITIVE: []
563
+ end
564
+
565
+ class GetRuleGroupRequest
566
+ attr_accessor name: ::String
567
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
568
+ attr_accessor id: ::String
569
+ attr_accessor arn: ::String
570
+ SENSITIVE: []
571
+ end
572
+
573
+ class GetRuleGroupResponse
574
+ attr_accessor rule_group: Types::RuleGroup
575
+ attr_accessor lock_token: ::String
576
+ SENSITIVE: []
577
+ end
578
+
579
+ class GetSampledRequestsRequest
580
+ attr_accessor web_acl_arn: ::String
581
+ attr_accessor rule_metric_name: ::String
582
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
583
+ attr_accessor time_window: Types::TimeWindow
584
+ attr_accessor max_items: ::Integer
585
+ SENSITIVE: []
586
+ end
587
+
588
+ class GetSampledRequestsResponse
589
+ attr_accessor sampled_requests: ::Array[Types::SampledHTTPRequest]
590
+ attr_accessor population_size: ::Integer
591
+ attr_accessor time_window: Types::TimeWindow
592
+ SENSITIVE: []
593
+ end
594
+
595
+ class GetWebACLForResourceRequest
596
+ attr_accessor resource_arn: ::String
597
+ SENSITIVE: []
598
+ end
599
+
600
+ class GetWebACLForResourceResponse
601
+ attr_accessor web_acl: Types::WebACL
602
+ SENSITIVE: []
603
+ end
604
+
605
+ class GetWebACLRequest
606
+ attr_accessor name: ::String
607
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
608
+ attr_accessor id: ::String
609
+ SENSITIVE: []
610
+ end
611
+
612
+ class GetWebACLResponse
613
+ attr_accessor web_acl: Types::WebACL
614
+ attr_accessor lock_token: ::String
615
+ attr_accessor application_integration_url: ::String
616
+ SENSITIVE: []
617
+ end
618
+
619
+ class HTTPHeader
620
+ attr_accessor name: ::String
621
+ attr_accessor value: ::String
622
+ SENSITIVE: []
623
+ end
624
+
625
+ class HTTPRequest
626
+ attr_accessor client_ip: ::String
627
+ attr_accessor country: ::String
628
+ attr_accessor uri: ::String
629
+ attr_accessor method: ::String
630
+ attr_accessor http_version: ::String
631
+ attr_accessor headers: ::Array[Types::HTTPHeader]
632
+ SENSITIVE: []
633
+ end
634
+
635
+ class HeaderMatchPattern
636
+ attr_accessor all: Types::All
637
+ attr_accessor included_headers: ::Array[::String]
638
+ attr_accessor excluded_headers: ::Array[::String]
639
+ SENSITIVE: []
640
+ end
641
+
642
+ class HeaderOrder
643
+ attr_accessor oversize_handling: ("CONTINUE" | "MATCH" | "NO_MATCH")
644
+ SENSITIVE: []
645
+ end
646
+
647
+ class Headers
648
+ attr_accessor match_pattern: Types::HeaderMatchPattern
649
+ attr_accessor match_scope: ("ALL" | "KEY" | "VALUE")
650
+ attr_accessor oversize_handling: ("CONTINUE" | "MATCH" | "NO_MATCH")
651
+ SENSITIVE: []
652
+ end
653
+
654
+ class IPSet
655
+ attr_accessor name: ::String
656
+ attr_accessor id: ::String
657
+ attr_accessor arn: ::String
658
+ attr_accessor description: ::String
659
+ attr_accessor ip_address_version: ("IPV4" | "IPV6")
660
+ attr_accessor addresses: ::Array[::String]
661
+ SENSITIVE: []
662
+ end
663
+
664
+ class IPSetForwardedIPConfig
665
+ attr_accessor header_name: ::String
666
+ attr_accessor fallback_behavior: ("MATCH" | "NO_MATCH")
667
+ attr_accessor position: ("FIRST" | "LAST" | "ANY")
668
+ SENSITIVE: []
669
+ end
670
+
671
+ class IPSetReferenceStatement
672
+ attr_accessor arn: ::String
673
+ attr_accessor ip_set_forwarded_ip_config: Types::IPSetForwardedIPConfig
674
+ SENSITIVE: []
675
+ end
676
+
677
+ class IPSetSummary
678
+ attr_accessor name: ::String
679
+ attr_accessor id: ::String
680
+ attr_accessor description: ::String
681
+ attr_accessor lock_token: ::String
682
+ attr_accessor arn: ::String
683
+ SENSITIVE: []
684
+ end
685
+
686
+ class ImmunityTimeProperty
687
+ attr_accessor immunity_time: ::Integer
688
+ SENSITIVE: []
689
+ end
690
+
691
+ class JA3Fingerprint
692
+ attr_accessor fallback_behavior: ("MATCH" | "NO_MATCH")
693
+ SENSITIVE: []
694
+ end
695
+
696
+ class JsonBody
697
+ attr_accessor match_pattern: Types::JsonMatchPattern
698
+ attr_accessor match_scope: ("ALL" | "KEY" | "VALUE")
699
+ attr_accessor invalid_fallback_behavior: ("MATCH" | "NO_MATCH" | "EVALUATE_AS_STRING")
700
+ attr_accessor oversize_handling: ("CONTINUE" | "MATCH" | "NO_MATCH")
701
+ SENSITIVE: []
702
+ end
703
+
704
+ class JsonMatchPattern
705
+ attr_accessor all: Types::All
706
+ attr_accessor included_paths: ::Array[::String]
707
+ SENSITIVE: []
708
+ end
709
+
710
+ class Label
711
+ attr_accessor name: ::String
712
+ SENSITIVE: []
713
+ end
714
+
715
+ class LabelMatchStatement
716
+ attr_accessor scope: ("LABEL" | "NAMESPACE")
717
+ attr_accessor key: ::String
718
+ SENSITIVE: []
719
+ end
720
+
721
+ class LabelNameCondition
722
+ attr_accessor label_name: ::String
723
+ SENSITIVE: []
724
+ end
725
+
726
+ class LabelSummary
727
+ attr_accessor name: ::String
728
+ SENSITIVE: []
729
+ end
730
+
731
+ class ListAPIKeysRequest
732
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
733
+ attr_accessor next_marker: ::String
734
+ attr_accessor limit: ::Integer
735
+ SENSITIVE: []
736
+ end
737
+
738
+ class ListAPIKeysResponse
739
+ attr_accessor next_marker: ::String
740
+ attr_accessor api_key_summaries: ::Array[Types::APIKeySummary]
741
+ attr_accessor application_integration_url: ::String
742
+ SENSITIVE: []
743
+ end
744
+
745
+ class ListAvailableManagedRuleGroupVersionsRequest
746
+ attr_accessor vendor_name: ::String
747
+ attr_accessor name: ::String
748
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
749
+ attr_accessor next_marker: ::String
750
+ attr_accessor limit: ::Integer
751
+ SENSITIVE: []
752
+ end
753
+
754
+ class ListAvailableManagedRuleGroupVersionsResponse
755
+ attr_accessor next_marker: ::String
756
+ attr_accessor versions: ::Array[Types::ManagedRuleGroupVersion]
757
+ attr_accessor current_default_version: ::String
758
+ SENSITIVE: []
759
+ end
760
+
761
+ class ListAvailableManagedRuleGroupsRequest
762
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
763
+ attr_accessor next_marker: ::String
764
+ attr_accessor limit: ::Integer
765
+ SENSITIVE: []
766
+ end
767
+
768
+ class ListAvailableManagedRuleGroupsResponse
769
+ attr_accessor next_marker: ::String
770
+ attr_accessor managed_rule_groups: ::Array[Types::ManagedRuleGroupSummary]
771
+ SENSITIVE: []
772
+ end
773
+
774
+ class ListIPSetsRequest
775
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
776
+ attr_accessor next_marker: ::String
777
+ attr_accessor limit: ::Integer
778
+ SENSITIVE: []
779
+ end
780
+
781
+ class ListIPSetsResponse
782
+ attr_accessor next_marker: ::String
783
+ attr_accessor ip_sets: ::Array[Types::IPSetSummary]
784
+ SENSITIVE: []
785
+ end
786
+
787
+ class ListLoggingConfigurationsRequest
788
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
789
+ attr_accessor next_marker: ::String
790
+ attr_accessor limit: ::Integer
791
+ SENSITIVE: []
792
+ end
793
+
794
+ class ListLoggingConfigurationsResponse
795
+ attr_accessor logging_configurations: ::Array[Types::LoggingConfiguration]
796
+ attr_accessor next_marker: ::String
797
+ SENSITIVE: []
798
+ end
799
+
800
+ class ListManagedRuleSetsRequest
801
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
802
+ attr_accessor next_marker: ::String
803
+ attr_accessor limit: ::Integer
804
+ SENSITIVE: []
805
+ end
806
+
807
+ class ListManagedRuleSetsResponse
808
+ attr_accessor next_marker: ::String
809
+ attr_accessor managed_rule_sets: ::Array[Types::ManagedRuleSetSummary]
810
+ SENSITIVE: []
811
+ end
812
+
813
+ class ListMobileSdkReleasesRequest
814
+ attr_accessor platform: ("IOS" | "ANDROID")
815
+ attr_accessor next_marker: ::String
816
+ attr_accessor limit: ::Integer
817
+ SENSITIVE: []
818
+ end
819
+
820
+ class ListMobileSdkReleasesResponse
821
+ attr_accessor release_summaries: ::Array[Types::ReleaseSummary]
822
+ attr_accessor next_marker: ::String
823
+ SENSITIVE: []
824
+ end
825
+
826
+ class ListRegexPatternSetsRequest
827
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
828
+ attr_accessor next_marker: ::String
829
+ attr_accessor limit: ::Integer
830
+ SENSITIVE: []
831
+ end
832
+
833
+ class ListRegexPatternSetsResponse
834
+ attr_accessor next_marker: ::String
835
+ attr_accessor regex_pattern_sets: ::Array[Types::RegexPatternSetSummary]
836
+ SENSITIVE: []
837
+ end
838
+
839
+ class ListResourcesForWebACLRequest
840
+ attr_accessor web_acl_arn: ::String
841
+ attr_accessor resource_type: ("APPLICATION_LOAD_BALANCER" | "API_GATEWAY" | "APPSYNC" | "COGNITO_USER_POOL" | "APP_RUNNER_SERVICE" | "VERIFIED_ACCESS_INSTANCE")
842
+ SENSITIVE: []
843
+ end
844
+
845
+ class ListResourcesForWebACLResponse
846
+ attr_accessor resource_arns: ::Array[::String]
847
+ SENSITIVE: []
848
+ end
849
+
850
+ class ListRuleGroupsRequest
851
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
852
+ attr_accessor next_marker: ::String
853
+ attr_accessor limit: ::Integer
854
+ SENSITIVE: []
855
+ end
856
+
857
+ class ListRuleGroupsResponse
858
+ attr_accessor next_marker: ::String
859
+ attr_accessor rule_groups: ::Array[Types::RuleGroupSummary]
860
+ SENSITIVE: []
861
+ end
862
+
863
+ class ListTagsForResourceRequest
864
+ attr_accessor next_marker: ::String
865
+ attr_accessor limit: ::Integer
866
+ attr_accessor resource_arn: ::String
867
+ SENSITIVE: []
868
+ end
869
+
870
+ class ListTagsForResourceResponse
871
+ attr_accessor next_marker: ::String
872
+ attr_accessor tag_info_for_resource: Types::TagInfoForResource
873
+ SENSITIVE: []
874
+ end
875
+
876
+ class ListWebACLsRequest
877
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
878
+ attr_accessor next_marker: ::String
879
+ attr_accessor limit: ::Integer
880
+ SENSITIVE: []
881
+ end
882
+
883
+ class ListWebACLsResponse
884
+ attr_accessor next_marker: ::String
885
+ attr_accessor web_acls: ::Array[Types::WebACLSummary]
886
+ SENSITIVE: []
887
+ end
888
+
889
+ class LoggingConfiguration
890
+ attr_accessor resource_arn: ::String
891
+ attr_accessor log_destination_configs: ::Array[::String]
892
+ attr_accessor redacted_fields: ::Array[Types::FieldToMatch]
893
+ attr_accessor managed_by_firewall_manager: bool
894
+ attr_accessor logging_filter: Types::LoggingFilter
895
+ SENSITIVE: []
896
+ end
897
+
898
+ class LoggingFilter
899
+ attr_accessor filters: ::Array[Types::Filter]
900
+ attr_accessor default_behavior: ("KEEP" | "DROP")
901
+ SENSITIVE: []
902
+ end
903
+
904
+ class ManagedProductDescriptor
905
+ attr_accessor vendor_name: ::String
906
+ attr_accessor managed_rule_set_name: ::String
907
+ attr_accessor product_id: ::String
908
+ attr_accessor product_link: ::String
909
+ attr_accessor product_title: ::String
910
+ attr_accessor product_description: ::String
911
+ attr_accessor sns_topic_arn: ::String
912
+ attr_accessor is_versioning_supported: bool
913
+ attr_accessor is_advanced_managed_rule_set: bool
914
+ SENSITIVE: []
915
+ end
916
+
917
+ class ManagedRuleGroupConfig
918
+ attr_accessor login_path: ::String
919
+ attr_accessor payload_type: ("JSON" | "FORM_ENCODED")
920
+ attr_accessor username_field: Types::UsernameField
921
+ attr_accessor password_field: Types::PasswordField
922
+ attr_accessor aws_managed_rules_bot_control_rule_set: Types::AWSManagedRulesBotControlRuleSet
923
+ attr_accessor aws_managed_rules_atp_rule_set: Types::AWSManagedRulesATPRuleSet
924
+ attr_accessor aws_managed_rules_acfp_rule_set: Types::AWSManagedRulesACFPRuleSet
925
+ SENSITIVE: []
926
+ end
927
+
928
+ class ManagedRuleGroupStatement
929
+ attr_accessor vendor_name: ::String
930
+ attr_accessor name: ::String
931
+ attr_accessor version: ::String
932
+ attr_accessor excluded_rules: ::Array[Types::ExcludedRule]
933
+ attr_accessor scope_down_statement: Types::Statement
934
+ attr_accessor managed_rule_group_configs: ::Array[Types::ManagedRuleGroupConfig]
935
+ attr_accessor rule_action_overrides: ::Array[Types::RuleActionOverride]
936
+ SENSITIVE: []
937
+ end
938
+
939
+ class ManagedRuleGroupSummary
940
+ attr_accessor vendor_name: ::String
941
+ attr_accessor name: ::String
942
+ attr_accessor versioning_supported: bool
943
+ attr_accessor description: ::String
944
+ SENSITIVE: []
945
+ end
946
+
947
+ class ManagedRuleGroupVersion
948
+ attr_accessor name: ::String
949
+ attr_accessor last_update_timestamp: ::Time
950
+ SENSITIVE: []
951
+ end
952
+
953
+ class ManagedRuleSet
954
+ attr_accessor name: ::String
955
+ attr_accessor id: ::String
956
+ attr_accessor arn: ::String
957
+ attr_accessor description: ::String
958
+ attr_accessor published_versions: ::Hash[::String, Types::ManagedRuleSetVersion]
959
+ attr_accessor recommended_version: ::String
960
+ attr_accessor label_namespace: ::String
961
+ SENSITIVE: []
962
+ end
963
+
964
+ class ManagedRuleSetSummary
965
+ attr_accessor name: ::String
966
+ attr_accessor id: ::String
967
+ attr_accessor description: ::String
968
+ attr_accessor lock_token: ::String
969
+ attr_accessor arn: ::String
970
+ attr_accessor label_namespace: ::String
971
+ SENSITIVE: []
972
+ end
973
+
974
+ class ManagedRuleSetVersion
975
+ attr_accessor associated_rule_group_arn: ::String
976
+ attr_accessor capacity: ::Integer
977
+ attr_accessor forecasted_lifetime: ::Integer
978
+ attr_accessor publish_timestamp: ::Time
979
+ attr_accessor last_update_timestamp: ::Time
980
+ attr_accessor expiry_timestamp: ::Time
981
+ SENSITIVE: []
982
+ end
983
+
984
+ class Method < Aws::EmptyStructure
985
+ end
986
+
987
+ class MobileSdkRelease
988
+ attr_accessor release_version: ::String
989
+ attr_accessor timestamp: ::Time
990
+ attr_accessor release_notes: ::String
991
+ attr_accessor tags: ::Array[Types::Tag]
992
+ SENSITIVE: []
993
+ end
994
+
995
+ class NoneAction < Aws::EmptyStructure
996
+ end
997
+
998
+ class NotStatement
999
+ attr_accessor statement: Types::Statement
1000
+ SENSITIVE: []
1001
+ end
1002
+
1003
+ class OrStatement
1004
+ attr_accessor statements: ::Array[Types::Statement]
1005
+ SENSITIVE: []
1006
+ end
1007
+
1008
+ class OverrideAction
1009
+ attr_accessor count: Types::CountAction
1010
+ attr_accessor none: Types::NoneAction
1011
+ SENSITIVE: []
1012
+ end
1013
+
1014
+ class PasswordField
1015
+ attr_accessor identifier: ::String
1016
+ SENSITIVE: []
1017
+ end
1018
+
1019
+ class PhoneNumberField
1020
+ attr_accessor identifier: ::String
1021
+ SENSITIVE: []
1022
+ end
1023
+
1024
+ class PutLoggingConfigurationRequest
1025
+ attr_accessor logging_configuration: Types::LoggingConfiguration
1026
+ SENSITIVE: []
1027
+ end
1028
+
1029
+ class PutLoggingConfigurationResponse
1030
+ attr_accessor logging_configuration: Types::LoggingConfiguration
1031
+ SENSITIVE: []
1032
+ end
1033
+
1034
+ class PutManagedRuleSetVersionsRequest
1035
+ attr_accessor name: ::String
1036
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
1037
+ attr_accessor id: ::String
1038
+ attr_accessor lock_token: ::String
1039
+ attr_accessor recommended_version: ::String
1040
+ attr_accessor versions_to_publish: ::Hash[::String, Types::VersionToPublish]
1041
+ SENSITIVE: []
1042
+ end
1043
+
1044
+ class PutManagedRuleSetVersionsResponse
1045
+ attr_accessor next_lock_token: ::String
1046
+ SENSITIVE: []
1047
+ end
1048
+
1049
+ class PutPermissionPolicyRequest
1050
+ attr_accessor resource_arn: ::String
1051
+ attr_accessor policy: ::String
1052
+ SENSITIVE: []
1053
+ end
1054
+
1055
+ class PutPermissionPolicyResponse < Aws::EmptyStructure
1056
+ end
1057
+
1058
+ class QueryString < Aws::EmptyStructure
1059
+ end
1060
+
1061
+ class RateBasedStatement
1062
+ attr_accessor limit: ::Integer
1063
+ attr_accessor aggregate_key_type: ("IP" | "FORWARDED_IP" | "CUSTOM_KEYS" | "CONSTANT")
1064
+ attr_accessor scope_down_statement: Types::Statement
1065
+ attr_accessor forwarded_ip_config: Types::ForwardedIPConfig
1066
+ attr_accessor custom_keys: ::Array[Types::RateBasedStatementCustomKey]
1067
+ SENSITIVE: []
1068
+ end
1069
+
1070
+ class RateBasedStatementCustomKey
1071
+ attr_accessor header: Types::RateLimitHeader
1072
+ attr_accessor cookie: Types::RateLimitCookie
1073
+ attr_accessor query_argument: Types::RateLimitQueryArgument
1074
+ attr_accessor query_string: Types::RateLimitQueryString
1075
+ attr_accessor http_method: Types::RateLimitHTTPMethod
1076
+ attr_accessor forwarded_ip: Types::RateLimitForwardedIP
1077
+ attr_accessor ip: Types::RateLimitIP
1078
+ attr_accessor label_namespace: Types::RateLimitLabelNamespace
1079
+ attr_accessor uri_path: Types::RateLimitUriPath
1080
+ SENSITIVE: []
1081
+ end
1082
+
1083
+ class RateBasedStatementManagedKeysIPSet
1084
+ attr_accessor ip_address_version: ("IPV4" | "IPV6")
1085
+ attr_accessor addresses: ::Array[::String]
1086
+ SENSITIVE: []
1087
+ end
1088
+
1089
+ class RateLimitCookie
1090
+ attr_accessor name: ::String
1091
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
1092
+ SENSITIVE: []
1093
+ end
1094
+
1095
+ class RateLimitForwardedIP < Aws::EmptyStructure
1096
+ end
1097
+
1098
+ class RateLimitHTTPMethod < Aws::EmptyStructure
1099
+ end
1100
+
1101
+ class RateLimitHeader
1102
+ attr_accessor name: ::String
1103
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
1104
+ SENSITIVE: []
1105
+ end
1106
+
1107
+ class RateLimitIP < Aws::EmptyStructure
1108
+ end
1109
+
1110
+ class RateLimitLabelNamespace
1111
+ attr_accessor namespace: ::String
1112
+ SENSITIVE: []
1113
+ end
1114
+
1115
+ class RateLimitQueryArgument
1116
+ attr_accessor name: ::String
1117
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
1118
+ SENSITIVE: []
1119
+ end
1120
+
1121
+ class RateLimitQueryString
1122
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
1123
+ SENSITIVE: []
1124
+ end
1125
+
1126
+ class RateLimitUriPath
1127
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
1128
+ SENSITIVE: []
1129
+ end
1130
+
1131
+ class Regex
1132
+ attr_accessor regex_string: ::String
1133
+ SENSITIVE: []
1134
+ end
1135
+
1136
+ class RegexMatchStatement
1137
+ attr_accessor regex_string: ::String
1138
+ attr_accessor field_to_match: Types::FieldToMatch
1139
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
1140
+ SENSITIVE: []
1141
+ end
1142
+
1143
+ class RegexPatternSet
1144
+ attr_accessor name: ::String
1145
+ attr_accessor id: ::String
1146
+ attr_accessor arn: ::String
1147
+ attr_accessor description: ::String
1148
+ attr_accessor regular_expression_list: ::Array[Types::Regex]
1149
+ SENSITIVE: []
1150
+ end
1151
+
1152
+ class RegexPatternSetReferenceStatement
1153
+ attr_accessor arn: ::String
1154
+ attr_accessor field_to_match: Types::FieldToMatch
1155
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
1156
+ SENSITIVE: []
1157
+ end
1158
+
1159
+ class RegexPatternSetSummary
1160
+ attr_accessor name: ::String
1161
+ attr_accessor id: ::String
1162
+ attr_accessor description: ::String
1163
+ attr_accessor lock_token: ::String
1164
+ attr_accessor arn: ::String
1165
+ SENSITIVE: []
1166
+ end
1167
+
1168
+ class ReleaseSummary
1169
+ attr_accessor release_version: ::String
1170
+ attr_accessor timestamp: ::Time
1171
+ SENSITIVE: []
1172
+ end
1173
+
1174
+ class RequestBodyAssociatedResourceTypeConfig
1175
+ attr_accessor default_size_inspection_limit: ("KB_16" | "KB_32" | "KB_48" | "KB_64")
1176
+ SENSITIVE: []
1177
+ end
1178
+
1179
+ class RequestInspection
1180
+ attr_accessor payload_type: ("JSON" | "FORM_ENCODED")
1181
+ attr_accessor username_field: Types::UsernameField
1182
+ attr_accessor password_field: Types::PasswordField
1183
+ SENSITIVE: []
1184
+ end
1185
+
1186
+ class RequestInspectionACFP
1187
+ attr_accessor payload_type: ("JSON" | "FORM_ENCODED")
1188
+ attr_accessor username_field: Types::UsernameField
1189
+ attr_accessor password_field: Types::PasswordField
1190
+ attr_accessor email_field: Types::EmailField
1191
+ attr_accessor phone_number_fields: ::Array[Types::PhoneNumberField]
1192
+ attr_accessor address_fields: ::Array[Types::AddressField]
1193
+ SENSITIVE: []
1194
+ end
1195
+
1196
+ class ResponseInspection
1197
+ attr_accessor status_code: Types::ResponseInspectionStatusCode
1198
+ attr_accessor header: Types::ResponseInspectionHeader
1199
+ attr_accessor body_contains: Types::ResponseInspectionBodyContains
1200
+ attr_accessor json: Types::ResponseInspectionJson
1201
+ SENSITIVE: []
1202
+ end
1203
+
1204
+ class ResponseInspectionBodyContains
1205
+ attr_accessor success_strings: ::Array[::String]
1206
+ attr_accessor failure_strings: ::Array[::String]
1207
+ SENSITIVE: []
1208
+ end
1209
+
1210
+ class ResponseInspectionHeader
1211
+ attr_accessor name: ::String
1212
+ attr_accessor success_values: ::Array[::String]
1213
+ attr_accessor failure_values: ::Array[::String]
1214
+ SENSITIVE: []
1215
+ end
1216
+
1217
+ class ResponseInspectionJson
1218
+ attr_accessor identifier: ::String
1219
+ attr_accessor success_values: ::Array[::String]
1220
+ attr_accessor failure_values: ::Array[::String]
1221
+ SENSITIVE: []
1222
+ end
1223
+
1224
+ class ResponseInspectionStatusCode
1225
+ attr_accessor success_codes: ::Array[::Integer]
1226
+ attr_accessor failure_codes: ::Array[::Integer]
1227
+ SENSITIVE: []
1228
+ end
1229
+
1230
+ class Rule
1231
+ attr_accessor name: ::String
1232
+ attr_accessor priority: ::Integer
1233
+ attr_accessor statement: Types::Statement
1234
+ attr_accessor action: Types::RuleAction
1235
+ attr_accessor override_action: Types::OverrideAction
1236
+ attr_accessor rule_labels: ::Array[Types::Label]
1237
+ attr_accessor visibility_config: Types::VisibilityConfig
1238
+ attr_accessor captcha_config: Types::CaptchaConfig
1239
+ attr_accessor challenge_config: Types::ChallengeConfig
1240
+ SENSITIVE: []
1241
+ end
1242
+
1243
+ class RuleAction
1244
+ attr_accessor block: Types::BlockAction
1245
+ attr_accessor allow: Types::AllowAction
1246
+ attr_accessor count: Types::CountAction
1247
+ attr_accessor captcha: Types::CaptchaAction
1248
+ attr_accessor challenge: Types::ChallengeAction
1249
+ SENSITIVE: []
1250
+ end
1251
+
1252
+ class RuleActionOverride
1253
+ attr_accessor name: ::String
1254
+ attr_accessor action_to_use: Types::RuleAction
1255
+ SENSITIVE: []
1256
+ end
1257
+
1258
+ class RuleGroup
1259
+ attr_accessor name: ::String
1260
+ attr_accessor id: ::String
1261
+ attr_accessor capacity: ::Integer
1262
+ attr_accessor arn: ::String
1263
+ attr_accessor description: ::String
1264
+ attr_accessor rules: ::Array[Types::Rule]
1265
+ attr_accessor visibility_config: Types::VisibilityConfig
1266
+ attr_accessor label_namespace: ::String
1267
+ attr_accessor custom_response_bodies: ::Hash[::String, Types::CustomResponseBody]
1268
+ attr_accessor available_labels: ::Array[Types::LabelSummary]
1269
+ attr_accessor consumed_labels: ::Array[Types::LabelSummary]
1270
+ SENSITIVE: []
1271
+ end
1272
+
1273
+ class RuleGroupReferenceStatement
1274
+ attr_accessor arn: ::String
1275
+ attr_accessor excluded_rules: ::Array[Types::ExcludedRule]
1276
+ attr_accessor rule_action_overrides: ::Array[Types::RuleActionOverride]
1277
+ SENSITIVE: []
1278
+ end
1279
+
1280
+ class RuleGroupSummary
1281
+ attr_accessor name: ::String
1282
+ attr_accessor id: ::String
1283
+ attr_accessor description: ::String
1284
+ attr_accessor lock_token: ::String
1285
+ attr_accessor arn: ::String
1286
+ SENSITIVE: []
1287
+ end
1288
+
1289
+ class RuleSummary
1290
+ attr_accessor name: ::String
1291
+ attr_accessor action: Types::RuleAction
1292
+ SENSITIVE: []
1293
+ end
1294
+
1295
+ class SampledHTTPRequest
1296
+ attr_accessor request: Types::HTTPRequest
1297
+ attr_accessor weight: ::Integer
1298
+ attr_accessor timestamp: ::Time
1299
+ attr_accessor action: ::String
1300
+ attr_accessor rule_name_within_rule_group: ::String
1301
+ attr_accessor request_headers_inserted: ::Array[Types::HTTPHeader]
1302
+ attr_accessor response_code_sent: ::Integer
1303
+ attr_accessor labels: ::Array[Types::Label]
1304
+ attr_accessor captcha_response: Types::CaptchaResponse
1305
+ attr_accessor challenge_response: Types::ChallengeResponse
1306
+ attr_accessor overridden_action: ::String
1307
+ SENSITIVE: []
1308
+ end
1309
+
1310
+ class SingleHeader
1311
+ attr_accessor name: ::String
1312
+ SENSITIVE: []
1313
+ end
1314
+
1315
+ class SingleQueryArgument
1316
+ attr_accessor name: ::String
1317
+ SENSITIVE: []
1318
+ end
1319
+
1320
+ class SizeConstraintStatement
1321
+ attr_accessor field_to_match: Types::FieldToMatch
1322
+ attr_accessor comparison_operator: ("EQ" | "NE" | "LE" | "LT" | "GE" | "GT")
1323
+ attr_accessor size: ::Integer
1324
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
1325
+ SENSITIVE: []
1326
+ end
1327
+
1328
+ class SqliMatchStatement
1329
+ attr_accessor field_to_match: Types::FieldToMatch
1330
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
1331
+ attr_accessor sensitivity_level: ("LOW" | "HIGH")
1332
+ SENSITIVE: []
1333
+ end
1334
+
1335
+ class Statement
1336
+ attr_accessor byte_match_statement: Types::ByteMatchStatement
1337
+ attr_accessor sqli_match_statement: Types::SqliMatchStatement
1338
+ attr_accessor xss_match_statement: Types::XssMatchStatement
1339
+ attr_accessor size_constraint_statement: Types::SizeConstraintStatement
1340
+ attr_accessor geo_match_statement: Types::GeoMatchStatement
1341
+ attr_accessor rule_group_reference_statement: Types::RuleGroupReferenceStatement
1342
+ attr_accessor ip_set_reference_statement: Types::IPSetReferenceStatement
1343
+ attr_accessor regex_pattern_set_reference_statement: Types::RegexPatternSetReferenceStatement
1344
+ attr_accessor rate_based_statement: Types::RateBasedStatement
1345
+ attr_accessor and_statement: Types::AndStatement
1346
+ attr_accessor or_statement: Types::OrStatement
1347
+ attr_accessor not_statement: Types::NotStatement
1348
+ attr_accessor managed_rule_group_statement: Types::ManagedRuleGroupStatement
1349
+ attr_accessor label_match_statement: Types::LabelMatchStatement
1350
+ attr_accessor regex_match_statement: Types::RegexMatchStatement
1351
+ SENSITIVE: []
1352
+ end
1353
+
1354
+ class Tag
1355
+ attr_accessor key: ::String
1356
+ attr_accessor value: ::String
1357
+ SENSITIVE: []
1358
+ end
1359
+
1360
+ class TagInfoForResource
1361
+ attr_accessor resource_arn: ::String
1362
+ attr_accessor tag_list: ::Array[Types::Tag]
1363
+ SENSITIVE: []
1364
+ end
1365
+
1366
+ class TagResourceRequest
1367
+ attr_accessor resource_arn: ::String
1368
+ attr_accessor tags: ::Array[Types::Tag]
1369
+ SENSITIVE: []
1370
+ end
1371
+
1372
+ class TagResourceResponse < Aws::EmptyStructure
1373
+ end
1374
+
1375
+ class TextTransformation
1376
+ attr_accessor priority: ::Integer
1377
+ attr_accessor type: ("NONE" | "COMPRESS_WHITE_SPACE" | "HTML_ENTITY_DECODE" | "LOWERCASE" | "CMD_LINE" | "URL_DECODE" | "BASE64_DECODE" | "HEX_DECODE" | "MD5" | "REPLACE_COMMENTS" | "ESCAPE_SEQ_DECODE" | "SQL_HEX_DECODE" | "CSS_DECODE" | "JS_DECODE" | "NORMALIZE_PATH" | "NORMALIZE_PATH_WIN" | "REMOVE_NULLS" | "REPLACE_NULLS" | "BASE64_DECODE_EXT" | "URL_DECODE_UNI" | "UTF8_TO_UNICODE")
1378
+ SENSITIVE: []
1379
+ end
1380
+
1381
+ class TimeWindow
1382
+ attr_accessor start_time: ::Time
1383
+ attr_accessor end_time: ::Time
1384
+ SENSITIVE: []
1385
+ end
1386
+
1387
+ class UntagResourceRequest
1388
+ attr_accessor resource_arn: ::String
1389
+ attr_accessor tag_keys: ::Array[::String]
1390
+ SENSITIVE: []
1391
+ end
1392
+
1393
+ class UntagResourceResponse < Aws::EmptyStructure
1394
+ end
1395
+
1396
+ class UpdateIPSetRequest
1397
+ attr_accessor name: ::String
1398
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
1399
+ attr_accessor id: ::String
1400
+ attr_accessor description: ::String
1401
+ attr_accessor addresses: ::Array[::String]
1402
+ attr_accessor lock_token: ::String
1403
+ SENSITIVE: []
1404
+ end
1405
+
1406
+ class UpdateIPSetResponse
1407
+ attr_accessor next_lock_token: ::String
1408
+ SENSITIVE: []
1409
+ end
1410
+
1411
+ class UpdateManagedRuleSetVersionExpiryDateRequest
1412
+ attr_accessor name: ::String
1413
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
1414
+ attr_accessor id: ::String
1415
+ attr_accessor lock_token: ::String
1416
+ attr_accessor version_to_expire: ::String
1417
+ attr_accessor expiry_timestamp: ::Time
1418
+ SENSITIVE: []
1419
+ end
1420
+
1421
+ class UpdateManagedRuleSetVersionExpiryDateResponse
1422
+ attr_accessor expiring_version: ::String
1423
+ attr_accessor expiry_timestamp: ::Time
1424
+ attr_accessor next_lock_token: ::String
1425
+ SENSITIVE: []
1426
+ end
1427
+
1428
+ class UpdateRegexPatternSetRequest
1429
+ attr_accessor name: ::String
1430
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
1431
+ attr_accessor id: ::String
1432
+ attr_accessor description: ::String
1433
+ attr_accessor regular_expression_list: ::Array[Types::Regex]
1434
+ attr_accessor lock_token: ::String
1435
+ SENSITIVE: []
1436
+ end
1437
+
1438
+ class UpdateRegexPatternSetResponse
1439
+ attr_accessor next_lock_token: ::String
1440
+ SENSITIVE: []
1441
+ end
1442
+
1443
+ class UpdateRuleGroupRequest
1444
+ attr_accessor name: ::String
1445
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
1446
+ attr_accessor id: ::String
1447
+ attr_accessor description: ::String
1448
+ attr_accessor rules: ::Array[Types::Rule]
1449
+ attr_accessor visibility_config: Types::VisibilityConfig
1450
+ attr_accessor lock_token: ::String
1451
+ attr_accessor custom_response_bodies: ::Hash[::String, Types::CustomResponseBody]
1452
+ SENSITIVE: []
1453
+ end
1454
+
1455
+ class UpdateRuleGroupResponse
1456
+ attr_accessor next_lock_token: ::String
1457
+ SENSITIVE: []
1458
+ end
1459
+
1460
+ class UpdateWebACLRequest
1461
+ attr_accessor name: ::String
1462
+ attr_accessor scope: ("CLOUDFRONT" | "REGIONAL")
1463
+ attr_accessor id: ::String
1464
+ attr_accessor default_action: Types::DefaultAction
1465
+ attr_accessor description: ::String
1466
+ attr_accessor rules: ::Array[Types::Rule]
1467
+ attr_accessor visibility_config: Types::VisibilityConfig
1468
+ attr_accessor lock_token: ::String
1469
+ attr_accessor custom_response_bodies: ::Hash[::String, Types::CustomResponseBody]
1470
+ attr_accessor captcha_config: Types::CaptchaConfig
1471
+ attr_accessor challenge_config: Types::ChallengeConfig
1472
+ attr_accessor token_domains: ::Array[::String]
1473
+ attr_accessor association_config: Types::AssociationConfig
1474
+ SENSITIVE: []
1475
+ end
1476
+
1477
+ class UpdateWebACLResponse
1478
+ attr_accessor next_lock_token: ::String
1479
+ SENSITIVE: []
1480
+ end
1481
+
1482
+ class UriPath < Aws::EmptyStructure
1483
+ end
1484
+
1485
+ class UsernameField
1486
+ attr_accessor identifier: ::String
1487
+ SENSITIVE: []
1488
+ end
1489
+
1490
+ class VersionToPublish
1491
+ attr_accessor associated_rule_group_arn: ::String
1492
+ attr_accessor forecasted_lifetime: ::Integer
1493
+ SENSITIVE: []
1494
+ end
1495
+
1496
+ class VisibilityConfig
1497
+ attr_accessor sampled_requests_enabled: bool
1498
+ attr_accessor cloud_watch_metrics_enabled: bool
1499
+ attr_accessor metric_name: ::String
1500
+ SENSITIVE: []
1501
+ end
1502
+
1503
+ class WAFAssociatedItemException
1504
+ attr_accessor message: ::String
1505
+ SENSITIVE: []
1506
+ end
1507
+
1508
+ class WAFConfigurationWarningException
1509
+ attr_accessor message: ::String
1510
+ SENSITIVE: []
1511
+ end
1512
+
1513
+ class WAFDuplicateItemException
1514
+ attr_accessor message: ::String
1515
+ SENSITIVE: []
1516
+ end
1517
+
1518
+ class WAFExpiredManagedRuleGroupVersionException
1519
+ attr_accessor message: ::String
1520
+ SENSITIVE: []
1521
+ end
1522
+
1523
+ class WAFInternalErrorException
1524
+ attr_accessor message: ::String
1525
+ SENSITIVE: []
1526
+ end
1527
+
1528
+ class WAFInvalidOperationException
1529
+ attr_accessor message: ::String
1530
+ SENSITIVE: []
1531
+ end
1532
+
1533
+ class WAFInvalidParameterException
1534
+ attr_accessor message: ::String
1535
+ attr_accessor field: ("WEB_ACL" | "RULE_GROUP" | "REGEX_PATTERN_SET" | "IP_SET" | "MANAGED_RULE_SET" | "RULE" | "EXCLUDED_RULE" | "STATEMENT" | "BYTE_MATCH_STATEMENT" | "SQLI_MATCH_STATEMENT" | "XSS_MATCH_STATEMENT" | "SIZE_CONSTRAINT_STATEMENT" | "GEO_MATCH_STATEMENT" | "RATE_BASED_STATEMENT" | "RULE_GROUP_REFERENCE_STATEMENT" | "REGEX_PATTERN_REFERENCE_STATEMENT" | "IP_SET_REFERENCE_STATEMENT" | "MANAGED_RULE_SET_STATEMENT" | "LABEL_MATCH_STATEMENT" | "AND_STATEMENT" | "OR_STATEMENT" | "NOT_STATEMENT" | "IP_ADDRESS" | "IP_ADDRESS_VERSION" | "FIELD_TO_MATCH" | "TEXT_TRANSFORMATION" | "SINGLE_QUERY_ARGUMENT" | "SINGLE_HEADER" | "DEFAULT_ACTION" | "RULE_ACTION" | "ENTITY_LIMIT" | "OVERRIDE_ACTION" | "SCOPE_VALUE" | "RESOURCE_ARN" | "RESOURCE_TYPE" | "TAGS" | "TAG_KEYS" | "METRIC_NAME" | "FIREWALL_MANAGER_STATEMENT" | "FALLBACK_BEHAVIOR" | "POSITION" | "FORWARDED_IP_CONFIG" | "IP_SET_FORWARDED_IP_CONFIG" | "HEADER_NAME" | "CUSTOM_REQUEST_HANDLING" | "RESPONSE_CONTENT_TYPE" | "CUSTOM_RESPONSE" | "CUSTOM_RESPONSE_BODY" | "JSON_MATCH_PATTERN" | "JSON_MATCH_SCOPE" | "BODY_PARSING_FALLBACK_BEHAVIOR" | "LOGGING_FILTER" | "FILTER_CONDITION" | "EXPIRE_TIMESTAMP" | "CHANGE_PROPAGATION_STATUS" | "ASSOCIABLE_RESOURCE" | "LOG_DESTINATION" | "MANAGED_RULE_GROUP_CONFIG" | "PAYLOAD_TYPE" | "HEADER_MATCH_PATTERN" | "COOKIE_MATCH_PATTERN" | "MAP_MATCH_SCOPE" | "OVERSIZE_HANDLING" | "CHALLENGE_CONFIG" | "TOKEN_DOMAIN" | "ATP_RULE_SET_RESPONSE_INSPECTION" | "ASSOCIATED_RESOURCE_TYPE" | "SCOPE_DOWN" | "CUSTOM_KEYS" | "ACP_RULE_SET_RESPONSE_INSPECTION")
1536
+ attr_accessor parameter: ::String
1537
+ attr_accessor reason: ::String
1538
+ SENSITIVE: []
1539
+ end
1540
+
1541
+ class WAFInvalidPermissionPolicyException
1542
+ attr_accessor message: ::String
1543
+ SENSITIVE: []
1544
+ end
1545
+
1546
+ class WAFInvalidResourceException
1547
+ attr_accessor message: ::String
1548
+ SENSITIVE: []
1549
+ end
1550
+
1551
+ class WAFLimitsExceededException
1552
+ attr_accessor message: ::String
1553
+ SENSITIVE: []
1554
+ end
1555
+
1556
+ class WAFLogDestinationPermissionIssueException
1557
+ attr_accessor message: ::String
1558
+ SENSITIVE: []
1559
+ end
1560
+
1561
+ class WAFNonexistentItemException
1562
+ attr_accessor message: ::String
1563
+ SENSITIVE: []
1564
+ end
1565
+
1566
+ class WAFOptimisticLockException
1567
+ attr_accessor message: ::String
1568
+ SENSITIVE: []
1569
+ end
1570
+
1571
+ class WAFServiceLinkedRoleErrorException
1572
+ attr_accessor message: ::String
1573
+ SENSITIVE: []
1574
+ end
1575
+
1576
+ class WAFSubscriptionNotFoundException
1577
+ attr_accessor message: ::String
1578
+ SENSITIVE: []
1579
+ end
1580
+
1581
+ class WAFTagOperationException
1582
+ attr_accessor message: ::String
1583
+ SENSITIVE: []
1584
+ end
1585
+
1586
+ class WAFTagOperationInternalErrorException
1587
+ attr_accessor message: ::String
1588
+ SENSITIVE: []
1589
+ end
1590
+
1591
+ class WAFUnavailableEntityException
1592
+ attr_accessor message: ::String
1593
+ SENSITIVE: []
1594
+ end
1595
+
1596
+ class WAFUnsupportedAggregateKeyTypeException
1597
+ attr_accessor message: ::String
1598
+ SENSITIVE: []
1599
+ end
1600
+
1601
+ class WebACL
1602
+ attr_accessor name: ::String
1603
+ attr_accessor id: ::String
1604
+ attr_accessor arn: ::String
1605
+ attr_accessor default_action: Types::DefaultAction
1606
+ attr_accessor description: ::String
1607
+ attr_accessor rules: ::Array[Types::Rule]
1608
+ attr_accessor visibility_config: Types::VisibilityConfig
1609
+ attr_accessor capacity: ::Integer
1610
+ attr_accessor pre_process_firewall_manager_rule_groups: ::Array[Types::FirewallManagerRuleGroup]
1611
+ attr_accessor post_process_firewall_manager_rule_groups: ::Array[Types::FirewallManagerRuleGroup]
1612
+ attr_accessor managed_by_firewall_manager: bool
1613
+ attr_accessor label_namespace: ::String
1614
+ attr_accessor custom_response_bodies: ::Hash[::String, Types::CustomResponseBody]
1615
+ attr_accessor captcha_config: Types::CaptchaConfig
1616
+ attr_accessor challenge_config: Types::ChallengeConfig
1617
+ attr_accessor token_domains: ::Array[::String]
1618
+ attr_accessor association_config: Types::AssociationConfig
1619
+ SENSITIVE: []
1620
+ end
1621
+
1622
+ class WebACLSummary
1623
+ attr_accessor name: ::String
1624
+ attr_accessor id: ::String
1625
+ attr_accessor description: ::String
1626
+ attr_accessor lock_token: ::String
1627
+ attr_accessor arn: ::String
1628
+ SENSITIVE: []
1629
+ end
1630
+
1631
+ class XssMatchStatement
1632
+ attr_accessor field_to_match: Types::FieldToMatch
1633
+ attr_accessor text_transformations: ::Array[Types::TextTransformation]
1634
+ SENSITIVE: []
1635
+ end
1636
+ end
1637
+ end