types-boto3-bedrock-runtime 1.40.61__py3-none-any.whl → 1.40.76__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.
- types_boto3_bedrock_runtime/__main__.py +4 -4
- types_boto3_bedrock_runtime/client.py +14 -18
- types_boto3_bedrock_runtime/client.pyi +14 -18
- types_boto3_bedrock_runtime/literals.py +5 -0
- types_boto3_bedrock_runtime/literals.pyi +5 -0
- types_boto3_bedrock_runtime/type_defs.py +120 -64
- types_boto3_bedrock_runtime/type_defs.pyi +116 -61
- types_boto3_bedrock_runtime/version.py +1 -1
- {types_boto3_bedrock_runtime-1.40.61.dist-info → types_boto3_bedrock_runtime-1.40.76.dist-info}/METADATA +11 -25
- types_boto3_bedrock_runtime-1.40.76.dist-info/RECORD +18 -0
- types_boto3_bedrock_runtime-1.40.61.dist-info/RECORD +0 -18
- {types_boto3_bedrock_runtime-1.40.61.dist-info → types_boto3_bedrock_runtime-1.40.76.dist-info}/WHEEL +0 -0
- {types_boto3_bedrock_runtime-1.40.61.dist-info → types_boto3_bedrock_runtime-1.40.76.dist-info}/licenses/LICENSE +0 -0
- {types_boto3_bedrock_runtime-1.40.61.dist-info → types_boto3_bedrock_runtime-1.40.76.dist-info}/top_level.txt +0 -0
|
@@ -12,9 +12,9 @@ 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.
|
|
17
|
-
"Builder version: 8.
|
|
15
|
+
"Type annotations for boto3 BedrockRuntime 1.40.76\n"
|
|
16
|
+
"Version: 1.40.76\n"
|
|
17
|
+
"Builder version: 8.12.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"
|
|
20
20
|
"Other services: https://pypi.org/project/boto3-stubs/\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.76\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -19,6 +19,7 @@ Usage::
|
|
|
19
19
|
from __future__ import annotations
|
|
20
20
|
|
|
21
21
|
import sys
|
|
22
|
+
from collections.abc import Mapping
|
|
22
23
|
from typing import Any
|
|
23
24
|
|
|
24
25
|
from botocore.client import BaseClient, ClientMeta
|
|
@@ -49,11 +50,6 @@ from .type_defs import (
|
|
|
49
50
|
StartAsyncInvokeResponseTypeDef,
|
|
50
51
|
)
|
|
51
52
|
|
|
52
|
-
if sys.version_info >= (3, 9):
|
|
53
|
-
from builtins import type as Type
|
|
54
|
-
from collections.abc import Mapping
|
|
55
|
-
else:
|
|
56
|
-
from typing import Mapping, Type
|
|
57
53
|
if sys.version_info >= (3, 12):
|
|
58
54
|
from typing import Literal, Unpack
|
|
59
55
|
else:
|
|
@@ -64,19 +60,19 @@ __all__ = ("BedrockRuntimeClient",)
|
|
|
64
60
|
|
|
65
61
|
|
|
66
62
|
class Exceptions(BaseClientExceptions):
|
|
67
|
-
AccessDeniedException:
|
|
68
|
-
ClientError:
|
|
69
|
-
ConflictException:
|
|
70
|
-
InternalServerException:
|
|
71
|
-
ModelErrorException:
|
|
72
|
-
ModelNotReadyException:
|
|
73
|
-
ModelStreamErrorException:
|
|
74
|
-
ModelTimeoutException:
|
|
75
|
-
ResourceNotFoundException:
|
|
76
|
-
ServiceQuotaExceededException:
|
|
77
|
-
ServiceUnavailableException:
|
|
78
|
-
ThrottlingException:
|
|
79
|
-
ValidationException:
|
|
63
|
+
AccessDeniedException: type[BotocoreClientError]
|
|
64
|
+
ClientError: type[BotocoreClientError]
|
|
65
|
+
ConflictException: type[BotocoreClientError]
|
|
66
|
+
InternalServerException: type[BotocoreClientError]
|
|
67
|
+
ModelErrorException: type[BotocoreClientError]
|
|
68
|
+
ModelNotReadyException: type[BotocoreClientError]
|
|
69
|
+
ModelStreamErrorException: type[BotocoreClientError]
|
|
70
|
+
ModelTimeoutException: type[BotocoreClientError]
|
|
71
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
72
|
+
ServiceQuotaExceededException: type[BotocoreClientError]
|
|
73
|
+
ServiceUnavailableException: type[BotocoreClientError]
|
|
74
|
+
ThrottlingException: type[BotocoreClientError]
|
|
75
|
+
ValidationException: type[BotocoreClientError]
|
|
80
76
|
|
|
81
77
|
|
|
82
78
|
class BedrockRuntimeClient(BaseClient):
|
|
@@ -19,6 +19,7 @@ Usage::
|
|
|
19
19
|
from __future__ import annotations
|
|
20
20
|
|
|
21
21
|
import sys
|
|
22
|
+
from collections.abc import Mapping
|
|
22
23
|
from typing import Any
|
|
23
24
|
|
|
24
25
|
from botocore.client import BaseClient, ClientMeta
|
|
@@ -49,11 +50,6 @@ from .type_defs import (
|
|
|
49
50
|
StartAsyncInvokeResponseTypeDef,
|
|
50
51
|
)
|
|
51
52
|
|
|
52
|
-
if sys.version_info >= (3, 9):
|
|
53
|
-
from builtins import type as Type
|
|
54
|
-
from collections.abc import Mapping
|
|
55
|
-
else:
|
|
56
|
-
from typing import Mapping, Type
|
|
57
53
|
if sys.version_info >= (3, 12):
|
|
58
54
|
from typing import Literal, Unpack
|
|
59
55
|
else:
|
|
@@ -62,19 +58,19 @@ else:
|
|
|
62
58
|
__all__ = ("BedrockRuntimeClient",)
|
|
63
59
|
|
|
64
60
|
class Exceptions(BaseClientExceptions):
|
|
65
|
-
AccessDeniedException:
|
|
66
|
-
ClientError:
|
|
67
|
-
ConflictException:
|
|
68
|
-
InternalServerException:
|
|
69
|
-
ModelErrorException:
|
|
70
|
-
ModelNotReadyException:
|
|
71
|
-
ModelStreamErrorException:
|
|
72
|
-
ModelTimeoutException:
|
|
73
|
-
ResourceNotFoundException:
|
|
74
|
-
ServiceQuotaExceededException:
|
|
75
|
-
ServiceUnavailableException:
|
|
76
|
-
ThrottlingException:
|
|
77
|
-
ValidationException:
|
|
61
|
+
AccessDeniedException: type[BotocoreClientError]
|
|
62
|
+
ClientError: type[BotocoreClientError]
|
|
63
|
+
ConflictException: type[BotocoreClientError]
|
|
64
|
+
InternalServerException: type[BotocoreClientError]
|
|
65
|
+
ModelErrorException: type[BotocoreClientError]
|
|
66
|
+
ModelNotReadyException: type[BotocoreClientError]
|
|
67
|
+
ModelStreamErrorException: type[BotocoreClientError]
|
|
68
|
+
ModelTimeoutException: type[BotocoreClientError]
|
|
69
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
70
|
+
ServiceQuotaExceededException: type[BotocoreClientError]
|
|
71
|
+
ServiceUnavailableException: type[BotocoreClientError]
|
|
72
|
+
ThrottlingException: type[BotocoreClientError]
|
|
73
|
+
ValidationException: type[BotocoreClientError]
|
|
78
74
|
|
|
79
75
|
class BedrockRuntimeClient(BaseClient):
|
|
80
76
|
"""
|
|
@@ -56,10 +56,12 @@ __all__ = (
|
|
|
56
56
|
"PerformanceConfigLatencyType",
|
|
57
57
|
"ResourceServiceName",
|
|
58
58
|
"ServiceName",
|
|
59
|
+
"ServiceTierTypeType",
|
|
59
60
|
"SortAsyncInvocationByType",
|
|
60
61
|
"SortOrderType",
|
|
61
62
|
"StopReasonType",
|
|
62
63
|
"ToolResultStatusType",
|
|
64
|
+
"ToolUseTypeType",
|
|
63
65
|
"TraceType",
|
|
64
66
|
"VideoFormatType",
|
|
65
67
|
)
|
|
@@ -128,6 +130,7 @@ GuardrailWordPolicyActionType = Literal["BLOCKED", "NONE"]
|
|
|
128
130
|
ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
|
|
129
131
|
ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
|
|
130
132
|
PerformanceConfigLatencyType = Literal["optimized", "standard"]
|
|
133
|
+
ServiceTierTypeType = Literal["default", "flex", "priority"]
|
|
131
134
|
SortAsyncInvocationByType = Literal["SubmissionTime"]
|
|
132
135
|
SortOrderType = Literal["Ascending", "Descending"]
|
|
133
136
|
StopReasonType = Literal[
|
|
@@ -140,6 +143,7 @@ StopReasonType = Literal[
|
|
|
140
143
|
"tool_use",
|
|
141
144
|
]
|
|
142
145
|
ToolResultStatusType = Literal["error", "success"]
|
|
146
|
+
ToolUseTypeType = Literal["server_tool_use", "tool_use"]
|
|
143
147
|
TraceType = Literal["DISABLED", "ENABLED", "ENABLED_FULL"]
|
|
144
148
|
VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
|
|
145
149
|
BedrockRuntimeServiceName = Literal["bedrock-runtime"]
|
|
@@ -408,6 +412,7 @@ ServiceName = Literal[
|
|
|
408
412
|
"mq",
|
|
409
413
|
"mturk",
|
|
410
414
|
"mwaa",
|
|
415
|
+
"mwaa-serverless",
|
|
411
416
|
"neptune",
|
|
412
417
|
"neptune-graph",
|
|
413
418
|
"neptunedata",
|
|
@@ -55,10 +55,12 @@ __all__ = (
|
|
|
55
55
|
"PerformanceConfigLatencyType",
|
|
56
56
|
"ResourceServiceName",
|
|
57
57
|
"ServiceName",
|
|
58
|
+
"ServiceTierTypeType",
|
|
58
59
|
"SortAsyncInvocationByType",
|
|
59
60
|
"SortOrderType",
|
|
60
61
|
"StopReasonType",
|
|
61
62
|
"ToolResultStatusType",
|
|
63
|
+
"ToolUseTypeType",
|
|
62
64
|
"TraceType",
|
|
63
65
|
"VideoFormatType",
|
|
64
66
|
)
|
|
@@ -126,6 +128,7 @@ GuardrailWordPolicyActionType = Literal["BLOCKED", "NONE"]
|
|
|
126
128
|
ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
|
|
127
129
|
ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
|
|
128
130
|
PerformanceConfigLatencyType = Literal["optimized", "standard"]
|
|
131
|
+
ServiceTierTypeType = Literal["default", "flex", "priority"]
|
|
129
132
|
SortAsyncInvocationByType = Literal["SubmissionTime"]
|
|
130
133
|
SortOrderType = Literal["Ascending", "Descending"]
|
|
131
134
|
StopReasonType = Literal[
|
|
@@ -138,6 +141,7 @@ StopReasonType = Literal[
|
|
|
138
141
|
"tool_use",
|
|
139
142
|
]
|
|
140
143
|
ToolResultStatusType = Literal["error", "success"]
|
|
144
|
+
ToolUseTypeType = Literal["server_tool_use", "tool_use"]
|
|
141
145
|
TraceType = Literal["DISABLED", "ENABLED", "ENABLED_FULL"]
|
|
142
146
|
VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
|
|
143
147
|
BedrockRuntimeServiceName = Literal["bedrock-runtime"]
|
|
@@ -406,6 +410,7 @@ ServiceName = Literal[
|
|
|
406
410
|
"mq",
|
|
407
411
|
"mturk",
|
|
408
412
|
"mwaa",
|
|
413
|
+
"mwaa-serverless",
|
|
409
414
|
"neptune",
|
|
410
415
|
"neptune-graph",
|
|
411
416
|
"neptunedata",
|