types-boto3-bedrock-runtime 1.37.29__tar.gz → 1.37.30__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.
- {types_boto3_bedrock_runtime-1.37.29/types_boto3_bedrock_runtime.egg-info → types_boto3_bedrock_runtime-1.37.30}/PKG-INFO +4 -4
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/README.md +2 -2
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/setup.py +2 -2
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/__main__.py +3 -3
- types_boto3_bedrock_runtime-1.37.29/types_boto3_bedrock_runtime/client.pyi → types_boto3_bedrock_runtime-1.37.30/types_boto3_bedrock_runtime/client.py +16 -0
- types_boto3_bedrock_runtime-1.37.29/types_boto3_bedrock_runtime/client.py → types_boto3_bedrock_runtime-1.37.30/types_boto3_bedrock_runtime/client.pyi +13 -3
- types_boto3_bedrock_runtime-1.37.29/types_boto3_bedrock_runtime/type_defs.pyi → types_boto3_bedrock_runtime-1.37.30/types_boto3_bedrock_runtime/type_defs.py +166 -4
- types_boto3_bedrock_runtime-1.37.29/types_boto3_bedrock_runtime/type_defs.py → types_boto3_bedrock_runtime-1.37.30/types_boto3_bedrock_runtime/type_defs.pyi +36 -121
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/version.py +1 -1
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30/types_boto3_bedrock_runtime.egg-info}/PKG-INFO +4 -4
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/LICENSE +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/setup.cfg +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/__init__.py +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/__init__.pyi +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/literals.py +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/literals.pyi +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/paginator.py +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/paginator.pyi +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime/py.typed +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime.egg-info/SOURCES.txt +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime.egg-info/dependency_links.txt +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime.egg-info/not-zip-safe +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime.egg-info/requires.txt +0 -0
- {types_boto3_bedrock_runtime-1.37.29 → types_boto3_bedrock_runtime-1.37.30}/types_boto3_bedrock_runtime.egg-info/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-boto3-bedrock-runtime
|
|
3
|
-
Version: 1.37.
|
|
4
|
-
Summary: Type annotations for boto3 BedrockRuntime 1.37.
|
|
3
|
+
Version: 1.37.30
|
|
4
|
+
Summary: Type annotations for boto3 BedrockRuntime 1.37.30 service generated with mypy-boto3-builder 8.10.1
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -57,7 +57,7 @@ Dynamic: summary
|
|
|
57
57
|

|
|
58
58
|
|
|
59
59
|
Type annotations for
|
|
60
|
-
[boto3 BedrockRuntime 1.37.
|
|
60
|
+
[boto3 BedrockRuntime 1.37.30](https://pypi.org/project/boto3/) compatible with
|
|
61
61
|
[VSCode](https://code.visualstudio.com/),
|
|
62
62
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
63
63
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -119,7 +119,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
119
119
|
isolation.
|
|
120
120
|
|
|
121
121
|
1. Run mypy-boto3-builder in your package root directory:
|
|
122
|
-
`uvx --with 'boto3==1.37.
|
|
122
|
+
`uvx --with 'boto3==1.37.30' mypy-boto3-builder`
|
|
123
123
|
2. Select `boto3` AWS SDK.
|
|
124
124
|
3. Add `BedrockRuntime` service.
|
|
125
125
|
4. Use provided commands to install generated packages.
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3 BedrockRuntime 1.37.
|
|
13
|
+
[boto3 BedrockRuntime 1.37.30](https://pypi.org/project/boto3/) compatible with
|
|
14
14
|
[VSCode](https://code.visualstudio.com/),
|
|
15
15
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
16
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -72,7 +72,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
72
72
|
isolation.
|
|
73
73
|
|
|
74
74
|
1. Run mypy-boto3-builder in your package root directory:
|
|
75
|
-
`uvx --with 'boto3==1.37.
|
|
75
|
+
`uvx --with 'boto3==1.37.30' mypy-boto3-builder`
|
|
76
76
|
2. Select `boto3` AWS SDK.
|
|
77
77
|
3. Add `BedrockRuntime` service.
|
|
78
78
|
4. Use provided commands to install generated packages.
|
|
@@ -13,13 +13,13 @@ LONG_DESCRIPTION = (Path(__file__).parent / "README.md").read_text()
|
|
|
13
13
|
|
|
14
14
|
setup(
|
|
15
15
|
name="types-boto3-bedrock-runtime",
|
|
16
|
-
version="1.37.
|
|
16
|
+
version="1.37.30",
|
|
17
17
|
packages=["types_boto3_bedrock_runtime"],
|
|
18
18
|
url="https://github.com/youtype/mypy_boto3_builder",
|
|
19
19
|
license="MIT License",
|
|
20
20
|
author="Vlad Emelianov",
|
|
21
21
|
author_email="vlad.emelianov.nz@gmail.com",
|
|
22
|
-
description="Type annotations for boto3 BedrockRuntime 1.37.
|
|
22
|
+
description="Type annotations for boto3 BedrockRuntime 1.37.30 service generated with mypy-boto3-builder 8.10.1",
|
|
23
23
|
classifiers=[
|
|
24
24
|
"Development Status :: 5 - Production/Stable",
|
|
25
25
|
"Intended Audience :: Developers",
|
|
@@ -12,8 +12,8 @@ def print_info() -> None:
|
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
14
|
sys.stdout.write(
|
|
15
|
-
"Type annotations for boto3 BedrockRuntime 1.37.
|
|
16
|
-
"Version: 1.37.
|
|
15
|
+
"Type annotations for boto3 BedrockRuntime 1.37.30\n"
|
|
16
|
+
"Version: 1.37.30\n"
|
|
17
17
|
"Builder version: 8.10.1\n"
|
|
18
18
|
"Docs: https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#bedrockruntime\n"
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
sys.stdout.write("1.37.
|
|
29
|
+
sys.stdout.write("1.37.30\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -37,6 +37,8 @@ from .type_defs import (
|
|
|
37
37
|
GetAsyncInvokeResponseTypeDef,
|
|
38
38
|
InvokeModelRequestTypeDef,
|
|
39
39
|
InvokeModelResponseTypeDef,
|
|
40
|
+
InvokeModelWithBidirectionalStreamRequestTypeDef,
|
|
41
|
+
InvokeModelWithBidirectionalStreamResponseTypeDef,
|
|
40
42
|
InvokeModelWithResponseStreamRequestTypeDef,
|
|
41
43
|
InvokeModelWithResponseStreamResponseTypeDef,
|
|
42
44
|
ListAsyncInvokesRequestTypeDef,
|
|
@@ -55,8 +57,10 @@ if sys.version_info >= (3, 12):
|
|
|
55
57
|
else:
|
|
56
58
|
from typing_extensions import Literal, Unpack
|
|
57
59
|
|
|
60
|
+
|
|
58
61
|
__all__ = ("BedrockRuntimeClient",)
|
|
59
62
|
|
|
63
|
+
|
|
60
64
|
class Exceptions(BaseClientExceptions):
|
|
61
65
|
AccessDeniedException: Type[BotocoreClientError]
|
|
62
66
|
ClientError: Type[BotocoreClientError]
|
|
@@ -72,6 +76,7 @@ class Exceptions(BaseClientExceptions):
|
|
|
72
76
|
ThrottlingException: Type[BotocoreClientError]
|
|
73
77
|
ValidationException: Type[BotocoreClientError]
|
|
74
78
|
|
|
79
|
+
|
|
75
80
|
class BedrockRuntimeClient(BaseClient):
|
|
76
81
|
"""
|
|
77
82
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
|
|
@@ -157,6 +162,17 @@ class BedrockRuntimeClient(BaseClient):
|
|
|
157
162
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model)
|
|
158
163
|
"""
|
|
159
164
|
|
|
165
|
+
def invoke_model_with_bidirectional_stream(
|
|
166
|
+
self, **kwargs: Unpack[InvokeModelWithBidirectionalStreamRequestTypeDef]
|
|
167
|
+
) -> InvokeModelWithBidirectionalStreamResponseTypeDef:
|
|
168
|
+
"""
|
|
169
|
+
Invoke the specified Amazon Bedrock model to run inference using the
|
|
170
|
+
bidirectional stream.
|
|
171
|
+
|
|
172
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/invoke_model_with_bidirectional_stream.html)
|
|
173
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model_with_bidirectional_stream)
|
|
174
|
+
"""
|
|
175
|
+
|
|
160
176
|
def invoke_model_with_response_stream(
|
|
161
177
|
self, **kwargs: Unpack[InvokeModelWithResponseStreamRequestTypeDef]
|
|
162
178
|
) -> InvokeModelWithResponseStreamResponseTypeDef:
|
|
@@ -37,6 +37,8 @@ from .type_defs import (
|
|
|
37
37
|
GetAsyncInvokeResponseTypeDef,
|
|
38
38
|
InvokeModelRequestTypeDef,
|
|
39
39
|
InvokeModelResponseTypeDef,
|
|
40
|
+
InvokeModelWithBidirectionalStreamRequestTypeDef,
|
|
41
|
+
InvokeModelWithBidirectionalStreamResponseTypeDef,
|
|
40
42
|
InvokeModelWithResponseStreamRequestTypeDef,
|
|
41
43
|
InvokeModelWithResponseStreamResponseTypeDef,
|
|
42
44
|
ListAsyncInvokesRequestTypeDef,
|
|
@@ -55,10 +57,8 @@ if sys.version_info >= (3, 12):
|
|
|
55
57
|
else:
|
|
56
58
|
from typing_extensions import Literal, Unpack
|
|
57
59
|
|
|
58
|
-
|
|
59
60
|
__all__ = ("BedrockRuntimeClient",)
|
|
60
61
|
|
|
61
|
-
|
|
62
62
|
class Exceptions(BaseClientExceptions):
|
|
63
63
|
AccessDeniedException: Type[BotocoreClientError]
|
|
64
64
|
ClientError: Type[BotocoreClientError]
|
|
@@ -74,7 +74,6 @@ class Exceptions(BaseClientExceptions):
|
|
|
74
74
|
ThrottlingException: Type[BotocoreClientError]
|
|
75
75
|
ValidationException: Type[BotocoreClientError]
|
|
76
76
|
|
|
77
|
-
|
|
78
77
|
class BedrockRuntimeClient(BaseClient):
|
|
79
78
|
"""
|
|
80
79
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
|
|
@@ -160,6 +159,17 @@ class BedrockRuntimeClient(BaseClient):
|
|
|
160
159
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model)
|
|
161
160
|
"""
|
|
162
161
|
|
|
162
|
+
def invoke_model_with_bidirectional_stream(
|
|
163
|
+
self, **kwargs: Unpack[InvokeModelWithBidirectionalStreamRequestTypeDef]
|
|
164
|
+
) -> InvokeModelWithBidirectionalStreamResponseTypeDef:
|
|
165
|
+
"""
|
|
166
|
+
Invoke the specified Amazon Bedrock model to run inference using the
|
|
167
|
+
bidirectional stream.
|
|
168
|
+
|
|
169
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/invoke_model_with_bidirectional_stream.html)
|
|
170
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#invoke_model_with_bidirectional_stream)
|
|
171
|
+
"""
|
|
172
|
+
|
|
163
173
|
def invoke_model_with_response_stream(
|
|
164
174
|
self, **kwargs: Unpack[InvokeModelWithResponseStreamRequestTypeDef]
|
|
165
175
|
) -> InvokeModelWithResponseStreamResponseTypeDef:
|