mypy-boto3-waf-regional 1.27.0__py3-none-any.whl → 1.28.16__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.

@@ -8,12 +8,14 @@ Usage::
8
8
  ```python
9
9
  from mypy_boto3_waf_regional.type_defs import ExcludedRuleTypeDef
10
10
 
11
- data: ExcludedRuleTypeDef = {...}
11
+ data: ExcludedRuleTypeDef = ...
12
12
  ```
13
13
  """
14
14
  import sys
15
15
  from datetime import datetime
16
- from typing import Dict, List, Sequence, Union
16
+ from typing import IO, Any, Dict, List, Sequence, Union
17
+
18
+ from botocore.response import StreamingBody
17
19
 
18
20
  from .literals import (
19
21
  ChangeActionType,
@@ -46,9 +48,11 @@ __all__ = (
46
48
  "WafActionTypeDef",
47
49
  "WafOverrideActionTypeDef",
48
50
  "AssociateWebACLRequestRequestTypeDef",
51
+ "BlobTypeDef",
49
52
  "ByteMatchSetSummaryTypeDef",
50
53
  "FieldToMatchTypeDef",
51
54
  "CreateByteMatchSetRequestRequestTypeDef",
55
+ "ResponseMetadataTypeDef",
52
56
  "CreateGeoMatchSetRequestRequestTypeDef",
53
57
  "CreateIPSetRequestRequestTypeDef",
54
58
  "TagTypeDef",
@@ -59,54 +63,37 @@ __all__ = (
59
63
  "CreateSizeConstraintSetRequestRequestTypeDef",
60
64
  "CreateSqlInjectionMatchSetRequestRequestTypeDef",
61
65
  "CreateWebACLMigrationStackRequestRequestTypeDef",
62
- "CreateWebACLMigrationStackResponseTypeDef",
63
66
  "CreateXssMatchSetRequestRequestTypeDef",
64
67
  "DeleteByteMatchSetRequestRequestTypeDef",
65
- "DeleteByteMatchSetResponseTypeDef",
66
68
  "DeleteGeoMatchSetRequestRequestTypeDef",
67
- "DeleteGeoMatchSetResponseTypeDef",
68
69
  "DeleteIPSetRequestRequestTypeDef",
69
- "DeleteIPSetResponseTypeDef",
70
70
  "DeleteLoggingConfigurationRequestRequestTypeDef",
71
71
  "DeletePermissionPolicyRequestRequestTypeDef",
72
72
  "DeleteRateBasedRuleRequestRequestTypeDef",
73
- "DeleteRateBasedRuleResponseTypeDef",
74
73
  "DeleteRegexMatchSetRequestRequestTypeDef",
75
- "DeleteRegexMatchSetResponseTypeDef",
76
74
  "DeleteRegexPatternSetRequestRequestTypeDef",
77
- "DeleteRegexPatternSetResponseTypeDef",
78
75
  "DeleteRuleGroupRequestRequestTypeDef",
79
- "DeleteRuleGroupResponseTypeDef",
80
76
  "DeleteRuleRequestRequestTypeDef",
81
- "DeleteRuleResponseTypeDef",
82
77
  "DeleteSizeConstraintSetRequestRequestTypeDef",
83
- "DeleteSizeConstraintSetResponseTypeDef",
84
78
  "DeleteSqlInjectionMatchSetRequestRequestTypeDef",
85
- "DeleteSqlInjectionMatchSetResponseTypeDef",
86
79
  "DeleteWebACLRequestRequestTypeDef",
87
- "DeleteWebACLResponseTypeDef",
88
80
  "DeleteXssMatchSetRequestRequestTypeDef",
89
- "DeleteXssMatchSetResponseTypeDef",
90
81
  "DisassociateWebACLRequestRequestTypeDef",
91
82
  "GeoMatchConstraintTypeDef",
92
83
  "GeoMatchSetSummaryTypeDef",
93
84
  "GetByteMatchSetRequestRequestTypeDef",
94
- "GetChangeTokenResponseTypeDef",
95
85
  "GetChangeTokenStatusRequestRequestTypeDef",
96
- "GetChangeTokenStatusResponseTypeDef",
97
86
  "GetGeoMatchSetRequestRequestTypeDef",
98
87
  "GetIPSetRequestRequestTypeDef",
99
88
  "GetLoggingConfigurationRequestRequestTypeDef",
100
89
  "GetPermissionPolicyRequestRequestTypeDef",
101
- "GetPermissionPolicyResponseTypeDef",
102
90
  "GetRateBasedRuleManagedKeysRequestRequestTypeDef",
103
- "GetRateBasedRuleManagedKeysResponseTypeDef",
104
91
  "GetRateBasedRuleRequestRequestTypeDef",
105
92
  "GetRegexMatchSetRequestRequestTypeDef",
106
93
  "GetRegexPatternSetRequestRequestTypeDef",
107
94
  "GetRuleGroupRequestRequestTypeDef",
108
95
  "GetRuleRequestRequestTypeDef",
109
- "TimeWindowTypeDef",
96
+ "TimeWindowOutputTypeDef",
110
97
  "GetSizeConstraintSetRequestRequestTypeDef",
111
98
  "GetSqlInjectionMatchSetRequestRequestTypeDef",
112
99
  "GetWebACLForResourceRequestRequestTypeDef",
@@ -128,7 +115,6 @@ __all__ = (
128
115
  "ListRegexPatternSetsRequestRequestTypeDef",
129
116
  "RegexPatternSetSummaryTypeDef",
130
117
  "ListResourcesForWebACLRequestRequestTypeDef",
131
- "ListResourcesForWebACLResponseTypeDef",
132
118
  "ListRuleGroupsRequestRequestTypeDef",
133
119
  "RuleGroupSummaryTypeDef",
134
120
  "ListRulesRequestRequestTypeDef",
@@ -145,8 +131,37 @@ __all__ = (
145
131
  "PredicateTypeDef",
146
132
  "PutPermissionPolicyRequestRequestTypeDef",
147
133
  "RegexPatternSetUpdateTypeDef",
148
- "ResponseMetadataTypeDef",
134
+ "TimestampTypeDef",
149
135
  "UntagResourceRequestRequestTypeDef",
136
+ "ActivatedRuleOutputTypeDef",
137
+ "ActivatedRuleTypeDef",
138
+ "ByteMatchTupleOutputTypeDef",
139
+ "ByteMatchTupleTypeDef",
140
+ "LoggingConfigurationOutputTypeDef",
141
+ "LoggingConfigurationTypeDef",
142
+ "RegexMatchTupleTypeDef",
143
+ "SizeConstraintTypeDef",
144
+ "SqlInjectionMatchTupleTypeDef",
145
+ "XssMatchTupleTypeDef",
146
+ "CreateWebACLMigrationStackResponseTypeDef",
147
+ "DeleteByteMatchSetResponseTypeDef",
148
+ "DeleteGeoMatchSetResponseTypeDef",
149
+ "DeleteIPSetResponseTypeDef",
150
+ "DeleteRateBasedRuleResponseTypeDef",
151
+ "DeleteRegexMatchSetResponseTypeDef",
152
+ "DeleteRegexPatternSetResponseTypeDef",
153
+ "DeleteRuleGroupResponseTypeDef",
154
+ "DeleteRuleResponseTypeDef",
155
+ "DeleteSizeConstraintSetResponseTypeDef",
156
+ "DeleteSqlInjectionMatchSetResponseTypeDef",
157
+ "DeleteWebACLResponseTypeDef",
158
+ "DeleteXssMatchSetResponseTypeDef",
159
+ "GetChangeTokenResponseTypeDef",
160
+ "GetChangeTokenStatusResponseTypeDef",
161
+ "GetPermissionPolicyResponseTypeDef",
162
+ "GetRateBasedRuleManagedKeysResponseTypeDef",
163
+ "ListByteMatchSetsResponseTypeDef",
164
+ "ListResourcesForWebACLResponseTypeDef",
150
165
  "UpdateByteMatchSetResponseTypeDef",
151
166
  "UpdateGeoMatchSetResponseTypeDef",
152
167
  "UpdateIPSetResponseTypeDef",
@@ -159,14 +174,6 @@ __all__ = (
159
174
  "UpdateSqlInjectionMatchSetResponseTypeDef",
160
175
  "UpdateWebACLResponseTypeDef",
161
176
  "UpdateXssMatchSetResponseTypeDef",
162
- "ActivatedRuleTypeDef",
163
- "ListByteMatchSetsResponseTypeDef",
164
- "ByteMatchTupleTypeDef",
165
- "LoggingConfigurationTypeDef",
166
- "RegexMatchTupleTypeDef",
167
- "SizeConstraintTypeDef",
168
- "SqlInjectionMatchTupleTypeDef",
169
- "XssMatchTupleTypeDef",
170
177
  "CreateRateBasedRuleRequestRequestTypeDef",
171
178
  "CreateRuleGroupRequestRequestTypeDef",
172
179
  "CreateRuleRequestRequestTypeDef",
@@ -180,7 +187,6 @@ __all__ = (
180
187
  "GeoMatchSetTypeDef",
181
188
  "GeoMatchSetUpdateTypeDef",
182
189
  "ListGeoMatchSetsResponseTypeDef",
183
- "GetSampledRequestsRequestRequestTypeDef",
184
190
  "GetWebACLForResourceResponseTypeDef",
185
191
  "ListWebACLsResponseTypeDef",
186
192
  "HTTPRequestTypeDef",
@@ -200,16 +206,18 @@ __all__ = (
200
206
  "RuleTypeDef",
201
207
  "RuleUpdateTypeDef",
202
208
  "UpdateRegexPatternSetRequestRequestTypeDef",
209
+ "TimeWindowTypeDef",
203
210
  "ListActivatedRulesInRuleGroupResponseTypeDef",
204
- "RuleGroupUpdateTypeDef",
205
211
  "WebACLTypeDef",
212
+ "RuleGroupUpdateTypeDef",
206
213
  "WebACLUpdateTypeDef",
207
214
  "ByteMatchSetTypeDef",
208
215
  "ByteMatchSetUpdateTypeDef",
209
216
  "GetLoggingConfigurationResponseTypeDef",
210
217
  "ListLoggingConfigurationsResponseTypeDef",
211
- "PutLoggingConfigurationRequestRequestTypeDef",
212
218
  "PutLoggingConfigurationResponseTypeDef",
219
+ "LoggingConfigurationUnionTypeDef",
220
+ "PutLoggingConfigurationRequestRequestTypeDef",
213
221
  "RegexMatchSetTypeDef",
214
222
  "RegexMatchSetUpdateTypeDef",
215
223
  "SizeConstraintSetTypeDef",
@@ -232,9 +240,11 @@ __all__ = (
232
240
  "GetRuleResponseTypeDef",
233
241
  "UpdateRateBasedRuleRequestRequestTypeDef",
234
242
  "UpdateRuleRequestRequestTypeDef",
235
- "UpdateRuleGroupRequestRequestTypeDef",
243
+ "GetSampledRequestsRequestRequestTypeDef",
244
+ "TimeWindowUnionTypeDef",
236
245
  "CreateWebACLResponseTypeDef",
237
246
  "GetWebACLResponseTypeDef",
247
+ "UpdateRuleGroupRequestRequestTypeDef",
238
248
  "UpdateWebACLRequestRequestTypeDef",
239
249
  "CreateByteMatchSetResponseTypeDef",
240
250
  "GetByteMatchSetResponseTypeDef",
@@ -283,6 +293,7 @@ AssociateWebACLRequestRequestTypeDef = TypedDict(
283
293
  },
284
294
  )
285
295
 
296
+ BlobTypeDef = Union[str, bytes, IO[Any], StreamingBody]
286
297
  ByteMatchSetSummaryTypeDef = TypedDict(
287
298
  "ByteMatchSetSummaryTypeDef",
288
299
  {
@@ -318,6 +329,17 @@ CreateByteMatchSetRequestRequestTypeDef = TypedDict(
318
329
  },
319
330
  )
320
331
 
332
+ ResponseMetadataTypeDef = TypedDict(
333
+ "ResponseMetadataTypeDef",
334
+ {
335
+ "RequestId": str,
336
+ "HostId": str,
337
+ "HTTPStatusCode": int,
338
+ "HTTPHeaders": Dict[str, str],
339
+ "RetryAttempts": int,
340
+ },
341
+ )
342
+
321
343
  CreateGeoMatchSetRequestRequestTypeDef = TypedDict(
322
344
  "CreateGeoMatchSetRequestRequestTypeDef",
323
345
  {
@@ -423,14 +445,6 @@ CreateWebACLMigrationStackRequestRequestTypeDef = TypedDict(
423
445
  },
424
446
  )
425
447
 
426
- CreateWebACLMigrationStackResponseTypeDef = TypedDict(
427
- "CreateWebACLMigrationStackResponseTypeDef",
428
- {
429
- "S3ObjectUrl": str,
430
- "ResponseMetadata": "ResponseMetadataTypeDef",
431
- },
432
- )
433
-
434
448
  CreateXssMatchSetRequestRequestTypeDef = TypedDict(
435
449
  "CreateXssMatchSetRequestRequestTypeDef",
436
450
  {
@@ -447,14 +461,6 @@ DeleteByteMatchSetRequestRequestTypeDef = TypedDict(
447
461
  },
448
462
  )
449
463
 
450
- DeleteByteMatchSetResponseTypeDef = TypedDict(
451
- "DeleteByteMatchSetResponseTypeDef",
452
- {
453
- "ChangeToken": str,
454
- "ResponseMetadata": "ResponseMetadataTypeDef",
455
- },
456
- )
457
-
458
464
  DeleteGeoMatchSetRequestRequestTypeDef = TypedDict(
459
465
  "DeleteGeoMatchSetRequestRequestTypeDef",
460
466
  {
@@ -463,14 +469,6 @@ DeleteGeoMatchSetRequestRequestTypeDef = TypedDict(
463
469
  },
464
470
  )
465
471
 
466
- DeleteGeoMatchSetResponseTypeDef = TypedDict(
467
- "DeleteGeoMatchSetResponseTypeDef",
468
- {
469
- "ChangeToken": str,
470
- "ResponseMetadata": "ResponseMetadataTypeDef",
471
- },
472
- )
473
-
474
472
  DeleteIPSetRequestRequestTypeDef = TypedDict(
475
473
  "DeleteIPSetRequestRequestTypeDef",
476
474
  {
@@ -479,14 +477,6 @@ DeleteIPSetRequestRequestTypeDef = TypedDict(
479
477
  },
480
478
  )
481
479
 
482
- DeleteIPSetResponseTypeDef = TypedDict(
483
- "DeleteIPSetResponseTypeDef",
484
- {
485
- "ChangeToken": str,
486
- "ResponseMetadata": "ResponseMetadataTypeDef",
487
- },
488
- )
489
-
490
480
  DeleteLoggingConfigurationRequestRequestTypeDef = TypedDict(
491
481
  "DeleteLoggingConfigurationRequestRequestTypeDef",
492
482
  {
@@ -509,14 +499,6 @@ DeleteRateBasedRuleRequestRequestTypeDef = TypedDict(
509
499
  },
510
500
  )
511
501
 
512
- DeleteRateBasedRuleResponseTypeDef = TypedDict(
513
- "DeleteRateBasedRuleResponseTypeDef",
514
- {
515
- "ChangeToken": str,
516
- "ResponseMetadata": "ResponseMetadataTypeDef",
517
- },
518
- )
519
-
520
502
  DeleteRegexMatchSetRequestRequestTypeDef = TypedDict(
521
503
  "DeleteRegexMatchSetRequestRequestTypeDef",
522
504
  {
@@ -525,14 +507,6 @@ DeleteRegexMatchSetRequestRequestTypeDef = TypedDict(
525
507
  },
526
508
  )
527
509
 
528
- DeleteRegexMatchSetResponseTypeDef = TypedDict(
529
- "DeleteRegexMatchSetResponseTypeDef",
530
- {
531
- "ChangeToken": str,
532
- "ResponseMetadata": "ResponseMetadataTypeDef",
533
- },
534
- )
535
-
536
510
  DeleteRegexPatternSetRequestRequestTypeDef = TypedDict(
537
511
  "DeleteRegexPatternSetRequestRequestTypeDef",
538
512
  {
@@ -541,14 +515,6 @@ DeleteRegexPatternSetRequestRequestTypeDef = TypedDict(
541
515
  },
542
516
  )
543
517
 
544
- DeleteRegexPatternSetResponseTypeDef = TypedDict(
545
- "DeleteRegexPatternSetResponseTypeDef",
546
- {
547
- "ChangeToken": str,
548
- "ResponseMetadata": "ResponseMetadataTypeDef",
549
- },
550
- )
551
-
552
518
  DeleteRuleGroupRequestRequestTypeDef = TypedDict(
553
519
  "DeleteRuleGroupRequestRequestTypeDef",
554
520
  {
@@ -557,14 +523,6 @@ DeleteRuleGroupRequestRequestTypeDef = TypedDict(
557
523
  },
558
524
  )
559
525
 
560
- DeleteRuleGroupResponseTypeDef = TypedDict(
561
- "DeleteRuleGroupResponseTypeDef",
562
- {
563
- "ChangeToken": str,
564
- "ResponseMetadata": "ResponseMetadataTypeDef",
565
- },
566
- )
567
-
568
526
  DeleteRuleRequestRequestTypeDef = TypedDict(
569
527
  "DeleteRuleRequestRequestTypeDef",
570
528
  {
@@ -573,14 +531,6 @@ DeleteRuleRequestRequestTypeDef = TypedDict(
573
531
  },
574
532
  )
575
533
 
576
- DeleteRuleResponseTypeDef = TypedDict(
577
- "DeleteRuleResponseTypeDef",
578
- {
579
- "ChangeToken": str,
580
- "ResponseMetadata": "ResponseMetadataTypeDef",
581
- },
582
- )
583
-
584
534
  DeleteSizeConstraintSetRequestRequestTypeDef = TypedDict(
585
535
  "DeleteSizeConstraintSetRequestRequestTypeDef",
586
536
  {
@@ -589,14 +539,6 @@ DeleteSizeConstraintSetRequestRequestTypeDef = TypedDict(
589
539
  },
590
540
  )
591
541
 
592
- DeleteSizeConstraintSetResponseTypeDef = TypedDict(
593
- "DeleteSizeConstraintSetResponseTypeDef",
594
- {
595
- "ChangeToken": str,
596
- "ResponseMetadata": "ResponseMetadataTypeDef",
597
- },
598
- )
599
-
600
542
  DeleteSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
601
543
  "DeleteSqlInjectionMatchSetRequestRequestTypeDef",
602
544
  {
@@ -605,14 +547,6 @@ DeleteSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
605
547
  },
606
548
  )
607
549
 
608
- DeleteSqlInjectionMatchSetResponseTypeDef = TypedDict(
609
- "DeleteSqlInjectionMatchSetResponseTypeDef",
610
- {
611
- "ChangeToken": str,
612
- "ResponseMetadata": "ResponseMetadataTypeDef",
613
- },
614
- )
615
-
616
550
  DeleteWebACLRequestRequestTypeDef = TypedDict(
617
551
  "DeleteWebACLRequestRequestTypeDef",
618
552
  {
@@ -621,14 +555,6 @@ DeleteWebACLRequestRequestTypeDef = TypedDict(
621
555
  },
622
556
  )
623
557
 
624
- DeleteWebACLResponseTypeDef = TypedDict(
625
- "DeleteWebACLResponseTypeDef",
626
- {
627
- "ChangeToken": str,
628
- "ResponseMetadata": "ResponseMetadataTypeDef",
629
- },
630
- )
631
-
632
558
  DeleteXssMatchSetRequestRequestTypeDef = TypedDict(
633
559
  "DeleteXssMatchSetRequestRequestTypeDef",
634
560
  {
@@ -637,14 +563,6 @@ DeleteXssMatchSetRequestRequestTypeDef = TypedDict(
637
563
  },
638
564
  )
639
565
 
640
- DeleteXssMatchSetResponseTypeDef = TypedDict(
641
- "DeleteXssMatchSetResponseTypeDef",
642
- {
643
- "ChangeToken": str,
644
- "ResponseMetadata": "ResponseMetadataTypeDef",
645
- },
646
- )
647
-
648
566
  DisassociateWebACLRequestRequestTypeDef = TypedDict(
649
567
  "DisassociateWebACLRequestRequestTypeDef",
650
568
  {
@@ -675,14 +593,6 @@ GetByteMatchSetRequestRequestTypeDef = TypedDict(
675
593
  },
676
594
  )
677
595
 
678
- GetChangeTokenResponseTypeDef = TypedDict(
679
- "GetChangeTokenResponseTypeDef",
680
- {
681
- "ChangeToken": str,
682
- "ResponseMetadata": "ResponseMetadataTypeDef",
683
- },
684
- )
685
-
686
596
  GetChangeTokenStatusRequestRequestTypeDef = TypedDict(
687
597
  "GetChangeTokenStatusRequestRequestTypeDef",
688
598
  {
@@ -690,14 +600,6 @@ GetChangeTokenStatusRequestRequestTypeDef = TypedDict(
690
600
  },
691
601
  )
692
602
 
693
- GetChangeTokenStatusResponseTypeDef = TypedDict(
694
- "GetChangeTokenStatusResponseTypeDef",
695
- {
696
- "ChangeTokenStatus": ChangeTokenStatusType,
697
- "ResponseMetadata": "ResponseMetadataTypeDef",
698
- },
699
- )
700
-
701
603
  GetGeoMatchSetRequestRequestTypeDef = TypedDict(
702
604
  "GetGeoMatchSetRequestRequestTypeDef",
703
605
  {
@@ -726,14 +628,6 @@ GetPermissionPolicyRequestRequestTypeDef = TypedDict(
726
628
  },
727
629
  )
728
630
 
729
- GetPermissionPolicyResponseTypeDef = TypedDict(
730
- "GetPermissionPolicyResponseTypeDef",
731
- {
732
- "Policy": str,
733
- "ResponseMetadata": "ResponseMetadataTypeDef",
734
- },
735
- )
736
-
737
631
  _RequiredGetRateBasedRuleManagedKeysRequestRequestTypeDef = TypedDict(
738
632
  "_RequiredGetRateBasedRuleManagedKeysRequestRequestTypeDef",
739
633
  {
@@ -756,15 +650,6 @@ class GetRateBasedRuleManagedKeysRequestRequestTypeDef(
756
650
  pass
757
651
 
758
652
 
759
- GetRateBasedRuleManagedKeysResponseTypeDef = TypedDict(
760
- "GetRateBasedRuleManagedKeysResponseTypeDef",
761
- {
762
- "ManagedKeys": List[str],
763
- "NextMarker": str,
764
- "ResponseMetadata": "ResponseMetadataTypeDef",
765
- },
766
- )
767
-
768
653
  GetRateBasedRuleRequestRequestTypeDef = TypedDict(
769
654
  "GetRateBasedRuleRequestRequestTypeDef",
770
655
  {
@@ -800,11 +685,11 @@ GetRuleRequestRequestTypeDef = TypedDict(
800
685
  },
801
686
  )
802
687
 
803
- TimeWindowTypeDef = TypedDict(
804
- "TimeWindowTypeDef",
688
+ TimeWindowOutputTypeDef = TypedDict(
689
+ "TimeWindowOutputTypeDef",
805
690
  {
806
- "StartTime": Union[datetime, str],
807
- "EndTime": Union[datetime, str],
691
+ "StartTime": datetime,
692
+ "EndTime": datetime,
808
693
  },
809
694
  )
810
695
 
@@ -995,14 +880,6 @@ class ListResourcesForWebACLRequestRequestTypeDef(
995
880
  pass
996
881
 
997
882
 
998
- ListResourcesForWebACLResponseTypeDef = TypedDict(
999
- "ListResourcesForWebACLResponseTypeDef",
1000
- {
1001
- "ResourceArns": List[str],
1002
- "ResponseMetadata": "ResponseMetadataTypeDef",
1003
- },
1004
- )
1005
-
1006
883
  ListRuleGroupsRequestRequestTypeDef = TypedDict(
1007
884
  "ListRuleGroupsRequestRequestTypeDef",
1008
885
  {
@@ -1066,111 +943,402 @@ SqlInjectionMatchSetSummaryTypeDef = TypedDict(
1066
943
  ListSubscribedRuleGroupsRequestRequestTypeDef = TypedDict(
1067
944
  "ListSubscribedRuleGroupsRequestRequestTypeDef",
1068
945
  {
1069
- "NextMarker": str,
1070
- "Limit": int,
946
+ "NextMarker": str,
947
+ "Limit": int,
948
+ },
949
+ total=False,
950
+ )
951
+
952
+ SubscribedRuleGroupSummaryTypeDef = TypedDict(
953
+ "SubscribedRuleGroupSummaryTypeDef",
954
+ {
955
+ "RuleGroupId": str,
956
+ "Name": str,
957
+ "MetricName": str,
958
+ },
959
+ )
960
+
961
+ _RequiredListTagsForResourceRequestRequestTypeDef = TypedDict(
962
+ "_RequiredListTagsForResourceRequestRequestTypeDef",
963
+ {
964
+ "ResourceARN": str,
965
+ },
966
+ )
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
+ ListWebACLsRequestRequestTypeDef = TypedDict(
985
+ "ListWebACLsRequestRequestTypeDef",
986
+ {
987
+ "NextMarker": str,
988
+ "Limit": int,
989
+ },
990
+ total=False,
991
+ )
992
+
993
+ ListXssMatchSetsRequestRequestTypeDef = TypedDict(
994
+ "ListXssMatchSetsRequestRequestTypeDef",
995
+ {
996
+ "NextMarker": str,
997
+ "Limit": int,
998
+ },
999
+ total=False,
1000
+ )
1001
+
1002
+ XssMatchSetSummaryTypeDef = TypedDict(
1003
+ "XssMatchSetSummaryTypeDef",
1004
+ {
1005
+ "XssMatchSetId": str,
1006
+ "Name": str,
1007
+ },
1008
+ )
1009
+
1010
+ PredicateTypeDef = TypedDict(
1011
+ "PredicateTypeDef",
1012
+ {
1013
+ "Negated": bool,
1014
+ "Type": PredicateTypeType,
1015
+ "DataId": str,
1016
+ },
1017
+ )
1018
+
1019
+ PutPermissionPolicyRequestRequestTypeDef = TypedDict(
1020
+ "PutPermissionPolicyRequestRequestTypeDef",
1021
+ {
1022
+ "ResourceArn": str,
1023
+ "Policy": str,
1024
+ },
1025
+ )
1026
+
1027
+ RegexPatternSetUpdateTypeDef = TypedDict(
1028
+ "RegexPatternSetUpdateTypeDef",
1029
+ {
1030
+ "Action": ChangeActionType,
1031
+ "RegexPatternString": str,
1032
+ },
1033
+ )
1034
+
1035
+ TimestampTypeDef = Union[datetime, str]
1036
+ UntagResourceRequestRequestTypeDef = TypedDict(
1037
+ "UntagResourceRequestRequestTypeDef",
1038
+ {
1039
+ "ResourceARN": str,
1040
+ "TagKeys": Sequence[str],
1041
+ },
1042
+ )
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",
1071
+ {
1072
+ "Priority": int,
1073
+ "RuleId": str,
1074
+ },
1075
+ )
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
+ ByteMatchTupleTypeDef = TypedDict(
1103
+ "ByteMatchTupleTypeDef",
1104
+ {
1105
+ "FieldToMatch": FieldToMatchTypeDef,
1106
+ "TargetString": BlobTypeDef,
1107
+ "TextTransformation": TextTransformationType,
1108
+ "PositionalConstraint": PositionalConstraintType,
1109
+ },
1110
+ )
1111
+
1112
+ _RequiredLoggingConfigurationOutputTypeDef = TypedDict(
1113
+ "_RequiredLoggingConfigurationOutputTypeDef",
1114
+ {
1115
+ "ResourceArn": str,
1116
+ "LogDestinationConfigs": List[str],
1117
+ },
1118
+ )
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
+ RegexMatchTupleTypeDef = TypedDict(
1157
+ "RegexMatchTupleTypeDef",
1158
+ {
1159
+ "FieldToMatch": FieldToMatchTypeDef,
1160
+ "TextTransformation": TextTransformationType,
1161
+ "RegexPatternSetId": str,
1162
+ },
1163
+ )
1164
+
1165
+ SizeConstraintTypeDef = TypedDict(
1166
+ "SizeConstraintTypeDef",
1167
+ {
1168
+ "FieldToMatch": FieldToMatchTypeDef,
1169
+ "TextTransformation": TextTransformationType,
1170
+ "ComparisonOperator": ComparisonOperatorType,
1171
+ "Size": int,
1172
+ },
1173
+ )
1174
+
1175
+ SqlInjectionMatchTupleTypeDef = TypedDict(
1176
+ "SqlInjectionMatchTupleTypeDef",
1177
+ {
1178
+ "FieldToMatch": FieldToMatchTypeDef,
1179
+ "TextTransformation": TextTransformationType,
1180
+ },
1181
+ )
1182
+
1183
+ XssMatchTupleTypeDef = TypedDict(
1184
+ "XssMatchTupleTypeDef",
1185
+ {
1186
+ "FieldToMatch": FieldToMatchTypeDef,
1187
+ "TextTransformation": TextTransformationType,
1188
+ },
1189
+ )
1190
+
1191
+ CreateWebACLMigrationStackResponseTypeDef = TypedDict(
1192
+ "CreateWebACLMigrationStackResponseTypeDef",
1193
+ {
1194
+ "S3ObjectUrl": str,
1195
+ "ResponseMetadata": ResponseMetadataTypeDef,
1196
+ },
1197
+ )
1198
+
1199
+ DeleteByteMatchSetResponseTypeDef = TypedDict(
1200
+ "DeleteByteMatchSetResponseTypeDef",
1201
+ {
1202
+ "ChangeToken": str,
1203
+ "ResponseMetadata": ResponseMetadataTypeDef,
1204
+ },
1205
+ )
1206
+
1207
+ DeleteGeoMatchSetResponseTypeDef = TypedDict(
1208
+ "DeleteGeoMatchSetResponseTypeDef",
1209
+ {
1210
+ "ChangeToken": str,
1211
+ "ResponseMetadata": ResponseMetadataTypeDef,
1212
+ },
1213
+ )
1214
+
1215
+ DeleteIPSetResponseTypeDef = TypedDict(
1216
+ "DeleteIPSetResponseTypeDef",
1217
+ {
1218
+ "ChangeToken": str,
1219
+ "ResponseMetadata": ResponseMetadataTypeDef,
1220
+ },
1221
+ )
1222
+
1223
+ DeleteRateBasedRuleResponseTypeDef = TypedDict(
1224
+ "DeleteRateBasedRuleResponseTypeDef",
1225
+ {
1226
+ "ChangeToken": str,
1227
+ "ResponseMetadata": ResponseMetadataTypeDef,
1228
+ },
1229
+ )
1230
+
1231
+ DeleteRegexMatchSetResponseTypeDef = TypedDict(
1232
+ "DeleteRegexMatchSetResponseTypeDef",
1233
+ {
1234
+ "ChangeToken": str,
1235
+ "ResponseMetadata": ResponseMetadataTypeDef,
1236
+ },
1237
+ )
1238
+
1239
+ DeleteRegexPatternSetResponseTypeDef = TypedDict(
1240
+ "DeleteRegexPatternSetResponseTypeDef",
1241
+ {
1242
+ "ChangeToken": str,
1243
+ "ResponseMetadata": ResponseMetadataTypeDef,
1244
+ },
1245
+ )
1246
+
1247
+ DeleteRuleGroupResponseTypeDef = TypedDict(
1248
+ "DeleteRuleGroupResponseTypeDef",
1249
+ {
1250
+ "ChangeToken": str,
1251
+ "ResponseMetadata": ResponseMetadataTypeDef,
1071
1252
  },
1072
- total=False,
1073
1253
  )
1074
1254
 
1075
- SubscribedRuleGroupSummaryTypeDef = TypedDict(
1076
- "SubscribedRuleGroupSummaryTypeDef",
1255
+ DeleteRuleResponseTypeDef = TypedDict(
1256
+ "DeleteRuleResponseTypeDef",
1077
1257
  {
1078
- "RuleGroupId": str,
1079
- "Name": str,
1080
- "MetricName": str,
1258
+ "ChangeToken": str,
1259
+ "ResponseMetadata": ResponseMetadataTypeDef,
1081
1260
  },
1082
1261
  )
1083
1262
 
1084
- _RequiredListTagsForResourceRequestRequestTypeDef = TypedDict(
1085
- "_RequiredListTagsForResourceRequestRequestTypeDef",
1263
+ DeleteSizeConstraintSetResponseTypeDef = TypedDict(
1264
+ "DeleteSizeConstraintSetResponseTypeDef",
1086
1265
  {
1087
- "ResourceARN": str,
1266
+ "ChangeToken": str,
1267
+ "ResponseMetadata": ResponseMetadataTypeDef,
1088
1268
  },
1089
1269
  )
1090
- _OptionalListTagsForResourceRequestRequestTypeDef = TypedDict(
1091
- "_OptionalListTagsForResourceRequestRequestTypeDef",
1270
+
1271
+ DeleteSqlInjectionMatchSetResponseTypeDef = TypedDict(
1272
+ "DeleteSqlInjectionMatchSetResponseTypeDef",
1092
1273
  {
1093
- "NextMarker": str,
1094
- "Limit": int,
1274
+ "ChangeToken": str,
1275
+ "ResponseMetadata": ResponseMetadataTypeDef,
1095
1276
  },
1096
- total=False,
1097
1277
  )
1098
1278
 
1099
-
1100
- class ListTagsForResourceRequestRequestTypeDef(
1101
- _RequiredListTagsForResourceRequestRequestTypeDef,
1102
- _OptionalListTagsForResourceRequestRequestTypeDef,
1103
- ):
1104
- pass
1105
-
1106
-
1107
- ListWebACLsRequestRequestTypeDef = TypedDict(
1108
- "ListWebACLsRequestRequestTypeDef",
1279
+ DeleteWebACLResponseTypeDef = TypedDict(
1280
+ "DeleteWebACLResponseTypeDef",
1109
1281
  {
1110
- "NextMarker": str,
1111
- "Limit": int,
1282
+ "ChangeToken": str,
1283
+ "ResponseMetadata": ResponseMetadataTypeDef,
1112
1284
  },
1113
- total=False,
1114
1285
  )
1115
1286
 
1116
- ListXssMatchSetsRequestRequestTypeDef = TypedDict(
1117
- "ListXssMatchSetsRequestRequestTypeDef",
1287
+ DeleteXssMatchSetResponseTypeDef = TypedDict(
1288
+ "DeleteXssMatchSetResponseTypeDef",
1118
1289
  {
1119
- "NextMarker": str,
1120
- "Limit": int,
1290
+ "ChangeToken": str,
1291
+ "ResponseMetadata": ResponseMetadataTypeDef,
1121
1292
  },
1122
- total=False,
1123
1293
  )
1124
1294
 
1125
- XssMatchSetSummaryTypeDef = TypedDict(
1126
- "XssMatchSetSummaryTypeDef",
1295
+ GetChangeTokenResponseTypeDef = TypedDict(
1296
+ "GetChangeTokenResponseTypeDef",
1127
1297
  {
1128
- "XssMatchSetId": str,
1129
- "Name": str,
1298
+ "ChangeToken": str,
1299
+ "ResponseMetadata": ResponseMetadataTypeDef,
1130
1300
  },
1131
1301
  )
1132
1302
 
1133
- PredicateTypeDef = TypedDict(
1134
- "PredicateTypeDef",
1303
+ GetChangeTokenStatusResponseTypeDef = TypedDict(
1304
+ "GetChangeTokenStatusResponseTypeDef",
1135
1305
  {
1136
- "Negated": bool,
1137
- "Type": PredicateTypeType,
1138
- "DataId": str,
1306
+ "ChangeTokenStatus": ChangeTokenStatusType,
1307
+ "ResponseMetadata": ResponseMetadataTypeDef,
1139
1308
  },
1140
1309
  )
1141
1310
 
1142
- PutPermissionPolicyRequestRequestTypeDef = TypedDict(
1143
- "PutPermissionPolicyRequestRequestTypeDef",
1311
+ GetPermissionPolicyResponseTypeDef = TypedDict(
1312
+ "GetPermissionPolicyResponseTypeDef",
1144
1313
  {
1145
- "ResourceArn": str,
1146
1314
  "Policy": str,
1315
+ "ResponseMetadata": ResponseMetadataTypeDef,
1147
1316
  },
1148
1317
  )
1149
1318
 
1150
- RegexPatternSetUpdateTypeDef = TypedDict(
1151
- "RegexPatternSetUpdateTypeDef",
1319
+ GetRateBasedRuleManagedKeysResponseTypeDef = TypedDict(
1320
+ "GetRateBasedRuleManagedKeysResponseTypeDef",
1152
1321
  {
1153
- "Action": ChangeActionType,
1154
- "RegexPatternString": str,
1322
+ "ManagedKeys": List[str],
1323
+ "NextMarker": str,
1324
+ "ResponseMetadata": ResponseMetadataTypeDef,
1155
1325
  },
1156
1326
  )
1157
1327
 
1158
- ResponseMetadataTypeDef = TypedDict(
1159
- "ResponseMetadataTypeDef",
1328
+ ListByteMatchSetsResponseTypeDef = TypedDict(
1329
+ "ListByteMatchSetsResponseTypeDef",
1160
1330
  {
1161
- "RequestId": str,
1162
- "HostId": str,
1163
- "HTTPStatusCode": int,
1164
- "HTTPHeaders": Dict[str, str],
1165
- "RetryAttempts": int,
1331
+ "NextMarker": str,
1332
+ "ByteMatchSets": List[ByteMatchSetSummaryTypeDef],
1333
+ "ResponseMetadata": ResponseMetadataTypeDef,
1166
1334
  },
1167
1335
  )
1168
1336
 
1169
- UntagResourceRequestRequestTypeDef = TypedDict(
1170
- "UntagResourceRequestRequestTypeDef",
1337
+ ListResourcesForWebACLResponseTypeDef = TypedDict(
1338
+ "ListResourcesForWebACLResponseTypeDef",
1171
1339
  {
1172
- "ResourceARN": str,
1173
- "TagKeys": Sequence[str],
1340
+ "ResourceArns": List[str],
1341
+ "ResponseMetadata": ResponseMetadataTypeDef,
1174
1342
  },
1175
1343
  )
1176
1344
 
@@ -1178,7 +1346,7 @@ UpdateByteMatchSetResponseTypeDef = TypedDict(
1178
1346
  "UpdateByteMatchSetResponseTypeDef",
1179
1347
  {
1180
1348
  "ChangeToken": str,
1181
- "ResponseMetadata": "ResponseMetadataTypeDef",
1349
+ "ResponseMetadata": ResponseMetadataTypeDef,
1182
1350
  },
1183
1351
  )
1184
1352
 
@@ -1186,7 +1354,7 @@ UpdateGeoMatchSetResponseTypeDef = TypedDict(
1186
1354
  "UpdateGeoMatchSetResponseTypeDef",
1187
1355
  {
1188
1356
  "ChangeToken": str,
1189
- "ResponseMetadata": "ResponseMetadataTypeDef",
1357
+ "ResponseMetadata": ResponseMetadataTypeDef,
1190
1358
  },
1191
1359
  )
1192
1360
 
@@ -1194,7 +1362,7 @@ UpdateIPSetResponseTypeDef = TypedDict(
1194
1362
  "UpdateIPSetResponseTypeDef",
1195
1363
  {
1196
1364
  "ChangeToken": str,
1197
- "ResponseMetadata": "ResponseMetadataTypeDef",
1365
+ "ResponseMetadata": ResponseMetadataTypeDef,
1198
1366
  },
1199
1367
  )
1200
1368
 
@@ -1202,7 +1370,7 @@ UpdateRateBasedRuleResponseTypeDef = TypedDict(
1202
1370
  "UpdateRateBasedRuleResponseTypeDef",
1203
1371
  {
1204
1372
  "ChangeToken": str,
1205
- "ResponseMetadata": "ResponseMetadataTypeDef",
1373
+ "ResponseMetadata": ResponseMetadataTypeDef,
1206
1374
  },
1207
1375
  )
1208
1376
 
@@ -1210,7 +1378,7 @@ UpdateRegexMatchSetResponseTypeDef = TypedDict(
1210
1378
  "UpdateRegexMatchSetResponseTypeDef",
1211
1379
  {
1212
1380
  "ChangeToken": str,
1213
- "ResponseMetadata": "ResponseMetadataTypeDef",
1381
+ "ResponseMetadata": ResponseMetadataTypeDef,
1214
1382
  },
1215
1383
  )
1216
1384
 
@@ -1218,7 +1386,7 @@ UpdateRegexPatternSetResponseTypeDef = TypedDict(
1218
1386
  "UpdateRegexPatternSetResponseTypeDef",
1219
1387
  {
1220
1388
  "ChangeToken": str,
1221
- "ResponseMetadata": "ResponseMetadataTypeDef",
1389
+ "ResponseMetadata": ResponseMetadataTypeDef,
1222
1390
  },
1223
1391
  )
1224
1392
 
@@ -1226,7 +1394,7 @@ UpdateRuleGroupResponseTypeDef = TypedDict(
1226
1394
  "UpdateRuleGroupResponseTypeDef",
1227
1395
  {
1228
1396
  "ChangeToken": str,
1229
- "ResponseMetadata": "ResponseMetadataTypeDef",
1397
+ "ResponseMetadata": ResponseMetadataTypeDef,
1230
1398
  },
1231
1399
  )
1232
1400
 
@@ -1234,7 +1402,7 @@ UpdateRuleResponseTypeDef = TypedDict(
1234
1402
  "UpdateRuleResponseTypeDef",
1235
1403
  {
1236
1404
  "ChangeToken": str,
1237
- "ResponseMetadata": "ResponseMetadataTypeDef",
1405
+ "ResponseMetadata": ResponseMetadataTypeDef,
1238
1406
  },
1239
1407
  )
1240
1408
 
@@ -1242,7 +1410,7 @@ UpdateSizeConstraintSetResponseTypeDef = TypedDict(
1242
1410
  "UpdateSizeConstraintSetResponseTypeDef",
1243
1411
  {
1244
1412
  "ChangeToken": str,
1245
- "ResponseMetadata": "ResponseMetadataTypeDef",
1413
+ "ResponseMetadata": ResponseMetadataTypeDef,
1246
1414
  },
1247
1415
  )
1248
1416
 
@@ -1250,7 +1418,7 @@ UpdateSqlInjectionMatchSetResponseTypeDef = TypedDict(
1250
1418
  "UpdateSqlInjectionMatchSetResponseTypeDef",
1251
1419
  {
1252
1420
  "ChangeToken": str,
1253
- "ResponseMetadata": "ResponseMetadataTypeDef",
1421
+ "ResponseMetadata": ResponseMetadataTypeDef,
1254
1422
  },
1255
1423
  )
1256
1424
 
@@ -1258,7 +1426,7 @@ UpdateWebACLResponseTypeDef = TypedDict(
1258
1426
  "UpdateWebACLResponseTypeDef",
1259
1427
  {
1260
1428
  "ChangeToken": str,
1261
- "ResponseMetadata": "ResponseMetadataTypeDef",
1429
+ "ResponseMetadata": ResponseMetadataTypeDef,
1262
1430
  },
1263
1431
  )
1264
1432
 
@@ -1266,106 +1434,7 @@ UpdateXssMatchSetResponseTypeDef = TypedDict(
1266
1434
  "UpdateXssMatchSetResponseTypeDef",
1267
1435
  {
1268
1436
  "ChangeToken": str,
1269
- "ResponseMetadata": "ResponseMetadataTypeDef",
1270
- },
1271
- )
1272
-
1273
- _RequiredActivatedRuleTypeDef = TypedDict(
1274
- "_RequiredActivatedRuleTypeDef",
1275
- {
1276
- "Priority": int,
1277
- "RuleId": str,
1278
- },
1279
- )
1280
- _OptionalActivatedRuleTypeDef = TypedDict(
1281
- "_OptionalActivatedRuleTypeDef",
1282
- {
1283
- "Action": WafActionTypeDef,
1284
- "OverrideAction": WafOverrideActionTypeDef,
1285
- "Type": WafRuleTypeType,
1286
- "ExcludedRules": List[ExcludedRuleTypeDef],
1287
- },
1288
- total=False,
1289
- )
1290
-
1291
-
1292
- class ActivatedRuleTypeDef(_RequiredActivatedRuleTypeDef, _OptionalActivatedRuleTypeDef):
1293
- pass
1294
-
1295
-
1296
- ListByteMatchSetsResponseTypeDef = TypedDict(
1297
- "ListByteMatchSetsResponseTypeDef",
1298
- {
1299
- "NextMarker": str,
1300
- "ByteMatchSets": List[ByteMatchSetSummaryTypeDef],
1301
- "ResponseMetadata": "ResponseMetadataTypeDef",
1302
- },
1303
- )
1304
-
1305
- ByteMatchTupleTypeDef = TypedDict(
1306
- "ByteMatchTupleTypeDef",
1307
- {
1308
- "FieldToMatch": FieldToMatchTypeDef,
1309
- "TargetString": bytes,
1310
- "TextTransformation": TextTransformationType,
1311
- "PositionalConstraint": PositionalConstraintType,
1312
- },
1313
- )
1314
-
1315
- _RequiredLoggingConfigurationTypeDef = TypedDict(
1316
- "_RequiredLoggingConfigurationTypeDef",
1317
- {
1318
- "ResourceArn": str,
1319
- "LogDestinationConfigs": List[str],
1320
- },
1321
- )
1322
- _OptionalLoggingConfigurationTypeDef = TypedDict(
1323
- "_OptionalLoggingConfigurationTypeDef",
1324
- {
1325
- "RedactedFields": List[FieldToMatchTypeDef],
1326
- },
1327
- total=False,
1328
- )
1329
-
1330
-
1331
- class LoggingConfigurationTypeDef(
1332
- _RequiredLoggingConfigurationTypeDef, _OptionalLoggingConfigurationTypeDef
1333
- ):
1334
- pass
1335
-
1336
-
1337
- RegexMatchTupleTypeDef = TypedDict(
1338
- "RegexMatchTupleTypeDef",
1339
- {
1340
- "FieldToMatch": FieldToMatchTypeDef,
1341
- "TextTransformation": TextTransformationType,
1342
- "RegexPatternSetId": str,
1343
- },
1344
- )
1345
-
1346
- SizeConstraintTypeDef = TypedDict(
1347
- "SizeConstraintTypeDef",
1348
- {
1349
- "FieldToMatch": FieldToMatchTypeDef,
1350
- "TextTransformation": TextTransformationType,
1351
- "ComparisonOperator": ComparisonOperatorType,
1352
- "Size": int,
1353
- },
1354
- )
1355
-
1356
- SqlInjectionMatchTupleTypeDef = TypedDict(
1357
- "SqlInjectionMatchTupleTypeDef",
1358
- {
1359
- "FieldToMatch": FieldToMatchTypeDef,
1360
- "TextTransformation": TextTransformationType,
1361
- },
1362
- )
1363
-
1364
- XssMatchTupleTypeDef = TypedDict(
1365
- "XssMatchTupleTypeDef",
1366
- {
1367
- "FieldToMatch": FieldToMatchTypeDef,
1368
- "TextTransformation": TextTransformationType,
1437
+ "ResponseMetadata": ResponseMetadataTypeDef,
1369
1438
  },
1370
1439
  )
1371
1440
 
@@ -1487,7 +1556,7 @@ CreateRegexPatternSetResponseTypeDef = TypedDict(
1487
1556
  {
1488
1557
  "RegexPatternSet": RegexPatternSetTypeDef,
1489
1558
  "ChangeToken": str,
1490
- "ResponseMetadata": "ResponseMetadataTypeDef",
1559
+ "ResponseMetadata": ResponseMetadataTypeDef,
1491
1560
  },
1492
1561
  )
1493
1562
 
@@ -1495,7 +1564,7 @@ GetRegexPatternSetResponseTypeDef = TypedDict(
1495
1564
  "GetRegexPatternSetResponseTypeDef",
1496
1565
  {
1497
1566
  "RegexPatternSet": RegexPatternSetTypeDef,
1498
- "ResponseMetadata": "ResponseMetadataTypeDef",
1567
+ "ResponseMetadata": ResponseMetadataTypeDef,
1499
1568
  },
1500
1569
  )
1501
1570
 
@@ -1504,7 +1573,7 @@ CreateRuleGroupResponseTypeDef = TypedDict(
1504
1573
  {
1505
1574
  "RuleGroup": RuleGroupTypeDef,
1506
1575
  "ChangeToken": str,
1507
- "ResponseMetadata": "ResponseMetadataTypeDef",
1576
+ "ResponseMetadata": ResponseMetadataTypeDef,
1508
1577
  },
1509
1578
  )
1510
1579
 
@@ -1512,7 +1581,7 @@ GetRuleGroupResponseTypeDef = TypedDict(
1512
1581
  "GetRuleGroupResponseTypeDef",
1513
1582
  {
1514
1583
  "RuleGroup": RuleGroupTypeDef,
1515
- "ResponseMetadata": "ResponseMetadataTypeDef",
1584
+ "ResponseMetadata": ResponseMetadataTypeDef,
1516
1585
  },
1517
1586
  )
1518
1587
 
@@ -1549,17 +1618,7 @@ ListGeoMatchSetsResponseTypeDef = TypedDict(
1549
1618
  {
1550
1619
  "NextMarker": str,
1551
1620
  "GeoMatchSets": List[GeoMatchSetSummaryTypeDef],
1552
- "ResponseMetadata": "ResponseMetadataTypeDef",
1553
- },
1554
- )
1555
-
1556
- GetSampledRequestsRequestRequestTypeDef = TypedDict(
1557
- "GetSampledRequestsRequestRequestTypeDef",
1558
- {
1559
- "WebAclId": str,
1560
- "RuleId": str,
1561
- "TimeWindow": TimeWindowTypeDef,
1562
- "MaxItems": int,
1621
+ "ResponseMetadata": ResponseMetadataTypeDef,
1563
1622
  },
1564
1623
  )
1565
1624
 
@@ -1567,7 +1626,7 @@ GetWebACLForResourceResponseTypeDef = TypedDict(
1567
1626
  "GetWebACLForResourceResponseTypeDef",
1568
1627
  {
1569
1628
  "WebACLSummary": WebACLSummaryTypeDef,
1570
- "ResponseMetadata": "ResponseMetadataTypeDef",
1629
+ "ResponseMetadata": ResponseMetadataTypeDef,
1571
1630
  },
1572
1631
  )
1573
1632
 
@@ -1576,7 +1635,7 @@ ListWebACLsResponseTypeDef = TypedDict(
1576
1635
  {
1577
1636
  "NextMarker": str,
1578
1637
  "WebACLs": List[WebACLSummaryTypeDef],
1579
- "ResponseMetadata": "ResponseMetadataTypeDef",
1638
+ "ResponseMetadata": ResponseMetadataTypeDef,
1580
1639
  },
1581
1640
  )
1582
1641
 
@@ -1626,7 +1685,7 @@ ListIPSetsResponseTypeDef = TypedDict(
1626
1685
  {
1627
1686
  "NextMarker": str,
1628
1687
  "IPSets": List[IPSetSummaryTypeDef],
1629
- "ResponseMetadata": "ResponseMetadataTypeDef",
1688
+ "ResponseMetadata": ResponseMetadataTypeDef,
1630
1689
  },
1631
1690
  )
1632
1691
 
@@ -1635,7 +1694,7 @@ ListRateBasedRulesResponseTypeDef = TypedDict(
1635
1694
  {
1636
1695
  "NextMarker": str,
1637
1696
  "Rules": List[RuleSummaryTypeDef],
1638
- "ResponseMetadata": "ResponseMetadataTypeDef",
1697
+ "ResponseMetadata": ResponseMetadataTypeDef,
1639
1698
  },
1640
1699
  )
1641
1700
 
@@ -1644,7 +1703,7 @@ ListRulesResponseTypeDef = TypedDict(
1644
1703
  {
1645
1704
  "NextMarker": str,
1646
1705
  "Rules": List[RuleSummaryTypeDef],
1647
- "ResponseMetadata": "ResponseMetadataTypeDef",
1706
+ "ResponseMetadata": ResponseMetadataTypeDef,
1648
1707
  },
1649
1708
  )
1650
1709
 
@@ -1653,7 +1712,7 @@ ListRegexMatchSetsResponseTypeDef = TypedDict(
1653
1712
  {
1654
1713
  "NextMarker": str,
1655
1714
  "RegexMatchSets": List[RegexMatchSetSummaryTypeDef],
1656
- "ResponseMetadata": "ResponseMetadataTypeDef",
1715
+ "ResponseMetadata": ResponseMetadataTypeDef,
1657
1716
  },
1658
1717
  )
1659
1718
 
@@ -1662,7 +1721,7 @@ ListRegexPatternSetsResponseTypeDef = TypedDict(
1662
1721
  {
1663
1722
  "NextMarker": str,
1664
1723
  "RegexPatternSets": List[RegexPatternSetSummaryTypeDef],
1665
- "ResponseMetadata": "ResponseMetadataTypeDef",
1724
+ "ResponseMetadata": ResponseMetadataTypeDef,
1666
1725
  },
1667
1726
  )
1668
1727
 
@@ -1671,7 +1730,7 @@ ListRuleGroupsResponseTypeDef = TypedDict(
1671
1730
  {
1672
1731
  "NextMarker": str,
1673
1732
  "RuleGroups": List[RuleGroupSummaryTypeDef],
1674
- "ResponseMetadata": "ResponseMetadataTypeDef",
1733
+ "ResponseMetadata": ResponseMetadataTypeDef,
1675
1734
  },
1676
1735
  )
1677
1736
 
@@ -1680,7 +1739,7 @@ ListSizeConstraintSetsResponseTypeDef = TypedDict(
1680
1739
  {
1681
1740
  "NextMarker": str,
1682
1741
  "SizeConstraintSets": List[SizeConstraintSetSummaryTypeDef],
1683
- "ResponseMetadata": "ResponseMetadataTypeDef",
1742
+ "ResponseMetadata": ResponseMetadataTypeDef,
1684
1743
  },
1685
1744
  )
1686
1745
 
@@ -1689,7 +1748,7 @@ ListSqlInjectionMatchSetsResponseTypeDef = TypedDict(
1689
1748
  {
1690
1749
  "NextMarker": str,
1691
1750
  "SqlInjectionMatchSets": List[SqlInjectionMatchSetSummaryTypeDef],
1692
- "ResponseMetadata": "ResponseMetadataTypeDef",
1751
+ "ResponseMetadata": ResponseMetadataTypeDef,
1693
1752
  },
1694
1753
  )
1695
1754
 
@@ -1698,7 +1757,7 @@ ListSubscribedRuleGroupsResponseTypeDef = TypedDict(
1698
1757
  {
1699
1758
  "NextMarker": str,
1700
1759
  "RuleGroups": List[SubscribedRuleGroupSummaryTypeDef],
1701
- "ResponseMetadata": "ResponseMetadataTypeDef",
1760
+ "ResponseMetadata": ResponseMetadataTypeDef,
1702
1761
  },
1703
1762
  )
1704
1763
 
@@ -1707,7 +1766,7 @@ ListXssMatchSetsResponseTypeDef = TypedDict(
1707
1766
  {
1708
1767
  "NextMarker": str,
1709
1768
  "XssMatchSets": List[XssMatchSetSummaryTypeDef],
1710
- "ResponseMetadata": "ResponseMetadataTypeDef",
1769
+ "ResponseMetadata": ResponseMetadataTypeDef,
1711
1770
  },
1712
1771
  )
1713
1772
 
@@ -1772,20 +1831,20 @@ UpdateRegexPatternSetRequestRequestTypeDef = TypedDict(
1772
1831
  },
1773
1832
  )
1774
1833
 
1775
- ListActivatedRulesInRuleGroupResponseTypeDef = TypedDict(
1776
- "ListActivatedRulesInRuleGroupResponseTypeDef",
1834
+ TimeWindowTypeDef = TypedDict(
1835
+ "TimeWindowTypeDef",
1777
1836
  {
1778
- "NextMarker": str,
1779
- "ActivatedRules": List[ActivatedRuleTypeDef],
1780
- "ResponseMetadata": "ResponseMetadataTypeDef",
1837
+ "StartTime": TimestampTypeDef,
1838
+ "EndTime": TimestampTypeDef,
1781
1839
  },
1782
1840
  )
1783
1841
 
1784
- RuleGroupUpdateTypeDef = TypedDict(
1785
- "RuleGroupUpdateTypeDef",
1842
+ ListActivatedRulesInRuleGroupResponseTypeDef = TypedDict(
1843
+ "ListActivatedRulesInRuleGroupResponseTypeDef",
1786
1844
  {
1787
- "Action": ChangeActionType,
1788
- "ActivatedRule": ActivatedRuleTypeDef,
1845
+ "NextMarker": str,
1846
+ "ActivatedRules": List[ActivatedRuleOutputTypeDef],
1847
+ "ResponseMetadata": ResponseMetadataTypeDef,
1789
1848
  },
1790
1849
  )
1791
1850
 
@@ -1794,7 +1853,7 @@ _RequiredWebACLTypeDef = TypedDict(
1794
1853
  {
1795
1854
  "WebACLId": str,
1796
1855
  "DefaultAction": WafActionTypeDef,
1797
- "Rules": List[ActivatedRuleTypeDef],
1856
+ "Rules": List[ActivatedRuleOutputTypeDef],
1798
1857
  },
1799
1858
  )
1800
1859
  _OptionalWebACLTypeDef = TypedDict(
@@ -1812,6 +1871,14 @@ class WebACLTypeDef(_RequiredWebACLTypeDef, _OptionalWebACLTypeDef):
1812
1871
  pass
1813
1872
 
1814
1873
 
1874
+ RuleGroupUpdateTypeDef = TypedDict(
1875
+ "RuleGroupUpdateTypeDef",
1876
+ {
1877
+ "Action": ChangeActionType,
1878
+ "ActivatedRule": ActivatedRuleTypeDef,
1879
+ },
1880
+ )
1881
+
1815
1882
  WebACLUpdateTypeDef = TypedDict(
1816
1883
  "WebACLUpdateTypeDef",
1817
1884
  {
@@ -1824,7 +1891,7 @@ _RequiredByteMatchSetTypeDef = TypedDict(
1824
1891
  "_RequiredByteMatchSetTypeDef",
1825
1892
  {
1826
1893
  "ByteMatchSetId": str,
1827
- "ByteMatchTuples": List[ByteMatchTupleTypeDef],
1894
+ "ByteMatchTuples": List[ByteMatchTupleOutputTypeDef],
1828
1895
  },
1829
1896
  )
1830
1897
  _OptionalByteMatchSetTypeDef = TypedDict(
@@ -1851,32 +1918,35 @@ ByteMatchSetUpdateTypeDef = TypedDict(
1851
1918
  GetLoggingConfigurationResponseTypeDef = TypedDict(
1852
1919
  "GetLoggingConfigurationResponseTypeDef",
1853
1920
  {
1854
- "LoggingConfiguration": LoggingConfigurationTypeDef,
1855
- "ResponseMetadata": "ResponseMetadataTypeDef",
1921
+ "LoggingConfiguration": LoggingConfigurationOutputTypeDef,
1922
+ "ResponseMetadata": ResponseMetadataTypeDef,
1856
1923
  },
1857
1924
  )
1858
1925
 
1859
1926
  ListLoggingConfigurationsResponseTypeDef = TypedDict(
1860
1927
  "ListLoggingConfigurationsResponseTypeDef",
1861
1928
  {
1862
- "LoggingConfigurations": List[LoggingConfigurationTypeDef],
1929
+ "LoggingConfigurations": List[LoggingConfigurationOutputTypeDef],
1863
1930
  "NextMarker": str,
1864
- "ResponseMetadata": "ResponseMetadataTypeDef",
1931
+ "ResponseMetadata": ResponseMetadataTypeDef,
1865
1932
  },
1866
1933
  )
1867
1934
 
1868
- PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
1869
- "PutLoggingConfigurationRequestRequestTypeDef",
1935
+ PutLoggingConfigurationResponseTypeDef = TypedDict(
1936
+ "PutLoggingConfigurationResponseTypeDef",
1870
1937
  {
1871
- "LoggingConfiguration": LoggingConfigurationTypeDef,
1938
+ "LoggingConfiguration": LoggingConfigurationOutputTypeDef,
1939
+ "ResponseMetadata": ResponseMetadataTypeDef,
1872
1940
  },
1873
1941
  )
1874
1942
 
1875
- PutLoggingConfigurationResponseTypeDef = TypedDict(
1876
- "PutLoggingConfigurationResponseTypeDef",
1943
+ LoggingConfigurationUnionTypeDef = Union[
1944
+ LoggingConfigurationTypeDef, LoggingConfigurationOutputTypeDef
1945
+ ]
1946
+ PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
1947
+ "PutLoggingConfigurationRequestRequestTypeDef",
1877
1948
  {
1878
1949
  "LoggingConfiguration": LoggingConfigurationTypeDef,
1879
- "ResponseMetadata": "ResponseMetadataTypeDef",
1880
1950
  },
1881
1951
  )
1882
1952
 
@@ -1991,7 +2061,7 @@ ListTagsForResourceResponseTypeDef = TypedDict(
1991
2061
  {
1992
2062
  "NextMarker": str,
1993
2063
  "TagInfoForResource": TagInfoForResourceTypeDef,
1994
- "ResponseMetadata": "ResponseMetadataTypeDef",
2064
+ "ResponseMetadata": ResponseMetadataTypeDef,
1995
2065
  },
1996
2066
  )
1997
2067
 
@@ -2000,7 +2070,7 @@ CreateGeoMatchSetResponseTypeDef = TypedDict(
2000
2070
  {
2001
2071
  "GeoMatchSet": GeoMatchSetTypeDef,
2002
2072
  "ChangeToken": str,
2003
- "ResponseMetadata": "ResponseMetadataTypeDef",
2073
+ "ResponseMetadata": ResponseMetadataTypeDef,
2004
2074
  },
2005
2075
  )
2006
2076
 
@@ -2008,7 +2078,7 @@ GetGeoMatchSetResponseTypeDef = TypedDict(
2008
2078
  "GetGeoMatchSetResponseTypeDef",
2009
2079
  {
2010
2080
  "GeoMatchSet": GeoMatchSetTypeDef,
2011
- "ResponseMetadata": "ResponseMetadataTypeDef",
2081
+ "ResponseMetadata": ResponseMetadataTypeDef,
2012
2082
  },
2013
2083
  )
2014
2084
 
@@ -2050,7 +2120,7 @@ CreateIPSetResponseTypeDef = TypedDict(
2050
2120
  {
2051
2121
  "IPSet": IPSetTypeDef,
2052
2122
  "ChangeToken": str,
2053
- "ResponseMetadata": "ResponseMetadataTypeDef",
2123
+ "ResponseMetadata": ResponseMetadataTypeDef,
2054
2124
  },
2055
2125
  )
2056
2126
 
@@ -2058,7 +2128,7 @@ GetIPSetResponseTypeDef = TypedDict(
2058
2128
  "GetIPSetResponseTypeDef",
2059
2129
  {
2060
2130
  "IPSet": IPSetTypeDef,
2061
- "ResponseMetadata": "ResponseMetadataTypeDef",
2131
+ "ResponseMetadata": ResponseMetadataTypeDef,
2062
2132
  },
2063
2133
  )
2064
2134
 
@@ -2076,7 +2146,7 @@ CreateRateBasedRuleResponseTypeDef = TypedDict(
2076
2146
  {
2077
2147
  "Rule": RateBasedRuleTypeDef,
2078
2148
  "ChangeToken": str,
2079
- "ResponseMetadata": "ResponseMetadataTypeDef",
2149
+ "ResponseMetadata": ResponseMetadataTypeDef,
2080
2150
  },
2081
2151
  )
2082
2152
 
@@ -2084,7 +2154,7 @@ GetRateBasedRuleResponseTypeDef = TypedDict(
2084
2154
  "GetRateBasedRuleResponseTypeDef",
2085
2155
  {
2086
2156
  "Rule": RateBasedRuleTypeDef,
2087
- "ResponseMetadata": "ResponseMetadataTypeDef",
2157
+ "ResponseMetadata": ResponseMetadataTypeDef,
2088
2158
  },
2089
2159
  )
2090
2160
 
@@ -2093,7 +2163,7 @@ CreateRuleResponseTypeDef = TypedDict(
2093
2163
  {
2094
2164
  "Rule": RuleTypeDef,
2095
2165
  "ChangeToken": str,
2096
- "ResponseMetadata": "ResponseMetadataTypeDef",
2166
+ "ResponseMetadata": ResponseMetadataTypeDef,
2097
2167
  },
2098
2168
  )
2099
2169
 
@@ -2101,7 +2171,7 @@ GetRuleResponseTypeDef = TypedDict(
2101
2171
  "GetRuleResponseTypeDef",
2102
2172
  {
2103
2173
  "Rule": RuleTypeDef,
2104
- "ResponseMetadata": "ResponseMetadataTypeDef",
2174
+ "ResponseMetadata": ResponseMetadataTypeDef,
2105
2175
  },
2106
2176
  )
2107
2177
 
@@ -2124,21 +2194,23 @@ UpdateRuleRequestRequestTypeDef = TypedDict(
2124
2194
  },
2125
2195
  )
2126
2196
 
2127
- UpdateRuleGroupRequestRequestTypeDef = TypedDict(
2128
- "UpdateRuleGroupRequestRequestTypeDef",
2197
+ GetSampledRequestsRequestRequestTypeDef = TypedDict(
2198
+ "GetSampledRequestsRequestRequestTypeDef",
2129
2199
  {
2130
- "RuleGroupId": str,
2131
- "Updates": Sequence[RuleGroupUpdateTypeDef],
2132
- "ChangeToken": str,
2200
+ "WebAclId": str,
2201
+ "RuleId": str,
2202
+ "TimeWindow": TimeWindowTypeDef,
2203
+ "MaxItems": int,
2133
2204
  },
2134
2205
  )
2135
2206
 
2207
+ TimeWindowUnionTypeDef = Union[TimeWindowTypeDef, TimeWindowOutputTypeDef]
2136
2208
  CreateWebACLResponseTypeDef = TypedDict(
2137
2209
  "CreateWebACLResponseTypeDef",
2138
2210
  {
2139
2211
  "WebACL": WebACLTypeDef,
2140
2212
  "ChangeToken": str,
2141
- "ResponseMetadata": "ResponseMetadataTypeDef",
2213
+ "ResponseMetadata": ResponseMetadataTypeDef,
2142
2214
  },
2143
2215
  )
2144
2216
 
@@ -2146,7 +2218,16 @@ GetWebACLResponseTypeDef = TypedDict(
2146
2218
  "GetWebACLResponseTypeDef",
2147
2219
  {
2148
2220
  "WebACL": WebACLTypeDef,
2149
- "ResponseMetadata": "ResponseMetadataTypeDef",
2221
+ "ResponseMetadata": ResponseMetadataTypeDef,
2222
+ },
2223
+ )
2224
+
2225
+ UpdateRuleGroupRequestRequestTypeDef = TypedDict(
2226
+ "UpdateRuleGroupRequestRequestTypeDef",
2227
+ {
2228
+ "RuleGroupId": str,
2229
+ "Updates": Sequence[RuleGroupUpdateTypeDef],
2230
+ "ChangeToken": str,
2150
2231
  },
2151
2232
  )
2152
2233
 
@@ -2178,7 +2259,7 @@ CreateByteMatchSetResponseTypeDef = TypedDict(
2178
2259
  {
2179
2260
  "ByteMatchSet": ByteMatchSetTypeDef,
2180
2261
  "ChangeToken": str,
2181
- "ResponseMetadata": "ResponseMetadataTypeDef",
2262
+ "ResponseMetadata": ResponseMetadataTypeDef,
2182
2263
  },
2183
2264
  )
2184
2265
 
@@ -2186,7 +2267,7 @@ GetByteMatchSetResponseTypeDef = TypedDict(
2186
2267
  "GetByteMatchSetResponseTypeDef",
2187
2268
  {
2188
2269
  "ByteMatchSet": ByteMatchSetTypeDef,
2189
- "ResponseMetadata": "ResponseMetadataTypeDef",
2270
+ "ResponseMetadata": ResponseMetadataTypeDef,
2190
2271
  },
2191
2272
  )
2192
2273
 
@@ -2204,7 +2285,7 @@ CreateRegexMatchSetResponseTypeDef = TypedDict(
2204
2285
  {
2205
2286
  "RegexMatchSet": RegexMatchSetTypeDef,
2206
2287
  "ChangeToken": str,
2207
- "ResponseMetadata": "ResponseMetadataTypeDef",
2288
+ "ResponseMetadata": ResponseMetadataTypeDef,
2208
2289
  },
2209
2290
  )
2210
2291
 
@@ -2212,7 +2293,7 @@ GetRegexMatchSetResponseTypeDef = TypedDict(
2212
2293
  "GetRegexMatchSetResponseTypeDef",
2213
2294
  {
2214
2295
  "RegexMatchSet": RegexMatchSetTypeDef,
2215
- "ResponseMetadata": "ResponseMetadataTypeDef",
2296
+ "ResponseMetadata": ResponseMetadataTypeDef,
2216
2297
  },
2217
2298
  )
2218
2299
 
@@ -2230,7 +2311,7 @@ CreateSizeConstraintSetResponseTypeDef = TypedDict(
2230
2311
  {
2231
2312
  "SizeConstraintSet": SizeConstraintSetTypeDef,
2232
2313
  "ChangeToken": str,
2233
- "ResponseMetadata": "ResponseMetadataTypeDef",
2314
+ "ResponseMetadata": ResponseMetadataTypeDef,
2234
2315
  },
2235
2316
  )
2236
2317
 
@@ -2238,7 +2319,7 @@ GetSizeConstraintSetResponseTypeDef = TypedDict(
2238
2319
  "GetSizeConstraintSetResponseTypeDef",
2239
2320
  {
2240
2321
  "SizeConstraintSet": SizeConstraintSetTypeDef,
2241
- "ResponseMetadata": "ResponseMetadataTypeDef",
2322
+ "ResponseMetadata": ResponseMetadataTypeDef,
2242
2323
  },
2243
2324
  )
2244
2325
 
@@ -2256,7 +2337,7 @@ CreateSqlInjectionMatchSetResponseTypeDef = TypedDict(
2256
2337
  {
2257
2338
  "SqlInjectionMatchSet": SqlInjectionMatchSetTypeDef,
2258
2339
  "ChangeToken": str,
2259
- "ResponseMetadata": "ResponseMetadataTypeDef",
2340
+ "ResponseMetadata": ResponseMetadataTypeDef,
2260
2341
  },
2261
2342
  )
2262
2343
 
@@ -2264,7 +2345,7 @@ GetSqlInjectionMatchSetResponseTypeDef = TypedDict(
2264
2345
  "GetSqlInjectionMatchSetResponseTypeDef",
2265
2346
  {
2266
2347
  "SqlInjectionMatchSet": SqlInjectionMatchSetTypeDef,
2267
- "ResponseMetadata": "ResponseMetadataTypeDef",
2348
+ "ResponseMetadata": ResponseMetadataTypeDef,
2268
2349
  },
2269
2350
  )
2270
2351
 
@@ -2282,7 +2363,7 @@ CreateXssMatchSetResponseTypeDef = TypedDict(
2282
2363
  {
2283
2364
  "XssMatchSet": XssMatchSetTypeDef,
2284
2365
  "ChangeToken": str,
2285
- "ResponseMetadata": "ResponseMetadataTypeDef",
2366
+ "ResponseMetadata": ResponseMetadataTypeDef,
2286
2367
  },
2287
2368
  )
2288
2369
 
@@ -2290,7 +2371,7 @@ GetXssMatchSetResponseTypeDef = TypedDict(
2290
2371
  "GetXssMatchSetResponseTypeDef",
2291
2372
  {
2292
2373
  "XssMatchSet": XssMatchSetTypeDef,
2293
- "ResponseMetadata": "ResponseMetadataTypeDef",
2374
+ "ResponseMetadata": ResponseMetadataTypeDef,
2294
2375
  },
2295
2376
  )
2296
2377
 
@@ -2308,7 +2389,7 @@ GetSampledRequestsResponseTypeDef = TypedDict(
2308
2389
  {
2309
2390
  "SampledRequests": List[SampledHTTPRequestTypeDef],
2310
2391
  "PopulationSize": int,
2311
- "TimeWindow": TimeWindowTypeDef,
2312
- "ResponseMetadata": "ResponseMetadataTypeDef",
2392
+ "TimeWindow": TimeWindowOutputTypeDef,
2393
+ "ResponseMetadata": ResponseMetadataTypeDef,
2313
2394
  },
2314
2395
  )