aws_sdk_sagemaker_runtime_http2 0.12.0__tar.gz → 0.13.0__tar.gz
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_sdk_sagemaker_runtime_http2-0.13.0/.changes/0.13.0.json +48 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.gitignore +7 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/CHANGELOG.md +106 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/PKG-INFO +9 -6
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/README.md +2 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/pyproject.toml +14 -13
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/__init__.py +34 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/_private/endpoints.py +81 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/_private/schemas.py +215 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/aio/__init__.py +22 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/aio/client.py +149 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/aio/config.py +236 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0/src/aws_sdk_sagemaker_runtime_http2 → aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/aio}/user_agent.py +1 -1
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/client.py +43 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/src/aws_sdk_sagemaker_runtime_http2/config.py +82 -38
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/models.py +98 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/models.pyi +258 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/py.typed +0 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/user_agent.py +17 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/tests/_typecheck.py +48 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/tests/test_endpoints.py +276 -0
- aws_sdk_sagemaker_runtime_http2-0.13.0/tests/test_model_conformance.py +13 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/tests/test_restjson_protocol.py +10 -10
- aws_sdk_sagemaker_runtime_http2-0.12.0/CHANGELOG.md +0 -85
- aws_sdk_sagemaker_runtime_http2-0.12.0/Makefile +0 -25
- aws_sdk_sagemaker_runtime_http2-0.12.0/docs/README.md +0 -18
- aws_sdk_sagemaker_runtime_http2-0.12.0/docs/index.md +0 -1
- aws_sdk_sagemaker_runtime_http2-0.12.0/docs/stylesheets/extra.css +0 -9
- aws_sdk_sagemaker_runtime_http2-0.12.0/scripts/docs/generate_doc_stubs.py +0 -718
- aws_sdk_sagemaker_runtime_http2-0.12.0/src/aws_sdk_sagemaker_runtime_http2/__init__.py +0 -3
- aws_sdk_sagemaker_runtime_http2-0.12.0/src/aws_sdk_sagemaker_runtime_http2/_private/schemas.py +0 -664
- aws_sdk_sagemaker_runtime_http2-0.12.0/src/aws_sdk_sagemaker_runtime_http2/client.py +0 -209
- aws_sdk_sagemaker_runtime_http2-0.12.0/src/aws_sdk_sagemaker_runtime_http2/models.py +0 -940
- aws_sdk_sagemaker_runtime_http2-0.12.0/zensical.toml +0 -83
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.1.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.10.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.11.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.12.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.3.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.4.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.5.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.6.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.7.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.8.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.changes/0.9.0.json +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/LICENSE +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/NOTICE +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/src/aws_sdk_sagemaker_runtime_http2/_private/__init__.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/src/aws_sdk_sagemaker_runtime_http2/auth.py +0 -0
- {aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/tests/__init__.py +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"changes": [
|
|
3
|
+
{
|
|
4
|
+
"type": "breaking",
|
|
5
|
+
"description": "Operations take the members of their input as keyword arguments, or the whole request as a single positional-only input model or dictionary; the two can't be mixed in one call. `plugins` is keyword-only. Calls that pass the request as `input=` or pass `plugins` positionally must be updated. A request that leaves a required member unset, at any depth, raises a `TypeError` before it is sent."
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"type": "breaking",
|
|
9
|
+
"description": "Codegen sync for [smithy-python b8ecead...d185e3b](https://github.com/smithy-lang/smithy-python/compare/b8eceadb0573bd0c757def9a2b26fe7bf938b239...d185e3b5b5ef2e24661a6256be721101631bdcb2): Add the synchronous `SageMakerRuntimeHTTP2Client` and `SageMakerRuntimeHTTP2Config` in `aws_sdk_sagemaker_runtime_http2.client` and `aws_sdk_sagemaker_runtime_http2.config`. The async `AsyncSageMakerRuntimeHTTP2Client` and `AsyncSageMakerRuntimeHTTP2Config` moved to `aws_sdk_sagemaker_runtime_http2.aio.client` and `aws_sdk_sagemaker_runtime_http2.aio.config`; update async imports to the `aio` paths. All four are also exported from `aws_sdk_sagemaker_runtime_http2`. Every operation uses an event stream, so the synchronous client has no operations; use the async client."
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"type": "feature",
|
|
13
|
+
"description": "Nested structures and unions in a request may be written as dictionaries. A dictionary may contain models, but the members of a model must be models. Each structure and union reachable from an operation input has a dictionary form with a `Dict` suffix, declared in `models.pyi`."
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"type": "feature",
|
|
17
|
+
"description": "Support the `adaptive` retry mode, set with `retry_mode=\"adaptive\"`, the `AWS_RETRY_MODE` environment variable, or the `retry_mode` profile key. Previously `retry_mode=\"adaptive\"` was rejected, and the environment variable and profile key fell back to `standard` with a warning."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"type": "feature",
|
|
21
|
+
"description": "Resolve endpoints from the service's endpoint rules instead of the standard regional endpoint pattern. Add the `use_fips_endpoint` and `use_dualstack_endpoint` configuration options to select FIPS and dual-stack endpoints, also read from the `AWS_USE_FIPS_ENDPOINT` and `AWS_USE_DUALSTACK_ENDPOINT` environment variables and the `use_fips_endpoint` and `use_dualstack_endpoint` profile keys."
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"type": "enhancement",
|
|
25
|
+
"description": "Load models, schemas, and operations lazily on first use."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "enhancement",
|
|
29
|
+
"description": "Add support for Python 3.15."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "enhancement",
|
|
33
|
+
"description": "Include a `py.typed` marker so type checkers use the types of the installed client, and expose the typed model surface, including member documentation, through `models.pyi`."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"type": "dependency",
|
|
37
|
+
"description": "Bump `smithy-http` from `~=0.6.0` to `~=0.10.0`."
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "dependency",
|
|
41
|
+
"description": "Bump `smithy-aws-core` from `~=0.12.0` to `~=0.16.0`."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "dependency",
|
|
45
|
+
"description": "Bump `smithy-core` from `~=0.9.0` to `~=0.13.0`."
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
{aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/.gitignore
RENAMED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# macOS system files
|
|
2
2
|
.DS_Store
|
|
3
3
|
|
|
4
|
+
# IDE
|
|
5
|
+
.idea/
|
|
6
|
+
|
|
4
7
|
# Docs build artifacts
|
|
5
8
|
site/
|
|
6
9
|
docs/clients/
|
|
@@ -8,6 +11,7 @@ docs/clients/
|
|
|
8
11
|
|
|
9
12
|
# Virtual environments
|
|
10
13
|
.venv
|
|
14
|
+
.venv-verify
|
|
11
15
|
venv
|
|
12
16
|
|
|
13
17
|
# Caches
|
|
@@ -23,3 +27,6 @@ dist/
|
|
|
23
27
|
|
|
24
28
|
# scratch workspace
|
|
25
29
|
/workspace
|
|
30
|
+
|
|
31
|
+
# Codegen sync changelog text, read by `make clients`
|
|
32
|
+
/CODEGEN_SYNC_CHANGELOG.md
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## v0.13.0
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
* Operations take the members of their input as keyword arguments, or the whole request as a single positional-only input model or dictionary; the two can't be mixed in one call. `plugins` is keyword-only. Calls that pass the request as `input=` or pass `plugins` positionally must be updated. A request that leaves a required member unset, at any depth, raises a `TypeError` before it is sent.
|
|
7
|
+
* Codegen sync for [smithy-python b8ecead...d185e3b](https://github.com/smithy-lang/smithy-python/compare/b8eceadb0573bd0c757def9a2b26fe7bf938b239...d185e3b5b5ef2e24661a6256be721101631bdcb2): Add the synchronous `SageMakerRuntimeHTTP2Client` and `SageMakerRuntimeHTTP2Config` in `aws_sdk_sagemaker_runtime_http2.client` and `aws_sdk_sagemaker_runtime_http2.config`. The async `AsyncSageMakerRuntimeHTTP2Client` and `AsyncSageMakerRuntimeHTTP2Config` moved to `aws_sdk_sagemaker_runtime_http2.aio.client` and `aws_sdk_sagemaker_runtime_http2.aio.config`; update async imports to the `aio` paths. All four are also exported from `aws_sdk_sagemaker_runtime_http2`. Every operation uses an event stream, so the synchronous client has no operations; use the async client.
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
* Nested structures and unions in a request may be written as dictionaries. A dictionary may contain models, but the members of a model must be models. Each structure and union reachable from an operation input has a dictionary form with a `Dict` suffix, declared in `models.pyi`.
|
|
11
|
+
* Support the `adaptive` retry mode, set with `retry_mode="adaptive"`, the `AWS_RETRY_MODE` environment variable, or the `retry_mode` profile key. Previously `retry_mode="adaptive"` was rejected, and the environment variable and profile key fell back to `standard` with a warning.
|
|
12
|
+
* Resolve endpoints from the service's endpoint rules instead of the standard regional endpoint pattern. Add the `use_fips_endpoint` and `use_dualstack_endpoint` configuration options to select FIPS and dual-stack endpoints, also read from the `AWS_USE_FIPS_ENDPOINT` and `AWS_USE_DUALSTACK_ENDPOINT` environment variables and the `use_fips_endpoint` and `use_dualstack_endpoint` profile keys.
|
|
13
|
+
|
|
14
|
+
### Enhancements
|
|
15
|
+
* Load models, schemas, and operations lazily on first use.
|
|
16
|
+
* Add support for Python 3.15.
|
|
17
|
+
* Include a `py.typed` marker so type checkers use the types of the installed client, and expose the typed model surface, including member documentation, through `models.pyi`.
|
|
18
|
+
|
|
19
|
+
### Dependencies
|
|
20
|
+
* Bump `smithy-http` from `~=0.6.0` to `~=0.10.0`.
|
|
21
|
+
* Bump `smithy-aws-core` from `~=0.12.0` to `~=0.16.0`.
|
|
22
|
+
* Bump `smithy-core` from `~=0.9.0` to `~=0.13.0`.
|
|
23
|
+
|
|
24
|
+
## v0.12.0
|
|
25
|
+
|
|
26
|
+
### Enhancements
|
|
27
|
+
* Re-generated with smithy-python 0.6.0
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
* Bump `smithy-core` from `~=0.8.0` to `~=0.9.0`.
|
|
31
|
+
* Bump `smithy-aws-core` from `~=0.11.0` to `~=0.12.0`.
|
|
32
|
+
* Bump `smithy-http` from `~=0.5.0` to `~=0.6.0`.
|
|
33
|
+
|
|
34
|
+
## v0.11.0
|
|
35
|
+
|
|
36
|
+
### Enhancements
|
|
37
|
+
* Re-generated with smithy-python 0.5.0
|
|
38
|
+
|
|
39
|
+
### Dependencies
|
|
40
|
+
* Bump `smithy-aws-core` from `~=0.10.0` to `~=0.11.0`.
|
|
41
|
+
* Bump `smithy-http` from `~=0.4.0` to `~=0.5.0`.
|
|
42
|
+
|
|
43
|
+
## v0.10.0
|
|
44
|
+
|
|
45
|
+
### Dependencies
|
|
46
|
+
* Bump `smithy-aws-core` from `~=0.9.0` to `~=0.10.0`.
|
|
47
|
+
|
|
48
|
+
## v0.9.0
|
|
49
|
+
|
|
50
|
+
### Dependencies
|
|
51
|
+
* Bump `smithy-core` from `~=0.7.0` to `~=0.8.0`.
|
|
52
|
+
* Bump `smithy-aws-core` from `~=0.8.0` to `~=0.9.0`.
|
|
53
|
+
|
|
54
|
+
## v0.8.0
|
|
55
|
+
|
|
56
|
+
### Enhancements
|
|
57
|
+
* Re-generated with smithy-python 0.4.0
|
|
58
|
+
|
|
59
|
+
### Dependencies
|
|
60
|
+
* Bump `smithy-aws-core` from `~=0.7.0` to `~=0.8.0`.
|
|
61
|
+
* Bump `smithy-core` from `~=0.6.0` to `~=0.7.0`.
|
|
62
|
+
|
|
63
|
+
## v0.7.0
|
|
64
|
+
|
|
65
|
+
### Enhancements
|
|
66
|
+
* Re-generated with smithy-python 0.3.1
|
|
67
|
+
|
|
68
|
+
### Dependencies
|
|
69
|
+
* Bump `smithy-core` from `~=0.5.0` to `~=0.6.0`.
|
|
70
|
+
* Bump `smithy-aws-core` from `~=0.6.0` to `~=0.7.0`.
|
|
71
|
+
|
|
72
|
+
## v0.6.0
|
|
73
|
+
|
|
74
|
+
### Dependencies
|
|
75
|
+
* Bump `smithy-aws-core` from `~=0.5.0` to `~=0.6.0`.
|
|
76
|
+
* Bump `smithy-core` from `~=0.4.0` to `~=0.5.0`.
|
|
77
|
+
|
|
78
|
+
## v0.5.0
|
|
79
|
+
|
|
80
|
+
### Dependencies
|
|
81
|
+
* Bump `smithy-core` from `~=0.3.0` to `~=0.4.0`.
|
|
82
|
+
* Bump `smithy-http` from `~=0.3.0` to `~=0.4.0`.
|
|
83
|
+
* Bump `smithy-aws-core` from `~=0.4.0` to `~=0.5.0`.
|
|
84
|
+
|
|
85
|
+
## v0.4.0
|
|
86
|
+
|
|
87
|
+
### Enhancements
|
|
88
|
+
* Update package docstrings from Sphinx style to Google style for improved readability and consistency with Python community standards. ([#48](https://github.com/aws/aws-sdk-python/pull/48))
|
|
89
|
+
* Re-generated with smithy-python 0.3.0
|
|
90
|
+
|
|
91
|
+
## v0.3.0
|
|
92
|
+
|
|
93
|
+
This release follows 0.1.0. There is no 0.2.0 as the initial release was intended to be inline
|
|
94
|
+
with the `smithy-aws-core` version used in the client.
|
|
95
|
+
|
|
96
|
+
### Breaking Changes
|
|
97
|
+
* Function signature for `resolve_retry_strategy` has been changed to prevent unnecessary code duplication in operation methods. This will affect all 0.3.0 clients.
|
|
98
|
+
|
|
99
|
+
### Dependencies
|
|
100
|
+
* **Updated**: `smithy_aws_core[eventstream, json]` from `~=0.2.0` to `~=0.3.0`.
|
|
101
|
+
* **Updated**: `smithy_core` from `~=0.2.0` to `~=0.3.0`.
|
|
102
|
+
|
|
103
|
+
## v0.1.0
|
|
104
|
+
|
|
105
|
+
### Features
|
|
106
|
+
* Initial client release with support for current Amazon SageMaker Runtime HTTP2 operations.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: aws_sdk_sagemaker_runtime_http2
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.13.0
|
|
4
|
+
Summary: Python client for Amazon SageMaker Runtime HTTP2
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
License-File: NOTICE
|
|
@@ -17,14 +17,17 @@ Classifier: Programming Language :: Python :: 3 :: Only
|
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.14
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
20
21
|
Requires-Python: >=3.12
|
|
21
|
-
Requires-Dist: smithy-aws-core[eventstream,json]~=0.
|
|
22
|
-
Requires-Dist: smithy-core~=0.
|
|
23
|
-
Requires-Dist: smithy-http[aiohttp]~=0.
|
|
22
|
+
Requires-Dist: smithy-aws-core[eventstream,json]~=0.16.0
|
|
23
|
+
Requires-Dist: smithy-core~=0.13.0
|
|
24
|
+
Requires-Dist: smithy-http[aiohttp,urllib3]~=0.10.0
|
|
24
25
|
Provides-Extra: awscrt
|
|
25
|
-
Requires-Dist: smithy-http[awscrt]~=0.
|
|
26
|
+
Requires-Dist: smithy-http[awscrt]~=0.10.0; extra == 'awscrt'
|
|
26
27
|
Description-Content-Type: text/markdown
|
|
27
28
|
|
|
29
|
+
<!-- Code generated by smithy-python-codegen DO NOT EDIT. -->
|
|
30
|
+
|
|
28
31
|
# Amazon SageMaker Runtime HTTP2 Client
|
|
29
32
|
|
|
30
33
|
The `aws-sdk-sagemaker-runtime-http2` package provides a client for making
|
{aws_sdk_sagemaker_runtime_http2-0.12.0 → aws_sdk_sagemaker_runtime_http2-0.13.0}/pyproject.toml
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
[project]
|
|
4
4
|
name = "aws_sdk_sagemaker_runtime_http2"
|
|
5
|
-
version = "0.
|
|
6
|
-
description = "
|
|
5
|
+
version = "0.13.0"
|
|
6
|
+
description = "Python client for Amazon SageMaker Runtime HTTP2"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
requires-python = ">=3.12"
|
|
9
9
|
keywords = ["smithy", "aws_sdk_sagemaker_runtime_http2"]
|
|
@@ -19,28 +19,26 @@ classifiers = [
|
|
|
19
19
|
"Programming Language :: Python :: 3 :: Only",
|
|
20
20
|
"Programming Language :: Python :: 3.12",
|
|
21
21
|
"Programming Language :: Python :: 3.13",
|
|
22
|
-
"Programming Language :: Python :: 3.14"
|
|
22
|
+
"Programming Language :: Python :: 3.14",
|
|
23
|
+
"Programming Language :: Python :: 3.15"
|
|
23
24
|
]
|
|
24
25
|
|
|
25
26
|
dependencies = [
|
|
26
|
-
"smithy_aws_core[eventstream, json]~=0.
|
|
27
|
-
"smithy_core~=0.
|
|
28
|
-
"smithy_http[aiohttp]~=0.
|
|
27
|
+
"smithy_aws_core[eventstream, json]~=0.16.0",
|
|
28
|
+
"smithy_core~=0.13.0",
|
|
29
|
+
"smithy_http[aiohttp, urllib3]~=0.10.0"
|
|
29
30
|
]
|
|
30
31
|
|
|
31
32
|
[project.optional-dependencies]
|
|
32
33
|
awscrt = [
|
|
33
|
-
"smithy_http[awscrt]~=0.
|
|
34
|
+
"smithy_http[awscrt]~=0.10.0"
|
|
34
35
|
]
|
|
35
36
|
|
|
36
37
|
[dependency-groups]
|
|
37
|
-
docs = [
|
|
38
|
-
"mkdocstrings[python]~=1.0.4",
|
|
39
|
-
"zensical~=0.0.53",
|
|
40
|
-
]
|
|
41
38
|
test = [
|
|
42
|
-
"pytest>=9.0.
|
|
43
|
-
"pytest-asyncio>=1.3.0,<1.4.0"
|
|
39
|
+
"pytest>=9.0.3,<10.0.0",
|
|
40
|
+
"pytest-asyncio>=1.3.0,<1.4.0",
|
|
41
|
+
"smithy_test~=0.5.0"
|
|
44
42
|
]
|
|
45
43
|
|
|
46
44
|
[build-system]
|
|
@@ -55,6 +53,9 @@ reportUnusedVariable = false
|
|
|
55
53
|
reportUnnecessaryComparison = false
|
|
56
54
|
reportUnusedClass = false
|
|
57
55
|
enableExperimentalFeatures = true
|
|
56
|
+
# models.py is the dynamic runtime; models.pyi carries the typed
|
|
57
|
+
# surface for consumers, so don't type-check the implementation body.
|
|
58
|
+
exclude = ["**/models.py"]
|
|
58
59
|
|
|
59
60
|
[tool.ruff]
|
|
60
61
|
target-version = "py312"
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Code generated by smithy-python-codegen DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from importlib import import_module
|
|
4
|
+
from typing import Any, TYPE_CHECKING
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .client import SageMakerRuntimeHTTP2Client
|
|
9
|
+
from .config import SageMakerRuntimeHTTP2Config
|
|
10
|
+
from .aio.client import AsyncSageMakerRuntimeHTTP2Client
|
|
11
|
+
from .aio.config import AsyncSageMakerRuntimeHTTP2Config
|
|
12
|
+
|
|
13
|
+
__all__ = [
|
|
14
|
+
"SageMakerRuntimeHTTP2Client",
|
|
15
|
+
"SageMakerRuntimeHTTP2Config",
|
|
16
|
+
"AsyncSageMakerRuntimeHTTP2Client",
|
|
17
|
+
"AsyncSageMakerRuntimeHTTP2Config",
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
_EXPORTS = {
|
|
21
|
+
"SageMakerRuntimeHTTP2Client": ".client",
|
|
22
|
+
"SageMakerRuntimeHTTP2Config": ".config",
|
|
23
|
+
"AsyncSageMakerRuntimeHTTP2Client": ".aio.client",
|
|
24
|
+
"AsyncSageMakerRuntimeHTTP2Config": ".aio.config",
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def __getattr__(name: str) -> Any:
|
|
29
|
+
if name in _EXPORTS:
|
|
30
|
+
return getattr(import_module(_EXPORTS[name], __name__), name)
|
|
31
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
__version__: str = "0.13.0"
|
aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/_private/endpoints.py
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Code generated by smithy-python-codegen DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
"""Endpoint BDD for com.amazonaws.sagemakerruntimehttp2#AmazonSageMakerRuntimeHttp2."""
|
|
4
|
+
|
|
5
|
+
from smithy_core.endpoints import EndpointBdd
|
|
6
|
+
|
|
7
|
+
# fmt: off
|
|
8
|
+
# Tags: ref=0, attr=1, call=2, list=3, map=4, error=5, endpoint=6.
|
|
9
|
+
BDD = EndpointBdd(
|
|
10
|
+
# (name, type, required, default, builtin, client_context_attribute)
|
|
11
|
+
parameters=(
|
|
12
|
+
("UseDualStack", "boolean", True, False, "AWS::UseDualStack", None),
|
|
13
|
+
("UseFIPS", "boolean", True, False, "AWS::UseFIPS", None),
|
|
14
|
+
("Endpoint", "string", False, None, "SDK::Endpoint", None),
|
|
15
|
+
("Region", "string", False, None, "AWS::Region", None),
|
|
16
|
+
),
|
|
17
|
+
functions=("aws.partition", "booleanEquals", "isSet", "stringEquals"),
|
|
18
|
+
conditions=(
|
|
19
|
+
((2, "isSet", (0, "Endpoint")), None), # 0: isSet(Endpoint)
|
|
20
|
+
((2, "isSet", (0, "Region")), None), # 1: isSet(Region)
|
|
21
|
+
((2, "aws.partition", (0, "Region")), "PartitionResult"), # 2: PartitionResult = aws.partition(Region)
|
|
22
|
+
((2, "stringEquals", (1, (0, "PartitionResult"), "name"), "aws"), None), # 3: stringEquals(PartitionResult#name, "aws")
|
|
23
|
+
((2, "stringEquals", (1, (0, "PartitionResult"), "name"), "aws-cn"), None), # 4: stringEquals(PartitionResult#name, "aws-cn")
|
|
24
|
+
((2, "stringEquals", (1, (0, "PartitionResult"), "name"), "aws-us-gov"), None), # 5: stringEquals(PartitionResult#name, "aws-us-gov")
|
|
25
|
+
((2, "stringEquals", (1, (0, "PartitionResult"), "name"), "aws-iso"), None), # 6: stringEquals(PartitionResult#name, "aws-iso")
|
|
26
|
+
((2, "stringEquals", (1, (0, "PartitionResult"), "name"), "aws-iso-b"), None), # 7: stringEquals(PartitionResult#name, "aws-iso-b")
|
|
27
|
+
((2, "stringEquals", (1, (0, "PartitionResult"), "name"), "aws-eusc"), None), # 8: stringEquals(PartitionResult#name, "aws-eusc")
|
|
28
|
+
((2, "stringEquals", (1, (0, "PartitionResult"), "name"), "aws-iso-f"), None), # 9: stringEquals(PartitionResult#name, "aws-iso-f")
|
|
29
|
+
((2, "booleanEquals", (0, "UseFIPS"), True), None), # 10: booleanEquals(UseFIPS, true)
|
|
30
|
+
((2, "booleanEquals", (1, (0, "PartitionResult"), "supportsFIPS"), True), None), # 11: booleanEquals(PartitionResult#supportsFIPS, true)
|
|
31
|
+
((2, "booleanEquals", (0, "UseDualStack"), True), None), # 12: booleanEquals(UseDualStack, true)
|
|
32
|
+
((2, "booleanEquals", (1, (0, "PartitionResult"), "supportsDualStack"), True), None), # 13: booleanEquals(PartitionResult#supportsDualStack, true)
|
|
33
|
+
),
|
|
34
|
+
results=(
|
|
35
|
+
None, # 0: no match
|
|
36
|
+
(5, "Invalid Configuration: FIPS and custom endpoint are not supported"), # 1
|
|
37
|
+
(5, "Invalid Configuration: Dualstack and custom endpoint are not supported"), # 2
|
|
38
|
+
(6, (0, "Endpoint"), None, ()), # 3
|
|
39
|
+
(6, "https://runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}:8443", None, ()), # 4
|
|
40
|
+
(6, "https://runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}:8443", None, ()), # 5
|
|
41
|
+
(6, "https://runtime-fips.sagemaker.{Region}.{PartitionResult#dnsSuffix}:8443", None, ()), # 6
|
|
42
|
+
(6, "https://runtime-fips.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}:8443", None, ()), # 7
|
|
43
|
+
(6, "https://runtime.sagemaker-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", None, ()), # 8
|
|
44
|
+
(5, "FIPS and DualStack are enabled, but this partition does not support one or both"), # 9
|
|
45
|
+
(6, "https://runtime.sagemaker-fips.{Region}.{PartitionResult#dnsSuffix}", None, ()), # 10
|
|
46
|
+
(5, "FIPS is enabled but this partition does not support FIPS"), # 11
|
|
47
|
+
(6, "https://runtime.sagemaker.{Region}.{PartitionResult#dualStackDnsSuffix}", None, ()), # 12
|
|
48
|
+
(5, "DualStack is enabled but this partition does not support DualStack"), # 13
|
|
49
|
+
(6, "https://runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", None, ()), # 14
|
|
50
|
+
(5, "Invalid Configuration: Missing Region"), # 15
|
|
51
|
+
),
|
|
52
|
+
root=2,
|
|
53
|
+
# (condition, high, low); 1 and -1 are terminals, a negative reference is a
|
|
54
|
+
# complement edge, and 100_000_000 + k is result k.
|
|
55
|
+
nodes=(
|
|
56
|
+
-1, 1, -1,
|
|
57
|
+
0, 22, 3,
|
|
58
|
+
1, 4, 100_000_015,
|
|
59
|
+
2, 5, 100_000_015,
|
|
60
|
+
3, 19, 6,
|
|
61
|
+
4, 19, 7,
|
|
62
|
+
5, 19, 8,
|
|
63
|
+
6, 19, 9,
|
|
64
|
+
7, 19, 10,
|
|
65
|
+
8, 19, 11,
|
|
66
|
+
9, 19, 12,
|
|
67
|
+
10, 15, 13,
|
|
68
|
+
12, 14, 100_000_014,
|
|
69
|
+
13, 100_000_012, 100_000_013,
|
|
70
|
+
11, 17, 16,
|
|
71
|
+
12, 100_000_009, 100_000_011,
|
|
72
|
+
12, 18, 100_000_010,
|
|
73
|
+
13, 100_000_008, 100_000_009,
|
|
74
|
+
10, 21, 20,
|
|
75
|
+
12, 100_000_005, 100_000_004,
|
|
76
|
+
12, 100_000_007, 100_000_006,
|
|
77
|
+
10, 100_000_001, 23,
|
|
78
|
+
12, 100_000_002, 100_000_003,
|
|
79
|
+
),
|
|
80
|
+
)
|
|
81
|
+
# fmt: on
|
aws_sdk_sagemaker_runtime_http2-0.13.0/src/aws_sdk_sagemaker_runtime_http2/_private/schemas.py
ADDED
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
# Code generated by smithy-python-codegen DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from types import MappingProxyType
|
|
4
|
+
|
|
5
|
+
from smithy_core._schema_compact import StaticOperationSchema, StaticSchema
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
n0 = "com.amazonaws.sagemakerruntimehttp2"
|
|
9
|
+
_IVE = "InputValidationError"
|
|
10
|
+
_s = "smithy.api#error"
|
|
11
|
+
_c = "client"
|
|
12
|
+
_sE = "smithy.api#httpError"
|
|
13
|
+
_M = "Message"
|
|
14
|
+
_EC = "ErrorCode"
|
|
15
|
+
_ISE = "InternalServerError"
|
|
16
|
+
_se = "server"
|
|
17
|
+
_ISF = "InternalStreamFailure"
|
|
18
|
+
_SB = "SensitiveBlob"
|
|
19
|
+
_sm = "smithy.api#sensitive"
|
|
20
|
+
_RPP = "RequestPayloadPart"
|
|
21
|
+
_B = "Bytes"
|
|
22
|
+
_sP = "smithy.api#eventPayload"
|
|
23
|
+
_DT = "DataType"
|
|
24
|
+
_sH = "smithy.api#eventHeader"
|
|
25
|
+
_CS = "CompletionState"
|
|
26
|
+
_P = "P"
|
|
27
|
+
_RSE = "RequestStreamEvent"
|
|
28
|
+
_smi = "smithy.api#streaming"
|
|
29
|
+
_PP = "PayloadPart"
|
|
30
|
+
_IEWBSI = "InvokeEndpointWithBidirectionalStreamInput"
|
|
31
|
+
_smit = "smithy.api#input"
|
|
32
|
+
_EN = "EndpointName"
|
|
33
|
+
_smith = "smithy.api#required"
|
|
34
|
+
_sL = "smithy.api#httpLabel"
|
|
35
|
+
_Bo = "Body"
|
|
36
|
+
_sPm = "smithy.api#httpPayload"
|
|
37
|
+
_TV = "TargetVariant"
|
|
38
|
+
_sHm = "smithy.api#httpHeader"
|
|
39
|
+
_XASTV = "X-Amzn-SageMaker-Target-Variant"
|
|
40
|
+
_MIP = "ModelInvocationPath"
|
|
41
|
+
_XASMIP = "X-Amzn-SageMaker-Model-Invocation-Path"
|
|
42
|
+
_MQS = "ModelQueryString"
|
|
43
|
+
_XASMQS = "X-Amzn-SageMaker-Model-Query-String"
|
|
44
|
+
_MSE = "ModelStreamError"
|
|
45
|
+
_RPPe = "ResponsePayloadPart"
|
|
46
|
+
_RSEe = "ResponseStreamEvent"
|
|
47
|
+
_IEWBSO = "InvokeEndpointWithBidirectionalStreamOutput"
|
|
48
|
+
_smithy = "smithy.api#output"
|
|
49
|
+
_IPV = "InvokedProductionVariant"
|
|
50
|
+
_XAIPV = "X-Amzn-Invoked-Production-Variant"
|
|
51
|
+
_ME = "ModelError"
|
|
52
|
+
_OSC = "OriginalStatusCode"
|
|
53
|
+
_OM = "OriginalMessage"
|
|
54
|
+
_LSA = "LogStreamArn"
|
|
55
|
+
_SUE = "ServiceUnavailableError"
|
|
56
|
+
_IEWBS = "InvokeEndpointWithBidirectionalStream"
|
|
57
|
+
_smithya = "smithy.api#http"
|
|
58
|
+
_ASMRH = "AmazonSageMakerRuntimeHttp2"
|
|
59
|
+
_a = "aws.auth#sigv4"
|
|
60
|
+
_aw = "aws.api#service"
|
|
61
|
+
_aJ = "aws.protocols#restJson1"
|
|
62
|
+
|
|
63
|
+
INPUT_VALIDATION_ERROR: StaticSchema = (
|
|
64
|
+
18,
|
|
65
|
+
n0,
|
|
66
|
+
_IVE,
|
|
67
|
+
{_s: _c, _sE: 400},
|
|
68
|
+
(_M, _EC),
|
|
69
|
+
((3, 0), (3, 0)),
|
|
70
|
+
)
|
|
71
|
+
|
|
72
|
+
INTERNAL_SERVER_ERROR: StaticSchema = (
|
|
73
|
+
18,
|
|
74
|
+
n0,
|
|
75
|
+
_ISE,
|
|
76
|
+
{_s: _se, _sE: 500},
|
|
77
|
+
(_M, _EC),
|
|
78
|
+
((3, 0), (3, 0)),
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
INTERNAL_STREAM_FAILURE: StaticSchema = (18, n0, _ISF, {_s: _se}, (_M,), ((3, 0),))
|
|
82
|
+
|
|
83
|
+
SENSITIVE_BLOB: StaticSchema = (1, n0, _SB, 4)
|
|
84
|
+
|
|
85
|
+
REQUEST_PAYLOAD_PART: StaticSchema = (
|
|
86
|
+
18,
|
|
87
|
+
n0,
|
|
88
|
+
_RPP,
|
|
89
|
+
0,
|
|
90
|
+
(_B, _DT, _CS, _P),
|
|
91
|
+
(
|
|
92
|
+
(SENSITIVE_BLOB, {_sP: None}),
|
|
93
|
+
(3, {_sH: None}),
|
|
94
|
+
(3, {_sH: None}),
|
|
95
|
+
(3, {_sH: None}),
|
|
96
|
+
),
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
REQUEST_STREAM_EVENT: StaticSchema = (
|
|
100
|
+
19,
|
|
101
|
+
n0,
|
|
102
|
+
_RSE,
|
|
103
|
+
{_smi: None},
|
|
104
|
+
(_PP,),
|
|
105
|
+
((REQUEST_PAYLOAD_PART, 0),),
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
INVOKE_ENDPOINT_WITH_BIDIRECTIONAL_STREAM_INPUT: StaticSchema = (
|
|
109
|
+
18,
|
|
110
|
+
n0,
|
|
111
|
+
_IEWBSI,
|
|
112
|
+
{_smit: None},
|
|
113
|
+
(_EN, _Bo, _TV, _MIP, _MQS),
|
|
114
|
+
(
|
|
115
|
+
(3, 9),
|
|
116
|
+
(REQUEST_STREAM_EVENT, 17),
|
|
117
|
+
(3, {_sHm: _XASTV}),
|
|
118
|
+
(3, {_sHm: _XASMIP}),
|
|
119
|
+
(3, {_sHm: _XASMQS}),
|
|
120
|
+
),
|
|
121
|
+
)
|
|
122
|
+
|
|
123
|
+
MODEL_STREAM_ERROR: StaticSchema = (18, n0, _MSE, {_s: _c}, (_M, _EC), ((3, 0), (3, 0)))
|
|
124
|
+
|
|
125
|
+
RESPONSE_PAYLOAD_PART: StaticSchema = (
|
|
126
|
+
18,
|
|
127
|
+
n0,
|
|
128
|
+
_RPPe,
|
|
129
|
+
0,
|
|
130
|
+
(_B, _DT, _CS, _P),
|
|
131
|
+
(
|
|
132
|
+
(SENSITIVE_BLOB, {_sP: None}),
|
|
133
|
+
(3, {_sH: None}),
|
|
134
|
+
(3, {_sH: None}),
|
|
135
|
+
(3, {_sH: None}),
|
|
136
|
+
),
|
|
137
|
+
)
|
|
138
|
+
|
|
139
|
+
RESPONSE_STREAM_EVENT: StaticSchema = (
|
|
140
|
+
19,
|
|
141
|
+
n0,
|
|
142
|
+
_RSEe,
|
|
143
|
+
{_smi: None},
|
|
144
|
+
(_PP, _MSE, _ISF),
|
|
145
|
+
((RESPONSE_PAYLOAD_PART, 0), (MODEL_STREAM_ERROR, 0), (INTERNAL_STREAM_FAILURE, 0)),
|
|
146
|
+
)
|
|
147
|
+
|
|
148
|
+
INVOKE_ENDPOINT_WITH_BIDIRECTIONAL_STREAM_OUTPUT: StaticSchema = (
|
|
149
|
+
18,
|
|
150
|
+
n0,
|
|
151
|
+
_IEWBSO,
|
|
152
|
+
{_smithy: None},
|
|
153
|
+
(_Bo, _IPV),
|
|
154
|
+
((RESPONSE_STREAM_EVENT, 17), (3, {_sHm: _XAIPV})),
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
MODEL_ERROR: StaticSchema = (
|
|
158
|
+
18,
|
|
159
|
+
n0,
|
|
160
|
+
_ME,
|
|
161
|
+
{_s: _c, _sE: 424},
|
|
162
|
+
(_M, _OSC, _OM, _LSA, _EC),
|
|
163
|
+
((3, 0), (7, 0), (3, 0), (3, 0), (3, 0)),
|
|
164
|
+
)
|
|
165
|
+
|
|
166
|
+
SERVICE_UNAVAILABLE_ERROR: StaticSchema = (
|
|
167
|
+
18,
|
|
168
|
+
n0,
|
|
169
|
+
_SUE,
|
|
170
|
+
{_s: _se, _sE: 503},
|
|
171
|
+
(_M, _EC),
|
|
172
|
+
((3, 0), (3, 0)),
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
INVOKE_ENDPOINT_WITH_BIDIRECTIONAL_STREAM: StaticOperationSchema = (
|
|
176
|
+
23,
|
|
177
|
+
n0,
|
|
178
|
+
_IEWBS,
|
|
179
|
+
{
|
|
180
|
+
_smithya: MappingProxyType(
|
|
181
|
+
{
|
|
182
|
+
"method": "POST",
|
|
183
|
+
"uri": "/endpoints/{EndpointName}/invocations-bidirectional-stream",
|
|
184
|
+
}
|
|
185
|
+
)
|
|
186
|
+
},
|
|
187
|
+
INVOKE_ENDPOINT_WITH_BIDIRECTIONAL_STREAM_INPUT,
|
|
188
|
+
INVOKE_ENDPOINT_WITH_BIDIRECTIONAL_STREAM_OUTPUT,
|
|
189
|
+
(
|
|
190
|
+
INPUT_VALIDATION_ERROR,
|
|
191
|
+
INTERNAL_SERVER_ERROR,
|
|
192
|
+
INTERNAL_STREAM_FAILURE,
|
|
193
|
+
MODEL_ERROR,
|
|
194
|
+
MODEL_STREAM_ERROR,
|
|
195
|
+
SERVICE_UNAVAILABLE_ERROR,
|
|
196
|
+
),
|
|
197
|
+
)
|
|
198
|
+
|
|
199
|
+
AMAZON_SAGE_MAKER_RUNTIME_HTTP2: StaticSchema = (
|
|
200
|
+
21,
|
|
201
|
+
n0,
|
|
202
|
+
_ASMRH,
|
|
203
|
+
{
|
|
204
|
+
_a: MappingProxyType({"name": "sagemaker"}),
|
|
205
|
+
_aw: MappingProxyType(
|
|
206
|
+
{
|
|
207
|
+
"sdkId": "SageMaker Runtime HTTP2",
|
|
208
|
+
"arnNamespace": "sagemaker",
|
|
209
|
+
"cloudFormationName": "SageMakerRuntime",
|
|
210
|
+
"endpointPrefix": "runtime.sagemaker",
|
|
211
|
+
}
|
|
212
|
+
),
|
|
213
|
+
_aJ: MappingProxyType({"http": ("h2",), "eventStreamHttp": ("h2",)}),
|
|
214
|
+
},
|
|
215
|
+
)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Code generated by smithy-python-codegen DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
from importlib import import_module
|
|
4
|
+
from typing import Any, TYPE_CHECKING
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from .client import AsyncSageMakerRuntimeHTTP2Client
|
|
9
|
+
from .config import AsyncSageMakerRuntimeHTTP2Config
|
|
10
|
+
|
|
11
|
+
__all__ = ["AsyncSageMakerRuntimeHTTP2Client", "AsyncSageMakerRuntimeHTTP2Config"]
|
|
12
|
+
|
|
13
|
+
_EXPORTS = {
|
|
14
|
+
"AsyncSageMakerRuntimeHTTP2Client": ".client",
|
|
15
|
+
"AsyncSageMakerRuntimeHTTP2Config": ".config",
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def __getattr__(name: str) -> Any:
|
|
20
|
+
if name in _EXPORTS:
|
|
21
|
+
return getattr(import_module(_EXPORTS[name], __name__), name)
|
|
22
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|