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