aws-cdk.cx-api 2.154.1__py3-none-any.whl → 2.158.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 aws-cdk.cx-api might be problematic. Click here for more details.

@@ -377,6 +377,22 @@ for more details.
377
377
  }
378
378
  }
379
379
  ```
380
+
381
+ * `@aws-cdk/aws-stepfunctions-taks:useNewS3UriParametersForBedrockInvokeModelTask`
382
+
383
+ When enabled, use new props for S3 URI under `input` and `output` fields in task definition of state machine for bedrock invoke model.
384
+
385
+ When this feature flag is enabled, use newly introduced props `s3InputUri` and `s3OutputUri` to populate S3 uri under input and output fields in state machine task definition for Bedrock invoke model.
386
+
387
+ *cdk.json*
388
+
389
+ ```json
390
+ {
391
+ "context": {
392
+ "@aws-cdk/aws-stepfunctions-tasks:useNewS3UriParametersForBedrockInvokeModelTask": true
393
+ }
394
+ }
395
+ ```
380
396
  '''
381
397
  from pkgutil import extend_path
382
398
  __path__ = extend_path(__path__, __name__)
@@ -391,7 +407,22 @@ import jsii
391
407
  import publication
392
408
  import typing_extensions
393
409
 
394
- from typeguard import check_type
410
+ import typeguard
411
+ from importlib.metadata import version as _metadata_package_version
412
+ TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
413
+
414
+ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
415
+ if TYPEGUARD_MAJOR_VERSION <= 2:
416
+ return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
417
+ else:
418
+ if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
419
+ pass
420
+ else:
421
+ if TYPEGUARD_MAJOR_VERSION == 3:
422
+ typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
423
+ typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
424
+ else:
425
+ typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
395
426
 
396
427
  from ._jsii import *
397
428
 
@@ -11,12 +11,27 @@ 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.cloud_assembly_schema._jsii
17
32
 
18
33
  __jsii_assembly__ = jsii.JSIIAssembly.load(
19
- "@aws-cdk/cx-api", "2.154.1", __name__[0:-6], "cx-api@2.154.1.jsii.tgz"
34
+ "@aws-cdk/cx-api", "2.158.0", __name__[0:-6], "cx-api@2.158.0.jsii.tgz"
20
35
  )
21
36
 
22
37
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aws-cdk.cx-api
3
- Version: 2.154.1
3
+ Version: 2.158.0
4
4
  Summary: Cloud executable protocol
5
5
  Home-page: https://github.com/aws/aws-cdk
6
6
  Author: Amazon Web Services
@@ -24,9 +24,9 @@ Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
25
  License-File: NOTICE
26
26
  Requires-Dist: aws-cdk.cloud-assembly-schema<37.0.0,>=36.0.5
27
- Requires-Dist: jsii<2.0.0,>=1.102.0
27
+ Requires-Dist: jsii<2.0.0,>=1.103.1
28
28
  Requires-Dist: publication>=0.0.3
29
- Requires-Dist: typeguard~=2.13.3
29
+ Requires-Dist: typeguard<5.0.0,>=2.13.3
30
30
 
31
31
  # Cloud Executable API
32
32
 
@@ -406,3 +406,19 @@ for more details.
406
406
  }
407
407
  }
408
408
  ```
409
+
410
+ * `@aws-cdk/aws-stepfunctions-taks:useNewS3UriParametersForBedrockInvokeModelTask`
411
+
412
+ When enabled, use new props for S3 URI under `input` and `output` fields in task definition of state machine for bedrock invoke model.
413
+
414
+ When this feature flag is enabled, use newly introduced props `s3InputUri` and `s3OutputUri` to populate S3 uri under input and output fields in state machine task definition for Bedrock invoke model.
415
+
416
+ *cdk.json*
417
+
418
+ ```json
419
+ {
420
+ "context": {
421
+ "@aws-cdk/aws-stepfunctions-tasks:useNewS3UriParametersForBedrockInvokeModelTask": true
422
+ }
423
+ }
424
+ ```
@@ -0,0 +1,10 @@
1
+ aws_cdk/cx_api/__init__.py,sha256=F4wSNuELszJtzhIRm8vI1olcVl6zQ65dT15pMdZS-QQ,180710
2
+ aws_cdk/cx_api/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ aws_cdk/cx_api/_jsii/__init__.py,sha256=E0X8YUCVsZtZZIO8fHyRAd6rj-PWBk5F3sby5VRssrY,1434
4
+ aws_cdk/cx_api/_jsii/cx-api@2.158.0.jsii.tgz,sha256=Of8caWsNn56Liqib7BMv4jIFBrNSlykWXJhEXqReVlk,212342
5
+ aws_cdk.cx_api-2.158.0.dist-info/LICENSE,sha256=kEDF86xJUQh1E9M7UPKKbHepBEdFxIUyoGfTwQB7zKg,11391
6
+ aws_cdk.cx_api-2.158.0.dist-info/METADATA,sha256=5CdO1zsWI8Fz5jcj0bnMCu_rEax4WWhyv8YBgXsNp5U,13576
7
+ aws_cdk.cx_api-2.158.0.dist-info/NOTICE,sha256=7NBh7G38MUfvNz94ADBTirf0VgJwU48PUCT7jvrNxK4,1078
8
+ aws_cdk.cx_api-2.158.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
9
+ aws_cdk.cx_api-2.158.0.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
10
+ aws_cdk.cx_api-2.158.0.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- aws_cdk/cx_api/__init__.py,sha256=bQfYFwOR092ewyqTh8KoLC4hTEPYWz9xJi1KMhULHgo,179180
2
- aws_cdk/cx_api/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- aws_cdk/cx_api/_jsii/__init__.py,sha256=I9Dduq1frICaNerz1NhN1sStDFE1tZ5XWhw1puGLl6Y,466
4
- aws_cdk/cx_api/_jsii/cx-api@2.154.1.jsii.tgz,sha256=WacZyie6eJZncnoUZFwYuSlMcrn5fexc_rc23YO-HiQ,209664
5
- aws_cdk.cx_api-2.154.1.dist-info/LICENSE,sha256=kEDF86xJUQh1E9M7UPKKbHepBEdFxIUyoGfTwQB7zKg,11391
6
- aws_cdk.cx_api-2.154.1.dist-info/METADATA,sha256=HPz-krwGF0ILTOKycBxJiakcr9IFbU3cGHIYakygjLw,13007
7
- aws_cdk.cx_api-2.154.1.dist-info/NOTICE,sha256=7NBh7G38MUfvNz94ADBTirf0VgJwU48PUCT7jvrNxK4,1078
8
- aws_cdk.cx_api-2.154.1.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
9
- aws_cdk.cx_api-2.154.1.dist-info/top_level.txt,sha256=1TALAKbuUGsMSrfKWEf268lySCmcqSEO6cDYe_XlLHM,8
10
- aws_cdk.cx_api-2.154.1.dist-info/RECORD,,