aws_sdk_sagemaker_runtime_http2 0.7.0__tar.gz → 0.9.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.
Files changed (33) hide show
  1. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/.changes/0.4.0.json +1 -1
  2. aws_sdk_sagemaker_runtime_http2-0.9.0/.changes/0.8.0.json +16 -0
  3. aws_sdk_sagemaker_runtime_http2-0.9.0/.changes/0.9.0.json +12 -0
  4. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/.gitignore +1 -2
  5. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/CHANGELOG.md +16 -1
  6. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/Makefile +1 -1
  7. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/PKG-INFO +6 -6
  8. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/README.md +2 -2
  9. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/docs/README.md +1 -1
  10. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/pyproject.toml +5 -6
  11. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/scripts/docs/generate_doc_stubs.py +1 -1
  12. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/src/aws_sdk_sagemaker_runtime_http2/__init__.py +1 -1
  13. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/src/aws_sdk_sagemaker_runtime_http2/client.py +21 -2
  14. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/src/aws_sdk_sagemaker_runtime_http2/config.py +6 -1
  15. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/tests/test_protocol.py +2 -0
  16. aws_sdk_sagemaker_runtime_http2-0.9.0/zensical.toml +83 -0
  17. aws_sdk_sagemaker_runtime_http2-0.7.0/docs/hooks/copyright.py +0 -6
  18. aws_sdk_sagemaker_runtime_http2-0.7.0/mkdocs.yml +0 -96
  19. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/.changes/0.1.0.json +0 -0
  20. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/.changes/0.3.0.json +0 -0
  21. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/.changes/0.5.0.json +0 -0
  22. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/.changes/0.6.0.json +0 -0
  23. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/.changes/0.7.0.json +0 -0
  24. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/LICENSE +0 -0
  25. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/NOTICE +0 -0
  26. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/docs/index.md +0 -0
  27. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/docs/stylesheets/extra.css +0 -0
  28. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/src/aws_sdk_sagemaker_runtime_http2/_private/__init__.py +0 -0
  29. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/src/aws_sdk_sagemaker_runtime_http2/_private/schemas.py +0 -0
  30. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/src/aws_sdk_sagemaker_runtime_http2/auth.py +0 -0
  31. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/src/aws_sdk_sagemaker_runtime_http2/models.py +0 -0
  32. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/src/aws_sdk_sagemaker_runtime_http2/user_agent.py +0 -0
  33. {aws_sdk_sagemaker_runtime_http2-0.7.0 → aws_sdk_sagemaker_runtime_http2-0.9.0}/tests/__init__.py +0 -0
@@ -2,7 +2,7 @@
2
2
  "changes": [
3
3
  {
4
4
  "type": "enhancement",
5
- "description": "Update package docstrings from Sphinx style to Google style for improved readability and consistency with Python community standards. ([#48](https://github.com/awslabs/aws-sdk-python/pull/48))"
5
+ "description": "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))"
6
6
  },
7
7
  {
8
8
  "type": "enhancement",
@@ -0,0 +1,16 @@
1
+ {
2
+ "changes": [
3
+ {
4
+ "type": "enhancement",
5
+ "description": "Re-generated with smithy-python 0.4.0"
6
+ },
7
+ {
8
+ "type": "dependency",
9
+ "description": "Bump `smithy-aws-core` from `~=0.7.0` to `~=0.8.0`."
10
+ },
11
+ {
12
+ "type": "dependency",
13
+ "description": "Bump `smithy-core` from `~=0.6.0` to `~=0.7.0`."
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "changes": [
3
+ {
4
+ "type": "dependency",
5
+ "description": "Bump `smithy-core` from `~=0.7.0` to `~=0.8.0`."
6
+ },
7
+ {
8
+ "type": "dependency",
9
+ "description": "Bump `smithy-aws-core` from `~=0.8.0` to `~=0.9.0`."
10
+ }
11
+ ]
12
+ }
@@ -1,9 +1,8 @@
1
1
  # macOS system files
2
2
  .DS_Store
3
3
 
4
- # MkDocs build artifacts
4
+ # Docs build artifacts
5
5
  site/
6
- docs/SUMMARY.md
7
6
  docs/clients/
8
7
  **/docs/client/
9
8
 
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.9.0
4
+
5
+ ### Dependencies
6
+ * Bump `smithy-core` from `~=0.7.0` to `~=0.8.0`.
7
+ * Bump `smithy-aws-core` from `~=0.8.0` to `~=0.9.0`.
8
+
9
+ ## v0.8.0
10
+
11
+ ### Enhancements
12
+ * Re-generated with smithy-python 0.4.0
13
+
14
+ ### Dependencies
15
+ * Bump `smithy-aws-core` from `~=0.7.0` to `~=0.8.0`.
16
+ * Bump `smithy-core` from `~=0.6.0` to `~=0.7.0`.
17
+
3
18
  ## v0.7.0
4
19
 
5
20
  ### Enhancements
@@ -25,7 +40,7 @@
25
40
  ## v0.4.0
26
41
 
27
42
  ### Enhancements
28
- * Update package docstrings from Sphinx style to Google style for improved readability and consistency with Python community standards. ([#48](https://github.com/awslabs/aws-sdk-python/pull/48))
43
+ * 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))
29
44
  * Re-generated with smithy-python 0.3.0
30
45
 
31
46
  ## v0.3.0
@@ -18,7 +18,7 @@ docs-generate:
18
18
  uv run --no-sync python scripts/docs/generate_doc_stubs.py -c $(CLIENT_DIR) -o $(DOCS_OUTPUT_DIR)
19
19
 
20
20
  docs: docs-generate
21
- uv run --no-sync mkdocs build
21
+ uv run --no-sync zensical build
22
22
 
23
23
  docs-serve:
24
24
  @[ -d site ] || $(MAKE) docs
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: aws_sdk_sagemaker_runtime_http2
3
- Version: 0.7.0
3
+ Version: 0.9.0
4
4
  Summary: aws_sdk_sagemaker_runtime_http2 client
5
5
  License: Apache-2.0
6
6
  License-File: LICENSE
@@ -18,8 +18,8 @@ Classifier: Programming Language :: Python :: 3.12
18
18
  Classifier: Programming Language :: Python :: 3.13
19
19
  Classifier: Programming Language :: Python :: 3.14
20
20
  Requires-Python: >=3.12
21
- Requires-Dist: smithy-aws-core[eventstream,json]~=0.7.0
22
- Requires-Dist: smithy-core~=0.6.0
21
+ Requires-Dist: smithy-aws-core[eventstream,json]~=0.9.0
22
+ Requires-Dist: smithy-core~=0.8.0
23
23
  Requires-Dist: smithy-http[awscrt]~=0.4.0
24
24
  Description-Content-Type: text/markdown
25
25
 
@@ -34,6 +34,6 @@ Changes may result in breaking changes prior to the release of version
34
34
 
35
35
  Documentation is available in the `/docs` directory of this package.
36
36
  Pages can be built into portable HTML files for the time being. You can
37
- follow the instructions in the docs [README.md](https://github.com/awslabs/aws-sdk-python/blob/main/clients/aws-sdk-sagemaker-runtime-http2/docs/README.md).
37
+ follow the instructions in the docs [README.md](https://github.com/aws/aws-sdk-python/blob/main/clients/aws-sdk-sagemaker-runtime-http2/docs/README.md).
38
38
 
39
- For high-level documentation, you can view the [`dev-guide`](https://github.com/awslabs/aws-sdk-python/tree/main/dev-guide) at the top level of this repo.
39
+ For high-level documentation, you can view the [`dev-guide`](https://github.com/aws/aws-sdk-python/tree/main/dev-guide) at the top level of this repo.
@@ -9,6 +9,6 @@ Changes may result in breaking changes prior to the release of version
9
9
 
10
10
  Documentation is available in the `/docs` directory of this package.
11
11
  Pages can be built into portable HTML files for the time being. You can
12
- follow the instructions in the docs [README.md](https://github.com/awslabs/aws-sdk-python/blob/main/clients/aws-sdk-sagemaker-runtime-http2/docs/README.md).
12
+ follow the instructions in the docs [README.md](https://github.com/aws/aws-sdk-python/blob/main/clients/aws-sdk-sagemaker-runtime-http2/docs/README.md).
13
13
 
14
- For high-level documentation, you can view the [`dev-guide`](https://github.com/awslabs/aws-sdk-python/tree/main/dev-guide) at the top level of this repo.
14
+ For high-level documentation, you can view the [`dev-guide`](https://github.com/aws/aws-sdk-python/tree/main/dev-guide) at the top level of this repo.
@@ -1,6 +1,6 @@
1
1
  ## Generating Client Documentation
2
2
 
3
- Material for MkDocs is used for documentation. You can generate the documentation HTML
3
+ Zensical is used for documentation. You can generate the documentation HTML
4
4
  for this client locally with the following:
5
5
 
6
6
  ```bash
@@ -2,7 +2,7 @@
2
2
 
3
3
  [project]
4
4
  name = "aws_sdk_sagemaker_runtime_http2"
5
- version = "0.7.0"
5
+ version = "0.9.0"
6
6
  description = "aws_sdk_sagemaker_runtime_http2 client"
7
7
  readme = "README.md"
8
8
  requires-python = ">=3.12"
@@ -23,16 +23,15 @@ classifiers = [
23
23
  ]
24
24
 
25
25
  dependencies = [
26
- "smithy_aws_core[eventstream, json]~=0.7.0",
27
- "smithy_core~=0.6.0",
26
+ "smithy_aws_core[eventstream, json]~=0.9.0",
27
+ "smithy_core~=0.8.0",
28
28
  "smithy_http[awscrt]~=0.4.0"
29
29
  ]
30
30
 
31
31
  [dependency-groups]
32
32
  docs = [
33
- "mkdocs==1.6.1",
34
- "mkdocs-material==9.7.0",
35
- "mkdocstrings[python]==1.0.0",
33
+ "mkdocstrings[python]~=1.0.4",
34
+ "zensical~=0.0.53",
36
35
  ]
37
36
  test = [
38
37
  "pytest>=9.0.1,<10.0.0",
@@ -1,7 +1,7 @@
1
1
  """
2
2
  Generate markdown API Reference stubs for AWS SDK for Python clients.
3
3
 
4
- This script generates MkDocs markdown stub files for a single client package.
4
+ This script generates markdown stub files for a single client package.
5
5
  It uses griffe to analyze the Python source and outputs mkdocstrings directives
6
6
  for the client, operations, models (structures, unions, enums), and errors.
7
7
  """
@@ -1,3 +1,3 @@
1
1
  # Code generated by smithy-python-codegen DO NOT EDIT.
2
2
 
3
- __version__: str = "0.7.0"
3
+ __version__: str = "0.9.0"
@@ -2,6 +2,8 @@
2
2
 
3
3
  from copy import deepcopy
4
4
  import logging
5
+ from typing import Any, TYPE_CHECKING
6
+ import warnings
5
7
 
6
8
  from smithy_core.aio.client import ClientCall, RequestPipeline
7
9
  from smithy_core.aio.eventstream import DuplexEventStream
@@ -26,14 +28,14 @@ from .user_agent import aws_user_agent_plugin
26
28
  logger = logging.getLogger(__name__)
27
29
 
28
30
 
29
- class SageMakerRuntimeHTTP2Client:
31
+ class AsyncSageMakerRuntimeHTTP2Client:
30
32
  """The Amazon SageMaker AI runtime HTTP/2 API."""
31
33
 
32
34
  def __init__(
33
35
  self, config: Config | None = None, plugins: list[Plugin] | None = None
34
36
  ):
35
37
  """
36
- Constructor for `SageMakerRuntimeHTTP2Client`.
38
+ Constructor for `AsyncSageMakerRuntimeHTTP2Client`.
37
39
 
38
40
  Args:
39
41
  config:
@@ -145,3 +147,20 @@ class SageMakerRuntimeHTTP2Client:
145
147
  ResponseStreamEvent,
146
148
  _ResponseStreamEventDeserializer().deserialize,
147
149
  )
150
+
151
+
152
+ if TYPE_CHECKING:
153
+ # Deprecated alias for backwards compatibility, to be removed.
154
+ SageMakerRuntimeHTTP2Client = AsyncSageMakerRuntimeHTTP2Client
155
+
156
+
157
+ def __getattr__(name: str) -> Any:
158
+ if name == "SageMakerRuntimeHTTP2Client":
159
+ warnings.warn(
160
+ "SageMakerRuntimeHTTP2Client is deprecated, use AsyncSageMakerRuntimeHTTP2Client instead. "
161
+ "This alias will be removed in a future version.",
162
+ DeprecationWarning,
163
+ stacklevel=2,
164
+ )
165
+ return AsyncSageMakerRuntimeHTTP2Client
166
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
@@ -107,7 +107,12 @@ class Config:
107
107
  """
108
108
 
109
109
  transport: ClientTransport[Any, Any] | None
110
- """The transport to use to send requests (e.g. an HTTP client)."""
110
+ """
111
+ The transport to use to send requests (e.g. an HTTP client). Operations
112
+ with bidirectional event streams require a DuplexClientTransport, such
113
+ as AWSCRTHTTPClient. Transports are assumed not to support duplex
114
+ streaming unless they explicitly set SUPPORTS_DUPLEX_STREAMING to True.
115
+ """
111
116
 
112
117
  user_agent_extra: str | None
113
118
  """Additional suffix to be added to the User-Agent header."""
@@ -23,6 +23,7 @@ class RequestTestHTTPClient:
23
23
  """An asynchronous HTTP client solely for testing purposes."""
24
24
 
25
25
  TIMEOUT_EXCEPTIONS = ()
26
+ SUPPORTS_DUPLEX_STREAMING: bool = True
26
27
 
27
28
  def __init__(self, *, client_config: HTTPClientConfiguration | None = None):
28
29
  self._client_config = client_config
@@ -41,6 +42,7 @@ class ResponseTestHTTPClient:
41
42
  """An asynchronous HTTP client solely for testing purposes."""
42
43
 
43
44
  TIMEOUT_EXCEPTIONS = ()
45
+ SUPPORTS_DUPLEX_STREAMING: bool = True
44
46
 
45
47
  def __init__(
46
48
  self,
@@ -0,0 +1,83 @@
1
+ [project]
2
+ site_name = "AWS SDK for Python - Sagemaker Runtime Http2"
3
+ site_description = "Documentation for AWS Sagemaker Runtime Http2 Client"
4
+ site_author = "Amazon Web Services"
5
+
6
+ repo_name = "aws/aws-sdk-python"
7
+ repo_url = "https://github.com/aws/aws-sdk-python"
8
+
9
+ copyright = "&copy; 2026, Amazon Web Services, Inc. or its affiliates. All rights reserved."
10
+
11
+ exclude_docs = "README.md"
12
+
13
+ extra_css = ["stylesheets/extra.css"]
14
+
15
+ nav = [
16
+ { Overview = "index.md" },
17
+ { Client = "client/index.md" },
18
+ ]
19
+
20
+ [project.theme]
21
+ language = "en"
22
+
23
+ features = [
24
+ "content.code.copy",
25
+ "navigation.indexes",
26
+ "navigation.instant",
27
+ "navigation.top",
28
+ "search.highlight",
29
+ "search.suggest",
30
+ "toc.follow",
31
+ ]
32
+
33
+ [[project.theme.palette]]
34
+ media = "(prefers-color-scheme)"
35
+ toggle.icon = "lucide/sun-moon"
36
+ toggle.name = "Switch to light mode"
37
+
38
+ [[project.theme.palette]]
39
+ media = "(prefers-color-scheme: light)"
40
+ scheme = "default"
41
+ toggle.icon = "lucide/sun"
42
+ toggle.name = "Switch to dark mode"
43
+
44
+ [[project.theme.palette]]
45
+ media = "(prefers-color-scheme: dark)"
46
+ scheme = "slate"
47
+ toggle.icon = "lucide/moon"
48
+ toggle.name = "Switch to system preference"
49
+
50
+ [project.markdown_extensions.admonition]
51
+ [project.markdown_extensions.def_list]
52
+ [project.markdown_extensions.toc]
53
+ permalink = true
54
+ toc_depth = 3
55
+ [project.markdown_extensions.pymdownx.highlight]
56
+ [project.markdown_extensions.pymdownx.inlinehilite]
57
+ [project.markdown_extensions.pymdownx.superfences]
58
+ [project.markdown_extensions.pymdownx.snippets]
59
+ check_paths = true
60
+
61
+ [project.plugins.mkdocstrings.handlers.python]
62
+ inventories = ["https://docs.python.org/3/objects.inv"]
63
+ paths = ["src"]
64
+
65
+ [project.plugins.mkdocstrings.handlers.python.options]
66
+ show_source = false
67
+ show_signature = true
68
+ show_signature_annotations = true
69
+ show_root_heading = true
70
+ show_root_full_path = false
71
+ show_object_full_path = false
72
+ show_symbol_type_heading = true
73
+ show_symbol_type_toc = true
74
+ show_if_no_docstring = true
75
+ show_category_heading = true
76
+ group_by_category = true
77
+ separate_signature = true
78
+ signature_crossrefs = true
79
+ filters = [
80
+ "!^_",
81
+ "!^deserialize",
82
+ "!^serialize",
83
+ ]
@@ -1,6 +0,0 @@
1
- from datetime import datetime
2
-
3
-
4
- def on_config(config, **kwargs):
5
- config.copyright = f"Copyright &copy; {datetime.now().year}, Amazon Web Services, Inc"
6
- return config
@@ -1,96 +0,0 @@
1
- site_name: AWS SDK for Python - Sagemaker Runtime Http2
2
- site_description: Documentation for AWS Sagemaker Runtime Http2 Client
3
-
4
- repo_name: awslabs/aws-sdk-python
5
- repo_url: https://github.com/awslabs/aws-sdk-python
6
-
7
- exclude_docs: |
8
- README.md
9
-
10
- hooks:
11
- - docs/hooks/copyright.py
12
-
13
- theme:
14
- name: material
15
- favicon: ""
16
- palette:
17
- # Palette toggle for automatic mode
18
- - media: "(prefers-color-scheme)"
19
- scheme: default
20
- toggle:
21
- icon: material/brightness-auto
22
- name: Switch to light mode
23
- primary: white
24
- # Palette toggle for light mode
25
- - media: "(prefers-color-scheme: light)"
26
- scheme: default
27
- toggle:
28
- icon: material/brightness-7
29
- name: Switch to dark mode
30
- primary: white
31
- # Palette toggle for dark mode
32
- - media: "(prefers-color-scheme: dark)"
33
- scheme: slate
34
- toggle:
35
- icon: material/brightness-4
36
- name: Switch to system preference
37
- primary: black
38
- features:
39
- - navigation.indexes
40
- - navigation.instant
41
- - navigation.top
42
- - search.suggest
43
- - search.highlight
44
- - content.code.copy
45
-
46
- plugins:
47
- - search
48
- - mkdocstrings:
49
- handlers:
50
- python:
51
- options:
52
- show_source: false
53
- show_signature: true
54
- show_signature_annotations: true
55
- show_root_heading: true
56
- show_root_full_path: false
57
- show_object_full_path: false
58
- show_symbol_type_heading: true
59
- show_symbol_type_toc: true
60
- show_if_no_docstring: true
61
- show_category_heading: true
62
- group_by_category: true
63
- separate_signature: true
64
- signature_crossrefs: true
65
- filters:
66
- - "!^_"
67
- - "!^deserialize"
68
- - "!^serialize"
69
-
70
- markdown_extensions:
71
- - pymdownx.highlight
72
- - pymdownx.inlinehilite
73
- - pymdownx.snippets:
74
- check_paths: true
75
- - pymdownx.superfences
76
- - admonition
77
- - def_list
78
- - toc:
79
- permalink: true
80
- toc_depth: 3
81
-
82
- nav:
83
- - Overview: index.md
84
- - Client: client/index.md
85
-
86
- extra:
87
- social:
88
- - icon: fontawesome/brands/github
89
- link: https://github.com/awslabs/aws-sdk-python
90
-
91
- extra_css:
92
- - stylesheets/extra.css
93
-
94
- validation:
95
- nav:
96
- omitted_files: ignore