aws-cdk.aws-lambda-python-alpha 2.261.0a0__py3-none-any.whl → 2.262.1a0__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.
- aws_cdk/aws_lambda_python_alpha/__init__.py +49 -35
- aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py +4 -18
- aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.262.1-alpha.0.jsii.tgz +0 -0
- {aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info → aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info}/METADATA +3 -4
- aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info/RECORD +10 -0
- aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.261.0-alpha.0.jsii.tgz +0 -0
- aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info/RECORD +0 -10
- {aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info → aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info}/LICENSE +0 -0
- {aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info → aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info}/NOTICE +0 -0
- {aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info → aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info}/WHEEL +0 -0
- {aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info → aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info}/top_level.txt +0 -0
|
@@ -346,6 +346,8 @@ additional_directories:
|
|
|
346
346
|
|
|
347
347
|
Then restart the Finch VM by running `finch vm stop && finch vm start`.
|
|
348
348
|
'''
|
|
349
|
+
from __future__ import annotations
|
|
350
|
+
|
|
349
351
|
from pkgutil import extend_path
|
|
350
352
|
__path__ = extend_path(__path__, __name__)
|
|
351
353
|
|
|
@@ -359,37 +361,49 @@ import jsii
|
|
|
359
361
|
import publication
|
|
360
362
|
import typing_extensions
|
|
361
363
|
|
|
362
|
-
import
|
|
363
|
-
|
|
364
|
-
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
365
|
-
|
|
366
|
-
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
367
|
-
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
368
|
-
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
369
|
-
else:
|
|
370
|
-
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
371
|
-
pass
|
|
372
|
-
else:
|
|
373
|
-
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
374
|
-
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
375
|
-
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
376
|
-
else:
|
|
377
|
-
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
364
|
+
from jsii._type_checking import cached_type_hints, check_type
|
|
365
|
+
|
|
378
366
|
|
|
379
367
|
from ._jsii import *
|
|
380
368
|
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
import
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
369
|
+
class _LazyImport:
|
|
370
|
+
def __init__(self, module_name: str) -> None:
|
|
371
|
+
self._module_name = module_name
|
|
372
|
+
self._module: typing.Any = None
|
|
373
|
+
def __getattr__(self, name: str) -> typing.Any:
|
|
374
|
+
if self._module is None:
|
|
375
|
+
import importlib
|
|
376
|
+
self._module = importlib.import_module(self._module_name)
|
|
377
|
+
return getattr(self._module, name)
|
|
378
|
+
|
|
379
|
+
if typing.TYPE_CHECKING:
|
|
380
|
+
|
|
381
|
+
import aws_cdk as _aws_cdk_ceddda9d
|
|
382
|
+
import aws_cdk.aws_codeguruprofiler as _aws_cdk_aws_codeguruprofiler_ceddda9d
|
|
383
|
+
import aws_cdk.aws_ec2 as _aws_cdk_aws_ec2_ceddda9d
|
|
384
|
+
import aws_cdk.aws_iam as _aws_cdk_aws_iam_ceddda9d
|
|
385
|
+
import aws_cdk.aws_lambda as _aws_cdk_aws_lambda_ceddda9d
|
|
386
|
+
import aws_cdk.aws_logs as _aws_cdk_aws_logs_ceddda9d
|
|
387
|
+
import aws_cdk.aws_sns as _aws_cdk_aws_sns_ceddda9d
|
|
388
|
+
import aws_cdk.aws_sqs as _aws_cdk_aws_sqs_ceddda9d
|
|
389
|
+
import aws_cdk.interfaces.aws_kms as _aws_cdk_interfaces_aws_kms_ceddda9d
|
|
390
|
+
import aws_cdk.interfaces.aws_lambda as _aws_cdk_interfaces_aws_lambda_ceddda9d
|
|
391
|
+
import aws_cdk.interfaces.aws_logs as _aws_cdk_interfaces_aws_logs_ceddda9d
|
|
392
|
+
import constructs as _constructs_77d1e7e8
|
|
393
|
+
else:
|
|
394
|
+
|
|
395
|
+
_aws_cdk_aws_codeguruprofiler_ceddda9d = _LazyImport("aws_cdk.aws_codeguruprofiler")
|
|
396
|
+
_aws_cdk_aws_ec2_ceddda9d = _LazyImport("aws_cdk.aws_ec2")
|
|
397
|
+
_aws_cdk_aws_iam_ceddda9d = _LazyImport("aws_cdk.aws_iam")
|
|
398
|
+
_aws_cdk_aws_lambda_ceddda9d = _LazyImport("aws_cdk.aws_lambda")
|
|
399
|
+
_aws_cdk_aws_logs_ceddda9d = _LazyImport("aws_cdk.aws_logs")
|
|
400
|
+
_aws_cdk_aws_sns_ceddda9d = _LazyImport("aws_cdk.aws_sns")
|
|
401
|
+
_aws_cdk_aws_sqs_ceddda9d = _LazyImport("aws_cdk.aws_sqs")
|
|
402
|
+
_aws_cdk_ceddda9d = _LazyImport("aws_cdk")
|
|
403
|
+
_aws_cdk_interfaces_aws_kms_ceddda9d = _LazyImport("aws_cdk.interfaces.aws_kms")
|
|
404
|
+
_aws_cdk_interfaces_aws_lambda_ceddda9d = _LazyImport("aws_cdk.interfaces.aws_lambda")
|
|
405
|
+
_aws_cdk_interfaces_aws_logs_ceddda9d = _LazyImport("aws_cdk.interfaces.aws_logs")
|
|
406
|
+
_constructs_77d1e7e8 = _LazyImport("constructs")
|
|
393
407
|
|
|
394
408
|
|
|
395
409
|
@jsii.data_type(
|
|
@@ -483,7 +497,7 @@ class BundlingOptions(_aws_cdk_ceddda9d.DockerRunOptions):
|
|
|
483
497
|
)
|
|
484
498
|
'''
|
|
485
499
|
if __debug__:
|
|
486
|
-
type_hints =
|
|
500
|
+
type_hints = cached_type_hints(_typecheckingstub__964005355074abfcff858df524930caf3a9d6eb8213d8b5f235ee90adb179bd0)
|
|
487
501
|
check_type(argname="argument command", value=command, expected_type=type_hints["command"])
|
|
488
502
|
check_type(argname="argument entrypoint", value=entrypoint, expected_type=type_hints["entrypoint"])
|
|
489
503
|
check_type(argname="argument environment", value=environment, expected_type=type_hints["environment"])
|
|
@@ -898,7 +912,7 @@ class _ICommandHooksProxy:
|
|
|
898
912
|
:stability: experimental
|
|
899
913
|
'''
|
|
900
914
|
if __debug__:
|
|
901
|
-
type_hints =
|
|
915
|
+
type_hints = cached_type_hints(_typecheckingstub__768bf3606aae5eb0f4dfdd9e0dcb611a9e29631e08b3fe968ecba684da2e2a1a)
|
|
902
916
|
check_type(argname="argument input_dir", value=input_dir, expected_type=type_hints["input_dir"])
|
|
903
917
|
check_type(argname="argument output_dir", value=output_dir, expected_type=type_hints["output_dir"])
|
|
904
918
|
return typing.cast(typing.List[builtins.str], jsii.invoke(self, "afterBundling", [input_dir, output_dir]))
|
|
@@ -919,7 +933,7 @@ class _ICommandHooksProxy:
|
|
|
919
933
|
:stability: experimental
|
|
920
934
|
'''
|
|
921
935
|
if __debug__:
|
|
922
|
-
type_hints =
|
|
936
|
+
type_hints = cached_type_hints(_typecheckingstub__531dd32f92ad2373ea3e7357d22a11c77c4f9176af1409671e5a9f87181f2a05)
|
|
923
937
|
check_type(argname="argument input_dir", value=input_dir, expected_type=type_hints["input_dir"])
|
|
924
938
|
check_type(argname="argument output_dir", value=output_dir, expected_type=type_hints["output_dir"])
|
|
925
939
|
return typing.cast(typing.List[builtins.str], jsii.invoke(self, "beforeBundling", [input_dir, output_dir]))
|
|
@@ -1079,7 +1093,7 @@ class PythonFunction(
|
|
|
1079
1093
|
:stability: experimental
|
|
1080
1094
|
'''
|
|
1081
1095
|
if __debug__:
|
|
1082
|
-
type_hints =
|
|
1096
|
+
type_hints = cached_type_hints(_typecheckingstub__5537a9d2877d6e8ff1275d2f45fdfd2900b726517ad0fa1c220fba47aefd1ac8)
|
|
1083
1097
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
1084
1098
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
1085
1099
|
props = PythonFunctionProps(
|
|
@@ -1368,7 +1382,7 @@ class PythonFunctionProps(_aws_cdk_aws_lambda_ceddda9d.FunctionOptions):
|
|
|
1368
1382
|
if isinstance(bundling, dict):
|
|
1369
1383
|
bundling = BundlingOptions(**bundling)
|
|
1370
1384
|
if __debug__:
|
|
1371
|
-
type_hints =
|
|
1385
|
+
type_hints = cached_type_hints(_typecheckingstub__637cd4e3d3f8768a5067bfaaca86ae334c7670354dabddcb67008214b9dd5009)
|
|
1372
1386
|
check_type(argname="argument max_event_age", value=max_event_age, expected_type=type_hints["max_event_age"])
|
|
1373
1387
|
check_type(argname="argument on_failure", value=on_failure, expected_type=type_hints["on_failure"])
|
|
1374
1388
|
check_type(argname="argument on_success", value=on_success, expected_type=type_hints["on_success"])
|
|
@@ -2341,7 +2355,7 @@ class PythonLayerVersion(
|
|
|
2341
2355
|
:stability: experimental
|
|
2342
2356
|
'''
|
|
2343
2357
|
if __debug__:
|
|
2344
|
-
type_hints =
|
|
2358
|
+
type_hints = cached_type_hints(_typecheckingstub__77c4eed06ce3f6360f36ab2761bae814188f7ce533f1f7004fcfaa80b37d2b47)
|
|
2345
2359
|
check_type(argname="argument scope", value=scope, expected_type=type_hints["scope"])
|
|
2346
2360
|
check_type(argname="argument id", value=id, expected_type=type_hints["id"])
|
|
2347
2361
|
props = PythonLayerVersionProps(
|
|
@@ -2417,7 +2431,7 @@ class PythonLayerVersionProps(_aws_cdk_aws_lambda_ceddda9d.LayerVersionOptions):
|
|
|
2417
2431
|
if isinstance(bundling, dict):
|
|
2418
2432
|
bundling = BundlingOptions(**bundling)
|
|
2419
2433
|
if __debug__:
|
|
2420
|
-
type_hints =
|
|
2434
|
+
type_hints = cached_type_hints(_typecheckingstub__f46c31c990827525b34afdaf54e4e1a68400e10414de51bc40f0c10d8ce86330)
|
|
2421
2435
|
check_type(argname="argument description", value=description, expected_type=type_hints["description"])
|
|
2422
2436
|
check_type(argname="argument layer_version_name", value=layer_version_name, expected_type=type_hints["layer_version_name"])
|
|
2423
2437
|
check_type(argname="argument license", value=license, expected_type=type_hints["license"])
|
|
@@ -11,31 +11,17 @@ import jsii
|
|
|
11
11
|
import publication
|
|
12
12
|
import typing_extensions
|
|
13
13
|
|
|
14
|
-
import
|
|
15
|
-
|
|
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
|
|
14
|
+
from jsii._type_checking import cached_type_hints, check_type
|
|
15
|
+
|
|
30
16
|
|
|
31
17
|
import aws_cdk._jsii
|
|
32
18
|
import constructs._jsii
|
|
33
19
|
|
|
34
20
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
35
21
|
"@aws-cdk/aws-lambda-python-alpha",
|
|
36
|
-
"2.
|
|
22
|
+
"2.262.1-alpha.0",
|
|
37
23
|
__name__[0:-6],
|
|
38
|
-
"aws-lambda-python-alpha@2.
|
|
24
|
+
"aws-lambda-python-alpha@2.262.1-alpha.0.jsii.tgz",
|
|
39
25
|
)
|
|
40
26
|
|
|
41
27
|
__all__ = [
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: aws-cdk.aws-lambda-python-alpha
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.262.1a0
|
|
4
4
|
Summary: The CDK Construct Library for AWS Lambda in Python
|
|
5
5
|
Home-page: https://github.com/aws/aws-cdk
|
|
6
6
|
Author: Amazon Web Services
|
|
@@ -24,11 +24,10 @@ Requires-Python: >=3.10
|
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
26
|
License-File: NOTICE
|
|
27
|
-
Requires-Dist: aws-cdk-lib <3.0.0,>=2.
|
|
27
|
+
Requires-Dist: aws-cdk-lib <3.0.0,>=2.262.1
|
|
28
28
|
Requires-Dist: constructs <11.0.0,>=10.5.0
|
|
29
|
-
Requires-Dist: jsii <2.0.0,>=1.
|
|
29
|
+
Requires-Dist: jsii <2.0.0,>=1.138.0
|
|
30
30
|
Requires-Dist: publication >=0.0.3
|
|
31
|
-
Requires-Dist: typeguard ==2.13.3
|
|
32
31
|
|
|
33
32
|
# Amazon Lambda Python Library
|
|
34
33
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
aws_cdk/aws_lambda_python_alpha/__init__.py,sha256=_C8_98-l9AE8brLA1DrAmkZ0BCcBapIbLQ68EupShRQ,154483
|
|
2
|
+
aws_cdk/aws_lambda_python_alpha/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
+
aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py,sha256=-Ia3cSMaEWeT1995ISccCVlAII4XuMmxEqfGpIrxTUg,561
|
|
4
|
+
aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.262.1-alpha.0.jsii.tgz,sha256=CZB9CF4xGfxDDJVJPxpK_z1KIfQ98TO0jr2z4lRLCew,63314
|
|
5
|
+
aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info/LICENSE,sha256=2i1dyWc6JoMBGYQf_po4g-uM8z4_AahKfcXHpaD71KI,11391
|
|
6
|
+
aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info/METADATA,sha256=Um7dafgaVew4pglNwgkaJ2Ktakr-1nVWNJDgF4iNIr4,13025
|
|
7
|
+
aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info/NOTICE,sha256=Zzb2qGp704gVWCXjR1Tgak-U6oY8xINryUtPmiPK6J8,113
|
|
8
|
+
aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info/WHEEL,sha256=BNRMDyzLkkcmlv0J8ppDQkk2VED33SesJDynr9ED1gc,91
|
|
9
|
+
aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
10
|
+
aws_cdk_aws_lambda_python_alpha-2.262.1a0.dist-info/RECORD,,
|
|
Binary file
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
aws_cdk/aws_lambda_python_alpha/__init__.py,sha256=NBN4dFtG-dL_phYa0czOnCQ81vX1Ph9o1OveZkBmG8A,154117
|
|
2
|
-
aws_cdk/aws_lambda_python_alpha/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
aws_cdk/aws_lambda_python_alpha/_jsii/__init__.py,sha256=Hu9ppRTkhuOCPr_nUl35ifdqWnMY8XyI3PJDn8ppRXg,1499
|
|
4
|
-
aws_cdk/aws_lambda_python_alpha/_jsii/aws-lambda-python-alpha@2.261.0-alpha.0.jsii.tgz,sha256=Ceb6X_XZ52VG3WQLJdOZN1uINbt6Xuzu2Gsz9DMh2ig,63195
|
|
5
|
-
aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info/LICENSE,sha256=2i1dyWc6JoMBGYQf_po4g-uM8z4_AahKfcXHpaD71KI,11391
|
|
6
|
-
aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info/METADATA,sha256=e_zfGcPAQMFd9aemXYsAJodsQU2KFl9coQ8_6bp6ovc,13059
|
|
7
|
-
aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info/NOTICE,sha256=Zzb2qGp704gVWCXjR1Tgak-U6oY8xINryUtPmiPK6J8,113
|
|
8
|
-
aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info/WHEEL,sha256=BNRMDyzLkkcmlv0J8ppDQkk2VED33SesJDynr9ED1gc,91
|
|
9
|
-
aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
|
|
10
|
-
aws_cdk_aws_lambda_python_alpha-2.261.0a0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|