aws-solutions-constructs.aws-dynamodbstreams-lambda 2.67.0__py3-none-any.whl → 2.68.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.
@@ -149,7 +149,22 @@ import jsii
149
149
  import publication
150
150
  import typing_extensions
151
151
 
152
- from typeguard import check_type
152
+ import typeguard
153
+ from importlib.metadata import version as _metadata_package_version
154
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
155
+
156
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
157
+ if TYPEGUARD_MAJOR_VERSION <= 2:
158
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
159
+ else:
160
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
161
+ pass
162
+ else:
163
+ if TYPEGUARD_MAJOR_VERSION == 3:
164
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
165
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
166
+ else:
167
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
153
168
 
154
169
  from ._jsii import *
155
170
 
@@ -11,7 +11,22 @@ import jsii
11
11
  import publication
12
12
  import typing_extensions
13
13
 
14
- from typeguard import check_type
14
+ import typeguard
15
+ from importlib.metadata import version as _metadata_package_version
16
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
17
+
18
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
19
+ if TYPEGUARD_MAJOR_VERSION <= 2:
20
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
21
+ else:
22
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
23
+ pass
24
+ else:
25
+ if TYPEGUARD_MAJOR_VERSION == 3:
26
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
27
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
28
+ else:
29
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
15
30
 
16
31
  import aws_cdk._jsii
17
32
  import aws_cdk.integ_tests_alpha._jsii
@@ -20,9 +35,9 @@ import constructs._jsii
20
35
 
21
36
  __jsii_assembly__ = jsii.JSIIAssembly.load(
22
37
  "@aws-solutions-constructs/aws-dynamodbstreams-lambda",
23
- "2.67.0",
38
+ "2.68.0",
24
39
  __name__[0:-6],
25
- "aws-dynamodbstreams-lambda@2.67.0.jsii.tgz",
40
+ "aws-dynamodbstreams-lambda@2.68.0.jsii.tgz",
26
41
  )
27
42
 
28
43
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-solutions-constructs.aws-dynamodbstreams-lambda
3
- Version: 2.67.0
3
+ Version: 2.68.0
4
4
  Summary: CDK Constructs for AWS DynamoDB Streams to AWS Lambda integration.
5
5
  Home-page: https://github.com/awslabs/aws-solutions-constructs.git
6
6
  Author: Amazon Web Services
@@ -19,13 +19,13 @@ Classifier: License :: OSI Approved
19
19
  Requires-Python: ~=3.8
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE
22
- Requires-Dist: aws-cdk-lib==2.151.0
23
- Requires-Dist: aws-cdk.integ-tests-alpha==2.151.0.a0
24
- Requires-Dist: aws-solutions-constructs.core==2.67.0
22
+ Requires-Dist: aws-cdk-lib<3.0.0,>=2.154.1
23
+ Requires-Dist: aws-cdk.integ-tests-alpha==2.154.1.a0
24
+ Requires-Dist: aws-solutions-constructs.core==2.68.0
25
25
  Requires-Dist: constructs<11.0.0,>=10.0.0
26
- Requires-Dist: jsii<2.0.0,>=1.102.0
26
+ Requires-Dist: jsii<2.0.0,>=1.103.0
27
27
  Requires-Dist: publication>=0.0.3
28
- Requires-Dist: typeguard~=2.13.3
28
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
29
29
 
30
30
  # aws-dynamodbstreams-lambda module
31
31
 
@@ -0,0 +1,9 @@
1
+ aws_solutions_constructs/aws_dynamodbstreams_lambda/__init__.py,sha256=DKLG1ebZv-yWFrH1GXIqJA4wUwMRCoGgQLp0o_xrmRA,22406
2
+ aws_solutions_constructs/aws_dynamodbstreams_lambda/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ aws_solutions_constructs/aws_dynamodbstreams_lambda/_jsii/__init__.py,sha256=dE-XIw5K-YZ1NvDdsvhpl8kOQiF7l6U0xw-PmznAJvE,1586
4
+ aws_solutions_constructs/aws_dynamodbstreams_lambda/_jsii/aws-dynamodbstreams-lambda@2.68.0.jsii.tgz,sha256=KSzRAxWbQmlBjuJxksDKq3LWn41ArggM16VWY7X6Z0Q,104906
5
+ aws_solutions_constructs.aws_dynamodbstreams_lambda-2.68.0.dist-info/LICENSE,sha256=wnT4A3LZDAEpNzcPDh8VCH0i4wjvmLJ86l3A0tCINmw,10279
6
+ aws_solutions_constructs.aws_dynamodbstreams_lambda-2.68.0.dist-info/METADATA,sha256=qXTFhOh8YLpCOP5355VqfR96qAq5wrzge0PiIcFfoPw,7708
7
+ aws_solutions_constructs.aws_dynamodbstreams_lambda-2.68.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
+ aws_solutions_constructs.aws_dynamodbstreams_lambda-2.68.0.dist-info/top_level.txt,sha256=hi3us_KW7V1ocfOqVsNq1o3w552jCEgu_KsCckqYWsg,25
9
+ aws_solutions_constructs.aws_dynamodbstreams_lambda-2.68.0.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- aws_solutions_constructs/aws_dynamodbstreams_lambda/__init__.py,sha256=uxBuciXpLEWPQ105Aty03mDODYcyhoiDYiBeaalZpWQ,21438
2
- aws_solutions_constructs/aws_dynamodbstreams_lambda/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- aws_solutions_constructs/aws_dynamodbstreams_lambda/_jsii/__init__.py,sha256=BU3yl2b6GeWguPDomQWZ3PZJ91m7rVcRgSbh0ftVmxE,618
4
- aws_solutions_constructs/aws_dynamodbstreams_lambda/_jsii/aws-dynamodbstreams-lambda@2.67.0.jsii.tgz,sha256=bvXcCG7XwYBFSzzpaxeWMs3VK9e-ZpECzXXCU4ex4X8,104812
5
- aws_solutions_constructs.aws_dynamodbstreams_lambda-2.67.0.dist-info/LICENSE,sha256=wnT4A3LZDAEpNzcPDh8VCH0i4wjvmLJ86l3A0tCINmw,10279
6
- aws_solutions_constructs.aws_dynamodbstreams_lambda-2.67.0.dist-info/METADATA,sha256=LR1_uNaDYAMj8l3CiHyLZmDIYBvbYDublYqQtK4OS1o,7694
7
- aws_solutions_constructs.aws_dynamodbstreams_lambda-2.67.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
8
- aws_solutions_constructs.aws_dynamodbstreams_lambda-2.67.0.dist-info/top_level.txt,sha256=hi3us_KW7V1ocfOqVsNq1o3w552jCEgu_KsCckqYWsg,25
9
- aws_solutions_constructs.aws_dynamodbstreams_lambda-2.67.0.dist-info/RECORD,,