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,
@@ -45,9 +47,11 @@ __all__ = (
45
47
  "WafActionTypeDef",
46
48
  "WafOverrideActionTypeDef",
47
49
  "AssociateWebACLRequestRequestTypeDef",
50
+ "BlobTypeDef",
48
51
  "ByteMatchSetSummaryTypeDef",
49
52
  "FieldToMatchTypeDef",
50
53
  "CreateByteMatchSetRequestRequestTypeDef",
54
+ "ResponseMetadataTypeDef",
51
55
  "CreateGeoMatchSetRequestRequestTypeDef",
52
56
  "CreateIPSetRequestRequestTypeDef",
53
57
  "TagTypeDef",
@@ -58,54 +62,37 @@ __all__ = (
58
62
  "CreateSizeConstraintSetRequestRequestTypeDef",
59
63
  "CreateSqlInjectionMatchSetRequestRequestTypeDef",
60
64
  "CreateWebACLMigrationStackRequestRequestTypeDef",
61
- "CreateWebACLMigrationStackResponseTypeDef",
62
65
  "CreateXssMatchSetRequestRequestTypeDef",
63
66
  "DeleteByteMatchSetRequestRequestTypeDef",
64
- "DeleteByteMatchSetResponseTypeDef",
65
67
  "DeleteGeoMatchSetRequestRequestTypeDef",
66
- "DeleteGeoMatchSetResponseTypeDef",
67
68
  "DeleteIPSetRequestRequestTypeDef",
68
- "DeleteIPSetResponseTypeDef",
69
69
  "DeleteLoggingConfigurationRequestRequestTypeDef",
70
70
  "DeletePermissionPolicyRequestRequestTypeDef",
71
71
  "DeleteRateBasedRuleRequestRequestTypeDef",
72
- "DeleteRateBasedRuleResponseTypeDef",
73
72
  "DeleteRegexMatchSetRequestRequestTypeDef",
74
- "DeleteRegexMatchSetResponseTypeDef",
75
73
  "DeleteRegexPatternSetRequestRequestTypeDef",
76
- "DeleteRegexPatternSetResponseTypeDef",
77
74
  "DeleteRuleGroupRequestRequestTypeDef",
78
- "DeleteRuleGroupResponseTypeDef",
79
75
  "DeleteRuleRequestRequestTypeDef",
80
- "DeleteRuleResponseTypeDef",
81
76
  "DeleteSizeConstraintSetRequestRequestTypeDef",
82
- "DeleteSizeConstraintSetResponseTypeDef",
83
77
  "DeleteSqlInjectionMatchSetRequestRequestTypeDef",
84
- "DeleteSqlInjectionMatchSetResponseTypeDef",
85
78
  "DeleteWebACLRequestRequestTypeDef",
86
- "DeleteWebACLResponseTypeDef",
87
79
  "DeleteXssMatchSetRequestRequestTypeDef",
88
- "DeleteXssMatchSetResponseTypeDef",
89
80
  "DisassociateWebACLRequestRequestTypeDef",
90
81
  "GeoMatchConstraintTypeDef",
91
82
  "GeoMatchSetSummaryTypeDef",
92
83
  "GetByteMatchSetRequestRequestTypeDef",
93
- "GetChangeTokenResponseTypeDef",
94
84
  "GetChangeTokenStatusRequestRequestTypeDef",
95
- "GetChangeTokenStatusResponseTypeDef",
96
85
  "GetGeoMatchSetRequestRequestTypeDef",
97
86
  "GetIPSetRequestRequestTypeDef",
98
87
  "GetLoggingConfigurationRequestRequestTypeDef",
99
88
  "GetPermissionPolicyRequestRequestTypeDef",
100
- "GetPermissionPolicyResponseTypeDef",
101
89
  "GetRateBasedRuleManagedKeysRequestRequestTypeDef",
102
- "GetRateBasedRuleManagedKeysResponseTypeDef",
103
90
  "GetRateBasedRuleRequestRequestTypeDef",
104
91
  "GetRegexMatchSetRequestRequestTypeDef",
105
92
  "GetRegexPatternSetRequestRequestTypeDef",
106
93
  "GetRuleGroupRequestRequestTypeDef",
107
94
  "GetRuleRequestRequestTypeDef",
108
- "TimeWindowTypeDef",
95
+ "TimeWindowOutputTypeDef",
109
96
  "GetSizeConstraintSetRequestRequestTypeDef",
110
97
  "GetSqlInjectionMatchSetRequestRequestTypeDef",
111
98
  "GetWebACLForResourceRequestRequestTypeDef",
@@ -127,7 +114,6 @@ __all__ = (
127
114
  "ListRegexPatternSetsRequestRequestTypeDef",
128
115
  "RegexPatternSetSummaryTypeDef",
129
116
  "ListResourcesForWebACLRequestRequestTypeDef",
130
- "ListResourcesForWebACLResponseTypeDef",
131
117
  "ListRuleGroupsRequestRequestTypeDef",
132
118
  "RuleGroupSummaryTypeDef",
133
119
  "ListRulesRequestRequestTypeDef",
@@ -144,8 +130,37 @@ __all__ = (
144
130
  "PredicateTypeDef",
145
131
  "PutPermissionPolicyRequestRequestTypeDef",
146
132
  "RegexPatternSetUpdateTypeDef",
147
- "ResponseMetadataTypeDef",
133
+ "TimestampTypeDef",
148
134
  "UntagResourceRequestRequestTypeDef",
135
+ "ActivatedRuleOutputTypeDef",
136
+ "ActivatedRuleTypeDef",
137
+ "ByteMatchTupleOutputTypeDef",
138
+ "ByteMatchTupleTypeDef",
139
+ "LoggingConfigurationOutputTypeDef",
140
+ "LoggingConfigurationTypeDef",
141
+ "RegexMatchTupleTypeDef",
142
+ "SizeConstraintTypeDef",
143
+ "SqlInjectionMatchTupleTypeDef",
144
+ "XssMatchTupleTypeDef",
145
+ "CreateWebACLMigrationStackResponseTypeDef",
146
+ "DeleteByteMatchSetResponseTypeDef",
147
+ "DeleteGeoMatchSetResponseTypeDef",
148
+ "DeleteIPSetResponseTypeDef",
149
+ "DeleteRateBasedRuleResponseTypeDef",
150
+ "DeleteRegexMatchSetResponseTypeDef",
151
+ "DeleteRegexPatternSetResponseTypeDef",
152
+ "DeleteRuleGroupResponseTypeDef",
153
+ "DeleteRuleResponseTypeDef",
154
+ "DeleteSizeConstraintSetResponseTypeDef",
155
+ "DeleteSqlInjectionMatchSetResponseTypeDef",
156
+ "DeleteWebACLResponseTypeDef",
157
+ "DeleteXssMatchSetResponseTypeDef",
158
+ "GetChangeTokenResponseTypeDef",
159
+ "GetChangeTokenStatusResponseTypeDef",
160
+ "GetPermissionPolicyResponseTypeDef",
161
+ "GetRateBasedRuleManagedKeysResponseTypeDef",
162
+ "ListByteMatchSetsResponseTypeDef",
163
+ "ListResourcesForWebACLResponseTypeDef",
149
164
  "UpdateByteMatchSetResponseTypeDef",
150
165
  "UpdateGeoMatchSetResponseTypeDef",
151
166
  "UpdateIPSetResponseTypeDef",
@@ -158,14 +173,6 @@ __all__ = (
158
173
  "UpdateSqlInjectionMatchSetResponseTypeDef",
159
174
  "UpdateWebACLResponseTypeDef",
160
175
  "UpdateXssMatchSetResponseTypeDef",
161
- "ActivatedRuleTypeDef",
162
- "ListByteMatchSetsResponseTypeDef",
163
- "ByteMatchTupleTypeDef",
164
- "LoggingConfigurationTypeDef",
165
- "RegexMatchTupleTypeDef",
166
- "SizeConstraintTypeDef",
167
- "SqlInjectionMatchTupleTypeDef",
168
- "XssMatchTupleTypeDef",
169
176
  "CreateRateBasedRuleRequestRequestTypeDef",
170
177
  "CreateRuleGroupRequestRequestTypeDef",
171
178
  "CreateRuleRequestRequestTypeDef",
@@ -179,7 +186,6 @@ __all__ = (
179
186
  "GeoMatchSetTypeDef",
180
187
  "GeoMatchSetUpdateTypeDef",
181
188
  "ListGeoMatchSetsResponseTypeDef",
182
- "GetSampledRequestsRequestRequestTypeDef",
183
189
  "GetWebACLForResourceResponseTypeDef",
184
190
  "ListWebACLsResponseTypeDef",
185
191
  "HTTPRequestTypeDef",
@@ -199,16 +205,18 @@ __all__ = (
199
205
  "RuleTypeDef",
200
206
  "RuleUpdateTypeDef",
201
207
  "UpdateRegexPatternSetRequestRequestTypeDef",
208
+ "TimeWindowTypeDef",
202
209
  "ListActivatedRulesInRuleGroupResponseTypeDef",
203
- "RuleGroupUpdateTypeDef",
204
210
  "WebACLTypeDef",
211
+ "RuleGroupUpdateTypeDef",
205
212
  "WebACLUpdateTypeDef",
206
213
  "ByteMatchSetTypeDef",
207
214
  "ByteMatchSetUpdateTypeDef",
208
215
  "GetLoggingConfigurationResponseTypeDef",
209
216
  "ListLoggingConfigurationsResponseTypeDef",
210
- "PutLoggingConfigurationRequestRequestTypeDef",
211
217
  "PutLoggingConfigurationResponseTypeDef",
218
+ "LoggingConfigurationUnionTypeDef",
219
+ "PutLoggingConfigurationRequestRequestTypeDef",
212
220
  "RegexMatchSetTypeDef",
213
221
  "RegexMatchSetUpdateTypeDef",
214
222
  "SizeConstraintSetTypeDef",
@@ -231,9 +239,11 @@ __all__ = (
231
239
  "GetRuleResponseTypeDef",
232
240
  "UpdateRateBasedRuleRequestRequestTypeDef",
233
241
  "UpdateRuleRequestRequestTypeDef",
234
- "UpdateRuleGroupRequestRequestTypeDef",
242
+ "GetSampledRequestsRequestRequestTypeDef",
243
+ "TimeWindowUnionTypeDef",
235
244
  "CreateWebACLResponseTypeDef",
236
245
  "GetWebACLResponseTypeDef",
246
+ "UpdateRuleGroupRequestRequestTypeDef",
237
247
  "UpdateWebACLRequestRequestTypeDef",
238
248
  "CreateByteMatchSetResponseTypeDef",
239
249
  "GetByteMatchSetResponseTypeDef",
@@ -282,6 +292,7 @@ AssociateWebACLRequestRequestTypeDef = TypedDict(
282
292
  },
283
293
  )
284
294
 
295
+ BlobTypeDef = Union[str, bytes, IO[Any], StreamingBody]
285
296
  ByteMatchSetSummaryTypeDef = TypedDict(
286
297
  "ByteMatchSetSummaryTypeDef",
287
298
  {
@@ -315,6 +326,17 @@ CreateByteMatchSetRequestRequestTypeDef = TypedDict(
315
326
  },
316
327
  )
317
328
 
329
+ ResponseMetadataTypeDef = TypedDict(
330
+ "ResponseMetadataTypeDef",
331
+ {
332
+ "RequestId": str,
333
+ "HostId": str,
334
+ "HTTPStatusCode": int,
335
+ "HTTPHeaders": Dict[str, str],
336
+ "RetryAttempts": int,
337
+ },
338
+ )
339
+
318
340
  CreateGeoMatchSetRequestRequestTypeDef = TypedDict(
319
341
  "CreateGeoMatchSetRequestRequestTypeDef",
320
342
  {
@@ -416,14 +438,6 @@ CreateWebACLMigrationStackRequestRequestTypeDef = TypedDict(
416
438
  },
417
439
  )
418
440
 
419
- CreateWebACLMigrationStackResponseTypeDef = TypedDict(
420
- "CreateWebACLMigrationStackResponseTypeDef",
421
- {
422
- "S3ObjectUrl": str,
423
- "ResponseMetadata": "ResponseMetadataTypeDef",
424
- },
425
- )
426
-
427
441
  CreateXssMatchSetRequestRequestTypeDef = TypedDict(
428
442
  "CreateXssMatchSetRequestRequestTypeDef",
429
443
  {
@@ -440,14 +454,6 @@ DeleteByteMatchSetRequestRequestTypeDef = TypedDict(
440
454
  },
441
455
  )
442
456
 
443
- DeleteByteMatchSetResponseTypeDef = TypedDict(
444
- "DeleteByteMatchSetResponseTypeDef",
445
- {
446
- "ChangeToken": str,
447
- "ResponseMetadata": "ResponseMetadataTypeDef",
448
- },
449
- )
450
-
451
457
  DeleteGeoMatchSetRequestRequestTypeDef = TypedDict(
452
458
  "DeleteGeoMatchSetRequestRequestTypeDef",
453
459
  {
@@ -456,14 +462,6 @@ DeleteGeoMatchSetRequestRequestTypeDef = TypedDict(
456
462
  },
457
463
  )
458
464
 
459
- DeleteGeoMatchSetResponseTypeDef = TypedDict(
460
- "DeleteGeoMatchSetResponseTypeDef",
461
- {
462
- "ChangeToken": str,
463
- "ResponseMetadata": "ResponseMetadataTypeDef",
464
- },
465
- )
466
-
467
465
  DeleteIPSetRequestRequestTypeDef = TypedDict(
468
466
  "DeleteIPSetRequestRequestTypeDef",
469
467
  {
@@ -472,14 +470,6 @@ DeleteIPSetRequestRequestTypeDef = TypedDict(
472
470
  },
473
471
  )
474
472
 
475
- DeleteIPSetResponseTypeDef = TypedDict(
476
- "DeleteIPSetResponseTypeDef",
477
- {
478
- "ChangeToken": str,
479
- "ResponseMetadata": "ResponseMetadataTypeDef",
480
- },
481
- )
482
-
483
473
  DeleteLoggingConfigurationRequestRequestTypeDef = TypedDict(
484
474
  "DeleteLoggingConfigurationRequestRequestTypeDef",
485
475
  {
@@ -502,14 +492,6 @@ DeleteRateBasedRuleRequestRequestTypeDef = TypedDict(
502
492
  },
503
493
  )
504
494
 
505
- DeleteRateBasedRuleResponseTypeDef = TypedDict(
506
- "DeleteRateBasedRuleResponseTypeDef",
507
- {
508
- "ChangeToken": str,
509
- "ResponseMetadata": "ResponseMetadataTypeDef",
510
- },
511
- )
512
-
513
495
  DeleteRegexMatchSetRequestRequestTypeDef = TypedDict(
514
496
  "DeleteRegexMatchSetRequestRequestTypeDef",
515
497
  {
@@ -518,14 +500,6 @@ DeleteRegexMatchSetRequestRequestTypeDef = TypedDict(
518
500
  },
519
501
  )
520
502
 
521
- DeleteRegexMatchSetResponseTypeDef = TypedDict(
522
- "DeleteRegexMatchSetResponseTypeDef",
523
- {
524
- "ChangeToken": str,
525
- "ResponseMetadata": "ResponseMetadataTypeDef",
526
- },
527
- )
528
-
529
503
  DeleteRegexPatternSetRequestRequestTypeDef = TypedDict(
530
504
  "DeleteRegexPatternSetRequestRequestTypeDef",
531
505
  {
@@ -534,14 +508,6 @@ DeleteRegexPatternSetRequestRequestTypeDef = TypedDict(
534
508
  },
535
509
  )
536
510
 
537
- DeleteRegexPatternSetResponseTypeDef = TypedDict(
538
- "DeleteRegexPatternSetResponseTypeDef",
539
- {
540
- "ChangeToken": str,
541
- "ResponseMetadata": "ResponseMetadataTypeDef",
542
- },
543
- )
544
-
545
511
  DeleteRuleGroupRequestRequestTypeDef = TypedDict(
546
512
  "DeleteRuleGroupRequestRequestTypeDef",
547
513
  {
@@ -550,14 +516,6 @@ DeleteRuleGroupRequestRequestTypeDef = TypedDict(
550
516
  },
551
517
  )
552
518
 
553
- DeleteRuleGroupResponseTypeDef = TypedDict(
554
- "DeleteRuleGroupResponseTypeDef",
555
- {
556
- "ChangeToken": str,
557
- "ResponseMetadata": "ResponseMetadataTypeDef",
558
- },
559
- )
560
-
561
519
  DeleteRuleRequestRequestTypeDef = TypedDict(
562
520
  "DeleteRuleRequestRequestTypeDef",
563
521
  {
@@ -566,14 +524,6 @@ DeleteRuleRequestRequestTypeDef = TypedDict(
566
524
  },
567
525
  )
568
526
 
569
- DeleteRuleResponseTypeDef = TypedDict(
570
- "DeleteRuleResponseTypeDef",
571
- {
572
- "ChangeToken": str,
573
- "ResponseMetadata": "ResponseMetadataTypeDef",
574
- },
575
- )
576
-
577
527
  DeleteSizeConstraintSetRequestRequestTypeDef = TypedDict(
578
528
  "DeleteSizeConstraintSetRequestRequestTypeDef",
579
529
  {
@@ -582,14 +532,6 @@ DeleteSizeConstraintSetRequestRequestTypeDef = TypedDict(
582
532
  },
583
533
  )
584
534
 
585
- DeleteSizeConstraintSetResponseTypeDef = TypedDict(
586
- "DeleteSizeConstraintSetResponseTypeDef",
587
- {
588
- "ChangeToken": str,
589
- "ResponseMetadata": "ResponseMetadataTypeDef",
590
- },
591
- )
592
-
593
535
  DeleteSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
594
536
  "DeleteSqlInjectionMatchSetRequestRequestTypeDef",
595
537
  {
@@ -598,14 +540,6 @@ DeleteSqlInjectionMatchSetRequestRequestTypeDef = TypedDict(
598
540
  },
599
541
  )
600
542
 
601
- DeleteSqlInjectionMatchSetResponseTypeDef = TypedDict(
602
- "DeleteSqlInjectionMatchSetResponseTypeDef",
603
- {
604
- "ChangeToken": str,
605
- "ResponseMetadata": "ResponseMetadataTypeDef",
606
- },
607
- )
608
-
609
543
  DeleteWebACLRequestRequestTypeDef = TypedDict(
610
544
  "DeleteWebACLRequestRequestTypeDef",
611
545
  {
@@ -614,14 +548,6 @@ DeleteWebACLRequestRequestTypeDef = TypedDict(
614
548
  },
615
549
  )
616
550
 
617
- DeleteWebACLResponseTypeDef = TypedDict(
618
- "DeleteWebACLResponseTypeDef",
619
- {
620
- "ChangeToken": str,
621
- "ResponseMetadata": "ResponseMetadataTypeDef",
622
- },
623
- )
624
-
625
551
  DeleteXssMatchSetRequestRequestTypeDef = TypedDict(
626
552
  "DeleteXssMatchSetRequestRequestTypeDef",
627
553
  {
@@ -630,14 +556,6 @@ DeleteXssMatchSetRequestRequestTypeDef = TypedDict(
630
556
  },
631
557
  )
632
558
 
633
- DeleteXssMatchSetResponseTypeDef = TypedDict(
634
- "DeleteXssMatchSetResponseTypeDef",
635
- {
636
- "ChangeToken": str,
637
- "ResponseMetadata": "ResponseMetadataTypeDef",
638
- },
639
- )
640
-
641
559
  DisassociateWebACLRequestRequestTypeDef = TypedDict(
642
560
  "DisassociateWebACLRequestRequestTypeDef",
643
561
  {
@@ -668,14 +586,6 @@ GetByteMatchSetRequestRequestTypeDef = TypedDict(
668
586
  },
669
587
  )
670
588
 
671
- GetChangeTokenResponseTypeDef = TypedDict(
672
- "GetChangeTokenResponseTypeDef",
673
- {
674
- "ChangeToken": str,
675
- "ResponseMetadata": "ResponseMetadataTypeDef",
676
- },
677
- )
678
-
679
589
  GetChangeTokenStatusRequestRequestTypeDef = TypedDict(
680
590
  "GetChangeTokenStatusRequestRequestTypeDef",
681
591
  {
@@ -683,14 +593,6 @@ GetChangeTokenStatusRequestRequestTypeDef = TypedDict(
683
593
  },
684
594
  )
685
595
 
686
- GetChangeTokenStatusResponseTypeDef = TypedDict(
687
- "GetChangeTokenStatusResponseTypeDef",
688
- {
689
- "ChangeTokenStatus": ChangeTokenStatusType,
690
- "ResponseMetadata": "ResponseMetadataTypeDef",
691
- },
692
- )
693
-
694
596
  GetGeoMatchSetRequestRequestTypeDef = TypedDict(
695
597
  "GetGeoMatchSetRequestRequestTypeDef",
696
598
  {
@@ -719,14 +621,6 @@ GetPermissionPolicyRequestRequestTypeDef = TypedDict(
719
621
  },
720
622
  )
721
623
 
722
- GetPermissionPolicyResponseTypeDef = TypedDict(
723
- "GetPermissionPolicyResponseTypeDef",
724
- {
725
- "Policy": str,
726
- "ResponseMetadata": "ResponseMetadataTypeDef",
727
- },
728
- )
729
-
730
624
  _RequiredGetRateBasedRuleManagedKeysRequestRequestTypeDef = TypedDict(
731
625
  "_RequiredGetRateBasedRuleManagedKeysRequestRequestTypeDef",
732
626
  {
@@ -747,15 +641,6 @@ class GetRateBasedRuleManagedKeysRequestRequestTypeDef(
747
641
  ):
748
642
  pass
749
643
 
750
- GetRateBasedRuleManagedKeysResponseTypeDef = TypedDict(
751
- "GetRateBasedRuleManagedKeysResponseTypeDef",
752
- {
753
- "ManagedKeys": List[str],
754
- "NextMarker": str,
755
- "ResponseMetadata": "ResponseMetadataTypeDef",
756
- },
757
- )
758
-
759
644
  GetRateBasedRuleRequestRequestTypeDef = TypedDict(
760
645
  "GetRateBasedRuleRequestRequestTypeDef",
761
646
  {
@@ -791,11 +676,11 @@ GetRuleRequestRequestTypeDef = TypedDict(
791
676
  },
792
677
  )
793
678
 
794
- TimeWindowTypeDef = TypedDict(
795
- "TimeWindowTypeDef",
679
+ TimeWindowOutputTypeDef = TypedDict(
680
+ "TimeWindowOutputTypeDef",
796
681
  {
797
- "StartTime": Union[datetime, str],
798
- "EndTime": Union[datetime, str],
682
+ "StartTime": datetime,
683
+ "EndTime": datetime,
799
684
  },
800
685
  )
801
686
 
@@ -984,14 +869,6 @@ class ListResourcesForWebACLRequestRequestTypeDef(
984
869
  ):
985
870
  pass
986
871
 
987
- ListResourcesForWebACLResponseTypeDef = TypedDict(
988
- "ListResourcesForWebACLResponseTypeDef",
989
- {
990
- "ResourceArns": List[str],
991
- "ResponseMetadata": "ResponseMetadataTypeDef",
992
- },
993
- )
994
-
995
872
  ListRuleGroupsRequestRequestTypeDef = TypedDict(
996
873
  "ListRuleGroupsRequestRequestTypeDef",
997
874
  {
@@ -1052,112 +929,395 @@ SqlInjectionMatchSetSummaryTypeDef = TypedDict(
1052
929
  },
1053
930
  )
1054
931
 
1055
- ListSubscribedRuleGroupsRequestRequestTypeDef = TypedDict(
1056
- "ListSubscribedRuleGroupsRequestRequestTypeDef",
932
+ ListSubscribedRuleGroupsRequestRequestTypeDef = TypedDict(
933
+ "ListSubscribedRuleGroupsRequestRequestTypeDef",
934
+ {
935
+ "NextMarker": str,
936
+ "Limit": int,
937
+ },
938
+ total=False,
939
+ )
940
+
941
+ SubscribedRuleGroupSummaryTypeDef = TypedDict(
942
+ "SubscribedRuleGroupSummaryTypeDef",
943
+ {
944
+ "RuleGroupId": str,
945
+ "Name": str,
946
+ "MetricName": str,
947
+ },
948
+ )
949
+
950
+ _RequiredListTagsForResourceRequestRequestTypeDef = TypedDict(
951
+ "_RequiredListTagsForResourceRequestRequestTypeDef",
952
+ {
953
+ "ResourceARN": str,
954
+ },
955
+ )
956
+ _OptionalListTagsForResourceRequestRequestTypeDef = TypedDict(
957
+ "_OptionalListTagsForResourceRequestRequestTypeDef",
958
+ {
959
+ "NextMarker": str,
960
+ "Limit": int,
961
+ },
962
+ total=False,
963
+ )
964
+
965
+ class ListTagsForResourceRequestRequestTypeDef(
966
+ _RequiredListTagsForResourceRequestRequestTypeDef,
967
+ _OptionalListTagsForResourceRequestRequestTypeDef,
968
+ ):
969
+ pass
970
+
971
+ ListWebACLsRequestRequestTypeDef = TypedDict(
972
+ "ListWebACLsRequestRequestTypeDef",
973
+ {
974
+ "NextMarker": str,
975
+ "Limit": int,
976
+ },
977
+ total=False,
978
+ )
979
+
980
+ ListXssMatchSetsRequestRequestTypeDef = TypedDict(
981
+ "ListXssMatchSetsRequestRequestTypeDef",
982
+ {
983
+ "NextMarker": str,
984
+ "Limit": int,
985
+ },
986
+ total=False,
987
+ )
988
+
989
+ XssMatchSetSummaryTypeDef = TypedDict(
990
+ "XssMatchSetSummaryTypeDef",
991
+ {
992
+ "XssMatchSetId": str,
993
+ "Name": str,
994
+ },
995
+ )
996
+
997
+ PredicateTypeDef = TypedDict(
998
+ "PredicateTypeDef",
999
+ {
1000
+ "Negated": bool,
1001
+ "Type": PredicateTypeType,
1002
+ "DataId": str,
1003
+ },
1004
+ )
1005
+
1006
+ PutPermissionPolicyRequestRequestTypeDef = TypedDict(
1007
+ "PutPermissionPolicyRequestRequestTypeDef",
1008
+ {
1009
+ "ResourceArn": str,
1010
+ "Policy": str,
1011
+ },
1012
+ )
1013
+
1014
+ RegexPatternSetUpdateTypeDef = TypedDict(
1015
+ "RegexPatternSetUpdateTypeDef",
1016
+ {
1017
+ "Action": ChangeActionType,
1018
+ "RegexPatternString": str,
1019
+ },
1020
+ )
1021
+
1022
+ TimestampTypeDef = Union[datetime, str]
1023
+ UntagResourceRequestRequestTypeDef = TypedDict(
1024
+ "UntagResourceRequestRequestTypeDef",
1025
+ {
1026
+ "ResourceARN": str,
1027
+ "TagKeys": Sequence[str],
1028
+ },
1029
+ )
1030
+
1031
+ _RequiredActivatedRuleOutputTypeDef = TypedDict(
1032
+ "_RequiredActivatedRuleOutputTypeDef",
1033
+ {
1034
+ "Priority": int,
1035
+ "RuleId": str,
1036
+ },
1037
+ )
1038
+ _OptionalActivatedRuleOutputTypeDef = TypedDict(
1039
+ "_OptionalActivatedRuleOutputTypeDef",
1040
+ {
1041
+ "Action": WafActionTypeDef,
1042
+ "OverrideAction": WafOverrideActionTypeDef,
1043
+ "Type": WafRuleTypeType,
1044
+ "ExcludedRules": List[ExcludedRuleTypeDef],
1045
+ },
1046
+ total=False,
1047
+ )
1048
+
1049
+ class ActivatedRuleOutputTypeDef(
1050
+ _RequiredActivatedRuleOutputTypeDef, _OptionalActivatedRuleOutputTypeDef
1051
+ ):
1052
+ pass
1053
+
1054
+ _RequiredActivatedRuleTypeDef = TypedDict(
1055
+ "_RequiredActivatedRuleTypeDef",
1056
+ {
1057
+ "Priority": int,
1058
+ "RuleId": str,
1059
+ },
1060
+ )
1061
+ _OptionalActivatedRuleTypeDef = TypedDict(
1062
+ "_OptionalActivatedRuleTypeDef",
1063
+ {
1064
+ "Action": WafActionTypeDef,
1065
+ "OverrideAction": WafOverrideActionTypeDef,
1066
+ "Type": WafRuleTypeType,
1067
+ "ExcludedRules": Sequence[ExcludedRuleTypeDef],
1068
+ },
1069
+ total=False,
1070
+ )
1071
+
1072
+ class ActivatedRuleTypeDef(_RequiredActivatedRuleTypeDef, _OptionalActivatedRuleTypeDef):
1073
+ pass
1074
+
1075
+ ByteMatchTupleOutputTypeDef = TypedDict(
1076
+ "ByteMatchTupleOutputTypeDef",
1077
+ {
1078
+ "FieldToMatch": FieldToMatchTypeDef,
1079
+ "TargetString": bytes,
1080
+ "TextTransformation": TextTransformationType,
1081
+ "PositionalConstraint": PositionalConstraintType,
1082
+ },
1083
+ )
1084
+
1085
+ ByteMatchTupleTypeDef = TypedDict(
1086
+ "ByteMatchTupleTypeDef",
1087
+ {
1088
+ "FieldToMatch": FieldToMatchTypeDef,
1089
+ "TargetString": BlobTypeDef,
1090
+ "TextTransformation": TextTransformationType,
1091
+ "PositionalConstraint": PositionalConstraintType,
1092
+ },
1093
+ )
1094
+
1095
+ _RequiredLoggingConfigurationOutputTypeDef = TypedDict(
1096
+ "_RequiredLoggingConfigurationOutputTypeDef",
1097
+ {
1098
+ "ResourceArn": str,
1099
+ "LogDestinationConfigs": List[str],
1100
+ },
1101
+ )
1102
+ _OptionalLoggingConfigurationOutputTypeDef = TypedDict(
1103
+ "_OptionalLoggingConfigurationOutputTypeDef",
1104
+ {
1105
+ "RedactedFields": List[FieldToMatchTypeDef],
1106
+ },
1107
+ total=False,
1108
+ )
1109
+
1110
+ class LoggingConfigurationOutputTypeDef(
1111
+ _RequiredLoggingConfigurationOutputTypeDef, _OptionalLoggingConfigurationOutputTypeDef
1112
+ ):
1113
+ pass
1114
+
1115
+ _RequiredLoggingConfigurationTypeDef = TypedDict(
1116
+ "_RequiredLoggingConfigurationTypeDef",
1117
+ {
1118
+ "ResourceArn": str,
1119
+ "LogDestinationConfigs": Sequence[str],
1120
+ },
1121
+ )
1122
+ _OptionalLoggingConfigurationTypeDef = TypedDict(
1123
+ "_OptionalLoggingConfigurationTypeDef",
1124
+ {
1125
+ "RedactedFields": Sequence[FieldToMatchTypeDef],
1126
+ },
1127
+ total=False,
1128
+ )
1129
+
1130
+ class LoggingConfigurationTypeDef(
1131
+ _RequiredLoggingConfigurationTypeDef, _OptionalLoggingConfigurationTypeDef
1132
+ ):
1133
+ pass
1134
+
1135
+ RegexMatchTupleTypeDef = TypedDict(
1136
+ "RegexMatchTupleTypeDef",
1137
+ {
1138
+ "FieldToMatch": FieldToMatchTypeDef,
1139
+ "TextTransformation": TextTransformationType,
1140
+ "RegexPatternSetId": str,
1141
+ },
1142
+ )
1143
+
1144
+ SizeConstraintTypeDef = TypedDict(
1145
+ "SizeConstraintTypeDef",
1146
+ {
1147
+ "FieldToMatch": FieldToMatchTypeDef,
1148
+ "TextTransformation": TextTransformationType,
1149
+ "ComparisonOperator": ComparisonOperatorType,
1150
+ "Size": int,
1151
+ },
1152
+ )
1153
+
1154
+ SqlInjectionMatchTupleTypeDef = TypedDict(
1155
+ "SqlInjectionMatchTupleTypeDef",
1156
+ {
1157
+ "FieldToMatch": FieldToMatchTypeDef,
1158
+ "TextTransformation": TextTransformationType,
1159
+ },
1160
+ )
1161
+
1162
+ XssMatchTupleTypeDef = TypedDict(
1163
+ "XssMatchTupleTypeDef",
1164
+ {
1165
+ "FieldToMatch": FieldToMatchTypeDef,
1166
+ "TextTransformation": TextTransformationType,
1167
+ },
1168
+ )
1169
+
1170
+ CreateWebACLMigrationStackResponseTypeDef = TypedDict(
1171
+ "CreateWebACLMigrationStackResponseTypeDef",
1172
+ {
1173
+ "S3ObjectUrl": str,
1174
+ "ResponseMetadata": ResponseMetadataTypeDef,
1175
+ },
1176
+ )
1177
+
1178
+ DeleteByteMatchSetResponseTypeDef = TypedDict(
1179
+ "DeleteByteMatchSetResponseTypeDef",
1180
+ {
1181
+ "ChangeToken": str,
1182
+ "ResponseMetadata": ResponseMetadataTypeDef,
1183
+ },
1184
+ )
1185
+
1186
+ DeleteGeoMatchSetResponseTypeDef = TypedDict(
1187
+ "DeleteGeoMatchSetResponseTypeDef",
1188
+ {
1189
+ "ChangeToken": str,
1190
+ "ResponseMetadata": ResponseMetadataTypeDef,
1191
+ },
1192
+ )
1193
+
1194
+ DeleteIPSetResponseTypeDef = TypedDict(
1195
+ "DeleteIPSetResponseTypeDef",
1196
+ {
1197
+ "ChangeToken": str,
1198
+ "ResponseMetadata": ResponseMetadataTypeDef,
1199
+ },
1200
+ )
1201
+
1202
+ DeleteRateBasedRuleResponseTypeDef = TypedDict(
1203
+ "DeleteRateBasedRuleResponseTypeDef",
1204
+ {
1205
+ "ChangeToken": str,
1206
+ "ResponseMetadata": ResponseMetadataTypeDef,
1207
+ },
1208
+ )
1209
+
1210
+ DeleteRegexMatchSetResponseTypeDef = TypedDict(
1211
+ "DeleteRegexMatchSetResponseTypeDef",
1212
+ {
1213
+ "ChangeToken": str,
1214
+ "ResponseMetadata": ResponseMetadataTypeDef,
1215
+ },
1216
+ )
1217
+
1218
+ DeleteRegexPatternSetResponseTypeDef = TypedDict(
1219
+ "DeleteRegexPatternSetResponseTypeDef",
1220
+ {
1221
+ "ChangeToken": str,
1222
+ "ResponseMetadata": ResponseMetadataTypeDef,
1223
+ },
1224
+ )
1225
+
1226
+ DeleteRuleGroupResponseTypeDef = TypedDict(
1227
+ "DeleteRuleGroupResponseTypeDef",
1057
1228
  {
1058
- "NextMarker": str,
1059
- "Limit": int,
1229
+ "ChangeToken": str,
1230
+ "ResponseMetadata": ResponseMetadataTypeDef,
1060
1231
  },
1061
- total=False,
1062
1232
  )
1063
1233
 
1064
- SubscribedRuleGroupSummaryTypeDef = TypedDict(
1065
- "SubscribedRuleGroupSummaryTypeDef",
1234
+ DeleteRuleResponseTypeDef = TypedDict(
1235
+ "DeleteRuleResponseTypeDef",
1066
1236
  {
1067
- "RuleGroupId": str,
1068
- "Name": str,
1069
- "MetricName": str,
1237
+ "ChangeToken": str,
1238
+ "ResponseMetadata": ResponseMetadataTypeDef,
1070
1239
  },
1071
1240
  )
1072
1241
 
1073
- _RequiredListTagsForResourceRequestRequestTypeDef = TypedDict(
1074
- "_RequiredListTagsForResourceRequestRequestTypeDef",
1242
+ DeleteSizeConstraintSetResponseTypeDef = TypedDict(
1243
+ "DeleteSizeConstraintSetResponseTypeDef",
1075
1244
  {
1076
- "ResourceARN": str,
1245
+ "ChangeToken": str,
1246
+ "ResponseMetadata": ResponseMetadataTypeDef,
1077
1247
  },
1078
1248
  )
1079
- _OptionalListTagsForResourceRequestRequestTypeDef = TypedDict(
1080
- "_OptionalListTagsForResourceRequestRequestTypeDef",
1249
+
1250
+ DeleteSqlInjectionMatchSetResponseTypeDef = TypedDict(
1251
+ "DeleteSqlInjectionMatchSetResponseTypeDef",
1081
1252
  {
1082
- "NextMarker": str,
1083
- "Limit": int,
1253
+ "ChangeToken": str,
1254
+ "ResponseMetadata": ResponseMetadataTypeDef,
1084
1255
  },
1085
- total=False,
1086
1256
  )
1087
1257
 
1088
- class ListTagsForResourceRequestRequestTypeDef(
1089
- _RequiredListTagsForResourceRequestRequestTypeDef,
1090
- _OptionalListTagsForResourceRequestRequestTypeDef,
1091
- ):
1092
- pass
1093
-
1094
- ListWebACLsRequestRequestTypeDef = TypedDict(
1095
- "ListWebACLsRequestRequestTypeDef",
1258
+ DeleteWebACLResponseTypeDef = TypedDict(
1259
+ "DeleteWebACLResponseTypeDef",
1096
1260
  {
1097
- "NextMarker": str,
1098
- "Limit": int,
1261
+ "ChangeToken": str,
1262
+ "ResponseMetadata": ResponseMetadataTypeDef,
1099
1263
  },
1100
- total=False,
1101
1264
  )
1102
1265
 
1103
- ListXssMatchSetsRequestRequestTypeDef = TypedDict(
1104
- "ListXssMatchSetsRequestRequestTypeDef",
1266
+ DeleteXssMatchSetResponseTypeDef = TypedDict(
1267
+ "DeleteXssMatchSetResponseTypeDef",
1105
1268
  {
1106
- "NextMarker": str,
1107
- "Limit": int,
1269
+ "ChangeToken": str,
1270
+ "ResponseMetadata": ResponseMetadataTypeDef,
1108
1271
  },
1109
- total=False,
1110
1272
  )
1111
1273
 
1112
- XssMatchSetSummaryTypeDef = TypedDict(
1113
- "XssMatchSetSummaryTypeDef",
1274
+ GetChangeTokenResponseTypeDef = TypedDict(
1275
+ "GetChangeTokenResponseTypeDef",
1114
1276
  {
1115
- "XssMatchSetId": str,
1116
- "Name": str,
1277
+ "ChangeToken": str,
1278
+ "ResponseMetadata": ResponseMetadataTypeDef,
1117
1279
  },
1118
1280
  )
1119
1281
 
1120
- PredicateTypeDef = TypedDict(
1121
- "PredicateTypeDef",
1282
+ GetChangeTokenStatusResponseTypeDef = TypedDict(
1283
+ "GetChangeTokenStatusResponseTypeDef",
1122
1284
  {
1123
- "Negated": bool,
1124
- "Type": PredicateTypeType,
1125
- "DataId": str,
1285
+ "ChangeTokenStatus": ChangeTokenStatusType,
1286
+ "ResponseMetadata": ResponseMetadataTypeDef,
1126
1287
  },
1127
1288
  )
1128
1289
 
1129
- PutPermissionPolicyRequestRequestTypeDef = TypedDict(
1130
- "PutPermissionPolicyRequestRequestTypeDef",
1290
+ GetPermissionPolicyResponseTypeDef = TypedDict(
1291
+ "GetPermissionPolicyResponseTypeDef",
1131
1292
  {
1132
- "ResourceArn": str,
1133
1293
  "Policy": str,
1294
+ "ResponseMetadata": ResponseMetadataTypeDef,
1134
1295
  },
1135
1296
  )
1136
1297
 
1137
- RegexPatternSetUpdateTypeDef = TypedDict(
1138
- "RegexPatternSetUpdateTypeDef",
1298
+ GetRateBasedRuleManagedKeysResponseTypeDef = TypedDict(
1299
+ "GetRateBasedRuleManagedKeysResponseTypeDef",
1139
1300
  {
1140
- "Action": ChangeActionType,
1141
- "RegexPatternString": str,
1301
+ "ManagedKeys": List[str],
1302
+ "NextMarker": str,
1303
+ "ResponseMetadata": ResponseMetadataTypeDef,
1142
1304
  },
1143
1305
  )
1144
1306
 
1145
- ResponseMetadataTypeDef = TypedDict(
1146
- "ResponseMetadataTypeDef",
1307
+ ListByteMatchSetsResponseTypeDef = TypedDict(
1308
+ "ListByteMatchSetsResponseTypeDef",
1147
1309
  {
1148
- "RequestId": str,
1149
- "HostId": str,
1150
- "HTTPStatusCode": int,
1151
- "HTTPHeaders": Dict[str, str],
1152
- "RetryAttempts": int,
1310
+ "NextMarker": str,
1311
+ "ByteMatchSets": List[ByteMatchSetSummaryTypeDef],
1312
+ "ResponseMetadata": ResponseMetadataTypeDef,
1153
1313
  },
1154
1314
  )
1155
1315
 
1156
- UntagResourceRequestRequestTypeDef = TypedDict(
1157
- "UntagResourceRequestRequestTypeDef",
1316
+ ListResourcesForWebACLResponseTypeDef = TypedDict(
1317
+ "ListResourcesForWebACLResponseTypeDef",
1158
1318
  {
1159
- "ResourceARN": str,
1160
- "TagKeys": Sequence[str],
1319
+ "ResourceArns": List[str],
1320
+ "ResponseMetadata": ResponseMetadataTypeDef,
1161
1321
  },
1162
1322
  )
1163
1323
 
@@ -1165,7 +1325,7 @@ UpdateByteMatchSetResponseTypeDef = TypedDict(
1165
1325
  "UpdateByteMatchSetResponseTypeDef",
1166
1326
  {
1167
1327
  "ChangeToken": str,
1168
- "ResponseMetadata": "ResponseMetadataTypeDef",
1328
+ "ResponseMetadata": ResponseMetadataTypeDef,
1169
1329
  },
1170
1330
  )
1171
1331
 
@@ -1173,7 +1333,7 @@ UpdateGeoMatchSetResponseTypeDef = TypedDict(
1173
1333
  "UpdateGeoMatchSetResponseTypeDef",
1174
1334
  {
1175
1335
  "ChangeToken": str,
1176
- "ResponseMetadata": "ResponseMetadataTypeDef",
1336
+ "ResponseMetadata": ResponseMetadataTypeDef,
1177
1337
  },
1178
1338
  )
1179
1339
 
@@ -1181,7 +1341,7 @@ UpdateIPSetResponseTypeDef = TypedDict(
1181
1341
  "UpdateIPSetResponseTypeDef",
1182
1342
  {
1183
1343
  "ChangeToken": str,
1184
- "ResponseMetadata": "ResponseMetadataTypeDef",
1344
+ "ResponseMetadata": ResponseMetadataTypeDef,
1185
1345
  },
1186
1346
  )
1187
1347
 
@@ -1189,7 +1349,7 @@ UpdateRateBasedRuleResponseTypeDef = TypedDict(
1189
1349
  "UpdateRateBasedRuleResponseTypeDef",
1190
1350
  {
1191
1351
  "ChangeToken": str,
1192
- "ResponseMetadata": "ResponseMetadataTypeDef",
1352
+ "ResponseMetadata": ResponseMetadataTypeDef,
1193
1353
  },
1194
1354
  )
1195
1355
 
@@ -1197,7 +1357,7 @@ UpdateRegexMatchSetResponseTypeDef = TypedDict(
1197
1357
  "UpdateRegexMatchSetResponseTypeDef",
1198
1358
  {
1199
1359
  "ChangeToken": str,
1200
- "ResponseMetadata": "ResponseMetadataTypeDef",
1360
+ "ResponseMetadata": ResponseMetadataTypeDef,
1201
1361
  },
1202
1362
  )
1203
1363
 
@@ -1205,7 +1365,7 @@ UpdateRegexPatternSetResponseTypeDef = TypedDict(
1205
1365
  "UpdateRegexPatternSetResponseTypeDef",
1206
1366
  {
1207
1367
  "ChangeToken": str,
1208
- "ResponseMetadata": "ResponseMetadataTypeDef",
1368
+ "ResponseMetadata": ResponseMetadataTypeDef,
1209
1369
  },
1210
1370
  )
1211
1371
 
@@ -1213,7 +1373,7 @@ UpdateRuleGroupResponseTypeDef = TypedDict(
1213
1373
  "UpdateRuleGroupResponseTypeDef",
1214
1374
  {
1215
1375
  "ChangeToken": str,
1216
- "ResponseMetadata": "ResponseMetadataTypeDef",
1376
+ "ResponseMetadata": ResponseMetadataTypeDef,
1217
1377
  },
1218
1378
  )
1219
1379
 
@@ -1221,7 +1381,7 @@ UpdateRuleResponseTypeDef = TypedDict(
1221
1381
  "UpdateRuleResponseTypeDef",
1222
1382
  {
1223
1383
  "ChangeToken": str,
1224
- "ResponseMetadata": "ResponseMetadataTypeDef",
1384
+ "ResponseMetadata": ResponseMetadataTypeDef,
1225
1385
  },
1226
1386
  )
1227
1387
 
@@ -1229,7 +1389,7 @@ UpdateSizeConstraintSetResponseTypeDef = TypedDict(
1229
1389
  "UpdateSizeConstraintSetResponseTypeDef",
1230
1390
  {
1231
1391
  "ChangeToken": str,
1232
- "ResponseMetadata": "ResponseMetadataTypeDef",
1392
+ "ResponseMetadata": ResponseMetadataTypeDef,
1233
1393
  },
1234
1394
  )
1235
1395
 
@@ -1237,7 +1397,7 @@ UpdateSqlInjectionMatchSetResponseTypeDef = TypedDict(
1237
1397
  "UpdateSqlInjectionMatchSetResponseTypeDef",
1238
1398
  {
1239
1399
  "ChangeToken": str,
1240
- "ResponseMetadata": "ResponseMetadataTypeDef",
1400
+ "ResponseMetadata": ResponseMetadataTypeDef,
1241
1401
  },
1242
1402
  )
1243
1403
 
@@ -1245,7 +1405,7 @@ UpdateWebACLResponseTypeDef = TypedDict(
1245
1405
  "UpdateWebACLResponseTypeDef",
1246
1406
  {
1247
1407
  "ChangeToken": str,
1248
- "ResponseMetadata": "ResponseMetadataTypeDef",
1408
+ "ResponseMetadata": ResponseMetadataTypeDef,
1249
1409
  },
1250
1410
  )
1251
1411
 
@@ -1253,102 +1413,7 @@ UpdateXssMatchSetResponseTypeDef = TypedDict(
1253
1413
  "UpdateXssMatchSetResponseTypeDef",
1254
1414
  {
1255
1415
  "ChangeToken": str,
1256
- "ResponseMetadata": "ResponseMetadataTypeDef",
1257
- },
1258
- )
1259
-
1260
- _RequiredActivatedRuleTypeDef = TypedDict(
1261
- "_RequiredActivatedRuleTypeDef",
1262
- {
1263
- "Priority": int,
1264
- "RuleId": str,
1265
- },
1266
- )
1267
- _OptionalActivatedRuleTypeDef = TypedDict(
1268
- "_OptionalActivatedRuleTypeDef",
1269
- {
1270
- "Action": WafActionTypeDef,
1271
- "OverrideAction": WafOverrideActionTypeDef,
1272
- "Type": WafRuleTypeType,
1273
- "ExcludedRules": List[ExcludedRuleTypeDef],
1274
- },
1275
- total=False,
1276
- )
1277
-
1278
- class ActivatedRuleTypeDef(_RequiredActivatedRuleTypeDef, _OptionalActivatedRuleTypeDef):
1279
- pass
1280
-
1281
- ListByteMatchSetsResponseTypeDef = TypedDict(
1282
- "ListByteMatchSetsResponseTypeDef",
1283
- {
1284
- "NextMarker": str,
1285
- "ByteMatchSets": List[ByteMatchSetSummaryTypeDef],
1286
- "ResponseMetadata": "ResponseMetadataTypeDef",
1287
- },
1288
- )
1289
-
1290
- ByteMatchTupleTypeDef = TypedDict(
1291
- "ByteMatchTupleTypeDef",
1292
- {
1293
- "FieldToMatch": FieldToMatchTypeDef,
1294
- "TargetString": bytes,
1295
- "TextTransformation": TextTransformationType,
1296
- "PositionalConstraint": PositionalConstraintType,
1297
- },
1298
- )
1299
-
1300
- _RequiredLoggingConfigurationTypeDef = TypedDict(
1301
- "_RequiredLoggingConfigurationTypeDef",
1302
- {
1303
- "ResourceArn": str,
1304
- "LogDestinationConfigs": List[str],
1305
- },
1306
- )
1307
- _OptionalLoggingConfigurationTypeDef = TypedDict(
1308
- "_OptionalLoggingConfigurationTypeDef",
1309
- {
1310
- "RedactedFields": List[FieldToMatchTypeDef],
1311
- },
1312
- total=False,
1313
- )
1314
-
1315
- class LoggingConfigurationTypeDef(
1316
- _RequiredLoggingConfigurationTypeDef, _OptionalLoggingConfigurationTypeDef
1317
- ):
1318
- pass
1319
-
1320
- RegexMatchTupleTypeDef = TypedDict(
1321
- "RegexMatchTupleTypeDef",
1322
- {
1323
- "FieldToMatch": FieldToMatchTypeDef,
1324
- "TextTransformation": TextTransformationType,
1325
- "RegexPatternSetId": str,
1326
- },
1327
- )
1328
-
1329
- SizeConstraintTypeDef = TypedDict(
1330
- "SizeConstraintTypeDef",
1331
- {
1332
- "FieldToMatch": FieldToMatchTypeDef,
1333
- "TextTransformation": TextTransformationType,
1334
- "ComparisonOperator": ComparisonOperatorType,
1335
- "Size": int,
1336
- },
1337
- )
1338
-
1339
- SqlInjectionMatchTupleTypeDef = TypedDict(
1340
- "SqlInjectionMatchTupleTypeDef",
1341
- {
1342
- "FieldToMatch": FieldToMatchTypeDef,
1343
- "TextTransformation": TextTransformationType,
1344
- },
1345
- )
1346
-
1347
- XssMatchTupleTypeDef = TypedDict(
1348
- "XssMatchTupleTypeDef",
1349
- {
1350
- "FieldToMatch": FieldToMatchTypeDef,
1351
- "TextTransformation": TextTransformationType,
1416
+ "ResponseMetadata": ResponseMetadataTypeDef,
1352
1417
  },
1353
1418
  )
1354
1419
 
@@ -1462,7 +1527,7 @@ CreateRegexPatternSetResponseTypeDef = TypedDict(
1462
1527
  {
1463
1528
  "RegexPatternSet": RegexPatternSetTypeDef,
1464
1529
  "ChangeToken": str,
1465
- "ResponseMetadata": "ResponseMetadataTypeDef",
1530
+ "ResponseMetadata": ResponseMetadataTypeDef,
1466
1531
  },
1467
1532
  )
1468
1533
 
@@ -1470,7 +1535,7 @@ GetRegexPatternSetResponseTypeDef = TypedDict(
1470
1535
  "GetRegexPatternSetResponseTypeDef",
1471
1536
  {
1472
1537
  "RegexPatternSet": RegexPatternSetTypeDef,
1473
- "ResponseMetadata": "ResponseMetadataTypeDef",
1538
+ "ResponseMetadata": ResponseMetadataTypeDef,
1474
1539
  },
1475
1540
  )
1476
1541
 
@@ -1479,7 +1544,7 @@ CreateRuleGroupResponseTypeDef = TypedDict(
1479
1544
  {
1480
1545
  "RuleGroup": RuleGroupTypeDef,
1481
1546
  "ChangeToken": str,
1482
- "ResponseMetadata": "ResponseMetadataTypeDef",
1547
+ "ResponseMetadata": ResponseMetadataTypeDef,
1483
1548
  },
1484
1549
  )
1485
1550
 
@@ -1487,7 +1552,7 @@ GetRuleGroupResponseTypeDef = TypedDict(
1487
1552
  "GetRuleGroupResponseTypeDef",
1488
1553
  {
1489
1554
  "RuleGroup": RuleGroupTypeDef,
1490
- "ResponseMetadata": "ResponseMetadataTypeDef",
1555
+ "ResponseMetadata": ResponseMetadataTypeDef,
1491
1556
  },
1492
1557
  )
1493
1558
 
@@ -1522,17 +1587,7 @@ ListGeoMatchSetsResponseTypeDef = TypedDict(
1522
1587
  {
1523
1588
  "NextMarker": str,
1524
1589
  "GeoMatchSets": List[GeoMatchSetSummaryTypeDef],
1525
- "ResponseMetadata": "ResponseMetadataTypeDef",
1526
- },
1527
- )
1528
-
1529
- GetSampledRequestsRequestRequestTypeDef = TypedDict(
1530
- "GetSampledRequestsRequestRequestTypeDef",
1531
- {
1532
- "WebAclId": str,
1533
- "RuleId": str,
1534
- "TimeWindow": TimeWindowTypeDef,
1535
- "MaxItems": int,
1590
+ "ResponseMetadata": ResponseMetadataTypeDef,
1536
1591
  },
1537
1592
  )
1538
1593
 
@@ -1540,7 +1595,7 @@ GetWebACLForResourceResponseTypeDef = TypedDict(
1540
1595
  "GetWebACLForResourceResponseTypeDef",
1541
1596
  {
1542
1597
  "WebACLSummary": WebACLSummaryTypeDef,
1543
- "ResponseMetadata": "ResponseMetadataTypeDef",
1598
+ "ResponseMetadata": ResponseMetadataTypeDef,
1544
1599
  },
1545
1600
  )
1546
1601
 
@@ -1549,7 +1604,7 @@ ListWebACLsResponseTypeDef = TypedDict(
1549
1604
  {
1550
1605
  "NextMarker": str,
1551
1606
  "WebACLs": List[WebACLSummaryTypeDef],
1552
- "ResponseMetadata": "ResponseMetadataTypeDef",
1607
+ "ResponseMetadata": ResponseMetadataTypeDef,
1553
1608
  },
1554
1609
  )
1555
1610
 
@@ -1597,7 +1652,7 @@ ListIPSetsResponseTypeDef = TypedDict(
1597
1652
  {
1598
1653
  "NextMarker": str,
1599
1654
  "IPSets": List[IPSetSummaryTypeDef],
1600
- "ResponseMetadata": "ResponseMetadataTypeDef",
1655
+ "ResponseMetadata": ResponseMetadataTypeDef,
1601
1656
  },
1602
1657
  )
1603
1658
 
@@ -1606,7 +1661,7 @@ ListRateBasedRulesResponseTypeDef = TypedDict(
1606
1661
  {
1607
1662
  "NextMarker": str,
1608
1663
  "Rules": List[RuleSummaryTypeDef],
1609
- "ResponseMetadata": "ResponseMetadataTypeDef",
1664
+ "ResponseMetadata": ResponseMetadataTypeDef,
1610
1665
  },
1611
1666
  )
1612
1667
 
@@ -1615,7 +1670,7 @@ ListRulesResponseTypeDef = TypedDict(
1615
1670
  {
1616
1671
  "NextMarker": str,
1617
1672
  "Rules": List[RuleSummaryTypeDef],
1618
- "ResponseMetadata": "ResponseMetadataTypeDef",
1673
+ "ResponseMetadata": ResponseMetadataTypeDef,
1619
1674
  },
1620
1675
  )
1621
1676
 
@@ -1624,7 +1679,7 @@ ListRegexMatchSetsResponseTypeDef = TypedDict(
1624
1679
  {
1625
1680
  "NextMarker": str,
1626
1681
  "RegexMatchSets": List[RegexMatchSetSummaryTypeDef],
1627
- "ResponseMetadata": "ResponseMetadataTypeDef",
1682
+ "ResponseMetadata": ResponseMetadataTypeDef,
1628
1683
  },
1629
1684
  )
1630
1685
 
@@ -1633,7 +1688,7 @@ ListRegexPatternSetsResponseTypeDef = TypedDict(
1633
1688
  {
1634
1689
  "NextMarker": str,
1635
1690
  "RegexPatternSets": List[RegexPatternSetSummaryTypeDef],
1636
- "ResponseMetadata": "ResponseMetadataTypeDef",
1691
+ "ResponseMetadata": ResponseMetadataTypeDef,
1637
1692
  },
1638
1693
  )
1639
1694
 
@@ -1642,7 +1697,7 @@ ListRuleGroupsResponseTypeDef = TypedDict(
1642
1697
  {
1643
1698
  "NextMarker": str,
1644
1699
  "RuleGroups": List[RuleGroupSummaryTypeDef],
1645
- "ResponseMetadata": "ResponseMetadataTypeDef",
1700
+ "ResponseMetadata": ResponseMetadataTypeDef,
1646
1701
  },
1647
1702
  )
1648
1703
 
@@ -1651,7 +1706,7 @@ ListSizeConstraintSetsResponseTypeDef = TypedDict(
1651
1706
  {
1652
1707
  "NextMarker": str,
1653
1708
  "SizeConstraintSets": List[SizeConstraintSetSummaryTypeDef],
1654
- "ResponseMetadata": "ResponseMetadataTypeDef",
1709
+ "ResponseMetadata": ResponseMetadataTypeDef,
1655
1710
  },
1656
1711
  )
1657
1712
 
@@ -1660,7 +1715,7 @@ ListSqlInjectionMatchSetsResponseTypeDef = TypedDict(
1660
1715
  {
1661
1716
  "NextMarker": str,
1662
1717
  "SqlInjectionMatchSets": List[SqlInjectionMatchSetSummaryTypeDef],
1663
- "ResponseMetadata": "ResponseMetadataTypeDef",
1718
+ "ResponseMetadata": ResponseMetadataTypeDef,
1664
1719
  },
1665
1720
  )
1666
1721
 
@@ -1669,7 +1724,7 @@ ListSubscribedRuleGroupsResponseTypeDef = TypedDict(
1669
1724
  {
1670
1725
  "NextMarker": str,
1671
1726
  "RuleGroups": List[SubscribedRuleGroupSummaryTypeDef],
1672
- "ResponseMetadata": "ResponseMetadataTypeDef",
1727
+ "ResponseMetadata": ResponseMetadataTypeDef,
1673
1728
  },
1674
1729
  )
1675
1730
 
@@ -1678,7 +1733,7 @@ ListXssMatchSetsResponseTypeDef = TypedDict(
1678
1733
  {
1679
1734
  "NextMarker": str,
1680
1735
  "XssMatchSets": List[XssMatchSetSummaryTypeDef],
1681
- "ResponseMetadata": "ResponseMetadataTypeDef",
1736
+ "ResponseMetadata": ResponseMetadataTypeDef,
1682
1737
  },
1683
1738
  )
1684
1739
 
@@ -1739,20 +1794,20 @@ UpdateRegexPatternSetRequestRequestTypeDef = TypedDict(
1739
1794
  },
1740
1795
  )
1741
1796
 
1742
- ListActivatedRulesInRuleGroupResponseTypeDef = TypedDict(
1743
- "ListActivatedRulesInRuleGroupResponseTypeDef",
1797
+ TimeWindowTypeDef = TypedDict(
1798
+ "TimeWindowTypeDef",
1744
1799
  {
1745
- "NextMarker": str,
1746
- "ActivatedRules": List[ActivatedRuleTypeDef],
1747
- "ResponseMetadata": "ResponseMetadataTypeDef",
1800
+ "StartTime": TimestampTypeDef,
1801
+ "EndTime": TimestampTypeDef,
1748
1802
  },
1749
1803
  )
1750
1804
 
1751
- RuleGroupUpdateTypeDef = TypedDict(
1752
- "RuleGroupUpdateTypeDef",
1805
+ ListActivatedRulesInRuleGroupResponseTypeDef = TypedDict(
1806
+ "ListActivatedRulesInRuleGroupResponseTypeDef",
1753
1807
  {
1754
- "Action": ChangeActionType,
1755
- "ActivatedRule": ActivatedRuleTypeDef,
1808
+ "NextMarker": str,
1809
+ "ActivatedRules": List[ActivatedRuleOutputTypeDef],
1810
+ "ResponseMetadata": ResponseMetadataTypeDef,
1756
1811
  },
1757
1812
  )
1758
1813
 
@@ -1761,7 +1816,7 @@ _RequiredWebACLTypeDef = TypedDict(
1761
1816
  {
1762
1817
  "WebACLId": str,
1763
1818
  "DefaultAction": WafActionTypeDef,
1764
- "Rules": List[ActivatedRuleTypeDef],
1819
+ "Rules": List[ActivatedRuleOutputTypeDef],
1765
1820
  },
1766
1821
  )
1767
1822
  _OptionalWebACLTypeDef = TypedDict(
@@ -1777,6 +1832,14 @@ _OptionalWebACLTypeDef = TypedDict(
1777
1832
  class WebACLTypeDef(_RequiredWebACLTypeDef, _OptionalWebACLTypeDef):
1778
1833
  pass
1779
1834
 
1835
+ RuleGroupUpdateTypeDef = TypedDict(
1836
+ "RuleGroupUpdateTypeDef",
1837
+ {
1838
+ "Action": ChangeActionType,
1839
+ "ActivatedRule": ActivatedRuleTypeDef,
1840
+ },
1841
+ )
1842
+
1780
1843
  WebACLUpdateTypeDef = TypedDict(
1781
1844
  "WebACLUpdateTypeDef",
1782
1845
  {
@@ -1789,7 +1852,7 @@ _RequiredByteMatchSetTypeDef = TypedDict(
1789
1852
  "_RequiredByteMatchSetTypeDef",
1790
1853
  {
1791
1854
  "ByteMatchSetId": str,
1792
- "ByteMatchTuples": List[ByteMatchTupleTypeDef],
1855
+ "ByteMatchTuples": List[ByteMatchTupleOutputTypeDef],
1793
1856
  },
1794
1857
  )
1795
1858
  _OptionalByteMatchSetTypeDef = TypedDict(
@@ -1814,32 +1877,35 @@ ByteMatchSetUpdateTypeDef = TypedDict(
1814
1877
  GetLoggingConfigurationResponseTypeDef = TypedDict(
1815
1878
  "GetLoggingConfigurationResponseTypeDef",
1816
1879
  {
1817
- "LoggingConfiguration": LoggingConfigurationTypeDef,
1818
- "ResponseMetadata": "ResponseMetadataTypeDef",
1880
+ "LoggingConfiguration": LoggingConfigurationOutputTypeDef,
1881
+ "ResponseMetadata": ResponseMetadataTypeDef,
1819
1882
  },
1820
1883
  )
1821
1884
 
1822
1885
  ListLoggingConfigurationsResponseTypeDef = TypedDict(
1823
1886
  "ListLoggingConfigurationsResponseTypeDef",
1824
1887
  {
1825
- "LoggingConfigurations": List[LoggingConfigurationTypeDef],
1888
+ "LoggingConfigurations": List[LoggingConfigurationOutputTypeDef],
1826
1889
  "NextMarker": str,
1827
- "ResponseMetadata": "ResponseMetadataTypeDef",
1890
+ "ResponseMetadata": ResponseMetadataTypeDef,
1828
1891
  },
1829
1892
  )
1830
1893
 
1831
- PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
1832
- "PutLoggingConfigurationRequestRequestTypeDef",
1894
+ PutLoggingConfigurationResponseTypeDef = TypedDict(
1895
+ "PutLoggingConfigurationResponseTypeDef",
1833
1896
  {
1834
- "LoggingConfiguration": LoggingConfigurationTypeDef,
1897
+ "LoggingConfiguration": LoggingConfigurationOutputTypeDef,
1898
+ "ResponseMetadata": ResponseMetadataTypeDef,
1835
1899
  },
1836
1900
  )
1837
1901
 
1838
- PutLoggingConfigurationResponseTypeDef = TypedDict(
1839
- "PutLoggingConfigurationResponseTypeDef",
1902
+ LoggingConfigurationUnionTypeDef = Union[
1903
+ LoggingConfigurationTypeDef, LoggingConfigurationOutputTypeDef
1904
+ ]
1905
+ PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
1906
+ "PutLoggingConfigurationRequestRequestTypeDef",
1840
1907
  {
1841
1908
  "LoggingConfiguration": LoggingConfigurationTypeDef,
1842
- "ResponseMetadata": "ResponseMetadataTypeDef",
1843
1909
  },
1844
1910
  )
1845
1911
 
@@ -1948,7 +2014,7 @@ ListTagsForResourceResponseTypeDef = TypedDict(
1948
2014
  {
1949
2015
  "NextMarker": str,
1950
2016
  "TagInfoForResource": TagInfoForResourceTypeDef,
1951
- "ResponseMetadata": "ResponseMetadataTypeDef",
2017
+ "ResponseMetadata": ResponseMetadataTypeDef,
1952
2018
  },
1953
2019
  )
1954
2020
 
@@ -1957,7 +2023,7 @@ CreateGeoMatchSetResponseTypeDef = TypedDict(
1957
2023
  {
1958
2024
  "GeoMatchSet": GeoMatchSetTypeDef,
1959
2025
  "ChangeToken": str,
1960
- "ResponseMetadata": "ResponseMetadataTypeDef",
2026
+ "ResponseMetadata": ResponseMetadataTypeDef,
1961
2027
  },
1962
2028
  )
1963
2029
 
@@ -1965,7 +2031,7 @@ GetGeoMatchSetResponseTypeDef = TypedDict(
1965
2031
  "GetGeoMatchSetResponseTypeDef",
1966
2032
  {
1967
2033
  "GeoMatchSet": GeoMatchSetTypeDef,
1968
- "ResponseMetadata": "ResponseMetadataTypeDef",
2034
+ "ResponseMetadata": ResponseMetadataTypeDef,
1969
2035
  },
1970
2036
  )
1971
2037
 
@@ -2005,7 +2071,7 @@ CreateIPSetResponseTypeDef = TypedDict(
2005
2071
  {
2006
2072
  "IPSet": IPSetTypeDef,
2007
2073
  "ChangeToken": str,
2008
- "ResponseMetadata": "ResponseMetadataTypeDef",
2074
+ "ResponseMetadata": ResponseMetadataTypeDef,
2009
2075
  },
2010
2076
  )
2011
2077
 
@@ -2013,7 +2079,7 @@ GetIPSetResponseTypeDef = TypedDict(
2013
2079
  "GetIPSetResponseTypeDef",
2014
2080
  {
2015
2081
  "IPSet": IPSetTypeDef,
2016
- "ResponseMetadata": "ResponseMetadataTypeDef",
2082
+ "ResponseMetadata": ResponseMetadataTypeDef,
2017
2083
  },
2018
2084
  )
2019
2085
 
@@ -2031,7 +2097,7 @@ CreateRateBasedRuleResponseTypeDef = TypedDict(
2031
2097
  {
2032
2098
  "Rule": RateBasedRuleTypeDef,
2033
2099
  "ChangeToken": str,
2034
- "ResponseMetadata": "ResponseMetadataTypeDef",
2100
+ "ResponseMetadata": ResponseMetadataTypeDef,
2035
2101
  },
2036
2102
  )
2037
2103
 
@@ -2039,7 +2105,7 @@ GetRateBasedRuleResponseTypeDef = TypedDict(
2039
2105
  "GetRateBasedRuleResponseTypeDef",
2040
2106
  {
2041
2107
  "Rule": RateBasedRuleTypeDef,
2042
- "ResponseMetadata": "ResponseMetadataTypeDef",
2108
+ "ResponseMetadata": ResponseMetadataTypeDef,
2043
2109
  },
2044
2110
  )
2045
2111
 
@@ -2048,7 +2114,7 @@ CreateRuleResponseTypeDef = TypedDict(
2048
2114
  {
2049
2115
  "Rule": RuleTypeDef,
2050
2116
  "ChangeToken": str,
2051
- "ResponseMetadata": "ResponseMetadataTypeDef",
2117
+ "ResponseMetadata": ResponseMetadataTypeDef,
2052
2118
  },
2053
2119
  )
2054
2120
 
@@ -2056,7 +2122,7 @@ GetRuleResponseTypeDef = TypedDict(
2056
2122
  "GetRuleResponseTypeDef",
2057
2123
  {
2058
2124
  "Rule": RuleTypeDef,
2059
- "ResponseMetadata": "ResponseMetadataTypeDef",
2125
+ "ResponseMetadata": ResponseMetadataTypeDef,
2060
2126
  },
2061
2127
  )
2062
2128
 
@@ -2079,21 +2145,23 @@ UpdateRuleRequestRequestTypeDef = TypedDict(
2079
2145
  },
2080
2146
  )
2081
2147
 
2082
- UpdateRuleGroupRequestRequestTypeDef = TypedDict(
2083
- "UpdateRuleGroupRequestRequestTypeDef",
2148
+ GetSampledRequestsRequestRequestTypeDef = TypedDict(
2149
+ "GetSampledRequestsRequestRequestTypeDef",
2084
2150
  {
2085
- "RuleGroupId": str,
2086
- "Updates": Sequence[RuleGroupUpdateTypeDef],
2087
- "ChangeToken": str,
2151
+ "WebAclId": str,
2152
+ "RuleId": str,
2153
+ "TimeWindow": TimeWindowTypeDef,
2154
+ "MaxItems": int,
2088
2155
  },
2089
2156
  )
2090
2157
 
2158
+ TimeWindowUnionTypeDef = Union[TimeWindowTypeDef, TimeWindowOutputTypeDef]
2091
2159
  CreateWebACLResponseTypeDef = TypedDict(
2092
2160
  "CreateWebACLResponseTypeDef",
2093
2161
  {
2094
2162
  "WebACL": WebACLTypeDef,
2095
2163
  "ChangeToken": str,
2096
- "ResponseMetadata": "ResponseMetadataTypeDef",
2164
+ "ResponseMetadata": ResponseMetadataTypeDef,
2097
2165
  },
2098
2166
  )
2099
2167
 
@@ -2101,7 +2169,16 @@ GetWebACLResponseTypeDef = TypedDict(
2101
2169
  "GetWebACLResponseTypeDef",
2102
2170
  {
2103
2171
  "WebACL": WebACLTypeDef,
2104
- "ResponseMetadata": "ResponseMetadataTypeDef",
2172
+ "ResponseMetadata": ResponseMetadataTypeDef,
2173
+ },
2174
+ )
2175
+
2176
+ UpdateRuleGroupRequestRequestTypeDef = TypedDict(
2177
+ "UpdateRuleGroupRequestRequestTypeDef",
2178
+ {
2179
+ "RuleGroupId": str,
2180
+ "Updates": Sequence[RuleGroupUpdateTypeDef],
2181
+ "ChangeToken": str,
2105
2182
  },
2106
2183
  )
2107
2184
 
@@ -2131,7 +2208,7 @@ CreateByteMatchSetResponseTypeDef = TypedDict(
2131
2208
  {
2132
2209
  "ByteMatchSet": ByteMatchSetTypeDef,
2133
2210
  "ChangeToken": str,
2134
- "ResponseMetadata": "ResponseMetadataTypeDef",
2211
+ "ResponseMetadata": ResponseMetadataTypeDef,
2135
2212
  },
2136
2213
  )
2137
2214
 
@@ -2139,7 +2216,7 @@ GetByteMatchSetResponseTypeDef = TypedDict(
2139
2216
  "GetByteMatchSetResponseTypeDef",
2140
2217
  {
2141
2218
  "ByteMatchSet": ByteMatchSetTypeDef,
2142
- "ResponseMetadata": "ResponseMetadataTypeDef",
2219
+ "ResponseMetadata": ResponseMetadataTypeDef,
2143
2220
  },
2144
2221
  )
2145
2222
 
@@ -2157,7 +2234,7 @@ CreateRegexMatchSetResponseTypeDef = TypedDict(
2157
2234
  {
2158
2235
  "RegexMatchSet": RegexMatchSetTypeDef,
2159
2236
  "ChangeToken": str,
2160
- "ResponseMetadata": "ResponseMetadataTypeDef",
2237
+ "ResponseMetadata": ResponseMetadataTypeDef,
2161
2238
  },
2162
2239
  )
2163
2240
 
@@ -2165,7 +2242,7 @@ GetRegexMatchSetResponseTypeDef = TypedDict(
2165
2242
  "GetRegexMatchSetResponseTypeDef",
2166
2243
  {
2167
2244
  "RegexMatchSet": RegexMatchSetTypeDef,
2168
- "ResponseMetadata": "ResponseMetadataTypeDef",
2245
+ "ResponseMetadata": ResponseMetadataTypeDef,
2169
2246
  },
2170
2247
  )
2171
2248
 
@@ -2183,7 +2260,7 @@ CreateSizeConstraintSetResponseTypeDef = TypedDict(
2183
2260
  {
2184
2261
  "SizeConstraintSet": SizeConstraintSetTypeDef,
2185
2262
  "ChangeToken": str,
2186
- "ResponseMetadata": "ResponseMetadataTypeDef",
2263
+ "ResponseMetadata": ResponseMetadataTypeDef,
2187
2264
  },
2188
2265
  )
2189
2266
 
@@ -2191,7 +2268,7 @@ GetSizeConstraintSetResponseTypeDef = TypedDict(
2191
2268
  "GetSizeConstraintSetResponseTypeDef",
2192
2269
  {
2193
2270
  "SizeConstraintSet": SizeConstraintSetTypeDef,
2194
- "ResponseMetadata": "ResponseMetadataTypeDef",
2271
+ "ResponseMetadata": ResponseMetadataTypeDef,
2195
2272
  },
2196
2273
  )
2197
2274
 
@@ -2209,7 +2286,7 @@ CreateSqlInjectionMatchSetResponseTypeDef = TypedDict(
2209
2286
  {
2210
2287
  "SqlInjectionMatchSet": SqlInjectionMatchSetTypeDef,
2211
2288
  "ChangeToken": str,
2212
- "ResponseMetadata": "ResponseMetadataTypeDef",
2289
+ "ResponseMetadata": ResponseMetadataTypeDef,
2213
2290
  },
2214
2291
  )
2215
2292
 
@@ -2217,7 +2294,7 @@ GetSqlInjectionMatchSetResponseTypeDef = TypedDict(
2217
2294
  "GetSqlInjectionMatchSetResponseTypeDef",
2218
2295
  {
2219
2296
  "SqlInjectionMatchSet": SqlInjectionMatchSetTypeDef,
2220
- "ResponseMetadata": "ResponseMetadataTypeDef",
2297
+ "ResponseMetadata": ResponseMetadataTypeDef,
2221
2298
  },
2222
2299
  )
2223
2300
 
@@ -2235,7 +2312,7 @@ CreateXssMatchSetResponseTypeDef = TypedDict(
2235
2312
  {
2236
2313
  "XssMatchSet": XssMatchSetTypeDef,
2237
2314
  "ChangeToken": str,
2238
- "ResponseMetadata": "ResponseMetadataTypeDef",
2315
+ "ResponseMetadata": ResponseMetadataTypeDef,
2239
2316
  },
2240
2317
  )
2241
2318
 
@@ -2243,7 +2320,7 @@ GetXssMatchSetResponseTypeDef = TypedDict(
2243
2320
  "GetXssMatchSetResponseTypeDef",
2244
2321
  {
2245
2322
  "XssMatchSet": XssMatchSetTypeDef,
2246
- "ResponseMetadata": "ResponseMetadataTypeDef",
2323
+ "ResponseMetadata": ResponseMetadataTypeDef,
2247
2324
  },
2248
2325
  )
2249
2326
 
@@ -2261,7 +2338,7 @@ GetSampledRequestsResponseTypeDef = TypedDict(
2261
2338
  {
2262
2339
  "SampledRequests": List[SampledHTTPRequestTypeDef],
2263
2340
  "PopulationSize": int,
2264
- "TimeWindow": TimeWindowTypeDef,
2265
- "ResponseMetadata": "ResponseMetadataTypeDef",
2341
+ "TimeWindow": TimeWindowOutputTypeDef,
2342
+ "ResponseMetadata": ResponseMetadataTypeDef,
2266
2343
  },
2267
2344
  )