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
|
|
@@ -47,7 +49,6 @@ __all__ = (
|
|
|
47
49
|
"WafActionTypeDef",
|
|
48
50
|
"WafOverrideActionTypeDef",
|
|
49
51
|
"AssociateWebACLRequestRequestTypeDef",
|
|
50
|
-
"BlobTypeDef",
|
|
51
52
|
"ByteMatchSetSummaryTypeDef",
|
|
52
53
|
"FieldToMatchTypeDef",
|
|
53
54
|
"CreateByteMatchSetRequestRequestTypeDef",
|
|
@@ -92,7 +93,6 @@ __all__ = (
|
|
|
92
93
|
"GetRegexPatternSetRequestRequestTypeDef",
|
|
93
94
|
"GetRuleGroupRequestRequestTypeDef",
|
|
94
95
|
"GetRuleRequestRequestTypeDef",
|
|
95
|
-
"TimeWindowOutputTypeDef",
|
|
96
96
|
"GetSizeConstraintSetRequestRequestTypeDef",
|
|
97
97
|
"GetSqlInjectionMatchSetRequestRequestTypeDef",
|
|
98
98
|
"GetWebACLForResourceRequestRequestTypeDef",
|
|
@@ -132,11 +132,8 @@ __all__ = (
|
|
|
132
132
|
"RegexPatternSetUpdateTypeDef",
|
|
133
133
|
"TimestampTypeDef",
|
|
134
134
|
"UntagResourceRequestRequestTypeDef",
|
|
135
|
-
"ActivatedRuleOutputTypeDef",
|
|
136
135
|
"ActivatedRuleTypeDef",
|
|
137
|
-
"ByteMatchTupleOutputTypeDef",
|
|
138
136
|
"ByteMatchTupleTypeDef",
|
|
139
|
-
"LoggingConfigurationOutputTypeDef",
|
|
140
137
|
"LoggingConfigurationTypeDef",
|
|
141
138
|
"RegexMatchTupleTypeDef",
|
|
142
139
|
"SizeConstraintTypeDef",
|
|
@@ -207,16 +204,15 @@ __all__ = (
|
|
|
207
204
|
"UpdateRegexPatternSetRequestRequestTypeDef",
|
|
208
205
|
"TimeWindowTypeDef",
|
|
209
206
|
"ListActivatedRulesInRuleGroupResponseTypeDef",
|
|
210
|
-
"WebACLTypeDef",
|
|
211
207
|
"RuleGroupUpdateTypeDef",
|
|
208
|
+
"WebACLTypeDef",
|
|
212
209
|
"WebACLUpdateTypeDef",
|
|
213
210
|
"ByteMatchSetTypeDef",
|
|
214
211
|
"ByteMatchSetUpdateTypeDef",
|
|
215
212
|
"GetLoggingConfigurationResponseTypeDef",
|
|
216
213
|
"ListLoggingConfigurationsResponseTypeDef",
|
|
217
|
-
"PutLoggingConfigurationResponseTypeDef",
|
|
218
|
-
"LoggingConfigurationUnionTypeDef",
|
|
219
214
|
"PutLoggingConfigurationRequestRequestTypeDef",
|
|
215
|
+
"PutLoggingConfigurationResponseTypeDef",
|
|
220
216
|
"RegexMatchSetTypeDef",
|
|
221
217
|
"RegexMatchSetUpdateTypeDef",
|
|
222
218
|
"SizeConstraintSetTypeDef",
|
|
@@ -240,10 +236,9 @@ __all__ = (
|
|
|
240
236
|
"UpdateRateBasedRuleRequestRequestTypeDef",
|
|
241
237
|
"UpdateRuleRequestRequestTypeDef",
|
|
242
238
|
"GetSampledRequestsRequestRequestTypeDef",
|
|
243
|
-
"
|
|
239
|
+
"UpdateRuleGroupRequestRequestTypeDef",
|
|
244
240
|
"CreateWebACLResponseTypeDef",
|
|
245
241
|
"GetWebACLResponseTypeDef",
|
|
246
|
-
"UpdateRuleGroupRequestRequestTypeDef",
|
|
247
242
|
"UpdateWebACLRequestRequestTypeDef",
|
|
248
243
|
"CreateByteMatchSetResponseTypeDef",
|
|
249
244
|
"GetByteMatchSetResponseTypeDef",
|
|
@@ -292,7 +287,6 @@ AssociateWebACLRequestRequestTypeDef = TypedDict(
|
|
|
292
287
|
},
|
|
293
288
|
)
|
|
294
289
|
|
|
295
|
-
BlobTypeDef = Union[str, bytes, IO[Any], StreamingBody]
|
|
296
290
|
ByteMatchSetSummaryTypeDef = TypedDict(
|
|
297
291
|
"ByteMatchSetSummaryTypeDef",
|
|
298
292
|
{
|
|
@@ -301,22 +295,13 @@ ByteMatchSetSummaryTypeDef = TypedDict(
|
|
|
301
295
|
},
|
|
302
296
|
)
|
|
303
297
|
|
|
304
|
-
|
|
305
|
-
"
|
|
298
|
+
FieldToMatchTypeDef = TypedDict(
|
|
299
|
+
"FieldToMatchTypeDef",
|
|
306
300
|
{
|
|
307
301
|
"Type": MatchFieldTypeType,
|
|
302
|
+
"Data": NotRequired[str],
|
|
308
303
|
},
|
|
309
304
|
)
|
|
310
|
-
_OptionalFieldToMatchTypeDef = TypedDict(
|
|
311
|
-
"_OptionalFieldToMatchTypeDef",
|
|
312
|
-
{
|
|
313
|
-
"Data": str,
|
|
314
|
-
},
|
|
315
|
-
total=False,
|
|
316
|
-
)
|
|
317
|
-
|
|
318
|
-
class FieldToMatchTypeDef(_RequiredFieldToMatchTypeDef, _OptionalFieldToMatchTypeDef):
|
|
319
|
-
pass
|
|
320
305
|
|
|
321
306
|
CreateByteMatchSetRequestRequestTypeDef = TypedDict(
|
|
322
307
|
"CreateByteMatchSetRequestRequestTypeDef",
|
|
@@ -377,41 +362,23 @@ CreateRegexPatternSetRequestRequestTypeDef = TypedDict(
|
|
|
377
362
|
},
|
|
378
363
|
)
|
|
379
364
|
|
|
380
|
-
|
|
381
|
-
"
|
|
365
|
+
RegexPatternSetTypeDef = TypedDict(
|
|
366
|
+
"RegexPatternSetTypeDef",
|
|
382
367
|
{
|
|
383
368
|
"RegexPatternSetId": str,
|
|
384
369
|
"RegexPatternStrings": List[str],
|
|
370
|
+
"Name": NotRequired[str],
|
|
385
371
|
},
|
|
386
372
|
)
|
|
387
|
-
_OptionalRegexPatternSetTypeDef = TypedDict(
|
|
388
|
-
"_OptionalRegexPatternSetTypeDef",
|
|
389
|
-
{
|
|
390
|
-
"Name": str,
|
|
391
|
-
},
|
|
392
|
-
total=False,
|
|
393
|
-
)
|
|
394
373
|
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
_RequiredRuleGroupTypeDef = TypedDict(
|
|
399
|
-
"_RequiredRuleGroupTypeDef",
|
|
374
|
+
RuleGroupTypeDef = TypedDict(
|
|
375
|
+
"RuleGroupTypeDef",
|
|
400
376
|
{
|
|
401
377
|
"RuleGroupId": str,
|
|
378
|
+
"Name": NotRequired[str],
|
|
379
|
+
"MetricName": NotRequired[str],
|
|
402
380
|
},
|
|
403
381
|
)
|
|
404
|
-
_OptionalRuleGroupTypeDef = TypedDict(
|
|
405
|
-
"_OptionalRuleGroupTypeDef",
|
|
406
|
-
{
|
|
407
|
-
"Name": str,
|
|
408
|
-
"MetricName": str,
|
|
409
|
-
},
|
|
410
|
-
total=False,
|
|
411
|
-
)
|
|
412
|
-
|
|
413
|
-
class RuleGroupTypeDef(_RequiredRuleGroupTypeDef, _OptionalRuleGroupTypeDef):
|
|
414
|
-
pass
|
|
415
382
|
|
|
416
383
|
CreateSizeConstraintSetRequestRequestTypeDef = TypedDict(
|
|
417
384
|
"CreateSizeConstraintSetRequestRequestTypeDef",
|
|
@@ -621,25 +588,13 @@ GetPermissionPolicyRequestRequestTypeDef = TypedDict(
|
|
|
621
588
|
},
|
|
622
589
|
)
|
|
623
590
|
|
|
624
|
-
|
|
625
|
-
"
|
|
591
|
+
GetRateBasedRuleManagedKeysRequestRequestTypeDef = TypedDict(
|
|
592
|
+
"GetRateBasedRuleManagedKeysRequestRequestTypeDef",
|
|
626
593
|
{
|
|
627
594
|
"RuleId": str,
|
|
595
|
+
"NextMarker": NotRequired[str],
|
|
628
596
|
},
|
|
629
597
|
)
|
|
630
|
-
_OptionalGetRateBasedRuleManagedKeysRequestRequestTypeDef = TypedDict(
|
|
631
|
-
"_OptionalGetRateBasedRuleManagedKeysRequestRequestTypeDef",
|
|
632
|
-
{
|
|
633
|
-
"NextMarker": str,
|
|
634
|
-
},
|
|
635
|
-
total=False,
|
|
636
|
-
)
|
|
637
|
-
|
|
638
|
-
class GetRateBasedRuleManagedKeysRequestRequestTypeDef(
|
|
639
|
-
_RequiredGetRateBasedRuleManagedKeysRequestRequestTypeDef,
|
|
640
|
-
_OptionalGetRateBasedRuleManagedKeysRequestRequestTypeDef,
|
|
641
|
-
):
|
|
642
|
-
pass
|
|
643
598
|
|
|
644
599
|
GetRateBasedRuleRequestRequestTypeDef = TypedDict(
|
|
645
600
|
"GetRateBasedRuleRequestRequestTypeDef",
|
|
@@ -676,14 +631,6 @@ GetRuleRequestRequestTypeDef = TypedDict(
|
|
|
676
631
|
},
|
|
677
632
|
)
|
|
678
633
|
|
|
679
|
-
TimeWindowOutputTypeDef = TypedDict(
|
|
680
|
-
"TimeWindowOutputTypeDef",
|
|
681
|
-
{
|
|
682
|
-
"StartTime": datetime,
|
|
683
|
-
"EndTime": datetime,
|
|
684
|
-
},
|
|
685
|
-
)
|
|
686
|
-
|
|
687
634
|
GetSizeConstraintSetRequestRequestTypeDef = TypedDict(
|
|
688
635
|
"GetSizeConstraintSetRequestRequestTypeDef",
|
|
689
636
|
{
|
|
@@ -730,10 +677,9 @@ GetXssMatchSetRequestRequestTypeDef = TypedDict(
|
|
|
730
677
|
HTTPHeaderTypeDef = TypedDict(
|
|
731
678
|
"HTTPHeaderTypeDef",
|
|
732
679
|
{
|
|
733
|
-
"Name": str,
|
|
734
|
-
"Value": str,
|
|
680
|
+
"Name": NotRequired[str],
|
|
681
|
+
"Value": NotRequired[str],
|
|
735
682
|
},
|
|
736
|
-
total=False,
|
|
737
683
|
)
|
|
738
684
|
|
|
739
685
|
IPSetDescriptorTypeDef = TypedDict(
|
|
@@ -755,56 +701,50 @@ IPSetSummaryTypeDef = TypedDict(
|
|
|
755
701
|
ListActivatedRulesInRuleGroupRequestRequestTypeDef = TypedDict(
|
|
756
702
|
"ListActivatedRulesInRuleGroupRequestRequestTypeDef",
|
|
757
703
|
{
|
|
758
|
-
"RuleGroupId": str,
|
|
759
|
-
"NextMarker": str,
|
|
760
|
-
"Limit": int,
|
|
704
|
+
"RuleGroupId": NotRequired[str],
|
|
705
|
+
"NextMarker": NotRequired[str],
|
|
706
|
+
"Limit": NotRequired[int],
|
|
761
707
|
},
|
|
762
|
-
total=False,
|
|
763
708
|
)
|
|
764
709
|
|
|
765
710
|
ListByteMatchSetsRequestRequestTypeDef = TypedDict(
|
|
766
711
|
"ListByteMatchSetsRequestRequestTypeDef",
|
|
767
712
|
{
|
|
768
|
-
"NextMarker": str,
|
|
769
|
-
"Limit": int,
|
|
713
|
+
"NextMarker": NotRequired[str],
|
|
714
|
+
"Limit": NotRequired[int],
|
|
770
715
|
},
|
|
771
|
-
total=False,
|
|
772
716
|
)
|
|
773
717
|
|
|
774
718
|
ListGeoMatchSetsRequestRequestTypeDef = TypedDict(
|
|
775
719
|
"ListGeoMatchSetsRequestRequestTypeDef",
|
|
776
720
|
{
|
|
777
|
-
"NextMarker": str,
|
|
778
|
-
"Limit": int,
|
|
721
|
+
"NextMarker": NotRequired[str],
|
|
722
|
+
"Limit": NotRequired[int],
|
|
779
723
|
},
|
|
780
|
-
total=False,
|
|
781
724
|
)
|
|
782
725
|
|
|
783
726
|
ListIPSetsRequestRequestTypeDef = TypedDict(
|
|
784
727
|
"ListIPSetsRequestRequestTypeDef",
|
|
785
728
|
{
|
|
786
|
-
"NextMarker": str,
|
|
787
|
-
"Limit": int,
|
|
729
|
+
"NextMarker": NotRequired[str],
|
|
730
|
+
"Limit": NotRequired[int],
|
|
788
731
|
},
|
|
789
|
-
total=False,
|
|
790
732
|
)
|
|
791
733
|
|
|
792
734
|
ListLoggingConfigurationsRequestRequestTypeDef = TypedDict(
|
|
793
735
|
"ListLoggingConfigurationsRequestRequestTypeDef",
|
|
794
736
|
{
|
|
795
|
-
"NextMarker": str,
|
|
796
|
-
"Limit": int,
|
|
737
|
+
"NextMarker": NotRequired[str],
|
|
738
|
+
"Limit": NotRequired[int],
|
|
797
739
|
},
|
|
798
|
-
total=False,
|
|
799
740
|
)
|
|
800
741
|
|
|
801
742
|
ListRateBasedRulesRequestRequestTypeDef = TypedDict(
|
|
802
743
|
"ListRateBasedRulesRequestRequestTypeDef",
|
|
803
744
|
{
|
|
804
|
-
"NextMarker": str,
|
|
805
|
-
"Limit": int,
|
|
745
|
+
"NextMarker": NotRequired[str],
|
|
746
|
+
"Limit": NotRequired[int],
|
|
806
747
|
},
|
|
807
|
-
total=False,
|
|
808
748
|
)
|
|
809
749
|
|
|
810
750
|
RuleSummaryTypeDef = TypedDict(
|
|
@@ -818,10 +758,9 @@ RuleSummaryTypeDef = TypedDict(
|
|
|
818
758
|
ListRegexMatchSetsRequestRequestTypeDef = TypedDict(
|
|
819
759
|
"ListRegexMatchSetsRequestRequestTypeDef",
|
|
820
760
|
{
|
|
821
|
-
"NextMarker": str,
|
|
822
|
-
"Limit": int,
|
|
761
|
+
"NextMarker": NotRequired[str],
|
|
762
|
+
"Limit": NotRequired[int],
|
|
823
763
|
},
|
|
824
|
-
total=False,
|
|
825
764
|
)
|
|
826
765
|
|
|
827
766
|
RegexMatchSetSummaryTypeDef = TypedDict(
|
|
@@ -835,10 +774,9 @@ RegexMatchSetSummaryTypeDef = TypedDict(
|
|
|
835
774
|
ListRegexPatternSetsRequestRequestTypeDef = TypedDict(
|
|
836
775
|
"ListRegexPatternSetsRequestRequestTypeDef",
|
|
837
776
|
{
|
|
838
|
-
"NextMarker": str,
|
|
839
|
-
"Limit": int,
|
|
777
|
+
"NextMarker": NotRequired[str],
|
|
778
|
+
"Limit": NotRequired[int],
|
|
840
779
|
},
|
|
841
|
-
total=False,
|
|
842
780
|
)
|
|
843
781
|
|
|
844
782
|
RegexPatternSetSummaryTypeDef = TypedDict(
|
|
@@ -849,33 +787,20 @@ RegexPatternSetSummaryTypeDef = TypedDict(
|
|
|
849
787
|
},
|
|
850
788
|
)
|
|
851
789
|
|
|
852
|
-
|
|
853
|
-
"
|
|
790
|
+
ListResourcesForWebACLRequestRequestTypeDef = TypedDict(
|
|
791
|
+
"ListResourcesForWebACLRequestRequestTypeDef",
|
|
854
792
|
{
|
|
855
793
|
"WebACLId": str,
|
|
794
|
+
"ResourceType": NotRequired[ResourceTypeType],
|
|
856
795
|
},
|
|
857
796
|
)
|
|
858
|
-
_OptionalListResourcesForWebACLRequestRequestTypeDef = TypedDict(
|
|
859
|
-
"_OptionalListResourcesForWebACLRequestRequestTypeDef",
|
|
860
|
-
{
|
|
861
|
-
"ResourceType": ResourceTypeType,
|
|
862
|
-
},
|
|
863
|
-
total=False,
|
|
864
|
-
)
|
|
865
|
-
|
|
866
|
-
class ListResourcesForWebACLRequestRequestTypeDef(
|
|
867
|
-
_RequiredListResourcesForWebACLRequestRequestTypeDef,
|
|
868
|
-
_OptionalListResourcesForWebACLRequestRequestTypeDef,
|
|
869
|
-
):
|
|
870
|
-
pass
|
|
871
797
|
|
|
872
798
|
ListRuleGroupsRequestRequestTypeDef = TypedDict(
|
|
873
799
|
"ListRuleGroupsRequestRequestTypeDef",
|
|
874
800
|
{
|
|
875
|
-
"NextMarker": str,
|
|
876
|
-
"Limit": int,
|
|
801
|
+
"NextMarker": NotRequired[str],
|
|
802
|
+
"Limit": NotRequired[int],
|
|
877
803
|
},
|
|
878
|
-
total=False,
|
|
879
804
|
)
|
|
880
805
|
|
|
881
806
|
RuleGroupSummaryTypeDef = TypedDict(
|
|
@@ -889,19 +814,17 @@ RuleGroupSummaryTypeDef = TypedDict(
|
|
|
889
814
|
ListRulesRequestRequestTypeDef = TypedDict(
|
|
890
815
|
"ListRulesRequestRequestTypeDef",
|
|
891
816
|
{
|
|
892
|
-
"NextMarker": str,
|
|
893
|
-
"Limit": int,
|
|
817
|
+
"NextMarker": NotRequired[str],
|
|
818
|
+
"Limit": NotRequired[int],
|
|
894
819
|
},
|
|
895
|
-
total=False,
|
|
896
820
|
)
|
|
897
821
|
|
|
898
822
|
ListSizeConstraintSetsRequestRequestTypeDef = TypedDict(
|
|
899
823
|
"ListSizeConstraintSetsRequestRequestTypeDef",
|
|
900
824
|
{
|
|
901
|
-
"NextMarker": str,
|
|
902
|
-
"Limit": int,
|
|
825
|
+
"NextMarker": NotRequired[str],
|
|
826
|
+
"Limit": NotRequired[int],
|
|
903
827
|
},
|
|
904
|
-
total=False,
|
|
905
828
|
)
|
|
906
829
|
|
|
907
830
|
SizeConstraintSetSummaryTypeDef = TypedDict(
|
|
@@ -915,10 +838,9 @@ SizeConstraintSetSummaryTypeDef = TypedDict(
|
|
|
915
838
|
ListSqlInjectionMatchSetsRequestRequestTypeDef = TypedDict(
|
|
916
839
|
"ListSqlInjectionMatchSetsRequestRequestTypeDef",
|
|
917
840
|
{
|
|
918
|
-
"NextMarker": str,
|
|
919
|
-
"Limit": int,
|
|
841
|
+
"NextMarker": NotRequired[str],
|
|
842
|
+
"Limit": NotRequired[int],
|
|
920
843
|
},
|
|
921
|
-
total=False,
|
|
922
844
|
)
|
|
923
845
|
|
|
924
846
|
SqlInjectionMatchSetSummaryTypeDef = TypedDict(
|
|
@@ -932,10 +854,9 @@ SqlInjectionMatchSetSummaryTypeDef = TypedDict(
|
|
|
932
854
|
ListSubscribedRuleGroupsRequestRequestTypeDef = TypedDict(
|
|
933
855
|
"ListSubscribedRuleGroupsRequestRequestTypeDef",
|
|
934
856
|
{
|
|
935
|
-
"NextMarker": str,
|
|
936
|
-
"Limit": int,
|
|
857
|
+
"NextMarker": NotRequired[str],
|
|
858
|
+
"Limit": NotRequired[int],
|
|
937
859
|
},
|
|
938
|
-
total=False,
|
|
939
860
|
)
|
|
940
861
|
|
|
941
862
|
SubscribedRuleGroupSummaryTypeDef = TypedDict(
|
|
@@ -947,43 +868,29 @@ SubscribedRuleGroupSummaryTypeDef = TypedDict(
|
|
|
947
868
|
},
|
|
948
869
|
)
|
|
949
870
|
|
|
950
|
-
|
|
951
|
-
"
|
|
871
|
+
ListTagsForResourceRequestRequestTypeDef = TypedDict(
|
|
872
|
+
"ListTagsForResourceRequestRequestTypeDef",
|
|
952
873
|
{
|
|
953
874
|
"ResourceARN": str,
|
|
875
|
+
"NextMarker": NotRequired[str],
|
|
876
|
+
"Limit": NotRequired[int],
|
|
954
877
|
},
|
|
955
878
|
)
|
|
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
879
|
|
|
971
880
|
ListWebACLsRequestRequestTypeDef = TypedDict(
|
|
972
881
|
"ListWebACLsRequestRequestTypeDef",
|
|
973
882
|
{
|
|
974
|
-
"NextMarker": str,
|
|
975
|
-
"Limit": int,
|
|
883
|
+
"NextMarker": NotRequired[str],
|
|
884
|
+
"Limit": NotRequired[int],
|
|
976
885
|
},
|
|
977
|
-
total=False,
|
|
978
886
|
)
|
|
979
887
|
|
|
980
888
|
ListXssMatchSetsRequestRequestTypeDef = TypedDict(
|
|
981
889
|
"ListXssMatchSetsRequestRequestTypeDef",
|
|
982
890
|
{
|
|
983
|
-
"NextMarker": str,
|
|
984
|
-
"Limit": int,
|
|
891
|
+
"NextMarker": NotRequired[str],
|
|
892
|
+
"Limit": NotRequired[int],
|
|
985
893
|
},
|
|
986
|
-
total=False,
|
|
987
894
|
)
|
|
988
895
|
|
|
989
896
|
XssMatchSetSummaryTypeDef = TypedDict(
|
|
@@ -1028,57 +935,15 @@ UntagResourceRequestRequestTypeDef = TypedDict(
|
|
|
1028
935
|
},
|
|
1029
936
|
)
|
|
1030
937
|
|
|
1031
|
-
|
|
1032
|
-
"
|
|
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",
|
|
938
|
+
ActivatedRuleTypeDef = TypedDict(
|
|
939
|
+
"ActivatedRuleTypeDef",
|
|
1056
940
|
{
|
|
1057
941
|
"Priority": int,
|
|
1058
942
|
"RuleId": str,
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
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,
|
|
943
|
+
"Action": NotRequired[WafActionTypeDef],
|
|
944
|
+
"OverrideAction": NotRequired[WafOverrideActionTypeDef],
|
|
945
|
+
"Type": NotRequired[WafRuleTypeType],
|
|
946
|
+
"ExcludedRules": NotRequired[List[ExcludedRuleTypeDef]],
|
|
1082
947
|
},
|
|
1083
948
|
)
|
|
1084
949
|
|
|
@@ -1086,51 +951,20 @@ ByteMatchTupleTypeDef = TypedDict(
|
|
|
1086
951
|
"ByteMatchTupleTypeDef",
|
|
1087
952
|
{
|
|
1088
953
|
"FieldToMatch": FieldToMatchTypeDef,
|
|
1089
|
-
"TargetString":
|
|
954
|
+
"TargetString": bytes,
|
|
1090
955
|
"TextTransformation": TextTransformationType,
|
|
1091
956
|
"PositionalConstraint": PositionalConstraintType,
|
|
1092
957
|
},
|
|
1093
958
|
)
|
|
1094
959
|
|
|
1095
|
-
|
|
1096
|
-
"
|
|
960
|
+
LoggingConfigurationTypeDef = TypedDict(
|
|
961
|
+
"LoggingConfigurationTypeDef",
|
|
1097
962
|
{
|
|
1098
963
|
"ResourceArn": str,
|
|
1099
964
|
"LogDestinationConfigs": List[str],
|
|
965
|
+
"RedactedFields": NotRequired[List[FieldToMatchTypeDef]],
|
|
1100
966
|
},
|
|
1101
967
|
)
|
|
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
968
|
|
|
1135
969
|
RegexMatchTupleTypeDef = TypedDict(
|
|
1136
970
|
"RegexMatchTupleTypeDef",
|
|
@@ -1417,101 +1251,55 @@ UpdateXssMatchSetResponseTypeDef = TypedDict(
|
|
|
1417
1251
|
},
|
|
1418
1252
|
)
|
|
1419
1253
|
|
|
1420
|
-
|
|
1421
|
-
"
|
|
1254
|
+
CreateRateBasedRuleRequestRequestTypeDef = TypedDict(
|
|
1255
|
+
"CreateRateBasedRuleRequestRequestTypeDef",
|
|
1422
1256
|
{
|
|
1423
1257
|
"Name": str,
|
|
1424
1258
|
"MetricName": str,
|
|
1425
1259
|
"RateKey": Literal["IP"],
|
|
1426
1260
|
"RateLimit": int,
|
|
1427
1261
|
"ChangeToken": str,
|
|
1262
|
+
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1428
1263
|
},
|
|
1429
1264
|
)
|
|
1430
|
-
_OptionalCreateRateBasedRuleRequestRequestTypeDef = TypedDict(
|
|
1431
|
-
"_OptionalCreateRateBasedRuleRequestRequestTypeDef",
|
|
1432
|
-
{
|
|
1433
|
-
"Tags": Sequence[TagTypeDef],
|
|
1434
|
-
},
|
|
1435
|
-
total=False,
|
|
1436
|
-
)
|
|
1437
1265
|
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
_OptionalCreateRateBasedRuleRequestRequestTypeDef,
|
|
1441
|
-
):
|
|
1442
|
-
pass
|
|
1443
|
-
|
|
1444
|
-
_RequiredCreateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
1445
|
-
"_RequiredCreateRuleGroupRequestRequestTypeDef",
|
|
1266
|
+
CreateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
1267
|
+
"CreateRuleGroupRequestRequestTypeDef",
|
|
1446
1268
|
{
|
|
1447
1269
|
"Name": str,
|
|
1448
1270
|
"MetricName": str,
|
|
1449
1271
|
"ChangeToken": str,
|
|
1272
|
+
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1450
1273
|
},
|
|
1451
1274
|
)
|
|
1452
|
-
_OptionalCreateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
1453
|
-
"_OptionalCreateRuleGroupRequestRequestTypeDef",
|
|
1454
|
-
{
|
|
1455
|
-
"Tags": Sequence[TagTypeDef],
|
|
1456
|
-
},
|
|
1457
|
-
total=False,
|
|
1458
|
-
)
|
|
1459
1275
|
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
):
|
|
1463
|
-
pass
|
|
1464
|
-
|
|
1465
|
-
_RequiredCreateRuleRequestRequestTypeDef = TypedDict(
|
|
1466
|
-
"_RequiredCreateRuleRequestRequestTypeDef",
|
|
1276
|
+
CreateRuleRequestRequestTypeDef = TypedDict(
|
|
1277
|
+
"CreateRuleRequestRequestTypeDef",
|
|
1467
1278
|
{
|
|
1468
1279
|
"Name": str,
|
|
1469
1280
|
"MetricName": str,
|
|
1470
1281
|
"ChangeToken": str,
|
|
1282
|
+
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1471
1283
|
},
|
|
1472
1284
|
)
|
|
1473
|
-
_OptionalCreateRuleRequestRequestTypeDef = TypedDict(
|
|
1474
|
-
"_OptionalCreateRuleRequestRequestTypeDef",
|
|
1475
|
-
{
|
|
1476
|
-
"Tags": Sequence[TagTypeDef],
|
|
1477
|
-
},
|
|
1478
|
-
total=False,
|
|
1479
|
-
)
|
|
1480
|
-
|
|
1481
|
-
class CreateRuleRequestRequestTypeDef(
|
|
1482
|
-
_RequiredCreateRuleRequestRequestTypeDef, _OptionalCreateRuleRequestRequestTypeDef
|
|
1483
|
-
):
|
|
1484
|
-
pass
|
|
1485
1285
|
|
|
1486
|
-
|
|
1487
|
-
"
|
|
1286
|
+
CreateWebACLRequestRequestTypeDef = TypedDict(
|
|
1287
|
+
"CreateWebACLRequestRequestTypeDef",
|
|
1488
1288
|
{
|
|
1489
1289
|
"Name": str,
|
|
1490
1290
|
"MetricName": str,
|
|
1491
1291
|
"DefaultAction": WafActionTypeDef,
|
|
1492
1292
|
"ChangeToken": str,
|
|
1293
|
+
"Tags": NotRequired[Sequence[TagTypeDef]],
|
|
1493
1294
|
},
|
|
1494
1295
|
)
|
|
1495
|
-
_OptionalCreateWebACLRequestRequestTypeDef = TypedDict(
|
|
1496
|
-
"_OptionalCreateWebACLRequestRequestTypeDef",
|
|
1497
|
-
{
|
|
1498
|
-
"Tags": Sequence[TagTypeDef],
|
|
1499
|
-
},
|
|
1500
|
-
total=False,
|
|
1501
|
-
)
|
|
1502
|
-
|
|
1503
|
-
class CreateWebACLRequestRequestTypeDef(
|
|
1504
|
-
_RequiredCreateWebACLRequestRequestTypeDef, _OptionalCreateWebACLRequestRequestTypeDef
|
|
1505
|
-
):
|
|
1506
|
-
pass
|
|
1507
1296
|
|
|
1508
1297
|
TagInfoForResourceTypeDef = TypedDict(
|
|
1509
1298
|
"TagInfoForResourceTypeDef",
|
|
1510
1299
|
{
|
|
1511
|
-
"ResourceARN": str,
|
|
1512
|
-
"TagList": List[TagTypeDef],
|
|
1300
|
+
"ResourceARN": NotRequired[str],
|
|
1301
|
+
"TagList": NotRequired[List[TagTypeDef]],
|
|
1513
1302
|
},
|
|
1514
|
-
total=False,
|
|
1515
1303
|
)
|
|
1516
1304
|
|
|
1517
1305
|
TagResourceRequestRequestTypeDef = TypedDict(
|
|
@@ -1556,23 +1344,14 @@ GetRuleGroupResponseTypeDef = TypedDict(
|
|
|
1556
1344
|
},
|
|
1557
1345
|
)
|
|
1558
1346
|
|
|
1559
|
-
|
|
1560
|
-
"
|
|
1347
|
+
GeoMatchSetTypeDef = TypedDict(
|
|
1348
|
+
"GeoMatchSetTypeDef",
|
|
1561
1349
|
{
|
|
1562
1350
|
"GeoMatchSetId": str,
|
|
1563
1351
|
"GeoMatchConstraints": List[GeoMatchConstraintTypeDef],
|
|
1352
|
+
"Name": NotRequired[str],
|
|
1564
1353
|
},
|
|
1565
1354
|
)
|
|
1566
|
-
_OptionalGeoMatchSetTypeDef = TypedDict(
|
|
1567
|
-
"_OptionalGeoMatchSetTypeDef",
|
|
1568
|
-
{
|
|
1569
|
-
"Name": str,
|
|
1570
|
-
},
|
|
1571
|
-
total=False,
|
|
1572
|
-
)
|
|
1573
|
-
|
|
1574
|
-
class GeoMatchSetTypeDef(_RequiredGeoMatchSetTypeDef, _OptionalGeoMatchSetTypeDef):
|
|
1575
|
-
pass
|
|
1576
1355
|
|
|
1577
1356
|
GeoMatchSetUpdateTypeDef = TypedDict(
|
|
1578
1357
|
"GeoMatchSetUpdateTypeDef",
|
|
@@ -1611,33 +1390,23 @@ ListWebACLsResponseTypeDef = TypedDict(
|
|
|
1611
1390
|
HTTPRequestTypeDef = TypedDict(
|
|
1612
1391
|
"HTTPRequestTypeDef",
|
|
1613
1392
|
{
|
|
1614
|
-
"ClientIP": str,
|
|
1615
|
-
"Country": str,
|
|
1616
|
-
"URI": str,
|
|
1617
|
-
"Method": str,
|
|
1618
|
-
"HTTPVersion": str,
|
|
1619
|
-
"Headers": List[HTTPHeaderTypeDef],
|
|
1393
|
+
"ClientIP": NotRequired[str],
|
|
1394
|
+
"Country": NotRequired[str],
|
|
1395
|
+
"URI": NotRequired[str],
|
|
1396
|
+
"Method": NotRequired[str],
|
|
1397
|
+
"HTTPVersion": NotRequired[str],
|
|
1398
|
+
"Headers": NotRequired[List[HTTPHeaderTypeDef]],
|
|
1620
1399
|
},
|
|
1621
|
-
total=False,
|
|
1622
1400
|
)
|
|
1623
1401
|
|
|
1624
|
-
|
|
1625
|
-
"
|
|
1402
|
+
IPSetTypeDef = TypedDict(
|
|
1403
|
+
"IPSetTypeDef",
|
|
1626
1404
|
{
|
|
1627
1405
|
"IPSetId": str,
|
|
1628
1406
|
"IPSetDescriptors": List[IPSetDescriptorTypeDef],
|
|
1407
|
+
"Name": NotRequired[str],
|
|
1629
1408
|
},
|
|
1630
1409
|
)
|
|
1631
|
-
_OptionalIPSetTypeDef = TypedDict(
|
|
1632
|
-
"_OptionalIPSetTypeDef",
|
|
1633
|
-
{
|
|
1634
|
-
"Name": str,
|
|
1635
|
-
},
|
|
1636
|
-
total=False,
|
|
1637
|
-
)
|
|
1638
|
-
|
|
1639
|
-
class IPSetTypeDef(_RequiredIPSetTypeDef, _OptionalIPSetTypeDef):
|
|
1640
|
-
pass
|
|
1641
1410
|
|
|
1642
1411
|
IPSetUpdateTypeDef = TypedDict(
|
|
1643
1412
|
"IPSetUpdateTypeDef",
|
|
@@ -1737,45 +1506,27 @@ ListXssMatchSetsResponseTypeDef = TypedDict(
|
|
|
1737
1506
|
},
|
|
1738
1507
|
)
|
|
1739
1508
|
|
|
1740
|
-
|
|
1741
|
-
"
|
|
1509
|
+
RateBasedRuleTypeDef = TypedDict(
|
|
1510
|
+
"RateBasedRuleTypeDef",
|
|
1742
1511
|
{
|
|
1743
1512
|
"RuleId": str,
|
|
1744
1513
|
"MatchPredicates": List[PredicateTypeDef],
|
|
1745
1514
|
"RateKey": Literal["IP"],
|
|
1746
1515
|
"RateLimit": int,
|
|
1516
|
+
"Name": NotRequired[str],
|
|
1517
|
+
"MetricName": NotRequired[str],
|
|
1747
1518
|
},
|
|
1748
1519
|
)
|
|
1749
|
-
_OptionalRateBasedRuleTypeDef = TypedDict(
|
|
1750
|
-
"_OptionalRateBasedRuleTypeDef",
|
|
1751
|
-
{
|
|
1752
|
-
"Name": str,
|
|
1753
|
-
"MetricName": str,
|
|
1754
|
-
},
|
|
1755
|
-
total=False,
|
|
1756
|
-
)
|
|
1757
1520
|
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
_RequiredRuleTypeDef = TypedDict(
|
|
1762
|
-
"_RequiredRuleTypeDef",
|
|
1521
|
+
RuleTypeDef = TypedDict(
|
|
1522
|
+
"RuleTypeDef",
|
|
1763
1523
|
{
|
|
1764
1524
|
"RuleId": str,
|
|
1765
1525
|
"Predicates": List[PredicateTypeDef],
|
|
1526
|
+
"Name": NotRequired[str],
|
|
1527
|
+
"MetricName": NotRequired[str],
|
|
1766
1528
|
},
|
|
1767
1529
|
)
|
|
1768
|
-
_OptionalRuleTypeDef = TypedDict(
|
|
1769
|
-
"_OptionalRuleTypeDef",
|
|
1770
|
-
{
|
|
1771
|
-
"Name": str,
|
|
1772
|
-
"MetricName": str,
|
|
1773
|
-
},
|
|
1774
|
-
total=False,
|
|
1775
|
-
)
|
|
1776
|
-
|
|
1777
|
-
class RuleTypeDef(_RequiredRuleTypeDef, _OptionalRuleTypeDef):
|
|
1778
|
-
pass
|
|
1779
1530
|
|
|
1780
1531
|
RuleUpdateTypeDef = TypedDict(
|
|
1781
1532
|
"RuleUpdateTypeDef",
|
|
@@ -1806,32 +1557,11 @@ ListActivatedRulesInRuleGroupResponseTypeDef = TypedDict(
|
|
|
1806
1557
|
"ListActivatedRulesInRuleGroupResponseTypeDef",
|
|
1807
1558
|
{
|
|
1808
1559
|
"NextMarker": str,
|
|
1809
|
-
"ActivatedRules": List[
|
|
1560
|
+
"ActivatedRules": List[ActivatedRuleTypeDef],
|
|
1810
1561
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1811
1562
|
},
|
|
1812
1563
|
)
|
|
1813
1564
|
|
|
1814
|
-
_RequiredWebACLTypeDef = TypedDict(
|
|
1815
|
-
"_RequiredWebACLTypeDef",
|
|
1816
|
-
{
|
|
1817
|
-
"WebACLId": str,
|
|
1818
|
-
"DefaultAction": WafActionTypeDef,
|
|
1819
|
-
"Rules": List[ActivatedRuleOutputTypeDef],
|
|
1820
|
-
},
|
|
1821
|
-
)
|
|
1822
|
-
_OptionalWebACLTypeDef = TypedDict(
|
|
1823
|
-
"_OptionalWebACLTypeDef",
|
|
1824
|
-
{
|
|
1825
|
-
"Name": str,
|
|
1826
|
-
"MetricName": str,
|
|
1827
|
-
"WebACLArn": str,
|
|
1828
|
-
},
|
|
1829
|
-
total=False,
|
|
1830
|
-
)
|
|
1831
|
-
|
|
1832
|
-
class WebACLTypeDef(_RequiredWebACLTypeDef, _OptionalWebACLTypeDef):
|
|
1833
|
-
pass
|
|
1834
|
-
|
|
1835
1565
|
RuleGroupUpdateTypeDef = TypedDict(
|
|
1836
1566
|
"RuleGroupUpdateTypeDef",
|
|
1837
1567
|
{
|
|
@@ -1840,6 +1570,18 @@ RuleGroupUpdateTypeDef = TypedDict(
|
|
|
1840
1570
|
},
|
|
1841
1571
|
)
|
|
1842
1572
|
|
|
1573
|
+
WebACLTypeDef = TypedDict(
|
|
1574
|
+
"WebACLTypeDef",
|
|
1575
|
+
{
|
|
1576
|
+
"WebACLId": str,
|
|
1577
|
+
"DefaultAction": WafActionTypeDef,
|
|
1578
|
+
"Rules": List[ActivatedRuleTypeDef],
|
|
1579
|
+
"Name": NotRequired[str],
|
|
1580
|
+
"MetricName": NotRequired[str],
|
|
1581
|
+
"WebACLArn": NotRequired[str],
|
|
1582
|
+
},
|
|
1583
|
+
)
|
|
1584
|
+
|
|
1843
1585
|
WebACLUpdateTypeDef = TypedDict(
|
|
1844
1586
|
"WebACLUpdateTypeDef",
|
|
1845
1587
|
{
|
|
@@ -1848,23 +1590,14 @@ WebACLUpdateTypeDef = TypedDict(
|
|
|
1848
1590
|
},
|
|
1849
1591
|
)
|
|
1850
1592
|
|
|
1851
|
-
|
|
1852
|
-
"
|
|
1593
|
+
ByteMatchSetTypeDef = TypedDict(
|
|
1594
|
+
"ByteMatchSetTypeDef",
|
|
1853
1595
|
{
|
|
1854
1596
|
"ByteMatchSetId": str,
|
|
1855
|
-
"ByteMatchTuples": List[
|
|
1597
|
+
"ByteMatchTuples": List[ByteMatchTupleTypeDef],
|
|
1598
|
+
"Name": NotRequired[str],
|
|
1856
1599
|
},
|
|
1857
1600
|
)
|
|
1858
|
-
_OptionalByteMatchSetTypeDef = TypedDict(
|
|
1859
|
-
"_OptionalByteMatchSetTypeDef",
|
|
1860
|
-
{
|
|
1861
|
-
"Name": str,
|
|
1862
|
-
},
|
|
1863
|
-
total=False,
|
|
1864
|
-
)
|
|
1865
|
-
|
|
1866
|
-
class ByteMatchSetTypeDef(_RequiredByteMatchSetTypeDef, _OptionalByteMatchSetTypeDef):
|
|
1867
|
-
pass
|
|
1868
1601
|
|
|
1869
1602
|
ByteMatchSetUpdateTypeDef = TypedDict(
|
|
1870
1603
|
"ByteMatchSetUpdateTypeDef",
|
|
@@ -1877,7 +1610,7 @@ ByteMatchSetUpdateTypeDef = TypedDict(
|
|
|
1877
1610
|
GetLoggingConfigurationResponseTypeDef = TypedDict(
|
|
1878
1611
|
"GetLoggingConfigurationResponseTypeDef",
|
|
1879
1612
|
{
|
|
1880
|
-
"LoggingConfiguration":
|
|
1613
|
+
"LoggingConfiguration": LoggingConfigurationTypeDef,
|
|
1881
1614
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1882
1615
|
},
|
|
1883
1616
|
)
|
|
@@ -1885,38 +1618,34 @@ GetLoggingConfigurationResponseTypeDef = TypedDict(
|
|
|
1885
1618
|
ListLoggingConfigurationsResponseTypeDef = TypedDict(
|
|
1886
1619
|
"ListLoggingConfigurationsResponseTypeDef",
|
|
1887
1620
|
{
|
|
1888
|
-
"LoggingConfigurations": List[
|
|
1621
|
+
"LoggingConfigurations": List[LoggingConfigurationTypeDef],
|
|
1889
1622
|
"NextMarker": str,
|
|
1890
1623
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1891
1624
|
},
|
|
1892
1625
|
)
|
|
1893
1626
|
|
|
1894
|
-
|
|
1895
|
-
"
|
|
1627
|
+
PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
|
|
1628
|
+
"PutLoggingConfigurationRequestRequestTypeDef",
|
|
1896
1629
|
{
|
|
1897
|
-
"LoggingConfiguration":
|
|
1898
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1630
|
+
"LoggingConfiguration": LoggingConfigurationTypeDef,
|
|
1899
1631
|
},
|
|
1900
1632
|
)
|
|
1901
1633
|
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
]
|
|
1905
|
-
PutLoggingConfigurationRequestRequestTypeDef = TypedDict(
|
|
1906
|
-
"PutLoggingConfigurationRequestRequestTypeDef",
|
|
1634
|
+
PutLoggingConfigurationResponseTypeDef = TypedDict(
|
|
1635
|
+
"PutLoggingConfigurationResponseTypeDef",
|
|
1907
1636
|
{
|
|
1908
1637
|
"LoggingConfiguration": LoggingConfigurationTypeDef,
|
|
1638
|
+
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1909
1639
|
},
|
|
1910
1640
|
)
|
|
1911
1641
|
|
|
1912
1642
|
RegexMatchSetTypeDef = TypedDict(
|
|
1913
1643
|
"RegexMatchSetTypeDef",
|
|
1914
1644
|
{
|
|
1915
|
-
"RegexMatchSetId": str,
|
|
1916
|
-
"Name": str,
|
|
1917
|
-
"RegexMatchTuples": List[RegexMatchTupleTypeDef],
|
|
1645
|
+
"RegexMatchSetId": NotRequired[str],
|
|
1646
|
+
"Name": NotRequired[str],
|
|
1647
|
+
"RegexMatchTuples": NotRequired[List[RegexMatchTupleTypeDef]],
|
|
1918
1648
|
},
|
|
1919
|
-
total=False,
|
|
1920
1649
|
)
|
|
1921
1650
|
|
|
1922
1651
|
RegexMatchSetUpdateTypeDef = TypedDict(
|
|
@@ -1927,25 +1656,14 @@ RegexMatchSetUpdateTypeDef = TypedDict(
|
|
|
1927
1656
|
},
|
|
1928
1657
|
)
|
|
1929
1658
|
|
|
1930
|
-
|
|
1931
|
-
"
|
|
1659
|
+
SizeConstraintSetTypeDef = TypedDict(
|
|
1660
|
+
"SizeConstraintSetTypeDef",
|
|
1932
1661
|
{
|
|
1933
1662
|
"SizeConstraintSetId": str,
|
|
1934
1663
|
"SizeConstraints": List[SizeConstraintTypeDef],
|
|
1664
|
+
"Name": NotRequired[str],
|
|
1935
1665
|
},
|
|
1936
1666
|
)
|
|
1937
|
-
_OptionalSizeConstraintSetTypeDef = TypedDict(
|
|
1938
|
-
"_OptionalSizeConstraintSetTypeDef",
|
|
1939
|
-
{
|
|
1940
|
-
"Name": str,
|
|
1941
|
-
},
|
|
1942
|
-
total=False,
|
|
1943
|
-
)
|
|
1944
|
-
|
|
1945
|
-
class SizeConstraintSetTypeDef(
|
|
1946
|
-
_RequiredSizeConstraintSetTypeDef, _OptionalSizeConstraintSetTypeDef
|
|
1947
|
-
):
|
|
1948
|
-
pass
|
|
1949
1667
|
|
|
1950
1668
|
SizeConstraintSetUpdateTypeDef = TypedDict(
|
|
1951
1669
|
"SizeConstraintSetUpdateTypeDef",
|
|
@@ -1955,25 +1673,14 @@ SizeConstraintSetUpdateTypeDef = TypedDict(
|
|
|
1955
1673
|
},
|
|
1956
1674
|
)
|
|
1957
1675
|
|
|
1958
|
-
|
|
1959
|
-
"
|
|
1676
|
+
SqlInjectionMatchSetTypeDef = TypedDict(
|
|
1677
|
+
"SqlInjectionMatchSetTypeDef",
|
|
1960
1678
|
{
|
|
1961
1679
|
"SqlInjectionMatchSetId": str,
|
|
1962
1680
|
"SqlInjectionMatchTuples": List[SqlInjectionMatchTupleTypeDef],
|
|
1681
|
+
"Name": NotRequired[str],
|
|
1963
1682
|
},
|
|
1964
1683
|
)
|
|
1965
|
-
_OptionalSqlInjectionMatchSetTypeDef = TypedDict(
|
|
1966
|
-
"_OptionalSqlInjectionMatchSetTypeDef",
|
|
1967
|
-
{
|
|
1968
|
-
"Name": str,
|
|
1969
|
-
},
|
|
1970
|
-
total=False,
|
|
1971
|
-
)
|
|
1972
|
-
|
|
1973
|
-
class SqlInjectionMatchSetTypeDef(
|
|
1974
|
-
_RequiredSqlInjectionMatchSetTypeDef, _OptionalSqlInjectionMatchSetTypeDef
|
|
1975
|
-
):
|
|
1976
|
-
pass
|
|
1977
1684
|
|
|
1978
1685
|
SqlInjectionMatchSetUpdateTypeDef = TypedDict(
|
|
1979
1686
|
"SqlInjectionMatchSetUpdateTypeDef",
|
|
@@ -1983,23 +1690,14 @@ SqlInjectionMatchSetUpdateTypeDef = TypedDict(
|
|
|
1983
1690
|
},
|
|
1984
1691
|
)
|
|
1985
1692
|
|
|
1986
|
-
|
|
1987
|
-
"
|
|
1693
|
+
XssMatchSetTypeDef = TypedDict(
|
|
1694
|
+
"XssMatchSetTypeDef",
|
|
1988
1695
|
{
|
|
1989
1696
|
"XssMatchSetId": str,
|
|
1990
1697
|
"XssMatchTuples": List[XssMatchTupleTypeDef],
|
|
1698
|
+
"Name": NotRequired[str],
|
|
1991
1699
|
},
|
|
1992
1700
|
)
|
|
1993
|
-
_OptionalXssMatchSetTypeDef = TypedDict(
|
|
1994
|
-
"_OptionalXssMatchSetTypeDef",
|
|
1995
|
-
{
|
|
1996
|
-
"Name": str,
|
|
1997
|
-
},
|
|
1998
|
-
total=False,
|
|
1999
|
-
)
|
|
2000
|
-
|
|
2001
|
-
class XssMatchSetTypeDef(_RequiredXssMatchSetTypeDef, _OptionalXssMatchSetTypeDef):
|
|
2002
|
-
pass
|
|
2003
1701
|
|
|
2004
1702
|
XssMatchSetUpdateTypeDef = TypedDict(
|
|
2005
1703
|
"XssMatchSetUpdateTypeDef",
|
|
@@ -2044,27 +1742,16 @@ UpdateGeoMatchSetRequestRequestTypeDef = TypedDict(
|
|
|
2044
1742
|
},
|
|
2045
1743
|
)
|
|
2046
1744
|
|
|
2047
|
-
|
|
2048
|
-
"
|
|
1745
|
+
SampledHTTPRequestTypeDef = TypedDict(
|
|
1746
|
+
"SampledHTTPRequestTypeDef",
|
|
2049
1747
|
{
|
|
2050
1748
|
"Request": HTTPRequestTypeDef,
|
|
2051
1749
|
"Weight": int,
|
|
1750
|
+
"Timestamp": NotRequired[datetime],
|
|
1751
|
+
"Action": NotRequired[str],
|
|
1752
|
+
"RuleWithinRuleGroup": NotRequired[str],
|
|
2052
1753
|
},
|
|
2053
1754
|
)
|
|
2054
|
-
_OptionalSampledHTTPRequestTypeDef = TypedDict(
|
|
2055
|
-
"_OptionalSampledHTTPRequestTypeDef",
|
|
2056
|
-
{
|
|
2057
|
-
"Timestamp": datetime,
|
|
2058
|
-
"Action": str,
|
|
2059
|
-
"RuleWithinRuleGroup": str,
|
|
2060
|
-
},
|
|
2061
|
-
total=False,
|
|
2062
|
-
)
|
|
2063
|
-
|
|
2064
|
-
class SampledHTTPRequestTypeDef(
|
|
2065
|
-
_RequiredSampledHTTPRequestTypeDef, _OptionalSampledHTTPRequestTypeDef
|
|
2066
|
-
):
|
|
2067
|
-
pass
|
|
2068
1755
|
|
|
2069
1756
|
CreateIPSetResponseTypeDef = TypedDict(
|
|
2070
1757
|
"CreateIPSetResponseTypeDef",
|
|
@@ -2155,7 +1842,15 @@ GetSampledRequestsRequestRequestTypeDef = TypedDict(
|
|
|
2155
1842
|
},
|
|
2156
1843
|
)
|
|
2157
1844
|
|
|
2158
|
-
|
|
1845
|
+
UpdateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
1846
|
+
"UpdateRuleGroupRequestRequestTypeDef",
|
|
1847
|
+
{
|
|
1848
|
+
"RuleGroupId": str,
|
|
1849
|
+
"Updates": Sequence[RuleGroupUpdateTypeDef],
|
|
1850
|
+
"ChangeToken": str,
|
|
1851
|
+
},
|
|
1852
|
+
)
|
|
1853
|
+
|
|
2159
1854
|
CreateWebACLResponseTypeDef = TypedDict(
|
|
2160
1855
|
"CreateWebACLResponseTypeDef",
|
|
2161
1856
|
{
|
|
@@ -2173,35 +1868,15 @@ GetWebACLResponseTypeDef = TypedDict(
|
|
|
2173
1868
|
},
|
|
2174
1869
|
)
|
|
2175
1870
|
|
|
2176
|
-
|
|
2177
|
-
"
|
|
2178
|
-
{
|
|
2179
|
-
"RuleGroupId": str,
|
|
2180
|
-
"Updates": Sequence[RuleGroupUpdateTypeDef],
|
|
2181
|
-
"ChangeToken": str,
|
|
2182
|
-
},
|
|
2183
|
-
)
|
|
2184
|
-
|
|
2185
|
-
_RequiredUpdateWebACLRequestRequestTypeDef = TypedDict(
|
|
2186
|
-
"_RequiredUpdateWebACLRequestRequestTypeDef",
|
|
1871
|
+
UpdateWebACLRequestRequestTypeDef = TypedDict(
|
|
1872
|
+
"UpdateWebACLRequestRequestTypeDef",
|
|
2187
1873
|
{
|
|
2188
1874
|
"WebACLId": str,
|
|
2189
1875
|
"ChangeToken": str,
|
|
1876
|
+
"Updates": NotRequired[Sequence[WebACLUpdateTypeDef]],
|
|
1877
|
+
"DefaultAction": NotRequired[WafActionTypeDef],
|
|
2190
1878
|
},
|
|
2191
1879
|
)
|
|
2192
|
-
_OptionalUpdateWebACLRequestRequestTypeDef = TypedDict(
|
|
2193
|
-
"_OptionalUpdateWebACLRequestRequestTypeDef",
|
|
2194
|
-
{
|
|
2195
|
-
"Updates": Sequence[WebACLUpdateTypeDef],
|
|
2196
|
-
"DefaultAction": WafActionTypeDef,
|
|
2197
|
-
},
|
|
2198
|
-
total=False,
|
|
2199
|
-
)
|
|
2200
|
-
|
|
2201
|
-
class UpdateWebACLRequestRequestTypeDef(
|
|
2202
|
-
_RequiredUpdateWebACLRequestRequestTypeDef, _OptionalUpdateWebACLRequestRequestTypeDef
|
|
2203
|
-
):
|
|
2204
|
-
pass
|
|
2205
1880
|
|
|
2206
1881
|
CreateByteMatchSetResponseTypeDef = TypedDict(
|
|
2207
1882
|
"CreateByteMatchSetResponseTypeDef",
|
|
@@ -2338,7 +2013,7 @@ GetSampledRequestsResponseTypeDef = TypedDict(
|
|
|
2338
2013
|
{
|
|
2339
2014
|
"SampledRequests": List[SampledHTTPRequestTypeDef],
|
|
2340
2015
|
"PopulationSize": int,
|
|
2341
|
-
"TimeWindow":
|
|
2016
|
+
"TimeWindow": TimeWindowTypeDef,
|
|
2342
2017
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
2343
2018
|
},
|
|
2344
2019
|
)
|