mypy-boto3-waf-regional 1.28.16__py3-none-any.whl → 1.28.36__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.
- mypy_boto3_waf_regional/__main__.py +3 -3
- mypy_boto3_waf_regional/client.py +5 -5
- mypy_boto3_waf_regional/client.pyi +5 -5
- mypy_boto3_waf_regional/literals.py +2 -1
- mypy_boto3_waf_regional/literals.pyi +2 -1
- mypy_boto3_waf_regional/type_defs.py +163 -538
- mypy_boto3_waf_regional/type_defs.pyi +163 -488
- mypy_boto3_waf_regional/version.py +1 -1
- {mypy_boto3_waf_regional-1.28.16.dist-info → mypy_boto3_waf_regional-1.28.36.dist-info}/METADATA +13 -246
- mypy_boto3_waf_regional-1.28.36.dist-info/RECORD +16 -0
- {mypy_boto3_waf_regional-1.28.16.dist-info → mypy_boto3_waf_regional-1.28.36.dist-info}/WHEEL +1 -1
- mypy_boto3_waf_regional-1.28.16.dist-info/RECORD +0 -16
- {mypy_boto3_waf_regional-1.28.16.dist-info → mypy_boto3_waf_regional-1.28.36.dist-info}/LICENSE +0 -0
- {mypy_boto3_waf_regional-1.28.16.dist-info → mypy_boto3_waf_regional-1.28.36.dist-info}/top_level.txt +0 -0
|
@@ -13,9 +13,7 @@ Usage::
|
|
|
13
13
|
"""
|
|
14
14
|
import sys
|
|
15
15
|
from datetime import datetime
|
|
16
|
-
from typing import
|
|
17
|
-
|
|
18
|
-
from botocore.response import StreamingBody
|
|
16
|
+
from typing import Dict, List, Sequence, Union
|
|
19
17
|
|
|
20
18
|
from .literals import (
|
|
21
19
|
ChangeActionType,
|
|
@@ -33,11 +31,15 @@ from .literals import (
|
|
|
33
31
|
WafRuleTypeType,
|
|
34
32
|
)
|
|
35
33
|
|
|
36
|
-
if sys.version_info >= (3,
|
|
34
|
+
if sys.version_info >= (3, 12):
|
|
37
35
|
from typing import Literal
|
|
38
36
|
else:
|
|
39
37
|
from typing_extensions import Literal
|
|
40
|
-
if sys.version_info >= (3,
|
|
38
|
+
if sys.version_info >= (3, 12):
|
|
39
|
+
from typing import NotRequired
|
|
40
|
+
else:
|
|
41
|
+
from typing_extensions import NotRequired
|
|
42
|
+
if sys.version_info >= (3, 12):
|
|
41
43
|
from typing import TypedDict
|
|
42
44
|
else:
|
|
43
45
|
from typing_extensions import TypedDict
|
|
@@ -48,7 +50,6 @@ __all__ = (
|
|
|
48
50
|
"WafActionTypeDef",
|
|
49
51
|
"WafOverrideActionTypeDef",
|
|
50
52
|
"AssociateWebACLRequestRequestTypeDef",
|
|
51
|
-
"BlobTypeDef",
|
|
52
53
|
"ByteMatchSetSummaryTypeDef",
|
|
53
54
|
"FieldToMatchTypeDef",
|
|
54
55
|
"CreateByteMatchSetRequestRequestTypeDef",
|
|
@@ -93,7 +94,6 @@ __all__ = (
|
|
|
93
94
|
"GetRegexPatternSetRequestRequestTypeDef",
|
|
94
95
|
"GetRuleGroupRequestRequestTypeDef",
|
|
95
96
|
"GetRuleRequestRequestTypeDef",
|
|
96
|
-
"TimeWindowOutputTypeDef",
|
|
97
97
|
"GetSizeConstraintSetRequestRequestTypeDef",
|
|
98
98
|
"GetSqlInjectionMatchSetRequestRequestTypeDef",
|
|
99
99
|
"GetWebACLForResourceRequestRequestTypeDef",
|
|
@@ -133,11 +133,8 @@ __all__ = (
|
|
|
133
133
|
"RegexPatternSetUpdateTypeDef",
|
|
134
134
|
"TimestampTypeDef",
|
|
135
135
|
"UntagResourceRequestRequestTypeDef",
|
|
136
|
-
"ActivatedRuleOutputTypeDef",
|
|
137
136
|
"ActivatedRuleTypeDef",
|
|
138
|
-
"ByteMatchTupleOutputTypeDef",
|
|
139
137
|
"ByteMatchTupleTypeDef",
|
|
140
|
-
"LoggingConfigurationOutputTypeDef",
|
|
141
138
|
"LoggingConfigurationTypeDef",
|
|
142
139
|
"RegexMatchTupleTypeDef",
|
|
143
140
|
"SizeConstraintTypeDef",
|
|
@@ -208,16 +205,15 @@ __all__ = (
|
|
|
208
205
|
"UpdateRegexPatternSetRequestRequestTypeDef",
|
|
209
206
|
"TimeWindowTypeDef",
|
|
210
207
|
"ListActivatedRulesInRuleGroupResponseTypeDef",
|
|
211
|
-
"WebACLTypeDef",
|
|
212
208
|
"RuleGroupUpdateTypeDef",
|
|
209
|
+
"WebACLTypeDef",
|
|
213
210
|
"WebACLUpdateTypeDef",
|
|
214
211
|
"ByteMatchSetTypeDef",
|
|
215
212
|
"ByteMatchSetUpdateTypeDef",
|
|
216
213
|
"GetLoggingConfigurationResponseTypeDef",
|
|
217
214
|
"ListLoggingConfigurationsResponseTypeDef",
|
|
218
|
-
"PutLoggingConfigurationResponseTypeDef",
|
|
219
|
-
"LoggingConfigurationUnionTypeDef",
|
|
220
215
|
"PutLoggingConfigurationRequestRequestTypeDef",
|
|
216
|
+
"PutLoggingConfigurationResponseTypeDef",
|
|
221
217
|
"RegexMatchSetTypeDef",
|
|
222
218
|
"RegexMatchSetUpdateTypeDef",
|
|
223
219
|
"SizeConstraintSetTypeDef",
|
|
@@ -241,10 +237,9 @@ __all__ = (
|
|
|
241
237
|
"UpdateRateBasedRuleRequestRequestTypeDef",
|
|
242
238
|
"UpdateRuleRequestRequestTypeDef",
|
|
243
239
|
"GetSampledRequestsRequestRequestTypeDef",
|
|
244
|
-
"
|
|
240
|
+
"UpdateRuleGroupRequestRequestTypeDef",
|
|
245
241
|
"CreateWebACLResponseTypeDef",
|
|
246
242
|
"GetWebACLResponseTypeDef",
|
|
247
|
-
"UpdateRuleGroupRequestRequestTypeDef",
|
|
248
243
|
"UpdateWebACLRequestRequestTypeDef",
|
|
249
244
|
"CreateByteMatchSetResponseTypeDef",
|
|
250
245
|
"GetByteMatchSetResponseTypeDef",
|
|
@@ -293,7 +288,6 @@ AssociateWebACLRequestRequestTypeDef = TypedDict(
|
|
|
293
288
|
},
|
|
294
289
|
)
|
|
295
290
|
|
|
296
|
-
BlobTypeDef = Union[str, bytes, IO[Any], StreamingBody]
|
|
297
291
|
ByteMatchSetSummaryTypeDef = TypedDict(
|
|
298
292
|
"ByteMatchSetSummaryTypeDef",
|
|
299
293
|
{
|
|
@@ -302,24 +296,13 @@ ByteMatchSetSummaryTypeDef = TypedDict(
|
|
|
302
296
|
},
|
|
303
297
|
)
|
|
304
298
|
|
|
305
|
-
|
|
306
|
-
"
|
|
299
|
+
FieldToMatchTypeDef = TypedDict(
|
|
300
|
+
"FieldToMatchTypeDef",
|
|
307
301
|
{
|
|
308
302
|
"Type": MatchFieldTypeType,
|
|
303
|
+
"Data": NotRequired[str],
|
|
309
304
|
},
|
|
310
305
|
)
|
|
311
|
-
_OptionalFieldToMatchTypeDef = TypedDict(
|
|
312
|
-
"_OptionalFieldToMatchTypeDef",
|
|
313
|
-
{
|
|
314
|
-
"Data": str,
|
|
315
|
-
},
|
|
316
|
-
total=False,
|
|
317
|
-
)
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
class FieldToMatchTypeDef(_RequiredFieldToMatchTypeDef, _OptionalFieldToMatchTypeDef):
|
|
321
|
-
pass
|
|
322
|
-
|
|
323
306
|
|
|
324
307
|
CreateByteMatchSetRequestRequestTypeDef = TypedDict(
|
|
325
308
|
"CreateByteMatchSetRequestRequestTypeDef",
|
|
@@ -380,45 +363,23 @@ CreateRegexPatternSetRequestRequestTypeDef = TypedDict(
|
|
|
380
363
|
},
|
|
381
364
|
)
|
|
382
365
|
|
|
383
|
-
|
|
384
|
-
"
|
|
366
|
+
RegexPatternSetTypeDef = TypedDict(
|
|
367
|
+
"RegexPatternSetTypeDef",
|
|
385
368
|
{
|
|
386
369
|
"RegexPatternSetId": str,
|
|
387
370
|
"RegexPatternStrings": List[str],
|
|
371
|
+
"Name": NotRequired[str],
|
|
388
372
|
},
|
|
389
373
|
)
|
|
390
|
-
_OptionalRegexPatternSetTypeDef = TypedDict(
|
|
391
|
-
"_OptionalRegexPatternSetTypeDef",
|
|
392
|
-
{
|
|
393
|
-
"Name": str,
|
|
394
|
-
},
|
|
395
|
-
total=False,
|
|
396
|
-
)
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
class RegexPatternSetTypeDef(_RequiredRegexPatternSetTypeDef, _OptionalRegexPatternSetTypeDef):
|
|
400
|
-
pass
|
|
401
374
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
"_RequiredRuleGroupTypeDef",
|
|
375
|
+
RuleGroupTypeDef = TypedDict(
|
|
376
|
+
"RuleGroupTypeDef",
|
|
405
377
|
{
|
|
406
378
|
"RuleGroupId": str,
|
|
379
|
+
"Name": NotRequired[str],
|
|
380
|
+
"MetricName": NotRequired[str],
|
|
407
381
|
},
|
|
408
382
|
)
|
|
409
|
-
_OptionalRuleGroupTypeDef = TypedDict(
|
|
410
|
-
"_OptionalRuleGroupTypeDef",
|
|
411
|
-
{
|
|
412
|
-
"Name": str,
|
|
413
|
-
"MetricName": str,
|
|
414
|
-
},
|
|
415
|
-
total=False,
|
|
416
|
-
)
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
class RuleGroupTypeDef(_RequiredRuleGroupTypeDef, _OptionalRuleGroupTypeDef):
|
|
420
|
-
pass
|
|
421
|
-
|
|
422
383
|
|
|
423
384
|
CreateSizeConstraintSetRequestRequestTypeDef = TypedDict(
|
|
424
385
|
"CreateSizeConstraintSetRequestRequestTypeDef",
|
|
@@ -628,27 +589,13 @@ GetPermissionPolicyRequestRequestTypeDef = TypedDict(
|
|
|
628
589
|
},
|
|
629
590
|
)
|
|
630
591
|
|
|
631
|
-
|
|
632
|
-
"
|
|
592
|
+
GetRateBasedRuleManagedKeysRequestRequestTypeDef = TypedDict(
|
|
593
|
+
"GetRateBasedRuleManagedKeysRequestRequestTypeDef",
|
|
633
594
|
{
|
|
634
595
|
"RuleId": str,
|
|
596
|
+
"NextMarker": NotRequired[str],
|
|
635
597
|
},
|
|
636
598
|
)
|
|
637
|
-
_OptionalGetRateBasedRuleManagedKeysRequestRequestTypeDef = TypedDict(
|
|
638
|
-
"_OptionalGetRateBasedRuleManagedKeysRequestRequestTypeDef",
|
|
639
|
-
{
|
|
640
|
-
"NextMarker": str,
|
|
641
|
-
},
|
|
642
|
-
total=False,
|
|
643
|
-
)
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
class GetRateBasedRuleManagedKeysRequestRequestTypeDef(
|
|
647
|
-
_RequiredGetRateBasedRuleManagedKeysRequestRequestTypeDef,
|
|
648
|
-
_OptionalGetRateBasedRuleManagedKeysRequestRequestTypeDef,
|
|
649
|
-
):
|
|
650
|
-
pass
|
|
651
|
-
|
|
652
599
|
|
|
653
600
|
GetRateBasedRuleRequestRequestTypeDef = TypedDict(
|
|
654
601
|
"GetRateBasedRuleRequestRequestTypeDef",
|
|
@@ -685,14 +632,6 @@ GetRuleRequestRequestTypeDef = TypedDict(
|
|
|
685
632
|
},
|
|
686
633
|
)
|
|
687
634
|
|
|
688
|
-
TimeWindowOutputTypeDef = TypedDict(
|
|
689
|
-
"TimeWindowOutputTypeDef",
|
|
690
|
-
{
|
|
691
|
-
"StartTime": datetime,
|
|
692
|
-
"EndTime": datetime,
|
|
693
|
-
},
|
|
694
|
-
)
|
|
695
|
-
|
|
696
635
|
GetSizeConstraintSetRequestRequestTypeDef = TypedDict(
|
|
697
636
|
"GetSizeConstraintSetRequestRequestTypeDef",
|
|
698
637
|
{
|
|
@@ -739,10 +678,9 @@ GetXssMatchSetRequestRequestTypeDef = TypedDict(
|
|
|
739
678
|
HTTPHeaderTypeDef = TypedDict(
|
|
740
679
|
"HTTPHeaderTypeDef",
|
|
741
680
|
{
|
|
742
|
-
"Name": str,
|
|
743
|
-
"Value": str,
|
|
681
|
+
"Name": NotRequired[str],
|
|
682
|
+
"Value": NotRequired[str],
|
|
744
683
|
},
|
|
745
|
-
total=False,
|
|
746
684
|
)
|
|
747
685
|
|
|
748
686
|
IPSetDescriptorTypeDef = TypedDict(
|
|
@@ -764,56 +702,50 @@ IPSetSummaryTypeDef = TypedDict(
|
|
|
764
702
|
ListActivatedRulesInRuleGroupRequestRequestTypeDef = TypedDict(
|
|
765
703
|
"ListActivatedRulesInRuleGroupRequestRequestTypeDef",
|
|
766
704
|
{
|
|
767
|
-
"RuleGroupId": str,
|
|
768
|
-
"NextMarker": str,
|
|
769
|
-
"Limit": int,
|
|
705
|
+
"RuleGroupId": NotRequired[str],
|
|
706
|
+
"NextMarker": NotRequired[str],
|
|
707
|
+
"Limit": NotRequired[int],
|
|
770
708
|
},
|
|
771
|
-
total=False,
|
|
772
709
|
)
|
|
773
710
|
|
|
774
711
|
ListByteMatchSetsRequestRequestTypeDef = TypedDict(
|
|
775
712
|
"ListByteMatchSetsRequestRequestTypeDef",
|
|
776
713
|
{
|
|
777
|
-
"NextMarker": str,
|
|
778
|
-
"Limit": int,
|
|
714
|
+
"NextMarker": NotRequired[str],
|
|
715
|
+
"Limit": NotRequired[int],
|
|
779
716
|
},
|
|
780
|
-
total=False,
|
|
781
717
|
)
|
|
782
718
|
|
|
783
719
|
ListGeoMatchSetsRequestRequestTypeDef = TypedDict(
|
|
784
720
|
"ListGeoMatchSetsRequestRequestTypeDef",
|
|
785
721
|
{
|
|
786
|
-
"NextMarker": str,
|
|
787
|
-
"Limit": int,
|
|
722
|
+
"NextMarker": NotRequired[str],
|
|
723
|
+
"Limit": NotRequired[int],
|
|
788
724
|
},
|
|
789
|
-
total=False,
|
|
790
725
|
)
|
|
791
726
|
|
|
792
727
|
ListIPSetsRequestRequestTypeDef = TypedDict(
|
|
793
728
|
"ListIPSetsRequestRequestTypeDef",
|
|
794
729
|
{
|
|
795
|
-
"NextMarker": str,
|
|
796
|
-
"Limit": int,
|
|
730
|
+
"NextMarker": NotRequired[str],
|
|
731
|
+
"Limit": NotRequired[int],
|
|
797
732
|
},
|
|
798
|
-
total=False,
|
|
799
733
|
)
|
|
800
734
|
|
|
801
735
|
ListLoggingConfigurationsRequestRequestTypeDef = TypedDict(
|
|
802
736
|
"ListLoggingConfigurationsRequestRequestTypeDef",
|
|
803
737
|
{
|
|
804
|
-
"NextMarker": str,
|
|
805
|
-
"Limit": int,
|
|
738
|
+
"NextMarker": NotRequired[str],
|
|
739
|
+
"Limit": NotRequired[int],
|
|
806
740
|
},
|
|
807
|
-
total=False,
|
|
808
741
|
)
|
|
809
742
|
|
|
810
743
|
ListRateBasedRulesRequestRequestTypeDef = TypedDict(
|
|
811
744
|
"ListRateBasedRulesRequestRequestTypeDef",
|
|
812
745
|
{
|
|
813
|
-
"NextMarker": str,
|
|
814
|
-
"Limit": int,
|
|
746
|
+
"NextMarker": NotRequired[str],
|
|
747
|
+
"Limit": NotRequired[int],
|
|
815
748
|
},
|
|
816
|
-
total=False,
|
|
817
749
|
)
|
|
818
750
|
|
|
819
751
|
RuleSummaryTypeDef = TypedDict(
|
|
@@ -827,10 +759,9 @@ RuleSummaryTypeDef = TypedDict(
|
|
|
827
759
|
ListRegexMatchSetsRequestRequestTypeDef = TypedDict(
|
|
828
760
|
"ListRegexMatchSetsRequestRequestTypeDef",
|
|
829
761
|
{
|
|
830
|
-
"NextMarker": str,
|
|
831
|
-
"Limit": int,
|
|
762
|
+
"NextMarker": NotRequired[str],
|
|
763
|
+
"Limit": NotRequired[int],
|
|
832
764
|
},
|
|
833
|
-
total=False,
|
|
834
765
|
)
|
|
835
766
|
|
|
836
767
|
RegexMatchSetSummaryTypeDef = TypedDict(
|
|
@@ -844,10 +775,9 @@ RegexMatchSetSummaryTypeDef = TypedDict(
|
|
|
844
775
|
ListRegexPatternSetsRequestRequestTypeDef = TypedDict(
|
|
845
776
|
"ListRegexPatternSetsRequestRequestTypeDef",
|
|
846
777
|
{
|
|
847
|
-
"NextMarker": str,
|
|
848
|
-
"Limit": int,
|
|
778
|
+
"NextMarker": NotRequired[str],
|
|
779
|
+
"Limit": NotRequired[int],
|
|
849
780
|
},
|
|
850
|
-
total=False,
|
|
851
781
|
)
|
|
852
782
|
|
|
853
783
|
RegexPatternSetSummaryTypeDef = TypedDict(
|
|
@@ -858,35 +788,20 @@ RegexPatternSetSummaryTypeDef = TypedDict(
|
|
|
858
788
|
},
|
|
859
789
|
)
|
|
860
790
|
|
|
861
|
-
|
|
862
|
-
"
|
|
791
|
+
ListResourcesForWebACLRequestRequestTypeDef = TypedDict(
|
|
792
|
+
"ListResourcesForWebACLRequestRequestTypeDef",
|
|
863
793
|
{
|
|
864
794
|
"WebACLId": str,
|
|
795
|
+
"ResourceType": NotRequired[ResourceTypeType],
|
|
865
796
|
},
|
|
866
797
|
)
|
|
867
|
-
_OptionalListResourcesForWebACLRequestRequestTypeDef = TypedDict(
|
|
868
|
-
"_OptionalListResourcesForWebACLRequestRequestTypeDef",
|
|
869
|
-
{
|
|
870
|
-
"ResourceType": ResourceTypeType,
|
|
871
|
-
},
|
|
872
|
-
total=False,
|
|
873
|
-
)
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
class ListResourcesForWebACLRequestRequestTypeDef(
|
|
877
|
-
_RequiredListResourcesForWebACLRequestRequestTypeDef,
|
|
878
|
-
_OptionalListResourcesForWebACLRequestRequestTypeDef,
|
|
879
|
-
):
|
|
880
|
-
pass
|
|
881
|
-
|
|
882
798
|
|
|
883
799
|
ListRuleGroupsRequestRequestTypeDef = TypedDict(
|
|
884
800
|
"ListRuleGroupsRequestRequestTypeDef",
|
|
885
801
|
{
|
|
886
|
-
"NextMarker": str,
|
|
887
|
-
"Limit": int,
|
|
802
|
+
"NextMarker": NotRequired[str],
|
|
803
|
+
"Limit": NotRequired[int],
|
|
888
804
|
},
|
|
889
|
-
total=False,
|
|
890
805
|
)
|
|
891
806
|
|
|
892
807
|
RuleGroupSummaryTypeDef = TypedDict(
|
|
@@ -900,19 +815,17 @@ RuleGroupSummaryTypeDef = TypedDict(
|
|
|
900
815
|
ListRulesRequestRequestTypeDef = TypedDict(
|
|
901
816
|
"ListRulesRequestRequestTypeDef",
|
|
902
817
|
{
|
|
903
|
-
"NextMarker": str,
|
|
904
|
-
"Limit": int,
|
|
818
|
+
"NextMarker": NotRequired[str],
|
|
819
|
+
"Limit": NotRequired[int],
|
|
905
820
|
},
|
|
906
|
-
total=False,
|
|
907
821
|
)
|
|
908
822
|
|
|
909
823
|
ListSizeConstraintSetsRequestRequestTypeDef = TypedDict(
|
|
910
824
|
"ListSizeConstraintSetsRequestRequestTypeDef",
|
|
911
825
|
{
|
|
912
|
-
"NextMarker": str,
|
|
913
|
-
"Limit": int,
|
|
826
|
+
"NextMarker": NotRequired[str],
|
|
827
|
+
"Limit": NotRequired[int],
|
|
914
828
|
},
|
|
915
|
-
total=False,
|
|
916
829
|
)
|
|
917
830
|
|
|
918
831
|
SizeConstraintSetSummaryTypeDef = TypedDict(
|
|
@@ -926,10 +839,9 @@ SizeConstraintSetSummaryTypeDef = TypedDict(
|
|
|
926
839
|
ListSqlInjectionMatchSetsRequestRequestTypeDef = TypedDict(
|
|
927
840
|
"ListSqlInjectionMatchSetsRequestRequestTypeDef",
|
|
928
841
|
{
|
|
929
|
-
"NextMarker": str,
|
|
930
|
-
"Limit": int,
|
|
842
|
+
"NextMarker": NotRequired[str],
|
|
843
|
+
"Limit": NotRequired[int],
|
|
931
844
|
},
|
|
932
|
-
total=False,
|
|
933
845
|
)
|
|
934
846
|
|
|
935
847
|
SqlInjectionMatchSetSummaryTypeDef = TypedDict(
|
|
@@ -943,10 +855,9 @@ SqlInjectionMatchSetSummaryTypeDef = TypedDict(
|
|
|
943
855
|
ListSubscribedRuleGroupsRequestRequestTypeDef = TypedDict(
|
|
944
856
|
"ListSubscribedRuleGroupsRequestRequestTypeDef",
|
|
945
857
|
{
|
|
946
|
-
"NextMarker": str,
|
|
947
|
-
"Limit": int,
|
|
858
|
+
"NextMarker": NotRequired[str],
|
|
859
|
+
"Limit": NotRequired[int],
|
|
948
860
|
},
|
|
949
|
-
total=False,
|
|
950
861
|
)
|
|
951
862
|
|
|
952
863
|
SubscribedRuleGroupSummaryTypeDef = TypedDict(
|
|
@@ -958,45 +869,29 @@ SubscribedRuleGroupSummaryTypeDef = TypedDict(
|
|
|
958
869
|
},
|
|
959
870
|
)
|
|
960
871
|
|
|
961
|
-
|
|
962
|
-
"
|
|
872
|
+
ListTagsForResourceRequestRequestTypeDef = TypedDict(
|
|
873
|
+
"ListTagsForResourceRequestRequestTypeDef",
|
|
963
874
|
{
|
|
964
875
|
"ResourceARN": str,
|
|
876
|
+
"NextMarker": NotRequired[str],
|
|
877
|
+
"Limit": NotRequired[int],
|
|
965
878
|
},
|
|
966
879
|
)
|
|
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
880
|
|
|
984
881
|
ListWebACLsRequestRequestTypeDef = TypedDict(
|
|
985
882
|
"ListWebACLsRequestRequestTypeDef",
|
|
986
883
|
{
|
|
987
|
-
"NextMarker": str,
|
|
988
|
-
"Limit": int,
|
|
884
|
+
"NextMarker": NotRequired[str],
|
|
885
|
+
"Limit": NotRequired[int],
|
|
989
886
|
},
|
|
990
|
-
total=False,
|
|
991
887
|
)
|
|
992
888
|
|
|
993
889
|
ListXssMatchSetsRequestRequestTypeDef = TypedDict(
|
|
994
890
|
"ListXssMatchSetsRequestRequestTypeDef",
|
|
995
891
|
{
|
|
996
|
-
"NextMarker": str,
|
|
997
|
-
"Limit": int,
|
|
892
|
+
"NextMarker": NotRequired[str],
|
|
893
|
+
"Limit": NotRequired[int],
|
|
998
894
|
},
|
|
999
|
-
total=False,
|
|
1000
895
|
)
|
|
1001
896
|
|
|
1002
897
|
XssMatchSetSummaryTypeDef = TypedDict(
|
|
@@ -1041,61 +936,15 @@ UntagResourceRequestRequestTypeDef = TypedDict(
|
|
|
1041
936
|
},
|
|
1042
937
|
)
|
|
1043
938
|
|
|
1044
|
-
|
|
1045
|
-
"
|
|
939
|
+
ActivatedRuleTypeDef = TypedDict(
|
|
940
|
+
"ActivatedRuleTypeDef",
|
|
1046
941
|
{
|
|
1047
942
|
"Priority": int,
|
|
1048
943
|
"RuleId": str,
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
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,
|
|
944
|
+
"Action": NotRequired[WafActionTypeDef],
|
|
945
|
+
"OverrideAction": NotRequired[WafOverrideActionTypeDef],
|
|
946
|
+
"Type": NotRequired[WafRuleTypeType],
|
|
947
|
+
"ExcludedRules": NotRequired[List[ExcludedRuleTypeDef]],
|
|
1099
948
|
},
|
|
1100
949
|
)
|
|
1101
950
|
|
|
@@ -1103,55 +952,20 @@ ByteMatchTupleTypeDef = TypedDict(
|
|
|
1103
952
|
"ByteMatchTupleTypeDef",
|
|
1104
953
|
{
|
|
1105
954
|
"FieldToMatch": FieldToMatchTypeDef,
|
|
1106
|
-
"TargetString":
|
|
955
|
+
"TargetString": bytes,
|
|
1107
956
|
"TextTransformation": TextTransformationType,
|
|
1108
957
|
"PositionalConstraint": PositionalConstraintType,
|
|
1109
958
|
},
|
|
1110
959
|
)
|
|
1111
960
|
|
|
1112
|
-
|
|
1113
|
-
"
|
|
961
|
+
LoggingConfigurationTypeDef = TypedDict(
|
|
962
|
+
"LoggingConfigurationTypeDef",
|
|
1114
963
|
{
|
|
1115
964
|
"ResourceArn": str,
|
|
1116
965
|
"LogDestinationConfigs": List[str],
|
|
966
|
+
"RedactedFields": NotRequired[List[FieldToMatchTypeDef]],
|
|
1117
967
|
},
|
|
1118
968
|
)
|
|
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
969
|
|
|
1156
970
|
RegexMatchTupleTypeDef = TypedDict(
|
|
1157
971
|
"RegexMatchTupleTypeDef",
|
|
@@ -1438,109 +1252,55 @@ UpdateXssMatchSetResponseTypeDef = TypedDict(
|
|
|
1438
1252
|
},
|
|
1439
1253
|
)
|
|
1440
1254
|
|
|
1441
|
-
|
|
1442
|
-
"
|
|
1255
|
+
CreateRateBasedRuleRequestRequestTypeDef = TypedDict(
|
|
1256
|
+
"CreateRateBasedRuleRequestRequestTypeDef",
|
|
1443
1257
|
{
|
|
1444
1258
|
"Name": str,
|
|
1445
1259
|
"MetricName": str,
|
|
1446
1260
|
"RateKey": Literal["IP"],
|
|
1447
1261
|
"RateLimit": int,
|
|
1448
1262
|
"ChangeToken": str,
|
|
1263
|
+
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1449
1264
|
},
|
|
1450
1265
|
)
|
|
1451
|
-
_OptionalCreateRateBasedRuleRequestRequestTypeDef = TypedDict(
|
|
1452
|
-
"_OptionalCreateRateBasedRuleRequestRequestTypeDef",
|
|
1453
|
-
{
|
|
1454
|
-
"Tags": Sequence[TagTypeDef],
|
|
1455
|
-
},
|
|
1456
|
-
total=False,
|
|
1457
|
-
)
|
|
1458
1266
|
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
_RequiredCreateRateBasedRuleRequestRequestTypeDef,
|
|
1462
|
-
_OptionalCreateRateBasedRuleRequestRequestTypeDef,
|
|
1463
|
-
):
|
|
1464
|
-
pass
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
_RequiredCreateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
1468
|
-
"_RequiredCreateRuleGroupRequestRequestTypeDef",
|
|
1267
|
+
CreateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
1268
|
+
"CreateRuleGroupRequestRequestTypeDef",
|
|
1469
1269
|
{
|
|
1470
1270
|
"Name": str,
|
|
1471
1271
|
"MetricName": str,
|
|
1472
1272
|
"ChangeToken": str,
|
|
1273
|
+
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1473
1274
|
},
|
|
1474
1275
|
)
|
|
1475
|
-
_OptionalCreateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
1476
|
-
"_OptionalCreateRuleGroupRequestRequestTypeDef",
|
|
1477
|
-
{
|
|
1478
|
-
"Tags": Sequence[TagTypeDef],
|
|
1479
|
-
},
|
|
1480
|
-
total=False,
|
|
1481
|
-
)
|
|
1482
|
-
|
|
1483
1276
|
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
):
|
|
1487
|
-
pass
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
_RequiredCreateRuleRequestRequestTypeDef = TypedDict(
|
|
1491
|
-
"_RequiredCreateRuleRequestRequestTypeDef",
|
|
1277
|
+
CreateRuleRequestRequestTypeDef = TypedDict(
|
|
1278
|
+
"CreateRuleRequestRequestTypeDef",
|
|
1492
1279
|
{
|
|
1493
1280
|
"Name": str,
|
|
1494
1281
|
"MetricName": str,
|
|
1495
1282
|
"ChangeToken": str,
|
|
1283
|
+
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1496
1284
|
},
|
|
1497
1285
|
)
|
|
1498
|
-
_OptionalCreateRuleRequestRequestTypeDef = TypedDict(
|
|
1499
|
-
"_OptionalCreateRuleRequestRequestTypeDef",
|
|
1500
|
-
{
|
|
1501
|
-
"Tags": Sequence[TagTypeDef],
|
|
1502
|
-
},
|
|
1503
|
-
total=False,
|
|
1504
|
-
)
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
class CreateRuleRequestRequestTypeDef(
|
|
1508
|
-
_RequiredCreateRuleRequestRequestTypeDef, _OptionalCreateRuleRequestRequestTypeDef
|
|
1509
|
-
):
|
|
1510
|
-
pass
|
|
1511
1286
|
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
"_RequiredCreateWebACLRequestRequestTypeDef",
|
|
1287
|
+
CreateWebACLRequestRequestTypeDef = TypedDict(
|
|
1288
|
+
"CreateWebACLRequestRequestTypeDef",
|
|
1515
1289
|
{
|
|
1516
1290
|
"Name": str,
|
|
1517
1291
|
"MetricName": str,
|
|
1518
1292
|
"DefaultAction": WafActionTypeDef,
|
|
1519
1293
|
"ChangeToken": str,
|
|
1294
|
+
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1520
1295
|
},
|
|
1521
1296
|
)
|
|
1522
|
-
_OptionalCreateWebACLRequestRequestTypeDef = TypedDict(
|
|
1523
|
-
"_OptionalCreateWebACLRequestRequestTypeDef",
|
|
1524
|
-
{
|
|
1525
|
-
"Tags": Sequence[TagTypeDef],
|
|
1526
|
-
},
|
|
1527
|
-
total=False,
|
|
1528
|
-
)
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
class CreateWebACLRequestRequestTypeDef(
|
|
1532
|
-
_RequiredCreateWebACLRequestRequestTypeDef, _OptionalCreateWebACLRequestRequestTypeDef
|
|
1533
|
-
):
|
|
1534
|
-
pass
|
|
1535
|
-
|
|
1536
1297
|
|
|
1537
1298
|
TagInfoForResourceTypeDef = TypedDict(
|
|
1538
1299
|
"TagInfoForResourceTypeDef",
|
|
1539
1300
|
{
|
|
1540
|
-
"ResourceARN": str,
|
|
1541
|
-
"TagList": List[TagTypeDef],
|
|
1301
|
+
"ResourceARN": NotRequired[str],
|
|
1302
|
+
"TagList": NotRequired[List[TagTypeDef]],
|
|
1542
1303
|
},
|
|
1543
|
-
total=False,
|
|
1544
1304
|
)
|
|
1545
1305
|
|
|
1546
1306
|
TagResourceRequestRequestTypeDef = TypedDict(
|
|
@@ -1585,25 +1345,14 @@ GetRuleGroupResponseTypeDef = TypedDict(
|
|
|
1585
1345
|
},
|
|
1586
1346
|
)
|
|
1587
1347
|
|
|
1588
|
-
|
|
1589
|
-
"
|
|
1348
|
+
GeoMatchSetTypeDef = TypedDict(
|
|
1349
|
+
"GeoMatchSetTypeDef",
|
|
1590
1350
|
{
|
|
1591
1351
|
"GeoMatchSetId": str,
|
|
1592
1352
|
"GeoMatchConstraints": List[GeoMatchConstraintTypeDef],
|
|
1353
|
+
"Name": NotRequired[str],
|
|
1593
1354
|
},
|
|
1594
1355
|
)
|
|
1595
|
-
_OptionalGeoMatchSetTypeDef = TypedDict(
|
|
1596
|
-
"_OptionalGeoMatchSetTypeDef",
|
|
1597
|
-
{
|
|
1598
|
-
"Name": str,
|
|
1599
|
-
},
|
|
1600
|
-
total=False,
|
|
1601
|
-
)
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
class GeoMatchSetTypeDef(_RequiredGeoMatchSetTypeDef, _OptionalGeoMatchSetTypeDef):
|
|
1605
|
-
pass
|
|
1606
|
-
|
|
1607
1356
|
|
|
1608
1357
|
GeoMatchSetUpdateTypeDef = TypedDict(
|
|
1609
1358
|
"GeoMatchSetUpdateTypeDef",
|
|
@@ -1642,35 +1391,23 @@ ListWebACLsResponseTypeDef = TypedDict(
|
|
|
1642
1391
|
HTTPRequestTypeDef = TypedDict(
|
|
1643
1392
|
"HTTPRequestTypeDef",
|
|
1644
1393
|
{
|
|
1645
|
-
"ClientIP": str,
|
|
1646
|
-
"Country": str,
|
|
1647
|
-
"URI": str,
|
|
1648
|
-
"Method": str,
|
|
1649
|
-
"HTTPVersion": str,
|
|
1650
|
-
"Headers": List[HTTPHeaderTypeDef],
|
|
1394
|
+
"ClientIP": NotRequired[str],
|
|
1395
|
+
"Country": NotRequired[str],
|
|
1396
|
+
"URI": NotRequired[str],
|
|
1397
|
+
"Method": NotRequired[str],
|
|
1398
|
+
"HTTPVersion": NotRequired[str],
|
|
1399
|
+
"Headers": NotRequired[List[HTTPHeaderTypeDef]],
|
|
1651
1400
|
},
|
|
1652
|
-
total=False,
|
|
1653
1401
|
)
|
|
1654
1402
|
|
|
1655
|
-
|
|
1656
|
-
"
|
|
1403
|
+
IPSetTypeDef = TypedDict(
|
|
1404
|
+
"IPSetTypeDef",
|
|
1657
1405
|
{
|
|
1658
1406
|
"IPSetId": str,
|
|
1659
1407
|
"IPSetDescriptors": List[IPSetDescriptorTypeDef],
|
|
1408
|
+
"Name": NotRequired[str],
|
|
1660
1409
|
},
|
|
1661
1410
|
)
|
|
1662
|
-
_OptionalIPSetTypeDef = TypedDict(
|
|
1663
|
-
"_OptionalIPSetTypeDef",
|
|
1664
|
-
{
|
|
1665
|
-
"Name": str,
|
|
1666
|
-
},
|
|
1667
|
-
total=False,
|
|
1668
|
-
)
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
class IPSetTypeDef(_RequiredIPSetTypeDef, _OptionalIPSetTypeDef):
|
|
1672
|
-
pass
|
|
1673
|
-
|
|
1674
1411
|
|
|
1675
1412
|
IPSetUpdateTypeDef = TypedDict(
|
|
1676
1413
|
"IPSetUpdateTypeDef",
|
|
@@ -1770,49 +1507,27 @@ ListXssMatchSetsResponseTypeDef = TypedDict(
|
|
|
1770
1507
|
},
|
|
1771
1508
|
)
|
|
1772
1509
|
|
|
1773
|
-
|
|
1774
|
-
"
|
|
1510
|
+
RateBasedRuleTypeDef = TypedDict(
|
|
1511
|
+
"RateBasedRuleTypeDef",
|
|
1775
1512
|
{
|
|
1776
1513
|
"RuleId": str,
|
|
1777
1514
|
"MatchPredicates": List[PredicateTypeDef],
|
|
1778
1515
|
"RateKey": Literal["IP"],
|
|
1779
1516
|
"RateLimit": int,
|
|
1517
|
+
"Name": NotRequired[str],
|
|
1518
|
+
"MetricName": NotRequired[str],
|
|
1780
1519
|
},
|
|
1781
1520
|
)
|
|
1782
|
-
_OptionalRateBasedRuleTypeDef = TypedDict(
|
|
1783
|
-
"_OptionalRateBasedRuleTypeDef",
|
|
1784
|
-
{
|
|
1785
|
-
"Name": str,
|
|
1786
|
-
"MetricName": str,
|
|
1787
|
-
},
|
|
1788
|
-
total=False,
|
|
1789
|
-
)
|
|
1790
|
-
|
|
1791
1521
|
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
_RequiredRuleTypeDef = TypedDict(
|
|
1797
|
-
"_RequiredRuleTypeDef",
|
|
1522
|
+
RuleTypeDef = TypedDict(
|
|
1523
|
+
"RuleTypeDef",
|
|
1798
1524
|
{
|
|
1799
1525
|
"RuleId": str,
|
|
1800
1526
|
"Predicates": List[PredicateTypeDef],
|
|
1527
|
+
"Name": NotRequired[str],
|
|
1528
|
+
"MetricName": NotRequired[str],
|
|
1801
1529
|
},
|
|
1802
1530
|
)
|
|
1803
|
-
_OptionalRuleTypeDef = TypedDict(
|
|
1804
|
-
"_OptionalRuleTypeDef",
|
|
1805
|
-
{
|
|
1806
|
-
"Name": str,
|
|
1807
|
-
"MetricName": str,
|
|
1808
|
-
},
|
|
1809
|
-
total=False,
|
|
1810
|
-
)
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
class RuleTypeDef(_RequiredRuleTypeDef, _OptionalRuleTypeDef):
|
|
1814
|
-
pass
|
|
1815
|
-
|
|
1816
1531
|
|
|
1817
1532
|
RuleUpdateTypeDef = TypedDict(
|
|
1818
1533
|
"RuleUpdateTypeDef",
|
|
@@ -1843,34 +1558,11 @@ ListActivatedRulesInRuleGroupResponseTypeDef = TypedDict(
|
|
|
1843
1558
|
"ListActivatedRulesInRuleGroupResponseTypeDef",
|
|
1844
1559
|
{
|
|
1845
1560
|
"NextMarker": str,
|
|
1846
|
-
"ActivatedRules": List[
|
|
1561
|
+
"ActivatedRules": List[ActivatedRuleTypeDef],
|
|
1847
1562
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1848
1563
|
},
|
|
1849
1564
|
)
|
|
1850
1565
|
|
|
1851
|
-
_RequiredWebACLTypeDef = TypedDict(
|
|
1852
|
-
"_RequiredWebACLTypeDef",
|
|
1853
|
-
{
|
|
1854
|
-
"WebACLId": str,
|
|
1855
|
-
"DefaultAction": WafActionTypeDef,
|
|
1856
|
-
"Rules": List[ActivatedRuleOutputTypeDef],
|
|
1857
|
-
},
|
|
1858
|
-
)
|
|
1859
|
-
_OptionalWebACLTypeDef = TypedDict(
|
|
1860
|
-
"_OptionalWebACLTypeDef",
|
|
1861
|
-
{
|
|
1862
|
-
"Name": str,
|
|
1863
|
-
"MetricName": str,
|
|
1864
|
-
"WebACLArn": str,
|
|
1865
|
-
},
|
|
1866
|
-
total=False,
|
|
1867
|
-
)
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
class WebACLTypeDef(_RequiredWebACLTypeDef, _OptionalWebACLTypeDef):
|
|
1871
|
-
pass
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
1566
|
RuleGroupUpdateTypeDef = TypedDict(
|
|
1875
1567
|
"RuleGroupUpdateTypeDef",
|
|
1876
1568
|
{
|
|
@@ -1879,6 +1571,18 @@ RuleGroupUpdateTypeDef = TypedDict(
|
|
|
1879
1571
|
},
|
|
1880
1572
|
)
|
|
1881
1573
|
|
|
1574
|
+
WebACLTypeDef = TypedDict(
|
|
1575
|
+
"WebACLTypeDef",
|
|
1576
|
+
{
|
|
1577
|
+
"WebACLId": str,
|
|
1578
|
+
"DefaultAction": WafActionTypeDef,
|
|
1579
|
+
"Rules": List[ActivatedRuleTypeDef],
|
|
1580
|
+
"Name": NotRequired[str],
|
|
1581
|
+
"MetricName": NotRequired[str],
|
|
1582
|
+
"WebACLArn": NotRequired[str],
|
|
1583
|
+
},
|
|
1584
|
+
)
|
|
1585
|
+
|
|
1882
1586
|
WebACLUpdateTypeDef = TypedDict(
|
|
1883
1587
|
"WebACLUpdateTypeDef",
|
|
1884
1588
|
{
|
|
@@ -1887,25 +1591,14 @@ WebACLUpdateTypeDef = TypedDict(
|
|
|
1887
1591
|
},
|
|
1888
1592
|
)
|
|
1889
1593
|
|
|
1890
|
-
|
|
1891
|
-
"
|
|
1594
|
+
ByteMatchSetTypeDef = TypedDict(
|
|
1595
|
+
"ByteMatchSetTypeDef",
|
|
1892
1596
|
{
|
|
1893
1597
|
"ByteMatchSetId": str,
|
|
1894
|
-
"ByteMatchTuples": List[
|
|
1598
|
+
"ByteMatchTuples": List[ByteMatchTupleTypeDef],
|
|
1599
|
+
"Name": NotRequired[str],
|
|
1895
1600
|
},
|
|
1896
1601
|
)
|
|
1897
|
-
_OptionalByteMatchSetTypeDef = TypedDict(
|
|
1898
|
-
"_OptionalByteMatchSetTypeDef",
|
|
1899
|
-
{
|
|
1900
|
-
"Name": str,
|
|
1901
|
-
},
|
|
1902
|
-
total=False,
|
|
1903
|
-
)
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
class ByteMatchSetTypeDef(_RequiredByteMatchSetTypeDef, _OptionalByteMatchSetTypeDef):
|
|
1907
|
-
pass
|
|
1908
|
-
|
|
1909
1602
|
|
|
1910
1603
|
ByteMatchSetUpdateTypeDef = TypedDict(
|
|
1911
1604
|
"ByteMatchSetUpdateTypeDef",
|
|
@@ -1918,7 +1611,7 @@ ByteMatchSetUpdateTypeDef = TypedDict(
|
|
|
1918
1611
|
GetLoggingConfigurationResponseTypeDef = TypedDict(
|
|
1919
1612
|
"GetLoggingConfigurationResponseTypeDef",
|
|
1920
1613
|
{
|
|
1921
|
-
"LoggingConfiguration":
|
|
1614
|
+
"LoggingConfiguration": LoggingConfigurationTypeDef,
|
|
1922
1615
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1923
1616
|
},
|
|
1924
1617
|
)
|
|
@@ -1926,38 +1619,34 @@ GetLoggingConfigurationResponseTypeDef = TypedDict(
|
|
|
1926
1619
|
ListLoggingConfigurationsResponseTypeDef = TypedDict(
|
|
1927
1620
|
"ListLoggingConfigurationsResponseTypeDef",
|
|
1928
1621
|
{
|
|
1929
|
-
"LoggingConfigurations": List[
|
|
1622
|
+
"LoggingConfigurations": List[LoggingConfigurationTypeDef],
|
|
1930
1623
|
"NextMarker": str,
|
|
1931
1624
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1932
1625
|
},
|
|
1933
1626
|
)
|
|
1934
1627
|
|
|
1935
|
-
|
|
1936
|
-
"
|
|
1628
|
+
PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
|
|
1629
|
+
"PutLoggingConfigurationRequestRequestTypeDef",
|
|
1937
1630
|
{
|
|
1938
|
-
"LoggingConfiguration":
|
|
1939
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1631
|
+
"LoggingConfiguration": LoggingConfigurationTypeDef,
|
|
1940
1632
|
},
|
|
1941
1633
|
)
|
|
1942
1634
|
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
]
|
|
1946
|
-
PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
|
|
1947
|
-
"PutLoggingConfigurationRequestRequestTypeDef",
|
|
1635
|
+
PutLoggingConfigurationResponseTypeDef = TypedDict(
|
|
1636
|
+
"PutLoggingConfigurationResponseTypeDef",
|
|
1948
1637
|
{
|
|
1949
1638
|
"LoggingConfiguration": LoggingConfigurationTypeDef,
|
|
1639
|
+
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1950
1640
|
},
|
|
1951
1641
|
)
|
|
1952
1642
|
|
|
1953
1643
|
RegexMatchSetTypeDef = TypedDict(
|
|
1954
1644
|
"RegexMatchSetTypeDef",
|
|
1955
1645
|
{
|
|
1956
|
-
"RegexMatchSetId": str,
|
|
1957
|
-
"Name": str,
|
|
1958
|
-
"RegexMatchTuples": List[RegexMatchTupleTypeDef],
|
|
1646
|
+
"RegexMatchSetId": NotRequired[str],
|
|
1647
|
+
"Name": NotRequired[str],
|
|
1648
|
+
"RegexMatchTuples": NotRequired[List[RegexMatchTupleTypeDef]],
|
|
1959
1649
|
},
|
|
1960
|
-
total=False,
|
|
1961
1650
|
)
|
|
1962
1651
|
|
|
1963
1652
|
RegexMatchSetUpdateTypeDef = TypedDict(
|
|
@@ -1968,27 +1657,14 @@ RegexMatchSetUpdateTypeDef = TypedDict(
|
|
|
1968
1657
|
},
|
|
1969
1658
|
)
|
|
1970
1659
|
|
|
1971
|
-
|
|
1972
|
-
"
|
|
1660
|
+
SizeConstraintSetTypeDef = TypedDict(
|
|
1661
|
+
"SizeConstraintSetTypeDef",
|
|
1973
1662
|
{
|
|
1974
1663
|
"SizeConstraintSetId": str,
|
|
1975
1664
|
"SizeConstraints": List[SizeConstraintTypeDef],
|
|
1665
|
+
"Name": NotRequired[str],
|
|
1976
1666
|
},
|
|
1977
1667
|
)
|
|
1978
|
-
_OptionalSizeConstraintSetTypeDef = TypedDict(
|
|
1979
|
-
"_OptionalSizeConstraintSetTypeDef",
|
|
1980
|
-
{
|
|
1981
|
-
"Name": str,
|
|
1982
|
-
},
|
|
1983
|
-
total=False,
|
|
1984
|
-
)
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
class SizeConstraintSetTypeDef(
|
|
1988
|
-
_RequiredSizeConstraintSetTypeDef, _OptionalSizeConstraintSetTypeDef
|
|
1989
|
-
):
|
|
1990
|
-
pass
|
|
1991
|
-
|
|
1992
1668
|
|
|
1993
1669
|
SizeConstraintSetUpdateTypeDef = TypedDict(
|
|
1994
1670
|
"SizeConstraintSetUpdateTypeDef",
|
|
@@ -1998,27 +1674,14 @@ SizeConstraintSetUpdateTypeDef = TypedDict(
|
|
|
1998
1674
|
},
|
|
1999
1675
|
)
|
|
2000
1676
|
|
|
2001
|
-
|
|
2002
|
-
"
|
|
1677
|
+
SqlInjectionMatchSetTypeDef = TypedDict(
|
|
1678
|
+
"SqlInjectionMatchSetTypeDef",
|
|
2003
1679
|
{
|
|
2004
1680
|
"SqlInjectionMatchSetId": str,
|
|
2005
1681
|
"SqlInjectionMatchTuples": List[SqlInjectionMatchTupleTypeDef],
|
|
1682
|
+
"Name": NotRequired[str],
|
|
2006
1683
|
},
|
|
2007
1684
|
)
|
|
2008
|
-
_OptionalSqlInjectionMatchSetTypeDef = TypedDict(
|
|
2009
|
-
"_OptionalSqlInjectionMatchSetTypeDef",
|
|
2010
|
-
{
|
|
2011
|
-
"Name": str,
|
|
2012
|
-
},
|
|
2013
|
-
total=False,
|
|
2014
|
-
)
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
class SqlInjectionMatchSetTypeDef(
|
|
2018
|
-
_RequiredSqlInjectionMatchSetTypeDef, _OptionalSqlInjectionMatchSetTypeDef
|
|
2019
|
-
):
|
|
2020
|
-
pass
|
|
2021
|
-
|
|
2022
1685
|
|
|
2023
1686
|
SqlInjectionMatchSetUpdateTypeDef = TypedDict(
|
|
2024
1687
|
"SqlInjectionMatchSetUpdateTypeDef",
|
|
@@ -2028,25 +1691,14 @@ SqlInjectionMatchSetUpdateTypeDef = TypedDict(
|
|
|
2028
1691
|
},
|
|
2029
1692
|
)
|
|
2030
1693
|
|
|
2031
|
-
|
|
2032
|
-
"
|
|
1694
|
+
XssMatchSetTypeDef = TypedDict(
|
|
1695
|
+
"XssMatchSetTypeDef",
|
|
2033
1696
|
{
|
|
2034
1697
|
"XssMatchSetId": str,
|
|
2035
1698
|
"XssMatchTuples": List[XssMatchTupleTypeDef],
|
|
1699
|
+
"Name": NotRequired[str],
|
|
2036
1700
|
},
|
|
2037
1701
|
)
|
|
2038
|
-
_OptionalXssMatchSetTypeDef = TypedDict(
|
|
2039
|
-
"_OptionalXssMatchSetTypeDef",
|
|
2040
|
-
{
|
|
2041
|
-
"Name": str,
|
|
2042
|
-
},
|
|
2043
|
-
total=False,
|
|
2044
|
-
)
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
class XssMatchSetTypeDef(_RequiredXssMatchSetTypeDef, _OptionalXssMatchSetTypeDef):
|
|
2048
|
-
pass
|
|
2049
|
-
|
|
2050
1702
|
|
|
2051
1703
|
XssMatchSetUpdateTypeDef = TypedDict(
|
|
2052
1704
|
"XssMatchSetUpdateTypeDef",
|
|
@@ -2091,29 +1743,16 @@ UpdateGeoMatchSetRequestRequestTypeDef = TypedDict(
|
|
|
2091
1743
|
},
|
|
2092
1744
|
)
|
|
2093
1745
|
|
|
2094
|
-
|
|
2095
|
-
"
|
|
1746
|
+
SampledHTTPRequestTypeDef = TypedDict(
|
|
1747
|
+
"SampledHTTPRequestTypeDef",
|
|
2096
1748
|
{
|
|
2097
1749
|
"Request": HTTPRequestTypeDef,
|
|
2098
1750
|
"Weight": int,
|
|
1751
|
+
"Timestamp": NotRequired[datetime],
|
|
1752
|
+
"Action": NotRequired[str],
|
|
1753
|
+
"RuleWithinRuleGroup": NotRequired[str],
|
|
2099
1754
|
},
|
|
2100
1755
|
)
|
|
2101
|
-
_OptionalSampledHTTPRequestTypeDef = TypedDict(
|
|
2102
|
-
"_OptionalSampledHTTPRequestTypeDef",
|
|
2103
|
-
{
|
|
2104
|
-
"Timestamp": datetime,
|
|
2105
|
-
"Action": str,
|
|
2106
|
-
"RuleWithinRuleGroup": str,
|
|
2107
|
-
},
|
|
2108
|
-
total=False,
|
|
2109
|
-
)
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
class SampledHTTPRequestTypeDef(
|
|
2113
|
-
_RequiredSampledHTTPRequestTypeDef, _OptionalSampledHTTPRequestTypeDef
|
|
2114
|
-
):
|
|
2115
|
-
pass
|
|
2116
|
-
|
|
2117
1756
|
|
|
2118
1757
|
CreateIPSetResponseTypeDef = TypedDict(
|
|
2119
1758
|
"CreateIPSetResponseTypeDef",
|
|
@@ -2204,7 +1843,15 @@ GetSampledRequestsRequestRequestTypeDef = TypedDict(
|
|
|
2204
1843
|
},
|
|
2205
1844
|
)
|
|
2206
1845
|
|
|
2207
|
-
|
|
1846
|
+
UpdateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
1847
|
+
"UpdateRuleGroupRequestRequestTypeDef",
|
|
1848
|
+
{
|
|
1849
|
+
"RuleGroupId": str,
|
|
1850
|
+
"Updates": Sequence[RuleGroupUpdateTypeDef],
|
|
1851
|
+
"ChangeToken": str,
|
|
1852
|
+
},
|
|
1853
|
+
)
|
|
1854
|
+
|
|
2208
1855
|
CreateWebACLResponseTypeDef = TypedDict(
|
|
2209
1856
|
"CreateWebACLResponseTypeDef",
|
|
2210
1857
|
{
|
|
@@ -2222,37 +1869,15 @@ GetWebACLResponseTypeDef = TypedDict(
|
|
|
2222
1869
|
},
|
|
2223
1870
|
)
|
|
2224
1871
|
|
|
2225
|
-
|
|
2226
|
-
"
|
|
2227
|
-
{
|
|
2228
|
-
"RuleGroupId": str,
|
|
2229
|
-
"Updates": Sequence[RuleGroupUpdateTypeDef],
|
|
2230
|
-
"ChangeToken": str,
|
|
2231
|
-
},
|
|
2232
|
-
)
|
|
2233
|
-
|
|
2234
|
-
_RequiredUpdateWebACLRequestRequestTypeDef = TypedDict(
|
|
2235
|
-
"_RequiredUpdateWebACLRequestRequestTypeDef",
|
|
1872
|
+
UpdateWebACLRequestRequestTypeDef = TypedDict(
|
|
1873
|
+
"UpdateWebACLRequestRequestTypeDef",
|
|
2236
1874
|
{
|
|
2237
1875
|
"WebACLId": str,
|
|
2238
1876
|
"ChangeToken": str,
|
|
1877
|
+
"Updates": NotRequired[Sequence[WebACLUpdateTypeDef]],
|
|
1878
|
+
"DefaultAction": NotRequired[WafActionTypeDef],
|
|
2239
1879
|
},
|
|
2240
1880
|
)
|
|
2241
|
-
_OptionalUpdateWebACLRequestRequestTypeDef = TypedDict(
|
|
2242
|
-
"_OptionalUpdateWebACLRequestRequestTypeDef",
|
|
2243
|
-
{
|
|
2244
|
-
"Updates": Sequence[WebACLUpdateTypeDef],
|
|
2245
|
-
"DefaultAction": WafActionTypeDef,
|
|
2246
|
-
},
|
|
2247
|
-
total=False,
|
|
2248
|
-
)
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
class UpdateWebACLRequestRequestTypeDef(
|
|
2252
|
-
_RequiredUpdateWebACLRequestRequestTypeDef, _OptionalUpdateWebACLRequestRequestTypeDef
|
|
2253
|
-
):
|
|
2254
|
-
pass
|
|
2255
|
-
|
|
2256
1881
|
|
|
2257
1882
|
CreateByteMatchSetResponseTypeDef = TypedDict(
|
|
2258
1883
|
"CreateByteMatchSetResponseTypeDef",
|
|
@@ -2389,7 +2014,7 @@ GetSampledRequestsResponseTypeDef = TypedDict(
|
|
|
2389
2014
|
{
|
|
2390
2015
|
"SampledRequests": List[SampledHTTPRequestTypeDef],
|
|
2391
2016
|
"PopulationSize": int,
|
|
2392
|
-
"TimeWindow":
|
|
2017
|
+
"TimeWindow": TimeWindowTypeDef,
|
|
2393
2018
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
2394
2019
|
},
|
|
2395
2020
|
)
|