mypy-boto3-waf-regional 1.28.16__py3-none-any.whl → 1.29.0__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/__init__.py +1 -0
- mypy_boto3_waf_regional/__init__.pyi +1 -0
- mypy_boto3_waf_regional/__main__.py +4 -3
- mypy_boto3_waf_regional/client.py +9 -7
- mypy_boto3_waf_regional/client.pyi +93 -7
- mypy_boto3_waf_regional/literals.py +9 -2
- mypy_boto3_waf_regional/literals.pyi +9 -2
- mypy_boto3_waf_regional/type_defs.py +162 -745
- mypy_boto3_waf_regional/type_defs.pyi +162 -695
- mypy_boto3_waf_regional/version.py +2 -1
- {mypy_boto3_waf_regional-1.28.16.dist-info → mypy_boto3_waf_regional-1.29.0.dist-info}/METADATA +17 -250
- mypy_boto3_waf_regional-1.29.0.dist-info/RECORD +16 -0
- {mypy_boto3_waf_regional-1.28.16.dist-info → mypy_boto3_waf_regional-1.29.0.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.29.0.dist-info}/LICENSE +0 -0
- {mypy_boto3_waf_regional-1.28.16.dist-info → mypy_boto3_waf_regional-1.29.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
"""
|
|
4
|
+
|
|
4
5
|
import sys
|
|
5
6
|
|
|
6
7
|
|
|
@@ -9,8 +10,8 @@ def print_info() -> None:
|
|
|
9
10
|
Print package info to stdout.
|
|
10
11
|
"""
|
|
11
12
|
print(
|
|
12
|
-
"Type annotations for boto3.WAFRegional 1.
|
|
13
|
-
" 7.
|
|
13
|
+
"Type annotations for boto3.WAFRegional 1.29.0\nVersion: 1.29.0\nBuilder version:"
|
|
14
|
+
" 7.20.3\nDocs: "
|
|
14
15
|
" https://youtype.github.io/boto3_stubs_docs/mypy_boto3_waf_regional//\nBoto3 docs: "
|
|
15
16
|
" https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/waf-regional.html#WAFRegional\nOther"
|
|
16
17
|
" services: https://pypi.org/project/boto3-stubs/\nChangelog: "
|
|
@@ -22,7 +23,7 @@ def print_version() -> None:
|
|
|
22
23
|
"""
|
|
23
24
|
Print package version to stdout.
|
|
24
25
|
"""
|
|
25
|
-
print("1.
|
|
26
|
+
print("1.29.0")
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
def main() -> None:
|
|
@@ -13,6 +13,7 @@ Usage::
|
|
|
13
13
|
client: WAFRegionalClient = session.client("waf-regional")
|
|
14
14
|
```
|
|
15
15
|
"""
|
|
16
|
+
|
|
16
17
|
import sys
|
|
17
18
|
from typing import Any, Dict, Mapping, Sequence, Type
|
|
18
19
|
|
|
@@ -84,7 +85,7 @@ from .type_defs import (
|
|
|
84
85
|
ListTagsForResourceResponseTypeDef,
|
|
85
86
|
ListWebACLsResponseTypeDef,
|
|
86
87
|
ListXssMatchSetsResponseTypeDef,
|
|
87
|
-
|
|
88
|
+
LoggingConfigurationTypeDef,
|
|
88
89
|
PutLoggingConfigurationResponseTypeDef,
|
|
89
90
|
RegexMatchSetUpdateTypeDef,
|
|
90
91
|
RegexPatternSetUpdateTypeDef,
|
|
@@ -93,7 +94,7 @@ from .type_defs import (
|
|
|
93
94
|
SizeConstraintSetUpdateTypeDef,
|
|
94
95
|
SqlInjectionMatchSetUpdateTypeDef,
|
|
95
96
|
TagTypeDef,
|
|
96
|
-
|
|
97
|
+
TimeWindowTypeDef,
|
|
97
98
|
UpdateByteMatchSetResponseTypeDef,
|
|
98
99
|
UpdateGeoMatchSetResponseTypeDef,
|
|
99
100
|
UpdateIPSetResponseTypeDef,
|
|
@@ -111,7 +112,7 @@ from .type_defs import (
|
|
|
111
112
|
XssMatchSetUpdateTypeDef,
|
|
112
113
|
)
|
|
113
114
|
|
|
114
|
-
if sys.version_info >= (3,
|
|
115
|
+
if sys.version_info >= (3, 12):
|
|
115
116
|
from typing import Literal
|
|
116
117
|
else:
|
|
117
118
|
from typing_extensions import Literal
|
|
@@ -120,7 +121,7 @@ else:
|
|
|
120
121
|
__all__ = ("WAFRegionalClient",)
|
|
121
122
|
|
|
122
123
|
|
|
123
|
-
class BotocoreClientError(
|
|
124
|
+
class BotocoreClientError(Exception):
|
|
124
125
|
MSG_TEMPLATE: str
|
|
125
126
|
|
|
126
127
|
def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
|
|
@@ -319,7 +320,8 @@ class WAFRegionalClient(BaseClient):
|
|
|
319
320
|
) -> CreateWebACLMigrationStackResponseTypeDef:
|
|
320
321
|
"""
|
|
321
322
|
Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the
|
|
322
|
-
specified Amazon S3
|
|
323
|
+
specified Amazon S3
|
|
324
|
+
bucket.
|
|
323
325
|
|
|
324
326
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/waf-regional.html#WAFRegional.Client.create_web_acl_migration_stack)
|
|
325
327
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_waf_regional/client/#create_web_acl_migration_stack)
|
|
@@ -596,7 +598,7 @@ class WAFRegionalClient(BaseClient):
|
|
|
596
598
|
"""
|
|
597
599
|
|
|
598
600
|
def get_sampled_requests(
|
|
599
|
-
self, *, WebAclId: str, RuleId: str, TimeWindow:
|
|
601
|
+
self, *, WebAclId: str, RuleId: str, TimeWindow: TimeWindowTypeDef, MaxItems: int
|
|
600
602
|
) -> GetSampledRequestsResponseTypeDef:
|
|
601
603
|
"""
|
|
602
604
|
.
|
|
@@ -816,7 +818,7 @@ class WAFRegionalClient(BaseClient):
|
|
|
816
818
|
"""
|
|
817
819
|
|
|
818
820
|
def put_logging_configuration(
|
|
819
|
-
self, *, LoggingConfiguration:
|
|
821
|
+
self, *, LoggingConfiguration: LoggingConfigurationTypeDef
|
|
820
822
|
) -> PutLoggingConfigurationResponseTypeDef:
|
|
821
823
|
"""
|
|
822
824
|
.
|