mypy-boto3-waf-regional 1.26.0.post1__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.
- mypy_boto3_waf_regional/__main__.py +3 -3
- mypy_boto3_waf_regional/client.py +4 -4
- mypy_boto3_waf_regional/client.pyi +4 -4
- mypy_boto3_waf_regional/literals.py +40 -0
- mypy_boto3_waf_regional/literals.pyi +40 -0
- mypy_boto3_waf_regional/type_defs.py +131 -50
- mypy_boto3_waf_regional/type_defs.pyi +127 -50
- mypy_boto3_waf_regional/version.py +1 -1
- {mypy_boto3_waf_regional-1.26.0.post1.dist-info → mypy_boto3_waf_regional-1.28.16.dist-info}/LICENSE +1 -1
- {mypy_boto3_waf_regional-1.26.0.post1.dist-info → mypy_boto3_waf_regional-1.28.16.dist-info}/METADATA +33 -24
- mypy_boto3_waf_regional-1.28.16.dist-info/RECORD +16 -0
- {mypy_boto3_waf_regional-1.26.0.post1.dist-info → mypy_boto3_waf_regional-1.28.16.dist-info}/WHEEL +1 -1
- mypy_boto3_waf_regional-1.26.0.post1.dist-info/RECORD +0 -16
- {mypy_boto3_waf_regional-1.26.0.post1.dist-info → mypy_boto3_waf_regional-1.28.16.dist-info}/top_level.txt +0 -0
|
@@ -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,6 +47,7 @@ __all__ = (
|
|
|
45
47
|
"WafActionTypeDef",
|
|
46
48
|
"WafOverrideActionTypeDef",
|
|
47
49
|
"AssociateWebACLRequestRequestTypeDef",
|
|
50
|
+
"BlobTypeDef",
|
|
48
51
|
"ByteMatchSetSummaryTypeDef",
|
|
49
52
|
"FieldToMatchTypeDef",
|
|
50
53
|
"CreateByteMatchSetRequestRequestTypeDef",
|
|
@@ -89,7 +92,7 @@ __all__ = (
|
|
|
89
92
|
"GetRegexPatternSetRequestRequestTypeDef",
|
|
90
93
|
"GetRuleGroupRequestRequestTypeDef",
|
|
91
94
|
"GetRuleRequestRequestTypeDef",
|
|
92
|
-
"
|
|
95
|
+
"TimeWindowOutputTypeDef",
|
|
93
96
|
"GetSizeConstraintSetRequestRequestTypeDef",
|
|
94
97
|
"GetSqlInjectionMatchSetRequestRequestTypeDef",
|
|
95
98
|
"GetWebACLForResourceRequestRequestTypeDef",
|
|
@@ -127,9 +130,13 @@ __all__ = (
|
|
|
127
130
|
"PredicateTypeDef",
|
|
128
131
|
"PutPermissionPolicyRequestRequestTypeDef",
|
|
129
132
|
"RegexPatternSetUpdateTypeDef",
|
|
133
|
+
"TimestampTypeDef",
|
|
130
134
|
"UntagResourceRequestRequestTypeDef",
|
|
135
|
+
"ActivatedRuleOutputTypeDef",
|
|
131
136
|
"ActivatedRuleTypeDef",
|
|
137
|
+
"ByteMatchTupleOutputTypeDef",
|
|
132
138
|
"ByteMatchTupleTypeDef",
|
|
139
|
+
"LoggingConfigurationOutputTypeDef",
|
|
133
140
|
"LoggingConfigurationTypeDef",
|
|
134
141
|
"RegexMatchTupleTypeDef",
|
|
135
142
|
"SizeConstraintTypeDef",
|
|
@@ -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
|
-
"
|
|
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
|
{
|
|
@@ -665,11 +676,11 @@ GetRuleRequestRequestTypeDef = TypedDict(
|
|
|
665
676
|
},
|
|
666
677
|
)
|
|
667
678
|
|
|
668
|
-
|
|
669
|
-
"
|
|
679
|
+
TimeWindowOutputTypeDef = TypedDict(
|
|
680
|
+
"TimeWindowOutputTypeDef",
|
|
670
681
|
{
|
|
671
|
-
"StartTime":
|
|
672
|
-
"EndTime":
|
|
682
|
+
"StartTime": datetime,
|
|
683
|
+
"EndTime": datetime,
|
|
673
684
|
},
|
|
674
685
|
)
|
|
675
686
|
|
|
@@ -1008,6 +1019,7 @@ RegexPatternSetUpdateTypeDef = TypedDict(
|
|
|
1008
1019
|
},
|
|
1009
1020
|
)
|
|
1010
1021
|
|
|
1022
|
+
TimestampTypeDef = Union[datetime, str]
|
|
1011
1023
|
UntagResourceRequestRequestTypeDef = TypedDict(
|
|
1012
1024
|
"UntagResourceRequestRequestTypeDef",
|
|
1013
1025
|
{
|
|
@@ -1016,6 +1028,29 @@ UntagResourceRequestRequestTypeDef = TypedDict(
|
|
|
1016
1028
|
},
|
|
1017
1029
|
)
|
|
1018
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
|
+
|
|
1019
1054
|
_RequiredActivatedRuleTypeDef = TypedDict(
|
|
1020
1055
|
"_RequiredActivatedRuleTypeDef",
|
|
1021
1056
|
{
|
|
@@ -1029,7 +1064,7 @@ _OptionalActivatedRuleTypeDef = TypedDict(
|
|
|
1029
1064
|
"Action": WafActionTypeDef,
|
|
1030
1065
|
"OverrideAction": WafOverrideActionTypeDef,
|
|
1031
1066
|
"Type": WafRuleTypeType,
|
|
1032
|
-
"ExcludedRules":
|
|
1067
|
+
"ExcludedRules": Sequence[ExcludedRuleTypeDef],
|
|
1033
1068
|
},
|
|
1034
1069
|
total=False,
|
|
1035
1070
|
)
|
|
@@ -1037,27 +1072,57 @@ _OptionalActivatedRuleTypeDef = TypedDict(
|
|
|
1037
1072
|
class ActivatedRuleTypeDef(_RequiredActivatedRuleTypeDef, _OptionalActivatedRuleTypeDef):
|
|
1038
1073
|
pass
|
|
1039
1074
|
|
|
1075
|
+
ByteMatchTupleOutputTypeDef = TypedDict(
|
|
1076
|
+
"ByteMatchTupleOutputTypeDef",
|
|
1077
|
+
{
|
|
1078
|
+
"FieldToMatch": FieldToMatchTypeDef,
|
|
1079
|
+
"TargetString": bytes,
|
|
1080
|
+
"TextTransformation": TextTransformationType,
|
|
1081
|
+
"PositionalConstraint": PositionalConstraintType,
|
|
1082
|
+
},
|
|
1083
|
+
)
|
|
1084
|
+
|
|
1040
1085
|
ByteMatchTupleTypeDef = TypedDict(
|
|
1041
1086
|
"ByteMatchTupleTypeDef",
|
|
1042
1087
|
{
|
|
1043
1088
|
"FieldToMatch": FieldToMatchTypeDef,
|
|
1044
|
-
"TargetString":
|
|
1089
|
+
"TargetString": BlobTypeDef,
|
|
1045
1090
|
"TextTransformation": TextTransformationType,
|
|
1046
1091
|
"PositionalConstraint": PositionalConstraintType,
|
|
1047
1092
|
},
|
|
1048
1093
|
)
|
|
1049
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
|
+
|
|
1050
1115
|
_RequiredLoggingConfigurationTypeDef = TypedDict(
|
|
1051
1116
|
"_RequiredLoggingConfigurationTypeDef",
|
|
1052
1117
|
{
|
|
1053
1118
|
"ResourceArn": str,
|
|
1054
|
-
"LogDestinationConfigs":
|
|
1119
|
+
"LogDestinationConfigs": Sequence[str],
|
|
1055
1120
|
},
|
|
1056
1121
|
)
|
|
1057
1122
|
_OptionalLoggingConfigurationTypeDef = TypedDict(
|
|
1058
1123
|
"_OptionalLoggingConfigurationTypeDef",
|
|
1059
1124
|
{
|
|
1060
|
-
"RedactedFields":
|
|
1125
|
+
"RedactedFields": Sequence[FieldToMatchTypeDef],
|
|
1061
1126
|
},
|
|
1062
1127
|
total=False,
|
|
1063
1128
|
)
|
|
@@ -1526,16 +1591,6 @@ ListGeoMatchSetsResponseTypeDef = TypedDict(
|
|
|
1526
1591
|
},
|
|
1527
1592
|
)
|
|
1528
1593
|
|
|
1529
|
-
GetSampledRequestsRequestRequestTypeDef = TypedDict(
|
|
1530
|
-
"GetSampledRequestsRequestRequestTypeDef",
|
|
1531
|
-
{
|
|
1532
|
-
"WebAclId": str,
|
|
1533
|
-
"RuleId": str,
|
|
1534
|
-
"TimeWindow": TimeWindowTypeDef,
|
|
1535
|
-
"MaxItems": int,
|
|
1536
|
-
},
|
|
1537
|
-
)
|
|
1538
|
-
|
|
1539
1594
|
GetWebACLForResourceResponseTypeDef = TypedDict(
|
|
1540
1595
|
"GetWebACLForResourceResponseTypeDef",
|
|
1541
1596
|
{
|
|
@@ -1739,20 +1794,20 @@ UpdateRegexPatternSetRequestRequestTypeDef = TypedDict(
|
|
|
1739
1794
|
},
|
|
1740
1795
|
)
|
|
1741
1796
|
|
|
1742
|
-
|
|
1743
|
-
"
|
|
1797
|
+
TimeWindowTypeDef = TypedDict(
|
|
1798
|
+
"TimeWindowTypeDef",
|
|
1744
1799
|
{
|
|
1745
|
-
"
|
|
1746
|
-
"
|
|
1747
|
-
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1800
|
+
"StartTime": TimestampTypeDef,
|
|
1801
|
+
"EndTime": TimestampTypeDef,
|
|
1748
1802
|
},
|
|
1749
1803
|
)
|
|
1750
1804
|
|
|
1751
|
-
|
|
1752
|
-
"
|
|
1805
|
+
ListActivatedRulesInRuleGroupResponseTypeDef = TypedDict(
|
|
1806
|
+
"ListActivatedRulesInRuleGroupResponseTypeDef",
|
|
1753
1807
|
{
|
|
1754
|
-
"
|
|
1755
|
-
"
|
|
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[
|
|
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[
|
|
1855
|
+
"ByteMatchTuples": List[ByteMatchTupleOutputTypeDef],
|
|
1793
1856
|
},
|
|
1794
1857
|
)
|
|
1795
1858
|
_OptionalByteMatchSetTypeDef = TypedDict(
|
|
@@ -1814,7 +1877,7 @@ ByteMatchSetUpdateTypeDef = TypedDict(
|
|
|
1814
1877
|
GetLoggingConfigurationResponseTypeDef = TypedDict(
|
|
1815
1878
|
"GetLoggingConfigurationResponseTypeDef",
|
|
1816
1879
|
{
|
|
1817
|
-
"LoggingConfiguration":
|
|
1880
|
+
"LoggingConfiguration": LoggingConfigurationOutputTypeDef,
|
|
1818
1881
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1819
1882
|
},
|
|
1820
1883
|
)
|
|
@@ -1822,24 +1885,27 @@ GetLoggingConfigurationResponseTypeDef = TypedDict(
|
|
|
1822
1885
|
ListLoggingConfigurationsResponseTypeDef = TypedDict(
|
|
1823
1886
|
"ListLoggingConfigurationsResponseTypeDef",
|
|
1824
1887
|
{
|
|
1825
|
-
"LoggingConfigurations": List[
|
|
1888
|
+
"LoggingConfigurations": List[LoggingConfigurationOutputTypeDef],
|
|
1826
1889
|
"NextMarker": str,
|
|
1827
1890
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1828
1891
|
},
|
|
1829
1892
|
)
|
|
1830
1893
|
|
|
1831
|
-
|
|
1832
|
-
"
|
|
1894
|
+
PutLoggingConfigurationResponseTypeDef = TypedDict(
|
|
1895
|
+
"PutLoggingConfigurationResponseTypeDef",
|
|
1833
1896
|
{
|
|
1834
|
-
"LoggingConfiguration":
|
|
1897
|
+
"LoggingConfiguration": LoggingConfigurationOutputTypeDef,
|
|
1898
|
+
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
1835
1899
|
},
|
|
1836
1900
|
)
|
|
1837
1901
|
|
|
1838
|
-
|
|
1839
|
-
|
|
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
|
|
|
@@ -2079,15 +2145,17 @@ UpdateRuleRequestRequestTypeDef = TypedDict(
|
|
|
2079
2145
|
},
|
|
2080
2146
|
)
|
|
2081
2147
|
|
|
2082
|
-
|
|
2083
|
-
"
|
|
2148
|
+
GetSampledRequestsRequestRequestTypeDef = TypedDict(
|
|
2149
|
+
"GetSampledRequestsRequestRequestTypeDef",
|
|
2084
2150
|
{
|
|
2085
|
-
"
|
|
2086
|
-
"
|
|
2087
|
-
"
|
|
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
|
{
|
|
@@ -2105,6 +2173,15 @@ GetWebACLResponseTypeDef = TypedDict(
|
|
|
2105
2173
|
},
|
|
2106
2174
|
)
|
|
2107
2175
|
|
|
2176
|
+
UpdateRuleGroupRequestRequestTypeDef = TypedDict(
|
|
2177
|
+
"UpdateRuleGroupRequestRequestTypeDef",
|
|
2178
|
+
{
|
|
2179
|
+
"RuleGroupId": str,
|
|
2180
|
+
"Updates": Sequence[RuleGroupUpdateTypeDef],
|
|
2181
|
+
"ChangeToken": str,
|
|
2182
|
+
},
|
|
2183
|
+
)
|
|
2184
|
+
|
|
2108
2185
|
_RequiredUpdateWebACLRequestRequestTypeDef = TypedDict(
|
|
2109
2186
|
"_RequiredUpdateWebACLRequestRequestTypeDef",
|
|
2110
2187
|
{
|
|
@@ -2261,7 +2338,7 @@ GetSampledRequestsResponseTypeDef = TypedDict(
|
|
|
2261
2338
|
{
|
|
2262
2339
|
"SampledRequests": List[SampledHTTPRequestTypeDef],
|
|
2263
2340
|
"PopulationSize": int,
|
|
2264
|
-
"TimeWindow":
|
|
2341
|
+
"TimeWindow": TimeWindowOutputTypeDef,
|
|
2265
2342
|
"ResponseMetadata": ResponseMetadataTypeDef,
|
|
2266
2343
|
},
|
|
2267
2344
|
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-waf-regional
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3.WAFRegional 1.
|
|
3
|
+
Version: 1.28.16
|
|
4
|
+
Summary: Type annotations for boto3.WAFRegional 1.28.16 service generated with mypy-boto3-builder 7.17.1
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -9,7 +9,7 @@ License: MIT License
|
|
|
9
9
|
Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_waf_regional/
|
|
10
10
|
Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
|
|
11
11
|
Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3 waf-regional type-annotations
|
|
12
|
+
Keywords: boto3 waf-regional type-annotations botocore mypy typeshed autocomplete
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: Environment :: Console
|
|
@@ -22,13 +22,14 @@ Classifier: Programming Language :: Python :: 3.8
|
|
|
22
22
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
25
26
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
26
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
28
|
Classifier: Typing :: Typed
|
|
28
29
|
Requires-Python: >=3.7
|
|
29
30
|
Description-Content-Type: text/markdown
|
|
30
31
|
License-File: LICENSE
|
|
31
|
-
Requires-Dist: typing-extensions (>=4.1.0)
|
|
32
|
+
Requires-Dist: typing-extensions (>=4.1.0) ; python_version < "3.9"
|
|
32
33
|
|
|
33
34
|
<a id="mypy-boto3-waf-regional"></a>
|
|
34
35
|
|
|
@@ -36,13 +37,13 @@ Requires-Dist: typing-extensions (>=4.1.0)
|
|
|
36
37
|
|
|
37
38
|
[](https://pypi.org/project/mypy-boto3-waf-regional)
|
|
38
39
|
[](https://pypi.org/project/mypy-boto3-waf-regional)
|
|
39
|
-
[](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_waf_regional/)
|
|
41
|
+
[](https://pepy.tech/project/mypy-boto3-waf-regional)
|
|
41
42
|
|
|
42
43
|

|
|
43
44
|
|
|
44
45
|
Type annotations for
|
|
45
|
-
[boto3.WAFRegional 1.
|
|
46
|
+
[boto3.WAFRegional 1.28.16](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/waf-regional.html#WAFRegional)
|
|
46
47
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
47
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
48
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -51,7 +52,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
51
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
52
53
|
|
|
53
54
|
Generated by
|
|
54
|
-
[mypy-boto3-builder 7.
|
|
55
|
+
[mypy-boto3-builder 7.17.1](https://github.com/youtype/mypy_boto3_builder).
|
|
55
56
|
|
|
56
57
|
More information can be found on
|
|
57
58
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -77,7 +78,7 @@ See how it helps to find and fix potential bugs:
|
|
|
77
78
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
78
79
|
- [Client annotations](#client-annotations)
|
|
79
80
|
- [Literals](#literals)
|
|
80
|
-
- [
|
|
81
|
+
- [Type definitions](#type-definitions)
|
|
81
82
|
- [How it works](#how-it-works)
|
|
82
83
|
- [What's new](#what's-new)
|
|
83
84
|
- [Implemented features](#implemented-features)
|
|
@@ -306,12 +307,12 @@ def check_value(value: ChangeActionType) -> bool:
|
|
|
306
307
|
...
|
|
307
308
|
```
|
|
308
309
|
|
|
309
|
-
<a id="
|
|
310
|
+
<a id="type-definitions"></a>
|
|
310
311
|
|
|
311
|
-
###
|
|
312
|
+
### Type definitions
|
|
312
313
|
|
|
313
314
|
`mypy_boto3_waf_regional.type_defs` module contains structures and shapes
|
|
314
|
-
assembled to typed dictionaries for additional type checking.
|
|
315
|
+
assembled to typed dictionaries and unions for additional type checking.
|
|
315
316
|
|
|
316
317
|
```python
|
|
317
318
|
from mypy_boto3_waf_regional.type_defs import (
|
|
@@ -319,6 +320,7 @@ from mypy_boto3_waf_regional.type_defs import (
|
|
|
319
320
|
WafActionTypeDef,
|
|
320
321
|
WafOverrideActionTypeDef,
|
|
321
322
|
AssociateWebACLRequestRequestTypeDef,
|
|
323
|
+
BlobTypeDef,
|
|
322
324
|
ByteMatchSetSummaryTypeDef,
|
|
323
325
|
FieldToMatchTypeDef,
|
|
324
326
|
CreateByteMatchSetRequestRequestTypeDef,
|
|
@@ -363,7 +365,7 @@ from mypy_boto3_waf_regional.type_defs import (
|
|
|
363
365
|
GetRegexPatternSetRequestRequestTypeDef,
|
|
364
366
|
GetRuleGroupRequestRequestTypeDef,
|
|
365
367
|
GetRuleRequestRequestTypeDef,
|
|
366
|
-
|
|
368
|
+
TimeWindowOutputTypeDef,
|
|
367
369
|
GetSizeConstraintSetRequestRequestTypeDef,
|
|
368
370
|
GetSqlInjectionMatchSetRequestRequestTypeDef,
|
|
369
371
|
GetWebACLForResourceRequestRequestTypeDef,
|
|
@@ -401,9 +403,13 @@ from mypy_boto3_waf_regional.type_defs import (
|
|
|
401
403
|
PredicateTypeDef,
|
|
402
404
|
PutPermissionPolicyRequestRequestTypeDef,
|
|
403
405
|
RegexPatternSetUpdateTypeDef,
|
|
406
|
+
TimestampTypeDef,
|
|
404
407
|
UntagResourceRequestRequestTypeDef,
|
|
408
|
+
ActivatedRuleOutputTypeDef,
|
|
405
409
|
ActivatedRuleTypeDef,
|
|
410
|
+
ByteMatchTupleOutputTypeDef,
|
|
406
411
|
ByteMatchTupleTypeDef,
|
|
412
|
+
LoggingConfigurationOutputTypeDef,
|
|
407
413
|
LoggingConfigurationTypeDef,
|
|
408
414
|
RegexMatchTupleTypeDef,
|
|
409
415
|
SizeConstraintTypeDef,
|
|
@@ -453,7 +459,6 @@ from mypy_boto3_waf_regional.type_defs import (
|
|
|
453
459
|
GeoMatchSetTypeDef,
|
|
454
460
|
GeoMatchSetUpdateTypeDef,
|
|
455
461
|
ListGeoMatchSetsResponseTypeDef,
|
|
456
|
-
GetSampledRequestsRequestRequestTypeDef,
|
|
457
462
|
GetWebACLForResourceResponseTypeDef,
|
|
458
463
|
ListWebACLsResponseTypeDef,
|
|
459
464
|
HTTPRequestTypeDef,
|
|
@@ -473,16 +478,18 @@ from mypy_boto3_waf_regional.type_defs import (
|
|
|
473
478
|
RuleTypeDef,
|
|
474
479
|
RuleUpdateTypeDef,
|
|
475
480
|
UpdateRegexPatternSetRequestRequestTypeDef,
|
|
481
|
+
TimeWindowTypeDef,
|
|
476
482
|
ListActivatedRulesInRuleGroupResponseTypeDef,
|
|
477
|
-
RuleGroupUpdateTypeDef,
|
|
478
483
|
WebACLTypeDef,
|
|
484
|
+
RuleGroupUpdateTypeDef,
|
|
479
485
|
WebACLUpdateTypeDef,
|
|
480
486
|
ByteMatchSetTypeDef,
|
|
481
487
|
ByteMatchSetUpdateTypeDef,
|
|
482
488
|
GetLoggingConfigurationResponseTypeDef,
|
|
483
489
|
ListLoggingConfigurationsResponseTypeDef,
|
|
484
|
-
PutLoggingConfigurationRequestRequestTypeDef,
|
|
485
490
|
PutLoggingConfigurationResponseTypeDef,
|
|
491
|
+
LoggingConfigurationUnionTypeDef,
|
|
492
|
+
PutLoggingConfigurationRequestRequestTypeDef,
|
|
486
493
|
RegexMatchSetTypeDef,
|
|
487
494
|
RegexMatchSetUpdateTypeDef,
|
|
488
495
|
SizeConstraintSetTypeDef,
|
|
@@ -505,9 +512,11 @@ from mypy_boto3_waf_regional.type_defs import (
|
|
|
505
512
|
GetRuleResponseTypeDef,
|
|
506
513
|
UpdateRateBasedRuleRequestRequestTypeDef,
|
|
507
514
|
UpdateRuleRequestRequestTypeDef,
|
|
508
|
-
|
|
515
|
+
GetSampledRequestsRequestRequestTypeDef,
|
|
516
|
+
TimeWindowUnionTypeDef,
|
|
509
517
|
CreateWebACLResponseTypeDef,
|
|
510
518
|
GetWebACLResponseTypeDef,
|
|
519
|
+
UpdateRuleGroupRequestRequestTypeDef,
|
|
511
520
|
UpdateWebACLRequestRequestTypeDef,
|
|
512
521
|
CreateByteMatchSetResponseTypeDef,
|
|
513
522
|
GetByteMatchSetResponseTypeDef,
|
|
@@ -528,7 +537,7 @@ from mypy_boto3_waf_regional.type_defs import (
|
|
|
528
537
|
)
|
|
529
538
|
|
|
530
539
|
|
|
531
|
-
def
|
|
540
|
+
def get_value() -> ExcludedRuleTypeDef:
|
|
532
541
|
return {...}
|
|
533
542
|
```
|
|
534
543
|
|
|
@@ -539,12 +548,11 @@ def get_structure() -> ExcludedRuleTypeDef:
|
|
|
539
548
|
Fully automated
|
|
540
549
|
[mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
|
|
541
550
|
generates type annotations for each service, patiently waiting for `boto3`
|
|
542
|
-
updates. It delivers
|
|
551
|
+
updates. It delivers drop-in type annotations for you and makes sure that:
|
|
543
552
|
|
|
544
553
|
- All available `boto3` services are covered.
|
|
545
554
|
- Each public class and method of every `boto3` service gets valid type
|
|
546
|
-
annotations extracted from
|
|
547
|
-
are incorrect).
|
|
555
|
+
annotations extracted from `botocore` schemas.
|
|
548
556
|
- Type annotations include up-to-date documentation.
|
|
549
557
|
- Link to documentation is provided for every method.
|
|
550
558
|
- Code is processed by [black](https://github.com/psf/black) and
|
|
@@ -558,15 +566,16 @@ updates. It delivers a drop-in type annotations for you and makes sure that:
|
|
|
558
566
|
|
|
559
567
|
### Implemented features
|
|
560
568
|
|
|
561
|
-
- Fully type annotated `boto3`, `botocore` and `
|
|
569
|
+
- Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
|
|
570
|
+
libraries
|
|
562
571
|
- `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
|
|
563
572
|
compatibility
|
|
564
573
|
- `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
|
|
565
574
|
annotations for each service
|
|
566
575
|
- Generated `TypeDefs` for each service
|
|
567
576
|
- Generated `Literals` for each service
|
|
568
|
-
- Auto discovery of types for `boto3.client` and `boto3.
|
|
569
|
-
- Auto discovery of types for `session.client` and `session.
|
|
577
|
+
- Auto discovery of types for `boto3.client` and `boto3.resource` calls
|
|
578
|
+
- Auto discovery of types for `session.client` and `session.resource` calls
|
|
570
579
|
- Auto discovery of types for `client.get_waiter` and `client.get_paginator`
|
|
571
580
|
calls
|
|
572
581
|
- Auto discovery of types for `ServiceResource` and `Resource` collections
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
mypy_boto3_waf_regional/__init__.py,sha256=Ja9Krpcg8jsMeH0l_iOL7CsPE7KfgNXPYVKrSpyjpq0,408
|
|
2
|
+
mypy_boto3_waf_regional/__init__.pyi,sha256=pzDX5CXnfHvINWktHr3x9chgh_ZU6syZKzpaKYrRDqs,407
|
|
3
|
+
mypy_boto3_waf_regional/__main__.py,sha256=w9n-yLSkif_D4_Eg0D7UoUpJE5wc6Z7_QXcfeb_Rr08,925
|
|
4
|
+
mypy_boto3_waf_regional/client.py,sha256=I7Ua4fouJK0geU3exyV69zsdlIMZw5HutuQurVbn-Lc,46228
|
|
5
|
+
mypy_boto3_waf_regional/client.pyi,sha256=ttYDEoollvA9ee_PZ1oRHz0TIA9jj54z7u_x2mXzH3Y,46140
|
|
6
|
+
mypy_boto3_waf_regional/literals.py,sha256=KssnOzPrA0Wi2Its8G6Pzq_uBwbJNAPh0Si74vEsN_U,12198
|
|
7
|
+
mypy_boto3_waf_regional/literals.pyi,sha256=eH83wZZeRhFcCrs9zLokmA4_7yePH4UHV2i1REFsBHE,12196
|
|
8
|
+
mypy_boto3_waf_regional/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
mypy_boto3_waf_regional/type_defs.py,sha256=It-p3mXEi23SCQ1R4GD7UkM1cqMDERozdLJ-RdGasXA,57513
|
|
10
|
+
mypy_boto3_waf_regional/type_defs.pyi,sha256=RN2TFm2Ib2ViHb1S2rNsGcrQVwl0rBKKzDced4mIvWU,57462
|
|
11
|
+
mypy_boto3_waf_regional/version.py,sha256=U4Nyk6u0IVhAYJrhlcsuZD7DSN47rKXZPJeLZmksuE0,61
|
|
12
|
+
mypy_boto3_waf_regional-1.28.16.dist-info/LICENSE,sha256=v0rThCyxXzUO7rKg6RM8RmmNKO6EvsBx_mdNoXUPxAU,1070
|
|
13
|
+
mypy_boto3_waf_regional-1.28.16.dist-info/METADATA,sha256=UiW8HaXbZe3chTa5FlRTvenCmCPv7s0byFe83M9PjbM,20708
|
|
14
|
+
mypy_boto3_waf_regional-1.28.16.dist-info/WHEEL,sha256=AtBG6SXL3KF_v0NxLf0ehyVOh0cold-JbJYXNGorC6Q,92
|
|
15
|
+
mypy_boto3_waf_regional-1.28.16.dist-info/top_level.txt,sha256=JjdM6Qw2d2OAcuHG7aTcw86B81MzN4HHktN5AMMi4Tg,24
|
|
16
|
+
mypy_boto3_waf_regional-1.28.16.dist-info/RECORD,,
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
mypy_boto3_waf_regional/__init__.py,sha256=Ja9Krpcg8jsMeH0l_iOL7CsPE7KfgNXPYVKrSpyjpq0,408
|
|
2
|
-
mypy_boto3_waf_regional/__init__.pyi,sha256=pzDX5CXnfHvINWktHr3x9chgh_ZU6syZKzpaKYrRDqs,407
|
|
3
|
-
mypy_boto3_waf_regional/__main__.py,sha256=kxGZ3RAhoak3sNbKadOPiGaeU00uaxccQdRmLpXqJQo,935
|
|
4
|
-
mypy_boto3_waf_regional/client.py,sha256=COpiA9q6JsYwh3ghsg0EYgiQu_8qgEmuinL8LX1tLNs,46208
|
|
5
|
-
mypy_boto3_waf_regional/client.pyi,sha256=Puoruj-gDUdF-NYOcPXUCX38uVWcDDFLQrDrkGe7Tio,46120
|
|
6
|
-
mypy_boto3_waf_regional/literals.py,sha256=s4JsH3FpYY-ZmeUU_xj3imdTZ1cVLOg6-z3wOSZwuR8,11315
|
|
7
|
-
mypy_boto3_waf_regional/literals.pyi,sha256=rmLiGarp30u-ai9-TDa7DEuQbd0A0ScuvcI6d33G8oc,11313
|
|
8
|
-
mypy_boto3_waf_regional/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
mypy_boto3_waf_regional/type_defs.py,sha256=ad0xvc43_GrEkSixvP_eQTZwxgfe8ISq6fT-MNCGyrw,55338
|
|
10
|
-
mypy_boto3_waf_regional/type_defs.pyi,sha256=n-8_s3fnml23vfz2S0Jn0VvG-XGTn9Xp6eAtACLdxes,55291
|
|
11
|
-
mypy_boto3_waf_regional/version.py,sha256=iVQb6KItMiRlrag6NnHd6Uva04bluV-JKMEyETGawQo,66
|
|
12
|
-
mypy_boto3_waf_regional-1.26.0.post1.dist-info/LICENSE,sha256=3_r9GYGd8R5pnKmlnuTg6Z-JwMQsxc6qM2WUN2eCLrw,1070
|
|
13
|
-
mypy_boto3_waf_regional-1.26.0.post1.dist-info/METADATA,sha256=FoN9_qCpAUp53-zxOUFjKe8O7yMb8sfAMeorSsuD-o4,20435
|
|
14
|
-
mypy_boto3_waf_regional-1.26.0.post1.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
15
|
-
mypy_boto3_waf_regional-1.26.0.post1.dist-info/top_level.txt,sha256=JjdM6Qw2d2OAcuHG7aTcw86B81MzN4HHktN5AMMi4Tg,24
|
|
16
|
-
mypy_boto3_waf_regional-1.26.0.post1.dist-info/RECORD,,
|
|
File without changes
|