mypy-boto3-waf-regional 1.28.16__py3-none-any.whl → 1.29.0__py3-none-any.whl

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.

Potentially problematic release.


This version of mypy-boto3-waf-regional might be problematic. Click here for more details.

@@ -11,11 +11,10 @@ Usage::
11
11
  data: ExcludedRuleTypeDef = ...
12
12
  ```
13
13
  """
14
+
14
15
  import sys
15
16
  from datetime import datetime
16
- from typing import IO, Any, Dict, List, Sequence, Union
17
-
18
- from botocore.response import StreamingBody
17
+ from typing import Dict, List, Sequence, Union
19
18
 
20
19
  from .literals import (
21
20
  ChangeActionType,
@@ -33,11 +32,15 @@ from .literals import (
33
32
  WafRuleTypeType,
34
33
  )
35
34
 
36
- if sys.version_info >= (3, 9):
35
+ if sys.version_info >= (3, 12):
37
36
  from typing import Literal
38
37
  else:
39
38
  from typing_extensions import Literal
40
- if sys.version_info >= (3, 9):
39
+ if sys.version_info >= (3, 12):
40
+ from typing import NotRequired
41
+ else:
42
+ from typing_extensions import NotRequired
43
+ if sys.version_info >= (3, 12):
41
44
  from typing import TypedDict
42
45
  else:
43
46
  from typing_extensions import TypedDict
@@ -47,7 +50,6 @@ __all__ = (
47
50
  "WafActionTypeDef",
48
51
  "WafOverrideActionTypeDef",
49
52
  "AssociateWebACLRequestRequestTypeDef",
50
- "BlobTypeDef",
51
53
  "ByteMatchSetSummaryTypeDef",
52
54
  "FieldToMatchTypeDef",
53
55
  "CreateByteMatchSetRequestRequestTypeDef",
@@ -92,7 +94,6 @@ __all__ = (
92
94
  "GetRegexPatternSetRequestRequestTypeDef",
93
95
  "GetRuleGroupRequestRequestTypeDef",
94
96
  "GetRuleRequestRequestTypeDef",
95
- "TimeWindowOutputTypeDef",
96
97
  "GetSizeConstraintSetRequestRequestTypeDef",
97
98
  "GetSqlInjectionMatchSetRequestRequestTypeDef",
98
99
  "GetWebACLForResourceRequestRequestTypeDef",
@@ -132,11 +133,8 @@ __all__ = (
132
133
  "RegexPatternSetUpdateTypeDef",
133
134
  "TimestampTypeDef",
134
135
  "UntagResourceRequestRequestTypeDef",
135
- "ActivatedRuleOutputTypeDef",
136
136
  "ActivatedRuleTypeDef",
137
- "ByteMatchTupleOutputTypeDef",
138
137
  "ByteMatchTupleTypeDef",
139
- "LoggingConfigurationOutputTypeDef",
140
138
  "LoggingConfigurationTypeDef",
141
139
  "RegexMatchTupleTypeDef",
142
140
  "SizeConstraintTypeDef",
@@ -207,16 +205,15 @@ __all__ = (
207
205
  "UpdateRegexPatternSetRequestRequestTypeDef",
208
206
  "TimeWindowTypeDef",
209
207
  "ListActivatedRulesInRuleGroupResponseTypeDef",
210
- "WebACLTypeDef",
211
208
  "RuleGroupUpdateTypeDef",
209
+ "WebACLTypeDef",
212
210
  "WebACLUpdateTypeDef",
213
211
  "ByteMatchSetTypeDef",
214
212
  "ByteMatchSetUpdateTypeDef",
215
213
  "GetLoggingConfigurationResponseTypeDef",
216
214
  "ListLoggingConfigurationsResponseTypeDef",
217
- "PutLoggingConfigurationResponseTypeDef",
218
- "LoggingConfigurationUnionTypeDef",
219
215
  "PutLoggingConfigurationRequestRequestTypeDef",
216
+ "PutLoggingConfigurationResponseTypeDef",
220
217
  "RegexMatchSetTypeDef",
221
218
  "RegexMatchSetUpdateTypeDef",
222
219
  "SizeConstraintSetTypeDef",
@@ -240,10 +237,9 @@ __all__ = (
240
237
  "UpdateRateBasedRuleRequestRequestTypeDef",
241
238
  "UpdateRuleRequestRequestTypeDef",
242
239
  "GetSampledRequestsRequestRequestTypeDef",
243
- "TimeWindowUnionTypeDef",
240
+ "UpdateRuleGroupRequestRequestTypeDef",
244
241
  "CreateWebACLResponseTypeDef",
245
242
  "GetWebACLResponseTypeDef",
246
- "UpdateRuleGroupRequestRequestTypeDef",
247
243
  "UpdateWebACLRequestRequestTypeDef",
248
244
  "CreateByteMatchSetResponseTypeDef",
249
245
  "GetByteMatchSetResponseTypeDef",
@@ -269,21 +265,18 @@ ExcludedRuleTypeDef = TypedDict(
269
265
  "RuleId": str,
270
266
  },
271
267
  )
272
-
273
268
  WafActionTypeDef = TypedDict(
274
269
  "WafActionTypeDef",
275
270
  {
276
271
  "Type": WafActionTypeType,
277
272
  },
278
273
  )
279
-
280
274
  WafOverrideActionTypeDef = TypedDict(
281
275
  "WafOverrideActionTypeDef",
282
276
  {
283
277
  "Type": WafOverrideActionTypeType,
284
278
  },
285
279
  )
286
-
287
280
  AssociateWebACLRequestRequestTypeDef = TypedDict(
288
281
  "AssociateWebACLRequestRequestTypeDef",
289
282
  {
@@ -291,8 +284,6 @@ AssociateWebACLRequestRequestTypeDef = TypedDict(
291
284
  "ResourceArn": str,
292
285
  },
293
286
  )
294
-
295
- BlobTypeDef = Union[str, bytes, IO[Any], StreamingBody]
296
287
  ByteMatchSetSummaryTypeDef = TypedDict(
297
288
  "ByteMatchSetSummaryTypeDef",
298
289
  {
@@ -300,24 +291,13 @@ ByteMatchSetSummaryTypeDef = TypedDict(
300
291
  "Name": str,
301
292
  },
302
293
  )
303
-
304
- _RequiredFieldToMatchTypeDef = TypedDict(
305
- "_RequiredFieldToMatchTypeDef",
294
+ FieldToMatchTypeDef = TypedDict(
295
+ "FieldToMatchTypeDef",
306
296
  {
307
297
  "Type": MatchFieldTypeType,
298
+ "Data": NotRequired[str],
308
299
  },
309
300
  )
310
- _OptionalFieldToMatchTypeDef = TypedDict(
311
- "_OptionalFieldToMatchTypeDef",
312
- {
313
- "Data": str,
314
- },
315
- total=False,
316
- )
317
-
318
- class FieldToMatchTypeDef(_RequiredFieldToMatchTypeDef, _OptionalFieldToMatchTypeDef):
319
- pass
320
-
321
301
  CreateByteMatchSetRequestRequestTypeDef = TypedDict(
322
302
  "CreateByteMatchSetRequestRequestTypeDef",
323
303
  {
@@ -325,7 +305,6 @@ CreateByteMatchSetRequestRequestTypeDef = TypedDict(
325
305
  "ChangeToken": str,
326
306
  },
327
307
  )
328
-
329
308
  ResponseMetadataTypeDef = TypedDict(
330
309
  "ResponseMetadataTypeDef",
331
310
  {
@@ -336,7 +315,6 @@ ResponseMetadataTypeDef = TypedDict(
336
315
  "RetryAttempts": int,
337
316
  },
338
317
  )
339
-
340
318
  CreateGeoMatchSetRequestRequestTypeDef = TypedDict(
341
319
  "CreateGeoMatchSetRequestRequestTypeDef",
342
320
  {
@@ -344,7 +322,6 @@ CreateGeoMatchSetRequestRequestTypeDef = TypedDict(
344
322
  "ChangeToken": str,
345
323
  },
346
324
  )
347
-
348
325
  CreateIPSetRequestRequestTypeDef = TypedDict(
349
326
  "CreateIPSetRequestRequestTypeDef",
350
327
  {
@@ -352,7 +329,6 @@ CreateIPSetRequestRequestTypeDef = TypedDict(
352
329
  "ChangeToken": str,
353
330
  },
354
331
  )
355
-
356
332
  TagTypeDef = TypedDict(
357
333
  "TagTypeDef",
358
334
  {
@@ -360,7 +336,6 @@ TagTypeDef = TypedDict(
360
336
  "Value": str,
361
337
  },
362
338
  )
363
-
364
339
  CreateRegexMatchSetRequestRequestTypeDef = TypedDict(
365
340
  "CreateRegexMatchSetRequestRequestTypeDef",
366
341
  {
@@ -368,7 +343,6 @@ CreateRegexMatchSetRequestRequestTypeDef = TypedDict(
368
343
  "ChangeToken": str,
369
344
  },
370
345
  )
371
-
372
346
  CreateRegexPatternSetRequestRequestTypeDef = TypedDict(
373
347
  "CreateRegexPatternSetRequestRequestTypeDef",
374
348
  {
@@ -376,43 +350,22 @@ CreateRegexPatternSetRequestRequestTypeDef = TypedDict(
376
350
  "ChangeToken": str,
377
351
  },
378
352
  )
379
-
380
- _RequiredRegexPatternSetTypeDef = TypedDict(
381
- "_RequiredRegexPatternSetTypeDef",
353
+ RegexPatternSetTypeDef = TypedDict(
354
+ "RegexPatternSetTypeDef",
382
355
  {
383
356
  "RegexPatternSetId": str,
384
357
  "RegexPatternStrings": List[str],
358
+ "Name": NotRequired[str],
385
359
  },
386
360
  )
387
- _OptionalRegexPatternSetTypeDef = TypedDict(
388
- "_OptionalRegexPatternSetTypeDef",
389
- {
390
- "Name": str,
391
- },
392
- total=False,
393
- )
394
-
395
- class RegexPatternSetTypeDef(_RequiredRegexPatternSetTypeDef, _OptionalRegexPatternSetTypeDef):
396
- pass
397
-
398
- _RequiredRuleGroupTypeDef = TypedDict(
399
- "_RequiredRuleGroupTypeDef",
361
+ RuleGroupTypeDef = TypedDict(
362
+ "RuleGroupTypeDef",
400
363
  {
401
364
  "RuleGroupId": str,
365
+ "Name": NotRequired[str],
366
+ "MetricName": NotRequired[str],
402
367
  },
403
368
  )
404
- _OptionalRuleGroupTypeDef = TypedDict(
405
- "_OptionalRuleGroupTypeDef",
406
- {
407
- "Name": str,
408
- "MetricName": str,
409
- },
410
- total=False,
411
- )
412
-
413
- class RuleGroupTypeDef(_RequiredRuleGroupTypeDef, _OptionalRuleGroupTypeDef):
414
- pass
415
-
416
369
  CreateSizeConstraintSetRequestRequestTypeDef = TypedDict(
417
370
  "CreateSizeConstraintSetRequestRequestTypeDef",
418
371
  {
@@ -420,7 +373,6 @@ CreateSizeConstraintSetRequestRequestTypeDef = TypedDict(
420
373
  "ChangeToken": str,
421
374
  },
422
375
  )
423
-
424
376
  CreateSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
425
377
  "CreateSqlInjectionMatchSetRequestRequestTypeDef",
426
378
  {
@@ -428,7 +380,6 @@ CreateSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
428
380
  "ChangeToken": str,
429
381
  },
430
382
  )
431
-
432
383
  CreateWebACLMigrationStackRequestRequestTypeDef = TypedDict(
433
384
  "CreateWebACLMigrationStackRequestRequestTypeDef",
434
385
  {
@@ -437,7 +388,6 @@ CreateWebACLMigrationStackRequestRequestTypeDef = TypedDict(
437
388
  "IgnoreUnsupportedType": bool,
438
389
  },
439
390
  )
440
-
441
391
  CreateXssMatchSetRequestRequestTypeDef = TypedDict(
442
392
  "CreateXssMatchSetRequestRequestTypeDef",
443
393
  {
@@ -445,7 +395,6 @@ CreateXssMatchSetRequestRequestTypeDef = TypedDict(
445
395
  "ChangeToken": str,
446
396
  },
447
397
  )
448
-
449
398
  DeleteByteMatchSetRequestRequestTypeDef = TypedDict(
450
399
  "DeleteByteMatchSetRequestRequestTypeDef",
451
400
  {
@@ -453,7 +402,6 @@ DeleteByteMatchSetRequestRequestTypeDef = TypedDict(
453
402
  "ChangeToken": str,
454
403
  },
455
404
  )
456
-
457
405
  DeleteGeoMatchSetRequestRequestTypeDef = TypedDict(
458
406
  "DeleteGeoMatchSetRequestRequestTypeDef",
459
407
  {
@@ -461,7 +409,6 @@ DeleteGeoMatchSetRequestRequestTypeDef = TypedDict(
461
409
  "ChangeToken": str,
462
410
  },
463
411
  )
464
-
465
412
  DeleteIPSetRequestRequestTypeDef = TypedDict(
466
413
  "DeleteIPSetRequestRequestTypeDef",
467
414
  {
@@ -469,21 +416,18 @@ DeleteIPSetRequestRequestTypeDef = TypedDict(
469
416
  "ChangeToken": str,
470
417
  },
471
418
  )
472
-
473
419
  DeleteLoggingConfigurationRequestRequestTypeDef = TypedDict(
474
420
  "DeleteLoggingConfigurationRequestRequestTypeDef",
475
421
  {
476
422
  "ResourceArn": str,
477
423
  },
478
424
  )
479
-
480
425
  DeletePermissionPolicyRequestRequestTypeDef = TypedDict(
481
426
  "DeletePermissionPolicyRequestRequestTypeDef",
482
427
  {
483
428
  "ResourceArn": str,
484
429
  },
485
430
  )
486
-
487
431
  DeleteRateBasedRuleRequestRequestTypeDef = TypedDict(
488
432
  "DeleteRateBasedRuleRequestRequestTypeDef",
489
433
  {
@@ -491,7 +435,6 @@ DeleteRateBasedRuleRequestRequestTypeDef = TypedDict(
491
435
  "ChangeToken": str,
492
436
  },
493
437
  )
494
-
495
438
  DeleteRegexMatchSetRequestRequestTypeDef = TypedDict(
496
439
  "DeleteRegexMatchSetRequestRequestTypeDef",
497
440
  {
@@ -499,7 +442,6 @@ DeleteRegexMatchSetRequestRequestTypeDef = TypedDict(
499
442
  "ChangeToken": str,
500
443
  },
501
444
  )
502
-
503
445
  DeleteRegexPatternSetRequestRequestTypeDef = TypedDict(
504
446
  "DeleteRegexPatternSetRequestRequestTypeDef",
505
447
  {
@@ -507,7 +449,6 @@ DeleteRegexPatternSetRequestRequestTypeDef = TypedDict(
507
449
  "ChangeToken": str,
508
450
  },
509
451
  )
510
-
511
452
  DeleteRuleGroupRequestRequestTypeDef = TypedDict(
512
453
  "DeleteRuleGroupRequestRequestTypeDef",
513
454
  {
@@ -515,7 +456,6 @@ DeleteRuleGroupRequestRequestTypeDef = TypedDict(
515
456
  "ChangeToken": str,
516
457
  },
517
458
  )
518
-
519
459
  DeleteRuleRequestRequestTypeDef = TypedDict(
520
460
  "DeleteRuleRequestRequestTypeDef",
521
461
  {
@@ -523,7 +463,6 @@ DeleteRuleRequestRequestTypeDef = TypedDict(
523
463
  "ChangeToken": str,
524
464
  },
525
465
  )
526
-
527
466
  DeleteSizeConstraintSetRequestRequestTypeDef = TypedDict(
528
467
  "DeleteSizeConstraintSetRequestRequestTypeDef",
529
468
  {
@@ -531,7 +470,6 @@ DeleteSizeConstraintSetRequestRequestTypeDef = TypedDict(
531
470
  "ChangeToken": str,
532
471
  },
533
472
  )
534
-
535
473
  DeleteSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
536
474
  "DeleteSqlInjectionMatchSetRequestRequestTypeDef",
537
475
  {
@@ -539,7 +477,6 @@ DeleteSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
539
477
  "ChangeToken": str,
540
478
  },
541
479
  )
542
-
543
480
  DeleteWebACLRequestRequestTypeDef = TypedDict(
544
481
  "DeleteWebACLRequestRequestTypeDef",
545
482
  {
@@ -547,7 +484,6 @@ DeleteWebACLRequestRequestTypeDef = TypedDict(
547
484
  "ChangeToken": str,
548
485
  },
549
486
  )
550
-
551
487
  DeleteXssMatchSetRequestRequestTypeDef = TypedDict(
552
488
  "DeleteXssMatchSetRequestRequestTypeDef",
553
489
  {
@@ -555,14 +491,12 @@ DeleteXssMatchSetRequestRequestTypeDef = TypedDict(
555
491
  "ChangeToken": str,
556
492
  },
557
493
  )
558
-
559
494
  DisassociateWebACLRequestRequestTypeDef = TypedDict(
560
495
  "DisassociateWebACLRequestRequestTypeDef",
561
496
  {
562
497
  "ResourceArn": str,
563
498
  },
564
499
  )
565
-
566
500
  GeoMatchConstraintTypeDef = TypedDict(
567
501
  "GeoMatchConstraintTypeDef",
568
502
  {
@@ -570,7 +504,6 @@ GeoMatchConstraintTypeDef = TypedDict(
570
504
  "Value": GeoMatchConstraintValueType,
571
505
  },
572
506
  )
573
-
574
507
  GeoMatchSetSummaryTypeDef = TypedDict(
575
508
  "GeoMatchSetSummaryTypeDef",
576
509
  {
@@ -578,133 +511,97 @@ GeoMatchSetSummaryTypeDef = TypedDict(
578
511
  "Name": str,
579
512
  },
580
513
  )
581
-
582
514
  GetByteMatchSetRequestRequestTypeDef = TypedDict(
583
515
  "GetByteMatchSetRequestRequestTypeDef",
584
516
  {
585
517
  "ByteMatchSetId": str,
586
518
  },
587
519
  )
588
-
589
520
  GetChangeTokenStatusRequestRequestTypeDef = TypedDict(
590
521
  "GetChangeTokenStatusRequestRequestTypeDef",
591
522
  {
592
523
  "ChangeToken": str,
593
524
  },
594
525
  )
595
-
596
526
  GetGeoMatchSetRequestRequestTypeDef = TypedDict(
597
527
  "GetGeoMatchSetRequestRequestTypeDef",
598
528
  {
599
529
  "GeoMatchSetId": str,
600
530
  },
601
531
  )
602
-
603
532
  GetIPSetRequestRequestTypeDef = TypedDict(
604
533
  "GetIPSetRequestRequestTypeDef",
605
534
  {
606
535
  "IPSetId": str,
607
536
  },
608
537
  )
609
-
610
538
  GetLoggingConfigurationRequestRequestTypeDef = TypedDict(
611
539
  "GetLoggingConfigurationRequestRequestTypeDef",
612
540
  {
613
541
  "ResourceArn": str,
614
542
  },
615
543
  )
616
-
617
544
  GetPermissionPolicyRequestRequestTypeDef = TypedDict(
618
545
  "GetPermissionPolicyRequestRequestTypeDef",
619
546
  {
620
547
  "ResourceArn": str,
621
548
  },
622
549
  )
623
-
624
- _RequiredGetRateBasedRuleManagedKeysRequestRequestTypeDef = TypedDict(
625
- "_RequiredGetRateBasedRuleManagedKeysRequestRequestTypeDef",
550
+ GetRateBasedRuleManagedKeysRequestRequestTypeDef = TypedDict(
551
+ "GetRateBasedRuleManagedKeysRequestRequestTypeDef",
626
552
  {
627
553
  "RuleId": str,
554
+ "NextMarker": NotRequired[str],
628
555
  },
629
556
  )
630
- _OptionalGetRateBasedRuleManagedKeysRequestRequestTypeDef = TypedDict(
631
- "_OptionalGetRateBasedRuleManagedKeysRequestRequestTypeDef",
632
- {
633
- "NextMarker": str,
634
- },
635
- total=False,
636
- )
637
-
638
- class GetRateBasedRuleManagedKeysRequestRequestTypeDef(
639
- _RequiredGetRateBasedRuleManagedKeysRequestRequestTypeDef,
640
- _OptionalGetRateBasedRuleManagedKeysRequestRequestTypeDef,
641
- ):
642
- pass
643
-
644
557
  GetRateBasedRuleRequestRequestTypeDef = TypedDict(
645
558
  "GetRateBasedRuleRequestRequestTypeDef",
646
559
  {
647
560
  "RuleId": str,
648
561
  },
649
562
  )
650
-
651
563
  GetRegexMatchSetRequestRequestTypeDef = TypedDict(
652
564
  "GetRegexMatchSetRequestRequestTypeDef",
653
565
  {
654
566
  "RegexMatchSetId": str,
655
567
  },
656
568
  )
657
-
658
569
  GetRegexPatternSetRequestRequestTypeDef = TypedDict(
659
570
  "GetRegexPatternSetRequestRequestTypeDef",
660
571
  {
661
572
  "RegexPatternSetId": str,
662
573
  },
663
574
  )
664
-
665
575
  GetRuleGroupRequestRequestTypeDef = TypedDict(
666
576
  "GetRuleGroupRequestRequestTypeDef",
667
577
  {
668
578
  "RuleGroupId": str,
669
579
  },
670
580
  )
671
-
672
581
  GetRuleRequestRequestTypeDef = TypedDict(
673
582
  "GetRuleRequestRequestTypeDef",
674
583
  {
675
584
  "RuleId": str,
676
585
  },
677
586
  )
678
-
679
- TimeWindowOutputTypeDef = TypedDict(
680
- "TimeWindowOutputTypeDef",
681
- {
682
- "StartTime": datetime,
683
- "EndTime": datetime,
684
- },
685
- )
686
-
687
587
  GetSizeConstraintSetRequestRequestTypeDef = TypedDict(
688
588
  "GetSizeConstraintSetRequestRequestTypeDef",
689
589
  {
690
590
  "SizeConstraintSetId": str,
691
591
  },
692
592
  )
693
-
694
593
  GetSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
695
594
  "GetSqlInjectionMatchSetRequestRequestTypeDef",
696
595
  {
697
596
  "SqlInjectionMatchSetId": str,
698
597
  },
699
598
  )
700
-
701
599
  GetWebACLForResourceRequestRequestTypeDef = TypedDict(
702
600
  "GetWebACLForResourceRequestRequestTypeDef",
703
601
  {
704
602
  "ResourceArn": str,
705
603
  },
706
604
  )
707
-
708
605
  WebACLSummaryTypeDef = TypedDict(
709
606
  "WebACLSummaryTypeDef",
710
607
  {
@@ -712,30 +609,25 @@ WebACLSummaryTypeDef = TypedDict(
712
609
  "Name": str,
713
610
  },
714
611
  )
715
-
716
612
  GetWebACLRequestRequestTypeDef = TypedDict(
717
613
  "GetWebACLRequestRequestTypeDef",
718
614
  {
719
615
  "WebACLId": str,
720
616
  },
721
617
  )
722
-
723
618
  GetXssMatchSetRequestRequestTypeDef = TypedDict(
724
619
  "GetXssMatchSetRequestRequestTypeDef",
725
620
  {
726
621
  "XssMatchSetId": str,
727
622
  },
728
623
  )
729
-
730
624
  HTTPHeaderTypeDef = TypedDict(
731
625
  "HTTPHeaderTypeDef",
732
626
  {
733
- "Name": str,
734
- "Value": str,
627
+ "Name": NotRequired[str],
628
+ "Value": NotRequired[str],
735
629
  },
736
- total=False,
737
630
  )
738
-
739
631
  IPSetDescriptorTypeDef = TypedDict(
740
632
  "IPSetDescriptorTypeDef",
741
633
  {
@@ -743,7 +635,6 @@ IPSetDescriptorTypeDef = TypedDict(
743
635
  "Value": str,
744
636
  },
745
637
  )
746
-
747
638
  IPSetSummaryTypeDef = TypedDict(
748
639
  "IPSetSummaryTypeDef",
749
640
  {
@@ -751,62 +642,49 @@ IPSetSummaryTypeDef = TypedDict(
751
642
  "Name": str,
752
643
  },
753
644
  )
754
-
755
645
  ListActivatedRulesInRuleGroupRequestRequestTypeDef = TypedDict(
756
646
  "ListActivatedRulesInRuleGroupRequestRequestTypeDef",
757
647
  {
758
- "RuleGroupId": str,
759
- "NextMarker": str,
760
- "Limit": int,
648
+ "RuleGroupId": NotRequired[str],
649
+ "NextMarker": NotRequired[str],
650
+ "Limit": NotRequired[int],
761
651
  },
762
- total=False,
763
652
  )
764
-
765
653
  ListByteMatchSetsRequestRequestTypeDef = TypedDict(
766
654
  "ListByteMatchSetsRequestRequestTypeDef",
767
655
  {
768
- "NextMarker": str,
769
- "Limit": int,
656
+ "NextMarker": NotRequired[str],
657
+ "Limit": NotRequired[int],
770
658
  },
771
- total=False,
772
659
  )
773
-
774
660
  ListGeoMatchSetsRequestRequestTypeDef = TypedDict(
775
661
  "ListGeoMatchSetsRequestRequestTypeDef",
776
662
  {
777
- "NextMarker": str,
778
- "Limit": int,
663
+ "NextMarker": NotRequired[str],
664
+ "Limit": NotRequired[int],
779
665
  },
780
- total=False,
781
666
  )
782
-
783
667
  ListIPSetsRequestRequestTypeDef = TypedDict(
784
668
  "ListIPSetsRequestRequestTypeDef",
785
669
  {
786
- "NextMarker": str,
787
- "Limit": int,
670
+ "NextMarker": NotRequired[str],
671
+ "Limit": NotRequired[int],
788
672
  },
789
- total=False,
790
673
  )
791
-
792
674
  ListLoggingConfigurationsRequestRequestTypeDef = TypedDict(
793
675
  "ListLoggingConfigurationsRequestRequestTypeDef",
794
676
  {
795
- "NextMarker": str,
796
- "Limit": int,
677
+ "NextMarker": NotRequired[str],
678
+ "Limit": NotRequired[int],
797
679
  },
798
- total=False,
799
680
  )
800
-
801
681
  ListRateBasedRulesRequestRequestTypeDef = TypedDict(
802
682
  "ListRateBasedRulesRequestRequestTypeDef",
803
683
  {
804
- "NextMarker": str,
805
- "Limit": int,
684
+ "NextMarker": NotRequired[str],
685
+ "Limit": NotRequired[int],
806
686
  },
807
- total=False,
808
687
  )
809
-
810
688
  RuleSummaryTypeDef = TypedDict(
811
689
  "RuleSummaryTypeDef",
812
690
  {
@@ -814,16 +692,13 @@ RuleSummaryTypeDef = TypedDict(
814
692
  "Name": str,
815
693
  },
816
694
  )
817
-
818
695
  ListRegexMatchSetsRequestRequestTypeDef = TypedDict(
819
696
  "ListRegexMatchSetsRequestRequestTypeDef",
820
697
  {
821
- "NextMarker": str,
822
- "Limit": int,
698
+ "NextMarker": NotRequired[str],
699
+ "Limit": NotRequired[int],
823
700
  },
824
- total=False,
825
701
  )
826
-
827
702
  RegexMatchSetSummaryTypeDef = TypedDict(
828
703
  "RegexMatchSetSummaryTypeDef",
829
704
  {
@@ -831,16 +706,13 @@ RegexMatchSetSummaryTypeDef = TypedDict(
831
706
  "Name": str,
832
707
  },
833
708
  )
834
-
835
709
  ListRegexPatternSetsRequestRequestTypeDef = TypedDict(
836
710
  "ListRegexPatternSetsRequestRequestTypeDef",
837
711
  {
838
- "NextMarker": str,
839
- "Limit": int,
712
+ "NextMarker": NotRequired[str],
713
+ "Limit": NotRequired[int],
840
714
  },
841
- total=False,
842
715
  )
843
-
844
716
  RegexPatternSetSummaryTypeDef = TypedDict(
845
717
  "RegexPatternSetSummaryTypeDef",
846
718
  {
@@ -848,36 +720,20 @@ RegexPatternSetSummaryTypeDef = TypedDict(
848
720
  "Name": str,
849
721
  },
850
722
  )
851
-
852
- _RequiredListResourcesForWebACLRequestRequestTypeDef = TypedDict(
853
- "_RequiredListResourcesForWebACLRequestRequestTypeDef",
723
+ ListResourcesForWebACLRequestRequestTypeDef = TypedDict(
724
+ "ListResourcesForWebACLRequestRequestTypeDef",
854
725
  {
855
726
  "WebACLId": str,
727
+ "ResourceType": NotRequired[ResourceTypeType],
856
728
  },
857
729
  )
858
- _OptionalListResourcesForWebACLRequestRequestTypeDef = TypedDict(
859
- "_OptionalListResourcesForWebACLRequestRequestTypeDef",
860
- {
861
- "ResourceType": ResourceTypeType,
862
- },
863
- total=False,
864
- )
865
-
866
- class ListResourcesForWebACLRequestRequestTypeDef(
867
- _RequiredListResourcesForWebACLRequestRequestTypeDef,
868
- _OptionalListResourcesForWebACLRequestRequestTypeDef,
869
- ):
870
- pass
871
-
872
730
  ListRuleGroupsRequestRequestTypeDef = TypedDict(
873
731
  "ListRuleGroupsRequestRequestTypeDef",
874
732
  {
875
- "NextMarker": str,
876
- "Limit": int,
733
+ "NextMarker": NotRequired[str],
734
+ "Limit": NotRequired[int],
877
735
  },
878
- total=False,
879
736
  )
880
-
881
737
  RuleGroupSummaryTypeDef = TypedDict(
882
738
  "RuleGroupSummaryTypeDef",
883
739
  {
@@ -885,25 +741,20 @@ RuleGroupSummaryTypeDef = TypedDict(
885
741
  "Name": str,
886
742
  },
887
743
  )
888
-
889
744
  ListRulesRequestRequestTypeDef = TypedDict(
890
745
  "ListRulesRequestRequestTypeDef",
891
746
  {
892
- "NextMarker": str,
893
- "Limit": int,
747
+ "NextMarker": NotRequired[str],
748
+ "Limit": NotRequired[int],
894
749
  },
895
- total=False,
896
750
  )
897
-
898
751
  ListSizeConstraintSetsRequestRequestTypeDef = TypedDict(
899
752
  "ListSizeConstraintSetsRequestRequestTypeDef",
900
753
  {
901
- "NextMarker": str,
902
- "Limit": int,
754
+ "NextMarker": NotRequired[str],
755
+ "Limit": NotRequired[int],
903
756
  },
904
- total=False,
905
757
  )
906
-
907
758
  SizeConstraintSetSummaryTypeDef = TypedDict(
908
759
  "SizeConstraintSetSummaryTypeDef",
909
760
  {
@@ -911,16 +762,13 @@ SizeConstraintSetSummaryTypeDef = TypedDict(
911
762
  "Name": str,
912
763
  },
913
764
  )
914
-
915
765
  ListSqlInjectionMatchSetsRequestRequestTypeDef = TypedDict(
916
766
  "ListSqlInjectionMatchSetsRequestRequestTypeDef",
917
767
  {
918
- "NextMarker": str,
919
- "Limit": int,
768
+ "NextMarker": NotRequired[str],
769
+ "Limit": NotRequired[int],
920
770
  },
921
- total=False,
922
771
  )
923
-
924
772
  SqlInjectionMatchSetSummaryTypeDef = TypedDict(
925
773
  "SqlInjectionMatchSetSummaryTypeDef",
926
774
  {
@@ -928,16 +776,13 @@ SqlInjectionMatchSetSummaryTypeDef = TypedDict(
928
776
  "Name": str,
929
777
  },
930
778
  )
931
-
932
779
  ListSubscribedRuleGroupsRequestRequestTypeDef = TypedDict(
933
780
  "ListSubscribedRuleGroupsRequestRequestTypeDef",
934
781
  {
935
- "NextMarker": str,
936
- "Limit": int,
782
+ "NextMarker": NotRequired[str],
783
+ "Limit": NotRequired[int],
937
784
  },
938
- total=False,
939
785
  )
940
-
941
786
  SubscribedRuleGroupSummaryTypeDef = TypedDict(
942
787
  "SubscribedRuleGroupSummaryTypeDef",
943
788
  {
@@ -946,46 +791,28 @@ SubscribedRuleGroupSummaryTypeDef = TypedDict(
946
791
  "MetricName": str,
947
792
  },
948
793
  )
949
-
950
- _RequiredListTagsForResourceRequestRequestTypeDef = TypedDict(
951
- "_RequiredListTagsForResourceRequestRequestTypeDef",
794
+ ListTagsForResourceRequestRequestTypeDef = TypedDict(
795
+ "ListTagsForResourceRequestRequestTypeDef",
952
796
  {
953
797
  "ResourceARN": str,
798
+ "NextMarker": NotRequired[str],
799
+ "Limit": NotRequired[int],
954
800
  },
955
801
  )
956
- _OptionalListTagsForResourceRequestRequestTypeDef = TypedDict(
957
- "_OptionalListTagsForResourceRequestRequestTypeDef",
958
- {
959
- "NextMarker": str,
960
- "Limit": int,
961
- },
962
- total=False,
963
- )
964
-
965
- class ListTagsForResourceRequestRequestTypeDef(
966
- _RequiredListTagsForResourceRequestRequestTypeDef,
967
- _OptionalListTagsForResourceRequestRequestTypeDef,
968
- ):
969
- pass
970
-
971
802
  ListWebACLsRequestRequestTypeDef = TypedDict(
972
803
  "ListWebACLsRequestRequestTypeDef",
973
804
  {
974
- "NextMarker": str,
975
- "Limit": int,
805
+ "NextMarker": NotRequired[str],
806
+ "Limit": NotRequired[int],
976
807
  },
977
- total=False,
978
808
  )
979
-
980
809
  ListXssMatchSetsRequestRequestTypeDef = TypedDict(
981
810
  "ListXssMatchSetsRequestRequestTypeDef",
982
811
  {
983
- "NextMarker": str,
984
- "Limit": int,
812
+ "NextMarker": NotRequired[str],
813
+ "Limit": NotRequired[int],
985
814
  },
986
- total=False,
987
815
  )
988
-
989
816
  XssMatchSetSummaryTypeDef = TypedDict(
990
817
  "XssMatchSetSummaryTypeDef",
991
818
  {
@@ -993,7 +820,6 @@ XssMatchSetSummaryTypeDef = TypedDict(
993
820
  "Name": str,
994
821
  },
995
822
  )
996
-
997
823
  PredicateTypeDef = TypedDict(
998
824
  "PredicateTypeDef",
999
825
  {
@@ -1002,7 +828,6 @@ PredicateTypeDef = TypedDict(
1002
828
  "DataId": str,
1003
829
  },
1004
830
  )
1005
-
1006
831
  PutPermissionPolicyRequestRequestTypeDef = TypedDict(
1007
832
  "PutPermissionPolicyRequestRequestTypeDef",
1008
833
  {
@@ -1010,7 +835,6 @@ PutPermissionPolicyRequestRequestTypeDef = TypedDict(
1010
835
  "Policy": str,
1011
836
  },
1012
837
  )
1013
-
1014
838
  RegexPatternSetUpdateTypeDef = TypedDict(
1015
839
  "RegexPatternSetUpdateTypeDef",
1016
840
  {
@@ -1018,7 +842,6 @@ RegexPatternSetUpdateTypeDef = TypedDict(
1018
842
  "RegexPatternString": str,
1019
843
  },
1020
844
  )
1021
-
1022
845
  TimestampTypeDef = Union[datetime, str]
1023
846
  UntagResourceRequestRequestTypeDef = TypedDict(
1024
847
  "UntagResourceRequestRequestTypeDef",
@@ -1027,111 +850,34 @@ UntagResourceRequestRequestTypeDef = TypedDict(
1027
850
  "TagKeys": Sequence[str],
1028
851
  },
1029
852
  )
1030
-
1031
- _RequiredActivatedRuleOutputTypeDef = TypedDict(
1032
- "_RequiredActivatedRuleOutputTypeDef",
1033
- {
1034
- "Priority": int,
1035
- "RuleId": str,
1036
- },
1037
- )
1038
- _OptionalActivatedRuleOutputTypeDef = TypedDict(
1039
- "_OptionalActivatedRuleOutputTypeDef",
1040
- {
1041
- "Action": WafActionTypeDef,
1042
- "OverrideAction": WafOverrideActionTypeDef,
1043
- "Type": WafRuleTypeType,
1044
- "ExcludedRules": List[ExcludedRuleTypeDef],
1045
- },
1046
- total=False,
1047
- )
1048
-
1049
- class ActivatedRuleOutputTypeDef(
1050
- _RequiredActivatedRuleOutputTypeDef, _OptionalActivatedRuleOutputTypeDef
1051
- ):
1052
- pass
1053
-
1054
- _RequiredActivatedRuleTypeDef = TypedDict(
1055
- "_RequiredActivatedRuleTypeDef",
853
+ ActivatedRuleTypeDef = TypedDict(
854
+ "ActivatedRuleTypeDef",
1056
855
  {
1057
856
  "Priority": int,
1058
857
  "RuleId": str,
858
+ "Action": NotRequired[WafActionTypeDef],
859
+ "OverrideAction": NotRequired[WafOverrideActionTypeDef],
860
+ "Type": NotRequired[WafRuleTypeType],
861
+ "ExcludedRules": NotRequired[List[ExcludedRuleTypeDef]],
1059
862
  },
1060
863
  )
1061
- _OptionalActivatedRuleTypeDef = TypedDict(
1062
- "_OptionalActivatedRuleTypeDef",
1063
- {
1064
- "Action": WafActionTypeDef,
1065
- "OverrideAction": WafOverrideActionTypeDef,
1066
- "Type": WafRuleTypeType,
1067
- "ExcludedRules": Sequence[ExcludedRuleTypeDef],
1068
- },
1069
- total=False,
1070
- )
1071
-
1072
- class ActivatedRuleTypeDef(_RequiredActivatedRuleTypeDef, _OptionalActivatedRuleTypeDef):
1073
- pass
1074
-
1075
- ByteMatchTupleOutputTypeDef = TypedDict(
1076
- "ByteMatchTupleOutputTypeDef",
1077
- {
1078
- "FieldToMatch": FieldToMatchTypeDef,
1079
- "TargetString": bytes,
1080
- "TextTransformation": TextTransformationType,
1081
- "PositionalConstraint": PositionalConstraintType,
1082
- },
1083
- )
1084
-
1085
864
  ByteMatchTupleTypeDef = TypedDict(
1086
865
  "ByteMatchTupleTypeDef",
1087
866
  {
1088
867
  "FieldToMatch": FieldToMatchTypeDef,
1089
- "TargetString": BlobTypeDef,
868
+ "TargetString": bytes,
1090
869
  "TextTransformation": TextTransformationType,
1091
870
  "PositionalConstraint": PositionalConstraintType,
1092
871
  },
1093
872
  )
1094
-
1095
- _RequiredLoggingConfigurationOutputTypeDef = TypedDict(
1096
- "_RequiredLoggingConfigurationOutputTypeDef",
873
+ LoggingConfigurationTypeDef = TypedDict(
874
+ "LoggingConfigurationTypeDef",
1097
875
  {
1098
876
  "ResourceArn": str,
1099
877
  "LogDestinationConfigs": List[str],
878
+ "RedactedFields": NotRequired[List[FieldToMatchTypeDef]],
1100
879
  },
1101
880
  )
1102
- _OptionalLoggingConfigurationOutputTypeDef = TypedDict(
1103
- "_OptionalLoggingConfigurationOutputTypeDef",
1104
- {
1105
- "RedactedFields": List[FieldToMatchTypeDef],
1106
- },
1107
- total=False,
1108
- )
1109
-
1110
- class LoggingConfigurationOutputTypeDef(
1111
- _RequiredLoggingConfigurationOutputTypeDef, _OptionalLoggingConfigurationOutputTypeDef
1112
- ):
1113
- pass
1114
-
1115
- _RequiredLoggingConfigurationTypeDef = TypedDict(
1116
- "_RequiredLoggingConfigurationTypeDef",
1117
- {
1118
- "ResourceArn": str,
1119
- "LogDestinationConfigs": Sequence[str],
1120
- },
1121
- )
1122
- _OptionalLoggingConfigurationTypeDef = TypedDict(
1123
- "_OptionalLoggingConfigurationTypeDef",
1124
- {
1125
- "RedactedFields": Sequence[FieldToMatchTypeDef],
1126
- },
1127
- total=False,
1128
- )
1129
-
1130
- class LoggingConfigurationTypeDef(
1131
- _RequiredLoggingConfigurationTypeDef, _OptionalLoggingConfigurationTypeDef
1132
- ):
1133
- pass
1134
-
1135
881
  RegexMatchTupleTypeDef = TypedDict(
1136
882
  "RegexMatchTupleTypeDef",
1137
883
  {
@@ -1140,7 +886,6 @@ RegexMatchTupleTypeDef = TypedDict(
1140
886
  "RegexPatternSetId": str,
1141
887
  },
1142
888
  )
1143
-
1144
889
  SizeConstraintTypeDef = TypedDict(
1145
890
  "SizeConstraintTypeDef",
1146
891
  {
@@ -1150,7 +895,6 @@ SizeConstraintTypeDef = TypedDict(
1150
895
  "Size": int,
1151
896
  },
1152
897
  )
1153
-
1154
898
  SqlInjectionMatchTupleTypeDef = TypedDict(
1155
899
  "SqlInjectionMatchTupleTypeDef",
1156
900
  {
@@ -1158,7 +902,6 @@ SqlInjectionMatchTupleTypeDef = TypedDict(
1158
902
  "TextTransformation": TextTransformationType,
1159
903
  },
1160
904
  )
1161
-
1162
905
  XssMatchTupleTypeDef = TypedDict(
1163
906
  "XssMatchTupleTypeDef",
1164
907
  {
@@ -1166,7 +909,6 @@ XssMatchTupleTypeDef = TypedDict(
1166
909
  "TextTransformation": TextTransformationType,
1167
910
  },
1168
911
  )
1169
-
1170
912
  CreateWebACLMigrationStackResponseTypeDef = TypedDict(
1171
913
  "CreateWebACLMigrationStackResponseTypeDef",
1172
914
  {
@@ -1174,7 +916,6 @@ CreateWebACLMigrationStackResponseTypeDef = TypedDict(
1174
916
  "ResponseMetadata": ResponseMetadataTypeDef,
1175
917
  },
1176
918
  )
1177
-
1178
919
  DeleteByteMatchSetResponseTypeDef = TypedDict(
1179
920
  "DeleteByteMatchSetResponseTypeDef",
1180
921
  {
@@ -1182,7 +923,6 @@ DeleteByteMatchSetResponseTypeDef = TypedDict(
1182
923
  "ResponseMetadata": ResponseMetadataTypeDef,
1183
924
  },
1184
925
  )
1185
-
1186
926
  DeleteGeoMatchSetResponseTypeDef = TypedDict(
1187
927
  "DeleteGeoMatchSetResponseTypeDef",
1188
928
  {
@@ -1190,7 +930,6 @@ DeleteGeoMatchSetResponseTypeDef = TypedDict(
1190
930
  "ResponseMetadata": ResponseMetadataTypeDef,
1191
931
  },
1192
932
  )
1193
-
1194
933
  DeleteIPSetResponseTypeDef = TypedDict(
1195
934
  "DeleteIPSetResponseTypeDef",
1196
935
  {
@@ -1198,7 +937,6 @@ DeleteIPSetResponseTypeDef = TypedDict(
1198
937
  "ResponseMetadata": ResponseMetadataTypeDef,
1199
938
  },
1200
939
  )
1201
-
1202
940
  DeleteRateBasedRuleResponseTypeDef = TypedDict(
1203
941
  "DeleteRateBasedRuleResponseTypeDef",
1204
942
  {
@@ -1206,7 +944,6 @@ DeleteRateBasedRuleResponseTypeDef = TypedDict(
1206
944
  "ResponseMetadata": ResponseMetadataTypeDef,
1207
945
  },
1208
946
  )
1209
-
1210
947
  DeleteRegexMatchSetResponseTypeDef = TypedDict(
1211
948
  "DeleteRegexMatchSetResponseTypeDef",
1212
949
  {
@@ -1214,7 +951,6 @@ DeleteRegexMatchSetResponseTypeDef = TypedDict(
1214
951
  "ResponseMetadata": ResponseMetadataTypeDef,
1215
952
  },
1216
953
  )
1217
-
1218
954
  DeleteRegexPatternSetResponseTypeDef = TypedDict(
1219
955
  "DeleteRegexPatternSetResponseTypeDef",
1220
956
  {
@@ -1222,7 +958,6 @@ DeleteRegexPatternSetResponseTypeDef = TypedDict(
1222
958
  "ResponseMetadata": ResponseMetadataTypeDef,
1223
959
  },
1224
960
  )
1225
-
1226
961
  DeleteRuleGroupResponseTypeDef = TypedDict(
1227
962
  "DeleteRuleGroupResponseTypeDef",
1228
963
  {
@@ -1230,7 +965,6 @@ DeleteRuleGroupResponseTypeDef = TypedDict(
1230
965
  "ResponseMetadata": ResponseMetadataTypeDef,
1231
966
  },
1232
967
  )
1233
-
1234
968
  DeleteRuleResponseTypeDef = TypedDict(
1235
969
  "DeleteRuleResponseTypeDef",
1236
970
  {
@@ -1238,7 +972,6 @@ DeleteRuleResponseTypeDef = TypedDict(
1238
972
  "ResponseMetadata": ResponseMetadataTypeDef,
1239
973
  },
1240
974
  )
1241
-
1242
975
  DeleteSizeConstraintSetResponseTypeDef = TypedDict(
1243
976
  "DeleteSizeConstraintSetResponseTypeDef",
1244
977
  {
@@ -1246,7 +979,6 @@ DeleteSizeConstraintSetResponseTypeDef = TypedDict(
1246
979
  "ResponseMetadata": ResponseMetadataTypeDef,
1247
980
  },
1248
981
  )
1249
-
1250
982
  DeleteSqlInjectionMatchSetResponseTypeDef = TypedDict(
1251
983
  "DeleteSqlInjectionMatchSetResponseTypeDef",
1252
984
  {
@@ -1254,7 +986,6 @@ DeleteSqlInjectionMatchSetResponseTypeDef = TypedDict(
1254
986
  "ResponseMetadata": ResponseMetadataTypeDef,
1255
987
  },
1256
988
  )
1257
-
1258
989
  DeleteWebACLResponseTypeDef = TypedDict(
1259
990
  "DeleteWebACLResponseTypeDef",
1260
991
  {
@@ -1262,7 +993,6 @@ DeleteWebACLResponseTypeDef = TypedDict(
1262
993
  "ResponseMetadata": ResponseMetadataTypeDef,
1263
994
  },
1264
995
  )
1265
-
1266
996
  DeleteXssMatchSetResponseTypeDef = TypedDict(
1267
997
  "DeleteXssMatchSetResponseTypeDef",
1268
998
  {
@@ -1270,7 +1000,6 @@ DeleteXssMatchSetResponseTypeDef = TypedDict(
1270
1000
  "ResponseMetadata": ResponseMetadataTypeDef,
1271
1001
  },
1272
1002
  )
1273
-
1274
1003
  GetChangeTokenResponseTypeDef = TypedDict(
1275
1004
  "GetChangeTokenResponseTypeDef",
1276
1005
  {
@@ -1278,7 +1007,6 @@ GetChangeTokenResponseTypeDef = TypedDict(
1278
1007
  "ResponseMetadata": ResponseMetadataTypeDef,
1279
1008
  },
1280
1009
  )
1281
-
1282
1010
  GetChangeTokenStatusResponseTypeDef = TypedDict(
1283
1011
  "GetChangeTokenStatusResponseTypeDef",
1284
1012
  {
@@ -1286,7 +1014,6 @@ GetChangeTokenStatusResponseTypeDef = TypedDict(
1286
1014
  "ResponseMetadata": ResponseMetadataTypeDef,
1287
1015
  },
1288
1016
  )
1289
-
1290
1017
  GetPermissionPolicyResponseTypeDef = TypedDict(
1291
1018
  "GetPermissionPolicyResponseTypeDef",
1292
1019
  {
@@ -1294,7 +1021,6 @@ GetPermissionPolicyResponseTypeDef = TypedDict(
1294
1021
  "ResponseMetadata": ResponseMetadataTypeDef,
1295
1022
  },
1296
1023
  )
1297
-
1298
1024
  GetRateBasedRuleManagedKeysResponseTypeDef = TypedDict(
1299
1025
  "GetRateBasedRuleManagedKeysResponseTypeDef",
1300
1026
  {
@@ -1303,7 +1029,6 @@ GetRateBasedRuleManagedKeysResponseTypeDef = TypedDict(
1303
1029
  "ResponseMetadata": ResponseMetadataTypeDef,
1304
1030
  },
1305
1031
  )
1306
-
1307
1032
  ListByteMatchSetsResponseTypeDef = TypedDict(
1308
1033
  "ListByteMatchSetsResponseTypeDef",
1309
1034
  {
@@ -1312,7 +1037,6 @@ ListByteMatchSetsResponseTypeDef = TypedDict(
1312
1037
  "ResponseMetadata": ResponseMetadataTypeDef,
1313
1038
  },
1314
1039
  )
1315
-
1316
1040
  ListResourcesForWebACLResponseTypeDef = TypedDict(
1317
1041
  "ListResourcesForWebACLResponseTypeDef",
1318
1042
  {
@@ -1320,7 +1044,6 @@ ListResourcesForWebACLResponseTypeDef = TypedDict(
1320
1044
  "ResponseMetadata": ResponseMetadataTypeDef,
1321
1045
  },
1322
1046
  )
1323
-
1324
1047
  UpdateByteMatchSetResponseTypeDef = TypedDict(
1325
1048
  "UpdateByteMatchSetResponseTypeDef",
1326
1049
  {
@@ -1328,7 +1051,6 @@ UpdateByteMatchSetResponseTypeDef = TypedDict(
1328
1051
  "ResponseMetadata": ResponseMetadataTypeDef,
1329
1052
  },
1330
1053
  )
1331
-
1332
1054
  UpdateGeoMatchSetResponseTypeDef = TypedDict(
1333
1055
  "UpdateGeoMatchSetResponseTypeDef",
1334
1056
  {
@@ -1336,7 +1058,6 @@ UpdateGeoMatchSetResponseTypeDef = TypedDict(
1336
1058
  "ResponseMetadata": ResponseMetadataTypeDef,
1337
1059
  },
1338
1060
  )
1339
-
1340
1061
  UpdateIPSetResponseTypeDef = TypedDict(
1341
1062
  "UpdateIPSetResponseTypeDef",
1342
1063
  {
@@ -1344,7 +1065,6 @@ UpdateIPSetResponseTypeDef = TypedDict(
1344
1065
  "ResponseMetadata": ResponseMetadataTypeDef,
1345
1066
  },
1346
1067
  )
1347
-
1348
1068
  UpdateRateBasedRuleResponseTypeDef = TypedDict(
1349
1069
  "UpdateRateBasedRuleResponseTypeDef",
1350
1070
  {
@@ -1352,7 +1072,6 @@ UpdateRateBasedRuleResponseTypeDef = TypedDict(
1352
1072
  "ResponseMetadata": ResponseMetadataTypeDef,
1353
1073
  },
1354
1074
  )
1355
-
1356
1075
  UpdateRegexMatchSetResponseTypeDef = TypedDict(
1357
1076
  "UpdateRegexMatchSetResponseTypeDef",
1358
1077
  {
@@ -1360,7 +1079,6 @@ UpdateRegexMatchSetResponseTypeDef = TypedDict(
1360
1079
  "ResponseMetadata": ResponseMetadataTypeDef,
1361
1080
  },
1362
1081
  )
1363
-
1364
1082
  UpdateRegexPatternSetResponseTypeDef = TypedDict(
1365
1083
  "UpdateRegexPatternSetResponseTypeDef",
1366
1084
  {
@@ -1368,7 +1086,6 @@ UpdateRegexPatternSetResponseTypeDef = TypedDict(
1368
1086
  "ResponseMetadata": ResponseMetadataTypeDef,
1369
1087
  },
1370
1088
  )
1371
-
1372
1089
  UpdateRuleGroupResponseTypeDef = TypedDict(
1373
1090
  "UpdateRuleGroupResponseTypeDef",
1374
1091
  {
@@ -1376,7 +1093,6 @@ UpdateRuleGroupResponseTypeDef = TypedDict(
1376
1093
  "ResponseMetadata": ResponseMetadataTypeDef,
1377
1094
  },
1378
1095
  )
1379
-
1380
1096
  UpdateRuleResponseTypeDef = TypedDict(
1381
1097
  "UpdateRuleResponseTypeDef",
1382
1098
  {
@@ -1384,7 +1100,6 @@ UpdateRuleResponseTypeDef = TypedDict(
1384
1100
  "ResponseMetadata": ResponseMetadataTypeDef,
1385
1101
  },
1386
1102
  )
1387
-
1388
1103
  UpdateSizeConstraintSetResponseTypeDef = TypedDict(
1389
1104
  "UpdateSizeConstraintSetResponseTypeDef",
1390
1105
  {
@@ -1392,7 +1107,6 @@ UpdateSizeConstraintSetResponseTypeDef = TypedDict(
1392
1107
  "ResponseMetadata": ResponseMetadataTypeDef,
1393
1108
  },
1394
1109
  )
1395
-
1396
1110
  UpdateSqlInjectionMatchSetResponseTypeDef = TypedDict(
1397
1111
  "UpdateSqlInjectionMatchSetResponseTypeDef",
1398
1112
  {
@@ -1400,7 +1114,6 @@ UpdateSqlInjectionMatchSetResponseTypeDef = TypedDict(
1400
1114
  "ResponseMetadata": ResponseMetadataTypeDef,
1401
1115
  },
1402
1116
  )
1403
-
1404
1117
  UpdateWebACLResponseTypeDef = TypedDict(
1405
1118
  "UpdateWebACLResponseTypeDef",
1406
1119
  {
@@ -1408,7 +1121,6 @@ UpdateWebACLResponseTypeDef = TypedDict(
1408
1121
  "ResponseMetadata": ResponseMetadataTypeDef,
1409
1122
  },
1410
1123
  )
1411
-
1412
1124
  UpdateXssMatchSetResponseTypeDef = TypedDict(
1413
1125
  "UpdateXssMatchSetResponseTypeDef",
1414
1126
  {
@@ -1416,104 +1128,52 @@ UpdateXssMatchSetResponseTypeDef = TypedDict(
1416
1128
  "ResponseMetadata": ResponseMetadataTypeDef,
1417
1129
  },
1418
1130
  )
1419
-
1420
- _RequiredCreateRateBasedRuleRequestRequestTypeDef = TypedDict(
1421
- "_RequiredCreateRateBasedRuleRequestRequestTypeDef",
1131
+ CreateRateBasedRuleRequestRequestTypeDef = TypedDict(
1132
+ "CreateRateBasedRuleRequestRequestTypeDef",
1422
1133
  {
1423
1134
  "Name": str,
1424
1135
  "MetricName": str,
1425
1136
  "RateKey": Literal["IP"],
1426
1137
  "RateLimit": int,
1427
1138
  "ChangeToken": str,
1139
+ "Tags": NotRequired[Sequence[TagTypeDef]],
1428
1140
  },
1429
1141
  )
1430
- _OptionalCreateRateBasedRuleRequestRequestTypeDef = TypedDict(
1431
- "_OptionalCreateRateBasedRuleRequestRequestTypeDef",
1432
- {
1433
- "Tags": Sequence[TagTypeDef],
1434
- },
1435
- total=False,
1436
- )
1437
-
1438
- class CreateRateBasedRuleRequestRequestTypeDef(
1439
- _RequiredCreateRateBasedRuleRequestRequestTypeDef,
1440
- _OptionalCreateRateBasedRuleRequestRequestTypeDef,
1441
- ):
1442
- pass
1443
-
1444
- _RequiredCreateRuleGroupRequestRequestTypeDef = TypedDict(
1445
- "_RequiredCreateRuleGroupRequestRequestTypeDef",
1142
+ CreateRuleGroupRequestRequestTypeDef = TypedDict(
1143
+ "CreateRuleGroupRequestRequestTypeDef",
1446
1144
  {
1447
1145
  "Name": str,
1448
1146
  "MetricName": str,
1449
1147
  "ChangeToken": str,
1148
+ "Tags": NotRequired[Sequence[TagTypeDef]],
1450
1149
  },
1451
1150
  )
1452
- _OptionalCreateRuleGroupRequestRequestTypeDef = TypedDict(
1453
- "_OptionalCreateRuleGroupRequestRequestTypeDef",
1454
- {
1455
- "Tags": Sequence[TagTypeDef],
1456
- },
1457
- total=False,
1458
- )
1459
-
1460
- class CreateRuleGroupRequestRequestTypeDef(
1461
- _RequiredCreateRuleGroupRequestRequestTypeDef, _OptionalCreateRuleGroupRequestRequestTypeDef
1462
- ):
1463
- pass
1464
-
1465
- _RequiredCreateRuleRequestRequestTypeDef = TypedDict(
1466
- "_RequiredCreateRuleRequestRequestTypeDef",
1151
+ CreateRuleRequestRequestTypeDef = TypedDict(
1152
+ "CreateRuleRequestRequestTypeDef",
1467
1153
  {
1468
1154
  "Name": str,
1469
1155
  "MetricName": str,
1470
1156
  "ChangeToken": str,
1157
+ "Tags": NotRequired[Sequence[TagTypeDef]],
1471
1158
  },
1472
1159
  )
1473
- _OptionalCreateRuleRequestRequestTypeDef = TypedDict(
1474
- "_OptionalCreateRuleRequestRequestTypeDef",
1475
- {
1476
- "Tags": Sequence[TagTypeDef],
1477
- },
1478
- total=False,
1479
- )
1480
-
1481
- class CreateRuleRequestRequestTypeDef(
1482
- _RequiredCreateRuleRequestRequestTypeDef, _OptionalCreateRuleRequestRequestTypeDef
1483
- ):
1484
- pass
1485
-
1486
- _RequiredCreateWebACLRequestRequestTypeDef = TypedDict(
1487
- "_RequiredCreateWebACLRequestRequestTypeDef",
1160
+ CreateWebACLRequestRequestTypeDef = TypedDict(
1161
+ "CreateWebACLRequestRequestTypeDef",
1488
1162
  {
1489
1163
  "Name": str,
1490
1164
  "MetricName": str,
1491
1165
  "DefaultAction": WafActionTypeDef,
1492
1166
  "ChangeToken": str,
1167
+ "Tags": NotRequired[Sequence[TagTypeDef]],
1493
1168
  },
1494
1169
  )
1495
- _OptionalCreateWebACLRequestRequestTypeDef = TypedDict(
1496
- "_OptionalCreateWebACLRequestRequestTypeDef",
1497
- {
1498
- "Tags": Sequence[TagTypeDef],
1499
- },
1500
- total=False,
1501
- )
1502
-
1503
- class CreateWebACLRequestRequestTypeDef(
1504
- _RequiredCreateWebACLRequestRequestTypeDef, _OptionalCreateWebACLRequestRequestTypeDef
1505
- ):
1506
- pass
1507
-
1508
1170
  TagInfoForResourceTypeDef = TypedDict(
1509
1171
  "TagInfoForResourceTypeDef",
1510
1172
  {
1511
- "ResourceARN": str,
1512
- "TagList": List[TagTypeDef],
1173
+ "ResourceARN": NotRequired[str],
1174
+ "TagList": NotRequired[List[TagTypeDef]],
1513
1175
  },
1514
- total=False,
1515
1176
  )
1516
-
1517
1177
  TagResourceRequestRequestTypeDef = TypedDict(
1518
1178
  "TagResourceRequestRequestTypeDef",
1519
1179
  {
@@ -1521,7 +1181,6 @@ TagResourceRequestRequestTypeDef = TypedDict(
1521
1181
  "Tags": Sequence[TagTypeDef],
1522
1182
  },
1523
1183
  )
1524
-
1525
1184
  CreateRegexPatternSetResponseTypeDef = TypedDict(
1526
1185
  "CreateRegexPatternSetResponseTypeDef",
1527
1186
  {
@@ -1530,7 +1189,6 @@ CreateRegexPatternSetResponseTypeDef = TypedDict(
1530
1189
  "ResponseMetadata": ResponseMetadataTypeDef,
1531
1190
  },
1532
1191
  )
1533
-
1534
1192
  GetRegexPatternSetResponseTypeDef = TypedDict(
1535
1193
  "GetRegexPatternSetResponseTypeDef",
1536
1194
  {
@@ -1538,7 +1196,6 @@ GetRegexPatternSetResponseTypeDef = TypedDict(
1538
1196
  "ResponseMetadata": ResponseMetadataTypeDef,
1539
1197
  },
1540
1198
  )
1541
-
1542
1199
  CreateRuleGroupResponseTypeDef = TypedDict(
1543
1200
  "CreateRuleGroupResponseTypeDef",
1544
1201
  {
@@ -1547,7 +1204,6 @@ CreateRuleGroupResponseTypeDef = TypedDict(
1547
1204
  "ResponseMetadata": ResponseMetadataTypeDef,
1548
1205
  },
1549
1206
  )
1550
-
1551
1207
  GetRuleGroupResponseTypeDef = TypedDict(
1552
1208
  "GetRuleGroupResponseTypeDef",
1553
1209
  {
@@ -1555,25 +1211,14 @@ GetRuleGroupResponseTypeDef = TypedDict(
1555
1211
  "ResponseMetadata": ResponseMetadataTypeDef,
1556
1212
  },
1557
1213
  )
1558
-
1559
- _RequiredGeoMatchSetTypeDef = TypedDict(
1560
- "_RequiredGeoMatchSetTypeDef",
1214
+ GeoMatchSetTypeDef = TypedDict(
1215
+ "GeoMatchSetTypeDef",
1561
1216
  {
1562
1217
  "GeoMatchSetId": str,
1563
1218
  "GeoMatchConstraints": List[GeoMatchConstraintTypeDef],
1219
+ "Name": NotRequired[str],
1564
1220
  },
1565
1221
  )
1566
- _OptionalGeoMatchSetTypeDef = TypedDict(
1567
- "_OptionalGeoMatchSetTypeDef",
1568
- {
1569
- "Name": str,
1570
- },
1571
- total=False,
1572
- )
1573
-
1574
- class GeoMatchSetTypeDef(_RequiredGeoMatchSetTypeDef, _OptionalGeoMatchSetTypeDef):
1575
- pass
1576
-
1577
1222
  GeoMatchSetUpdateTypeDef = TypedDict(
1578
1223
  "GeoMatchSetUpdateTypeDef",
1579
1224
  {
@@ -1581,7 +1226,6 @@ GeoMatchSetUpdateTypeDef = TypedDict(
1581
1226
  "GeoMatchConstraint": GeoMatchConstraintTypeDef,
1582
1227
  },
1583
1228
  )
1584
-
1585
1229
  ListGeoMatchSetsResponseTypeDef = TypedDict(
1586
1230
  "ListGeoMatchSetsResponseTypeDef",
1587
1231
  {
@@ -1590,7 +1234,6 @@ ListGeoMatchSetsResponseTypeDef = TypedDict(
1590
1234
  "ResponseMetadata": ResponseMetadataTypeDef,
1591
1235
  },
1592
1236
  )
1593
-
1594
1237
  GetWebACLForResourceResponseTypeDef = TypedDict(
1595
1238
  "GetWebACLForResourceResponseTypeDef",
1596
1239
  {
@@ -1598,7 +1241,6 @@ GetWebACLForResourceResponseTypeDef = TypedDict(
1598
1241
  "ResponseMetadata": ResponseMetadataTypeDef,
1599
1242
  },
1600
1243
  )
1601
-
1602
1244
  ListWebACLsResponseTypeDef = TypedDict(
1603
1245
  "ListWebACLsResponseTypeDef",
1604
1246
  {
@@ -1607,38 +1249,25 @@ ListWebACLsResponseTypeDef = TypedDict(
1607
1249
  "ResponseMetadata": ResponseMetadataTypeDef,
1608
1250
  },
1609
1251
  )
1610
-
1611
1252
  HTTPRequestTypeDef = TypedDict(
1612
1253
  "HTTPRequestTypeDef",
1613
1254
  {
1614
- "ClientIP": str,
1615
- "Country": str,
1616
- "URI": str,
1617
- "Method": str,
1618
- "HTTPVersion": str,
1619
- "Headers": List[HTTPHeaderTypeDef],
1255
+ "ClientIP": NotRequired[str],
1256
+ "Country": NotRequired[str],
1257
+ "URI": NotRequired[str],
1258
+ "Method": NotRequired[str],
1259
+ "HTTPVersion": NotRequired[str],
1260
+ "Headers": NotRequired[List[HTTPHeaderTypeDef]],
1620
1261
  },
1621
- total=False,
1622
1262
  )
1623
-
1624
- _RequiredIPSetTypeDef = TypedDict(
1625
- "_RequiredIPSetTypeDef",
1263
+ IPSetTypeDef = TypedDict(
1264
+ "IPSetTypeDef",
1626
1265
  {
1627
1266
  "IPSetId": str,
1628
1267
  "IPSetDescriptors": List[IPSetDescriptorTypeDef],
1268
+ "Name": NotRequired[str],
1629
1269
  },
1630
1270
  )
1631
- _OptionalIPSetTypeDef = TypedDict(
1632
- "_OptionalIPSetTypeDef",
1633
- {
1634
- "Name": str,
1635
- },
1636
- total=False,
1637
- )
1638
-
1639
- class IPSetTypeDef(_RequiredIPSetTypeDef, _OptionalIPSetTypeDef):
1640
- pass
1641
-
1642
1271
  IPSetUpdateTypeDef = TypedDict(
1643
1272
  "IPSetUpdateTypeDef",
1644
1273
  {
@@ -1646,7 +1275,6 @@ IPSetUpdateTypeDef = TypedDict(
1646
1275
  "IPSetDescriptor": IPSetDescriptorTypeDef,
1647
1276
  },
1648
1277
  )
1649
-
1650
1278
  ListIPSetsResponseTypeDef = TypedDict(
1651
1279
  "ListIPSetsResponseTypeDef",
1652
1280
  {
@@ -1655,7 +1283,6 @@ ListIPSetsResponseTypeDef = TypedDict(
1655
1283
  "ResponseMetadata": ResponseMetadataTypeDef,
1656
1284
  },
1657
1285
  )
1658
-
1659
1286
  ListRateBasedRulesResponseTypeDef = TypedDict(
1660
1287
  "ListRateBasedRulesResponseTypeDef",
1661
1288
  {
@@ -1664,7 +1291,6 @@ ListRateBasedRulesResponseTypeDef = TypedDict(
1664
1291
  "ResponseMetadata": ResponseMetadataTypeDef,
1665
1292
  },
1666
1293
  )
1667
-
1668
1294
  ListRulesResponseTypeDef = TypedDict(
1669
1295
  "ListRulesResponseTypeDef",
1670
1296
  {
@@ -1673,7 +1299,6 @@ ListRulesResponseTypeDef = TypedDict(
1673
1299
  "ResponseMetadata": ResponseMetadataTypeDef,
1674
1300
  },
1675
1301
  )
1676
-
1677
1302
  ListRegexMatchSetsResponseTypeDef = TypedDict(
1678
1303
  "ListRegexMatchSetsResponseTypeDef",
1679
1304
  {
@@ -1682,7 +1307,6 @@ ListRegexMatchSetsResponseTypeDef = TypedDict(
1682
1307
  "ResponseMetadata": ResponseMetadataTypeDef,
1683
1308
  },
1684
1309
  )
1685
-
1686
1310
  ListRegexPatternSetsResponseTypeDef = TypedDict(
1687
1311
  "ListRegexPatternSetsResponseTypeDef",
1688
1312
  {
@@ -1691,7 +1315,6 @@ ListRegexPatternSetsResponseTypeDef = TypedDict(
1691
1315
  "ResponseMetadata": ResponseMetadataTypeDef,
1692
1316
  },
1693
1317
  )
1694
-
1695
1318
  ListRuleGroupsResponseTypeDef = TypedDict(
1696
1319
  "ListRuleGroupsResponseTypeDef",
1697
1320
  {
@@ -1700,7 +1323,6 @@ ListRuleGroupsResponseTypeDef = TypedDict(
1700
1323
  "ResponseMetadata": ResponseMetadataTypeDef,
1701
1324
  },
1702
1325
  )
1703
-
1704
1326
  ListSizeConstraintSetsResponseTypeDef = TypedDict(
1705
1327
  "ListSizeConstraintSetsResponseTypeDef",
1706
1328
  {
@@ -1709,7 +1331,6 @@ ListSizeConstraintSetsResponseTypeDef = TypedDict(
1709
1331
  "ResponseMetadata": ResponseMetadataTypeDef,
1710
1332
  },
1711
1333
  )
1712
-
1713
1334
  ListSqlInjectionMatchSetsResponseTypeDef = TypedDict(
1714
1335
  "ListSqlInjectionMatchSetsResponseTypeDef",
1715
1336
  {
@@ -1718,7 +1339,6 @@ ListSqlInjectionMatchSetsResponseTypeDef = TypedDict(
1718
1339
  "ResponseMetadata": ResponseMetadataTypeDef,
1719
1340
  },
1720
1341
  )
1721
-
1722
1342
  ListSubscribedRuleGroupsResponseTypeDef = TypedDict(
1723
1343
  "ListSubscribedRuleGroupsResponseTypeDef",
1724
1344
  {
@@ -1727,7 +1347,6 @@ ListSubscribedRuleGroupsResponseTypeDef = TypedDict(
1727
1347
  "ResponseMetadata": ResponseMetadataTypeDef,
1728
1348
  },
1729
1349
  )
1730
-
1731
1350
  ListXssMatchSetsResponseTypeDef = TypedDict(
1732
1351
  "ListXssMatchSetsResponseTypeDef",
1733
1352
  {
@@ -1736,47 +1355,26 @@ ListXssMatchSetsResponseTypeDef = TypedDict(
1736
1355
  "ResponseMetadata": ResponseMetadataTypeDef,
1737
1356
  },
1738
1357
  )
1739
-
1740
- _RequiredRateBasedRuleTypeDef = TypedDict(
1741
- "_RequiredRateBasedRuleTypeDef",
1358
+ RateBasedRuleTypeDef = TypedDict(
1359
+ "RateBasedRuleTypeDef",
1742
1360
  {
1743
1361
  "RuleId": str,
1744
1362
  "MatchPredicates": List[PredicateTypeDef],
1745
1363
  "RateKey": Literal["IP"],
1746
1364
  "RateLimit": int,
1365
+ "Name": NotRequired[str],
1366
+ "MetricName": NotRequired[str],
1747
1367
  },
1748
1368
  )
1749
- _OptionalRateBasedRuleTypeDef = TypedDict(
1750
- "_OptionalRateBasedRuleTypeDef",
1751
- {
1752
- "Name": str,
1753
- "MetricName": str,
1754
- },
1755
- total=False,
1756
- )
1757
-
1758
- class RateBasedRuleTypeDef(_RequiredRateBasedRuleTypeDef, _OptionalRateBasedRuleTypeDef):
1759
- pass
1760
-
1761
- _RequiredRuleTypeDef = TypedDict(
1762
- "_RequiredRuleTypeDef",
1369
+ RuleTypeDef = TypedDict(
1370
+ "RuleTypeDef",
1763
1371
  {
1764
1372
  "RuleId": str,
1765
1373
  "Predicates": List[PredicateTypeDef],
1374
+ "Name": NotRequired[str],
1375
+ "MetricName": NotRequired[str],
1766
1376
  },
1767
1377
  )
1768
- _OptionalRuleTypeDef = TypedDict(
1769
- "_OptionalRuleTypeDef",
1770
- {
1771
- "Name": str,
1772
- "MetricName": str,
1773
- },
1774
- total=False,
1775
- )
1776
-
1777
- class RuleTypeDef(_RequiredRuleTypeDef, _OptionalRuleTypeDef):
1778
- pass
1779
-
1780
1378
  RuleUpdateTypeDef = TypedDict(
1781
1379
  "RuleUpdateTypeDef",
1782
1380
  {
@@ -1784,7 +1382,6 @@ RuleUpdateTypeDef = TypedDict(
1784
1382
  "Predicate": PredicateTypeDef,
1785
1383
  },
1786
1384
  )
1787
-
1788
1385
  UpdateRegexPatternSetRequestRequestTypeDef = TypedDict(
1789
1386
  "UpdateRegexPatternSetRequestRequestTypeDef",
1790
1387
  {
@@ -1793,7 +1390,6 @@ UpdateRegexPatternSetRequestRequestTypeDef = TypedDict(
1793
1390
  "ChangeToken": str,
1794
1391
  },
1795
1392
  )
1796
-
1797
1393
  TimeWindowTypeDef = TypedDict(
1798
1394
  "TimeWindowTypeDef",
1799
1395
  {
@@ -1801,37 +1397,14 @@ TimeWindowTypeDef = TypedDict(
1801
1397
  "EndTime": TimestampTypeDef,
1802
1398
  },
1803
1399
  )
1804
-
1805
1400
  ListActivatedRulesInRuleGroupResponseTypeDef = TypedDict(
1806
1401
  "ListActivatedRulesInRuleGroupResponseTypeDef",
1807
1402
  {
1808
1403
  "NextMarker": str,
1809
- "ActivatedRules": List[ActivatedRuleOutputTypeDef],
1404
+ "ActivatedRules": List[ActivatedRuleTypeDef],
1810
1405
  "ResponseMetadata": ResponseMetadataTypeDef,
1811
1406
  },
1812
1407
  )
1813
-
1814
- _RequiredWebACLTypeDef = TypedDict(
1815
- "_RequiredWebACLTypeDef",
1816
- {
1817
- "WebACLId": str,
1818
- "DefaultAction": WafActionTypeDef,
1819
- "Rules": List[ActivatedRuleOutputTypeDef],
1820
- },
1821
- )
1822
- _OptionalWebACLTypeDef = TypedDict(
1823
- "_OptionalWebACLTypeDef",
1824
- {
1825
- "Name": str,
1826
- "MetricName": str,
1827
- "WebACLArn": str,
1828
- },
1829
- total=False,
1830
- )
1831
-
1832
- class WebACLTypeDef(_RequiredWebACLTypeDef, _OptionalWebACLTypeDef):
1833
- pass
1834
-
1835
1408
  RuleGroupUpdateTypeDef = TypedDict(
1836
1409
  "RuleGroupUpdateTypeDef",
1837
1410
  {
@@ -1839,7 +1412,17 @@ RuleGroupUpdateTypeDef = TypedDict(
1839
1412
  "ActivatedRule": ActivatedRuleTypeDef,
1840
1413
  },
1841
1414
  )
1842
-
1415
+ WebACLTypeDef = TypedDict(
1416
+ "WebACLTypeDef",
1417
+ {
1418
+ "WebACLId": str,
1419
+ "DefaultAction": WafActionTypeDef,
1420
+ "Rules": List[ActivatedRuleTypeDef],
1421
+ "Name": NotRequired[str],
1422
+ "MetricName": NotRequired[str],
1423
+ "WebACLArn": NotRequired[str],
1424
+ },
1425
+ )
1843
1426
  WebACLUpdateTypeDef = TypedDict(
1844
1427
  "WebACLUpdateTypeDef",
1845
1428
  {
@@ -1847,25 +1430,14 @@ WebACLUpdateTypeDef = TypedDict(
1847
1430
  "ActivatedRule": ActivatedRuleTypeDef,
1848
1431
  },
1849
1432
  )
1850
-
1851
- _RequiredByteMatchSetTypeDef = TypedDict(
1852
- "_RequiredByteMatchSetTypeDef",
1433
+ ByteMatchSetTypeDef = TypedDict(
1434
+ "ByteMatchSetTypeDef",
1853
1435
  {
1854
1436
  "ByteMatchSetId": str,
1855
- "ByteMatchTuples": List[ByteMatchTupleOutputTypeDef],
1437
+ "ByteMatchTuples": List[ByteMatchTupleTypeDef],
1438
+ "Name": NotRequired[str],
1856
1439
  },
1857
1440
  )
1858
- _OptionalByteMatchSetTypeDef = TypedDict(
1859
- "_OptionalByteMatchSetTypeDef",
1860
- {
1861
- "Name": str,
1862
- },
1863
- total=False,
1864
- )
1865
-
1866
- class ByteMatchSetTypeDef(_RequiredByteMatchSetTypeDef, _OptionalByteMatchSetTypeDef):
1867
- pass
1868
-
1869
1441
  ByteMatchSetUpdateTypeDef = TypedDict(
1870
1442
  "ByteMatchSetUpdateTypeDef",
1871
1443
  {
@@ -1873,52 +1445,42 @@ ByteMatchSetUpdateTypeDef = TypedDict(
1873
1445
  "ByteMatchTuple": ByteMatchTupleTypeDef,
1874
1446
  },
1875
1447
  )
1876
-
1877
1448
  GetLoggingConfigurationResponseTypeDef = TypedDict(
1878
1449
  "GetLoggingConfigurationResponseTypeDef",
1879
1450
  {
1880
- "LoggingConfiguration": LoggingConfigurationOutputTypeDef,
1451
+ "LoggingConfiguration": LoggingConfigurationTypeDef,
1881
1452
  "ResponseMetadata": ResponseMetadataTypeDef,
1882
1453
  },
1883
1454
  )
1884
-
1885
1455
  ListLoggingConfigurationsResponseTypeDef = TypedDict(
1886
1456
  "ListLoggingConfigurationsResponseTypeDef",
1887
1457
  {
1888
- "LoggingConfigurations": List[LoggingConfigurationOutputTypeDef],
1458
+ "LoggingConfigurations": List[LoggingConfigurationTypeDef],
1889
1459
  "NextMarker": str,
1890
1460
  "ResponseMetadata": ResponseMetadataTypeDef,
1891
1461
  },
1892
1462
  )
1893
-
1894
- PutLoggingConfigurationResponseTypeDef = TypedDict(
1895
- "PutLoggingConfigurationResponseTypeDef",
1463
+ PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
1464
+ "PutLoggingConfigurationRequestRequestTypeDef",
1896
1465
  {
1897
- "LoggingConfiguration": LoggingConfigurationOutputTypeDef,
1898
- "ResponseMetadata": ResponseMetadataTypeDef,
1466
+ "LoggingConfiguration": LoggingConfigurationTypeDef,
1899
1467
  },
1900
1468
  )
1901
-
1902
- LoggingConfigurationUnionTypeDef = Union[
1903
- LoggingConfigurationTypeDef, LoggingConfigurationOutputTypeDef
1904
- ]
1905
- PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
1906
- "PutLoggingConfigurationRequestRequestTypeDef",
1469
+ PutLoggingConfigurationResponseTypeDef = TypedDict(
1470
+ "PutLoggingConfigurationResponseTypeDef",
1907
1471
  {
1908
1472
  "LoggingConfiguration": LoggingConfigurationTypeDef,
1473
+ "ResponseMetadata": ResponseMetadataTypeDef,
1909
1474
  },
1910
1475
  )
1911
-
1912
1476
  RegexMatchSetTypeDef = TypedDict(
1913
1477
  "RegexMatchSetTypeDef",
1914
1478
  {
1915
- "RegexMatchSetId": str,
1916
- "Name": str,
1917
- "RegexMatchTuples": List[RegexMatchTupleTypeDef],
1479
+ "RegexMatchSetId": NotRequired[str],
1480
+ "Name": NotRequired[str],
1481
+ "RegexMatchTuples": NotRequired[List[RegexMatchTupleTypeDef]],
1918
1482
  },
1919
- total=False,
1920
1483
  )
1921
-
1922
1484
  RegexMatchSetUpdateTypeDef = TypedDict(
1923
1485
  "RegexMatchSetUpdateTypeDef",
1924
1486
  {
@@ -1926,27 +1488,14 @@ RegexMatchSetUpdateTypeDef = TypedDict(
1926
1488
  "RegexMatchTuple": RegexMatchTupleTypeDef,
1927
1489
  },
1928
1490
  )
1929
-
1930
- _RequiredSizeConstraintSetTypeDef = TypedDict(
1931
- "_RequiredSizeConstraintSetTypeDef",
1491
+ SizeConstraintSetTypeDef = TypedDict(
1492
+ "SizeConstraintSetTypeDef",
1932
1493
  {
1933
1494
  "SizeConstraintSetId": str,
1934
1495
  "SizeConstraints": List[SizeConstraintTypeDef],
1496
+ "Name": NotRequired[str],
1935
1497
  },
1936
1498
  )
1937
- _OptionalSizeConstraintSetTypeDef = TypedDict(
1938
- "_OptionalSizeConstraintSetTypeDef",
1939
- {
1940
- "Name": str,
1941
- },
1942
- total=False,
1943
- )
1944
-
1945
- class SizeConstraintSetTypeDef(
1946
- _RequiredSizeConstraintSetTypeDef, _OptionalSizeConstraintSetTypeDef
1947
- ):
1948
- pass
1949
-
1950
1499
  SizeConstraintSetUpdateTypeDef = TypedDict(
1951
1500
  "SizeConstraintSetUpdateTypeDef",
1952
1501
  {
@@ -1954,27 +1503,14 @@ SizeConstraintSetUpdateTypeDef = TypedDict(
1954
1503
  "SizeConstraint": SizeConstraintTypeDef,
1955
1504
  },
1956
1505
  )
1957
-
1958
- _RequiredSqlInjectionMatchSetTypeDef = TypedDict(
1959
- "_RequiredSqlInjectionMatchSetTypeDef",
1506
+ SqlInjectionMatchSetTypeDef = TypedDict(
1507
+ "SqlInjectionMatchSetTypeDef",
1960
1508
  {
1961
1509
  "SqlInjectionMatchSetId": str,
1962
1510
  "SqlInjectionMatchTuples": List[SqlInjectionMatchTupleTypeDef],
1511
+ "Name": NotRequired[str],
1963
1512
  },
1964
1513
  )
1965
- _OptionalSqlInjectionMatchSetTypeDef = TypedDict(
1966
- "_OptionalSqlInjectionMatchSetTypeDef",
1967
- {
1968
- "Name": str,
1969
- },
1970
- total=False,
1971
- )
1972
-
1973
- class SqlInjectionMatchSetTypeDef(
1974
- _RequiredSqlInjectionMatchSetTypeDef, _OptionalSqlInjectionMatchSetTypeDef
1975
- ):
1976
- pass
1977
-
1978
1514
  SqlInjectionMatchSetUpdateTypeDef = TypedDict(
1979
1515
  "SqlInjectionMatchSetUpdateTypeDef",
1980
1516
  {
@@ -1982,25 +1518,14 @@ SqlInjectionMatchSetUpdateTypeDef = TypedDict(
1982
1518
  "SqlInjectionMatchTuple": SqlInjectionMatchTupleTypeDef,
1983
1519
  },
1984
1520
  )
1985
-
1986
- _RequiredXssMatchSetTypeDef = TypedDict(
1987
- "_RequiredXssMatchSetTypeDef",
1521
+ XssMatchSetTypeDef = TypedDict(
1522
+ "XssMatchSetTypeDef",
1988
1523
  {
1989
1524
  "XssMatchSetId": str,
1990
1525
  "XssMatchTuples": List[XssMatchTupleTypeDef],
1526
+ "Name": NotRequired[str],
1991
1527
  },
1992
1528
  )
1993
- _OptionalXssMatchSetTypeDef = TypedDict(
1994
- "_OptionalXssMatchSetTypeDef",
1995
- {
1996
- "Name": str,
1997
- },
1998
- total=False,
1999
- )
2000
-
2001
- class XssMatchSetTypeDef(_RequiredXssMatchSetTypeDef, _OptionalXssMatchSetTypeDef):
2002
- pass
2003
-
2004
1529
  XssMatchSetUpdateTypeDef = TypedDict(
2005
1530
  "XssMatchSetUpdateTypeDef",
2006
1531
  {
@@ -2008,7 +1533,6 @@ XssMatchSetUpdateTypeDef = TypedDict(
2008
1533
  "XssMatchTuple": XssMatchTupleTypeDef,
2009
1534
  },
2010
1535
  )
2011
-
2012
1536
  ListTagsForResourceResponseTypeDef = TypedDict(
2013
1537
  "ListTagsForResourceResponseTypeDef",
2014
1538
  {
@@ -2017,7 +1541,6 @@ ListTagsForResourceResponseTypeDef = TypedDict(
2017
1541
  "ResponseMetadata": ResponseMetadataTypeDef,
2018
1542
  },
2019
1543
  )
2020
-
2021
1544
  CreateGeoMatchSetResponseTypeDef = TypedDict(
2022
1545
  "CreateGeoMatchSetResponseTypeDef",
2023
1546
  {
@@ -2026,7 +1549,6 @@ CreateGeoMatchSetResponseTypeDef = TypedDict(
2026
1549
  "ResponseMetadata": ResponseMetadataTypeDef,
2027
1550
  },
2028
1551
  )
2029
-
2030
1552
  GetGeoMatchSetResponseTypeDef = TypedDict(
2031
1553
  "GetGeoMatchSetResponseTypeDef",
2032
1554
  {
@@ -2034,7 +1556,6 @@ GetGeoMatchSetResponseTypeDef = TypedDict(
2034
1556
  "ResponseMetadata": ResponseMetadataTypeDef,
2035
1557
  },
2036
1558
  )
2037
-
2038
1559
  UpdateGeoMatchSetRequestRequestTypeDef = TypedDict(
2039
1560
  "UpdateGeoMatchSetRequestRequestTypeDef",
2040
1561
  {
@@ -2043,29 +1564,16 @@ UpdateGeoMatchSetRequestRequestTypeDef = TypedDict(
2043
1564
  "Updates": Sequence[GeoMatchSetUpdateTypeDef],
2044
1565
  },
2045
1566
  )
2046
-
2047
- _RequiredSampledHTTPRequestTypeDef = TypedDict(
2048
- "_RequiredSampledHTTPRequestTypeDef",
1567
+ SampledHTTPRequestTypeDef = TypedDict(
1568
+ "SampledHTTPRequestTypeDef",
2049
1569
  {
2050
1570
  "Request": HTTPRequestTypeDef,
2051
1571
  "Weight": int,
1572
+ "Timestamp": NotRequired[datetime],
1573
+ "Action": NotRequired[str],
1574
+ "RuleWithinRuleGroup": NotRequired[str],
2052
1575
  },
2053
1576
  )
2054
- _OptionalSampledHTTPRequestTypeDef = TypedDict(
2055
- "_OptionalSampledHTTPRequestTypeDef",
2056
- {
2057
- "Timestamp": datetime,
2058
- "Action": str,
2059
- "RuleWithinRuleGroup": str,
2060
- },
2061
- total=False,
2062
- )
2063
-
2064
- class SampledHTTPRequestTypeDef(
2065
- _RequiredSampledHTTPRequestTypeDef, _OptionalSampledHTTPRequestTypeDef
2066
- ):
2067
- pass
2068
-
2069
1577
  CreateIPSetResponseTypeDef = TypedDict(
2070
1578
  "CreateIPSetResponseTypeDef",
2071
1579
  {
@@ -2074,7 +1582,6 @@ CreateIPSetResponseTypeDef = TypedDict(
2074
1582
  "ResponseMetadata": ResponseMetadataTypeDef,
2075
1583
  },
2076
1584
  )
2077
-
2078
1585
  GetIPSetResponseTypeDef = TypedDict(
2079
1586
  "GetIPSetResponseTypeDef",
2080
1587
  {
@@ -2082,7 +1589,6 @@ GetIPSetResponseTypeDef = TypedDict(
2082
1589
  "ResponseMetadata": ResponseMetadataTypeDef,
2083
1590
  },
2084
1591
  )
2085
-
2086
1592
  UpdateIPSetRequestRequestTypeDef = TypedDict(
2087
1593
  "UpdateIPSetRequestRequestTypeDef",
2088
1594
  {
@@ -2091,7 +1597,6 @@ UpdateIPSetRequestRequestTypeDef = TypedDict(
2091
1597
  "Updates": Sequence[IPSetUpdateTypeDef],
2092
1598
  },
2093
1599
  )
2094
-
2095
1600
  CreateRateBasedRuleResponseTypeDef = TypedDict(
2096
1601
  "CreateRateBasedRuleResponseTypeDef",
2097
1602
  {
@@ -2100,7 +1605,6 @@ CreateRateBasedRuleResponseTypeDef = TypedDict(
2100
1605
  "ResponseMetadata": ResponseMetadataTypeDef,
2101
1606
  },
2102
1607
  )
2103
-
2104
1608
  GetRateBasedRuleResponseTypeDef = TypedDict(
2105
1609
  "GetRateBasedRuleResponseTypeDef",
2106
1610
  {
@@ -2108,7 +1612,6 @@ GetRateBasedRuleResponseTypeDef = TypedDict(
2108
1612
  "ResponseMetadata": ResponseMetadataTypeDef,
2109
1613
  },
2110
1614
  )
2111
-
2112
1615
  CreateRuleResponseTypeDef = TypedDict(
2113
1616
  "CreateRuleResponseTypeDef",
2114
1617
  {
@@ -2117,7 +1620,6 @@ CreateRuleResponseTypeDef = TypedDict(
2117
1620
  "ResponseMetadata": ResponseMetadataTypeDef,
2118
1621
  },
2119
1622
  )
2120
-
2121
1623
  GetRuleResponseTypeDef = TypedDict(
2122
1624
  "GetRuleResponseTypeDef",
2123
1625
  {
@@ -2125,7 +1627,6 @@ GetRuleResponseTypeDef = TypedDict(
2125
1627
  "ResponseMetadata": ResponseMetadataTypeDef,
2126
1628
  },
2127
1629
  )
2128
-
2129
1630
  UpdateRateBasedRuleRequestRequestTypeDef = TypedDict(
2130
1631
  "UpdateRateBasedRuleRequestRequestTypeDef",
2131
1632
  {
@@ -2135,7 +1636,6 @@ UpdateRateBasedRuleRequestRequestTypeDef = TypedDict(
2135
1636
  "RateLimit": int,
2136
1637
  },
2137
1638
  )
2138
-
2139
1639
  UpdateRuleRequestRequestTypeDef = TypedDict(
2140
1640
  "UpdateRuleRequestRequestTypeDef",
2141
1641
  {
@@ -2144,7 +1644,6 @@ UpdateRuleRequestRequestTypeDef = TypedDict(
2144
1644
  "Updates": Sequence[RuleUpdateTypeDef],
2145
1645
  },
2146
1646
  )
2147
-
2148
1647
  GetSampledRequestsRequestRequestTypeDef = TypedDict(
2149
1648
  "GetSampledRequestsRequestRequestTypeDef",
2150
1649
  {
@@ -2154,8 +1653,14 @@ GetSampledRequestsRequestRequestTypeDef = TypedDict(
2154
1653
  "MaxItems": int,
2155
1654
  },
2156
1655
  )
2157
-
2158
- TimeWindowUnionTypeDef = Union[TimeWindowTypeDef, TimeWindowOutputTypeDef]
1656
+ UpdateRuleGroupRequestRequestTypeDef = TypedDict(
1657
+ "UpdateRuleGroupRequestRequestTypeDef",
1658
+ {
1659
+ "RuleGroupId": str,
1660
+ "Updates": Sequence[RuleGroupUpdateTypeDef],
1661
+ "ChangeToken": str,
1662
+ },
1663
+ )
2159
1664
  CreateWebACLResponseTypeDef = TypedDict(
2160
1665
  "CreateWebACLResponseTypeDef",
2161
1666
  {
@@ -2164,7 +1669,6 @@ CreateWebACLResponseTypeDef = TypedDict(
2164
1669
  "ResponseMetadata": ResponseMetadataTypeDef,
2165
1670
  },
2166
1671
  )
2167
-
2168
1672
  GetWebACLResponseTypeDef = TypedDict(
2169
1673
  "GetWebACLResponseTypeDef",
2170
1674
  {
@@ -2172,37 +1676,15 @@ GetWebACLResponseTypeDef = TypedDict(
2172
1676
  "ResponseMetadata": ResponseMetadataTypeDef,
2173
1677
  },
2174
1678
  )
2175
-
2176
- UpdateRuleGroupRequestRequestTypeDef = TypedDict(
2177
- "UpdateRuleGroupRequestRequestTypeDef",
2178
- {
2179
- "RuleGroupId": str,
2180
- "Updates": Sequence[RuleGroupUpdateTypeDef],
2181
- "ChangeToken": str,
2182
- },
2183
- )
2184
-
2185
- _RequiredUpdateWebACLRequestRequestTypeDef = TypedDict(
2186
- "_RequiredUpdateWebACLRequestRequestTypeDef",
1679
+ UpdateWebACLRequestRequestTypeDef = TypedDict(
1680
+ "UpdateWebACLRequestRequestTypeDef",
2187
1681
  {
2188
1682
  "WebACLId": str,
2189
1683
  "ChangeToken": str,
1684
+ "Updates": NotRequired[Sequence[WebACLUpdateTypeDef]],
1685
+ "DefaultAction": NotRequired[WafActionTypeDef],
2190
1686
  },
2191
1687
  )
2192
- _OptionalUpdateWebACLRequestRequestTypeDef = TypedDict(
2193
- "_OptionalUpdateWebACLRequestRequestTypeDef",
2194
- {
2195
- "Updates": Sequence[WebACLUpdateTypeDef],
2196
- "DefaultAction": WafActionTypeDef,
2197
- },
2198
- total=False,
2199
- )
2200
-
2201
- class UpdateWebACLRequestRequestTypeDef(
2202
- _RequiredUpdateWebACLRequestRequestTypeDef, _OptionalUpdateWebACLRequestRequestTypeDef
2203
- ):
2204
- pass
2205
-
2206
1688
  CreateByteMatchSetResponseTypeDef = TypedDict(
2207
1689
  "CreateByteMatchSetResponseTypeDef",
2208
1690
  {
@@ -2211,7 +1693,6 @@ CreateByteMatchSetResponseTypeDef = TypedDict(
2211
1693
  "ResponseMetadata": ResponseMetadataTypeDef,
2212
1694
  },
2213
1695
  )
2214
-
2215
1696
  GetByteMatchSetResponseTypeDef = TypedDict(
2216
1697
  "GetByteMatchSetResponseTypeDef",
2217
1698
  {
@@ -2219,7 +1700,6 @@ GetByteMatchSetResponseTypeDef = TypedDict(
2219
1700
  "ResponseMetadata": ResponseMetadataTypeDef,
2220
1701
  },
2221
1702
  )
2222
-
2223
1703
  UpdateByteMatchSetRequestRequestTypeDef = TypedDict(
2224
1704
  "UpdateByteMatchSetRequestRequestTypeDef",
2225
1705
  {
@@ -2228,7 +1708,6 @@ UpdateByteMatchSetRequestRequestTypeDef = TypedDict(
2228
1708
  "Updates": Sequence[ByteMatchSetUpdateTypeDef],
2229
1709
  },
2230
1710
  )
2231
-
2232
1711
  CreateRegexMatchSetResponseTypeDef = TypedDict(
2233
1712
  "CreateRegexMatchSetResponseTypeDef",
2234
1713
  {
@@ -2237,7 +1716,6 @@ CreateRegexMatchSetResponseTypeDef = TypedDict(
2237
1716
  "ResponseMetadata": ResponseMetadataTypeDef,
2238
1717
  },
2239
1718
  )
2240
-
2241
1719
  GetRegexMatchSetResponseTypeDef = TypedDict(
2242
1720
  "GetRegexMatchSetResponseTypeDef",
2243
1721
  {
@@ -2245,7 +1723,6 @@ GetRegexMatchSetResponseTypeDef = TypedDict(
2245
1723
  "ResponseMetadata": ResponseMetadataTypeDef,
2246
1724
  },
2247
1725
  )
2248
-
2249
1726
  UpdateRegexMatchSetRequestRequestTypeDef = TypedDict(
2250
1727
  "UpdateRegexMatchSetRequestRequestTypeDef",
2251
1728
  {
@@ -2254,7 +1731,6 @@ UpdateRegexMatchSetRequestRequestTypeDef = TypedDict(
2254
1731
  "ChangeToken": str,
2255
1732
  },
2256
1733
  )
2257
-
2258
1734
  CreateSizeConstraintSetResponseTypeDef = TypedDict(
2259
1735
  "CreateSizeConstraintSetResponseTypeDef",
2260
1736
  {
@@ -2263,7 +1739,6 @@ CreateSizeConstraintSetResponseTypeDef = TypedDict(
2263
1739
  "ResponseMetadata": ResponseMetadataTypeDef,
2264
1740
  },
2265
1741
  )
2266
-
2267
1742
  GetSizeConstraintSetResponseTypeDef = TypedDict(
2268
1743
  "GetSizeConstraintSetResponseTypeDef",
2269
1744
  {
@@ -2271,7 +1746,6 @@ GetSizeConstraintSetResponseTypeDef = TypedDict(
2271
1746
  "ResponseMetadata": ResponseMetadataTypeDef,
2272
1747
  },
2273
1748
  )
2274
-
2275
1749
  UpdateSizeConstraintSetRequestRequestTypeDef = TypedDict(
2276
1750
  "UpdateSizeConstraintSetRequestRequestTypeDef",
2277
1751
  {
@@ -2280,7 +1754,6 @@ UpdateSizeConstraintSetRequestRequestTypeDef = TypedDict(
2280
1754
  "Updates": Sequence[SizeConstraintSetUpdateTypeDef],
2281
1755
  },
2282
1756
  )
2283
-
2284
1757
  CreateSqlInjectionMatchSetResponseTypeDef = TypedDict(
2285
1758
  "CreateSqlInjectionMatchSetResponseTypeDef",
2286
1759
  {
@@ -2289,7 +1762,6 @@ CreateSqlInjectionMatchSetResponseTypeDef = TypedDict(
2289
1762
  "ResponseMetadata": ResponseMetadataTypeDef,
2290
1763
  },
2291
1764
  )
2292
-
2293
1765
  GetSqlInjectionMatchSetResponseTypeDef = TypedDict(
2294
1766
  "GetSqlInjectionMatchSetResponseTypeDef",
2295
1767
  {
@@ -2297,7 +1769,6 @@ GetSqlInjectionMatchSetResponseTypeDef = TypedDict(
2297
1769
  "ResponseMetadata": ResponseMetadataTypeDef,
2298
1770
  },
2299
1771
  )
2300
-
2301
1772
  UpdateSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
2302
1773
  "UpdateSqlInjectionMatchSetRequestRequestTypeDef",
2303
1774
  {
@@ -2306,7 +1777,6 @@ UpdateSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
2306
1777
  "Updates": Sequence[SqlInjectionMatchSetUpdateTypeDef],
2307
1778
  },
2308
1779
  )
2309
-
2310
1780
  CreateXssMatchSetResponseTypeDef = TypedDict(
2311
1781
  "CreateXssMatchSetResponseTypeDef",
2312
1782
  {
@@ -2315,7 +1785,6 @@ CreateXssMatchSetResponseTypeDef = TypedDict(
2315
1785
  "ResponseMetadata": ResponseMetadataTypeDef,
2316
1786
  },
2317
1787
  )
2318
-
2319
1788
  GetXssMatchSetResponseTypeDef = TypedDict(
2320
1789
  "GetXssMatchSetResponseTypeDef",
2321
1790
  {
@@ -2323,7 +1792,6 @@ GetXssMatchSetResponseTypeDef = TypedDict(
2323
1792
  "ResponseMetadata": ResponseMetadataTypeDef,
2324
1793
  },
2325
1794
  )
2326
-
2327
1795
  UpdateXssMatchSetRequestRequestTypeDef = TypedDict(
2328
1796
  "UpdateXssMatchSetRequestRequestTypeDef",
2329
1797
  {
@@ -2332,13 +1800,12 @@ UpdateXssMatchSetRequestRequestTypeDef = TypedDict(
2332
1800
  "Updates": Sequence[XssMatchSetUpdateTypeDef],
2333
1801
  },
2334
1802
  )
2335
-
2336
1803
  GetSampledRequestsResponseTypeDef = TypedDict(
2337
1804
  "GetSampledRequestsResponseTypeDef",
2338
1805
  {
2339
1806
  "SampledRequests": List[SampledHTTPRequestTypeDef],
2340
1807
  "PopulationSize": int,
2341
- "TimeWindow": TimeWindowOutputTypeDef,
1808
+ "TimeWindow": TimeWindowTypeDef,
2342
1809
  "ResponseMetadata": ResponseMetadataTypeDef,
2343
1810
  },
2344
1811
  )