types-boto3-bedrock-runtime 1.40.0__tar.gz → 1.40.14__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.40.0/types_boto3_bedrock_runtime.egg-info → types_boto3_bedrock_runtime-1.40.14}/PKG-INFO +4 -4
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/README.md +2 -2
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/setup.py +2 -2
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime/__main__.py +3 -3
- types_boto3_bedrock_runtime-1.40.0/types_boto3_bedrock_runtime/client.pyi → types_boto3_bedrock_runtime-1.40.14/types_boto3_bedrock_runtime/client.py +15 -0
- types_boto3_bedrock_runtime-1.40.0/types_boto3_bedrock_runtime/client.py → types_boto3_bedrock_runtime-1.40.14/types_boto3_bedrock_runtime/client.pyi +12 -3
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime/literals.py +5 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime/literals.pyi +5 -0
- types_boto3_bedrock_runtime-1.40.0/types_boto3_bedrock_runtime/type_defs.pyi → types_boto3_bedrock_runtime-1.40.14/types_boto3_bedrock_runtime/type_defs.py +328 -54
- types_boto3_bedrock_runtime-1.40.0/types_boto3_bedrock_runtime/type_defs.py → types_boto3_bedrock_runtime-1.40.14/types_boto3_bedrock_runtime/type_defs.pyi +163 -187
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime/version.py +1 -1
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14/types_boto3_bedrock_runtime.egg-info}/PKG-INFO +4 -4
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/LICENSE +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/setup.cfg +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime/__init__.py +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime/__init__.pyi +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime/paginator.py +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime/paginator.pyi +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime/py.typed +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime.egg-info/SOURCES.txt +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime.egg-info/dependency_links.txt +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime.egg-info/not-zip-safe +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/types_boto3_bedrock_runtime.egg-info/requires.txt +0 -0
- {types_boto3_bedrock_runtime-1.40.0 → types_boto3_bedrock_runtime-1.40.14}/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.40.
|
|
4
|
-
Summary: Type annotations for boto3 BedrockRuntime 1.40.
|
|
3
|
+
Version: 1.40.14
|
|
4
|
+
Summary: Type annotations for boto3 BedrockRuntime 1.40.14 service generated with mypy-boto3-builder 8.11.0
|
|
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.40.
|
|
60
|
+
[boto3 BedrockRuntime 1.40.14](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.40.
|
|
122
|
+
`uvx --with 'boto3==1.40.14' 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.40.
|
|
13
|
+
[boto3 BedrockRuntime 1.40.14](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.40.
|
|
75
|
+
`uvx --with 'boto3==1.40.14' 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.40.
|
|
16
|
+
version="1.40.14",
|
|
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.40.
|
|
22
|
+
description="Type annotations for boto3 BedrockRuntime 1.40.14 service generated with mypy-boto3-builder 8.11.0",
|
|
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.40.
|
|
16
|
-
"Version: 1.40.
|
|
15
|
+
"Type annotations for boto3 BedrockRuntime 1.40.14\n"
|
|
16
|
+
"Version: 1.40.14\n"
|
|
17
17
|
"Builder version: 8.11.0\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.40.
|
|
29
|
+
sys.stdout.write("1.40.14\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -33,6 +33,8 @@ from .type_defs import (
|
|
|
33
33
|
ConverseResponseTypeDef,
|
|
34
34
|
ConverseStreamRequestTypeDef,
|
|
35
35
|
ConverseStreamResponseTypeDef,
|
|
36
|
+
CountTokensRequestTypeDef,
|
|
37
|
+
CountTokensResponseTypeDef,
|
|
36
38
|
GetAsyncInvokeRequestTypeDef,
|
|
37
39
|
GetAsyncInvokeResponseTypeDef,
|
|
38
40
|
InvokeModelRequestTypeDef,
|
|
@@ -57,8 +59,10 @@ if sys.version_info >= (3, 12):
|
|
|
57
59
|
else:
|
|
58
60
|
from typing_extensions import Literal, Unpack
|
|
59
61
|
|
|
62
|
+
|
|
60
63
|
__all__ = ("BedrockRuntimeClient",)
|
|
61
64
|
|
|
65
|
+
|
|
62
66
|
class Exceptions(BaseClientExceptions):
|
|
63
67
|
AccessDeniedException: Type[BotocoreClientError]
|
|
64
68
|
ClientError: Type[BotocoreClientError]
|
|
@@ -74,6 +78,7 @@ class Exceptions(BaseClientExceptions):
|
|
|
74
78
|
ThrottlingException: Type[BotocoreClientError]
|
|
75
79
|
ValidationException: Type[BotocoreClientError]
|
|
76
80
|
|
|
81
|
+
|
|
77
82
|
class BedrockRuntimeClient(BaseClient):
|
|
78
83
|
"""
|
|
79
84
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
|
|
@@ -138,6 +143,16 @@ class BedrockRuntimeClient(BaseClient):
|
|
|
138
143
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#converse_stream)
|
|
139
144
|
"""
|
|
140
145
|
|
|
146
|
+
def count_tokens(
|
|
147
|
+
self, **kwargs: Unpack[CountTokensRequestTypeDef]
|
|
148
|
+
) -> CountTokensResponseTypeDef:
|
|
149
|
+
"""
|
|
150
|
+
Returns the token count for a given inference request.
|
|
151
|
+
|
|
152
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/count_tokens.html)
|
|
153
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#count_tokens)
|
|
154
|
+
"""
|
|
155
|
+
|
|
141
156
|
def get_async_invoke(
|
|
142
157
|
self, **kwargs: Unpack[GetAsyncInvokeRequestTypeDef]
|
|
143
158
|
) -> GetAsyncInvokeResponseTypeDef:
|
|
@@ -33,6 +33,8 @@ from .type_defs import (
|
|
|
33
33
|
ConverseResponseTypeDef,
|
|
34
34
|
ConverseStreamRequestTypeDef,
|
|
35
35
|
ConverseStreamResponseTypeDef,
|
|
36
|
+
CountTokensRequestTypeDef,
|
|
37
|
+
CountTokensResponseTypeDef,
|
|
36
38
|
GetAsyncInvokeRequestTypeDef,
|
|
37
39
|
GetAsyncInvokeResponseTypeDef,
|
|
38
40
|
InvokeModelRequestTypeDef,
|
|
@@ -57,10 +59,8 @@ if sys.version_info >= (3, 12):
|
|
|
57
59
|
else:
|
|
58
60
|
from typing_extensions import Literal, Unpack
|
|
59
61
|
|
|
60
|
-
|
|
61
62
|
__all__ = ("BedrockRuntimeClient",)
|
|
62
63
|
|
|
63
|
-
|
|
64
64
|
class Exceptions(BaseClientExceptions):
|
|
65
65
|
AccessDeniedException: Type[BotocoreClientError]
|
|
66
66
|
ClientError: Type[BotocoreClientError]
|
|
@@ -76,7 +76,6 @@ class Exceptions(BaseClientExceptions):
|
|
|
76
76
|
ThrottlingException: Type[BotocoreClientError]
|
|
77
77
|
ValidationException: Type[BotocoreClientError]
|
|
78
78
|
|
|
79
|
-
|
|
80
79
|
class BedrockRuntimeClient(BaseClient):
|
|
81
80
|
"""
|
|
82
81
|
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime.html#BedrockRuntime.Client)
|
|
@@ -141,6 +140,16 @@ class BedrockRuntimeClient(BaseClient):
|
|
|
141
140
|
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#converse_stream)
|
|
142
141
|
"""
|
|
143
142
|
|
|
143
|
+
def count_tokens(
|
|
144
|
+
self, **kwargs: Unpack[CountTokensRequestTypeDef]
|
|
145
|
+
) -> CountTokensResponseTypeDef:
|
|
146
|
+
"""
|
|
147
|
+
Returns the token count for a given inference request.
|
|
148
|
+
|
|
149
|
+
[Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bedrock-runtime/client/count_tokens.html)
|
|
150
|
+
[Show types-boto3 documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/client/#count_tokens)
|
|
151
|
+
"""
|
|
152
|
+
|
|
144
153
|
def get_async_invoke(
|
|
145
154
|
self, **kwargs: Unpack[GetAsyncInvokeRequestTypeDef]
|
|
146
155
|
) -> GetAsyncInvokeResponseTypeDef:
|
|
@@ -29,6 +29,7 @@ __all__ = (
|
|
|
29
29
|
"ConversationRoleType",
|
|
30
30
|
"DocumentFormatType",
|
|
31
31
|
"GuardrailActionType",
|
|
32
|
+
"GuardrailAutomatedReasoningLogicWarningTypeType",
|
|
32
33
|
"GuardrailContentFilterConfidenceType",
|
|
33
34
|
"GuardrailContentFilterStrengthType",
|
|
34
35
|
"GuardrailContentFilterTypeType",
|
|
@@ -69,6 +70,7 @@ CachePointTypeType = Literal["default"]
|
|
|
69
70
|
ConversationRoleType = Literal["assistant", "user"]
|
|
70
71
|
DocumentFormatType = Literal["csv", "doc", "docx", "html", "md", "pdf", "txt", "xls", "xlsx"]
|
|
71
72
|
GuardrailActionType = Literal["GUARDRAIL_INTERVENED", "NONE"]
|
|
73
|
+
GuardrailAutomatedReasoningLogicWarningTypeType = Literal["ALWAYS_FALSE", "ALWAYS_TRUE"]
|
|
72
74
|
GuardrailContentFilterConfidenceType = Literal["HIGH", "LOW", "MEDIUM", "NONE"]
|
|
73
75
|
GuardrailContentFilterStrengthType = Literal["HIGH", "LOW", "MEDIUM", "NONE"]
|
|
74
76
|
GuardrailContentFilterTypeType = Literal[
|
|
@@ -167,6 +169,7 @@ ServiceName = Literal[
|
|
|
167
169
|
"appstream",
|
|
168
170
|
"appsync",
|
|
169
171
|
"apptest",
|
|
172
|
+
"arc-region-switch",
|
|
170
173
|
"arc-zonal-shift",
|
|
171
174
|
"artifact",
|
|
172
175
|
"athena",
|
|
@@ -178,8 +181,10 @@ ServiceName = Literal[
|
|
|
178
181
|
"backup-gateway",
|
|
179
182
|
"backupsearch",
|
|
180
183
|
"batch",
|
|
184
|
+
"bcm-dashboards",
|
|
181
185
|
"bcm-data-exports",
|
|
182
186
|
"bcm-pricing-calculator",
|
|
187
|
+
"bcm-recommended-actions",
|
|
183
188
|
"bedrock",
|
|
184
189
|
"bedrock-agent",
|
|
185
190
|
"bedrock-agent-runtime",
|
|
@@ -28,6 +28,7 @@ __all__ = (
|
|
|
28
28
|
"ConversationRoleType",
|
|
29
29
|
"DocumentFormatType",
|
|
30
30
|
"GuardrailActionType",
|
|
31
|
+
"GuardrailAutomatedReasoningLogicWarningTypeType",
|
|
31
32
|
"GuardrailContentFilterConfidenceType",
|
|
32
33
|
"GuardrailContentFilterStrengthType",
|
|
33
34
|
"GuardrailContentFilterTypeType",
|
|
@@ -67,6 +68,7 @@ CachePointTypeType = Literal["default"]
|
|
|
67
68
|
ConversationRoleType = Literal["assistant", "user"]
|
|
68
69
|
DocumentFormatType = Literal["csv", "doc", "docx", "html", "md", "pdf", "txt", "xls", "xlsx"]
|
|
69
70
|
GuardrailActionType = Literal["GUARDRAIL_INTERVENED", "NONE"]
|
|
71
|
+
GuardrailAutomatedReasoningLogicWarningTypeType = Literal["ALWAYS_FALSE", "ALWAYS_TRUE"]
|
|
70
72
|
GuardrailContentFilterConfidenceType = Literal["HIGH", "LOW", "MEDIUM", "NONE"]
|
|
71
73
|
GuardrailContentFilterStrengthType = Literal["HIGH", "LOW", "MEDIUM", "NONE"]
|
|
72
74
|
GuardrailContentFilterTypeType = Literal[
|
|
@@ -165,6 +167,7 @@ ServiceName = Literal[
|
|
|
165
167
|
"appstream",
|
|
166
168
|
"appsync",
|
|
167
169
|
"apptest",
|
|
170
|
+
"arc-region-switch",
|
|
168
171
|
"arc-zonal-shift",
|
|
169
172
|
"artifact",
|
|
170
173
|
"athena",
|
|
@@ -176,8 +179,10 @@ ServiceName = Literal[
|
|
|
176
179
|
"backup-gateway",
|
|
177
180
|
"backupsearch",
|
|
178
181
|
"batch",
|
|
182
|
+
"bcm-dashboards",
|
|
179
183
|
"bcm-data-exports",
|
|
180
184
|
"bcm-pricing-calculator",
|
|
185
|
+
"bcm-recommended-actions",
|
|
181
186
|
"bedrock",
|
|
182
187
|
"bedrock-agent",
|
|
183
188
|
"bedrock-agent-runtime",
|