types-boto3-bedrock-runtime 1.42.3__py3-none-any.whl → 1.42.42__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/__init__.py +1 -1
- types_boto3_bedrock_runtime/__init__.pyi +1 -1
- types_boto3_bedrock_runtime/__main__.py +4 -4
- types_boto3_bedrock_runtime/client.py +1 -1
- types_boto3_bedrock_runtime/client.pyi +1 -1
- types_boto3_bedrock_runtime/literals.py +6 -2
- types_boto3_bedrock_runtime/literals.pyi +6 -2
- types_boto3_bedrock_runtime/paginator.py +1 -1
- types_boto3_bedrock_runtime/paginator.pyi +1 -1
- types_boto3_bedrock_runtime/type_defs.py +50 -9
- types_boto3_bedrock_runtime/type_defs.pyi +43 -8
- types_boto3_bedrock_runtime/version.py +2 -2
- {types_boto3_bedrock_runtime-1.42.3.dist-info → types_boto3_bedrock_runtime-1.42.42.dist-info}/METADATA +4 -4
- types_boto3_bedrock_runtime-1.42.42.dist-info/RECORD +18 -0
- {types_boto3_bedrock_runtime-1.42.3.dist-info → types_boto3_bedrock_runtime-1.42.42.dist-info}/WHEEL +1 -1
- {types_boto3_bedrock_runtime-1.42.3.dist-info → types_boto3_bedrock_runtime-1.42.42.dist-info}/licenses/LICENSE +1 -1
- types_boto3_bedrock_runtime-1.42.3.dist-info/RECORD +0 -18
- {types_boto3_bedrock_runtime-1.42.3.dist-info → types_boto3_bedrock_runtime-1.42.42.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
3
|
|
|
4
|
-
Copyright
|
|
4
|
+
Copyright 2026 Vlad Emelianov
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
import sys
|
|
@@ -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.42.
|
|
16
|
-
"Version: 1.42.
|
|
15
|
+
"Type annotations for boto3 BedrockRuntime 1.42.42\n"
|
|
16
|
+
"Version: 1.42.42\n"
|
|
17
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"
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
sys.stdout.write("1.42.
|
|
29
|
+
sys.stdout.write("1.42.42\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -3,7 +3,7 @@ Type annotations for bedrock-runtime service literal definitions.
|
|
|
3
3
|
|
|
4
4
|
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/literals/)
|
|
5
5
|
|
|
6
|
-
Copyright
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
7
|
|
|
8
8
|
Usage::
|
|
9
9
|
|
|
@@ -27,6 +27,7 @@ __all__ = (
|
|
|
27
27
|
"AudioFormatType",
|
|
28
28
|
"BedrockRuntimeServiceName",
|
|
29
29
|
"CachePointTypeType",
|
|
30
|
+
"CacheTTLType",
|
|
30
31
|
"ConversationRoleType",
|
|
31
32
|
"DocumentFormatType",
|
|
32
33
|
"GuardrailActionType",
|
|
@@ -55,6 +56,7 @@ __all__ = (
|
|
|
55
56
|
"GuardrailWordPolicyActionType",
|
|
56
57
|
"ImageFormatType",
|
|
57
58
|
"ListAsyncInvokesPaginatorName",
|
|
59
|
+
"OutputFormatTypeType",
|
|
58
60
|
"PaginatorName",
|
|
59
61
|
"PerformanceConfigLatencyType",
|
|
60
62
|
"ResourceServiceName",
|
|
@@ -89,6 +91,7 @@ AudioFormatType = Literal[
|
|
|
89
91
|
"x-aac",
|
|
90
92
|
]
|
|
91
93
|
CachePointTypeType = Literal["default"]
|
|
94
|
+
CacheTTLType = Literal["1h", "5m"]
|
|
92
95
|
ConversationRoleType = Literal["assistant", "user"]
|
|
93
96
|
DocumentFormatType = Literal["csv", "doc", "docx", "html", "md", "pdf", "txt", "xls", "xlsx"]
|
|
94
97
|
GuardrailActionType = Literal["GUARDRAIL_INTERVENED", "NONE"]
|
|
@@ -151,6 +154,7 @@ GuardrailTraceType = Literal["disabled", "enabled", "enabled_full"]
|
|
|
151
154
|
GuardrailWordPolicyActionType = Literal["BLOCKED", "NONE"]
|
|
152
155
|
ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
|
|
153
156
|
ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
|
|
157
|
+
OutputFormatTypeType = Literal["json_schema"]
|
|
154
158
|
PerformanceConfigLatencyType = Literal["optimized", "standard"]
|
|
155
159
|
ServiceTierTypeType = Literal["default", "flex", "priority", "reserved"]
|
|
156
160
|
SortAsyncInvocationByType = Literal["SubmissionTime"]
|
|
@@ -312,7 +316,6 @@ ServiceName = Literal[
|
|
|
312
316
|
"eks-auth",
|
|
313
317
|
"elasticache",
|
|
314
318
|
"elasticbeanstalk",
|
|
315
|
-
"elastictranscoder",
|
|
316
319
|
"elb",
|
|
317
320
|
"elbv2",
|
|
318
321
|
"emr",
|
|
@@ -577,6 +580,7 @@ ServiceName = Literal[
|
|
|
577
580
|
"waf-regional",
|
|
578
581
|
"wafv2",
|
|
579
582
|
"wellarchitected",
|
|
583
|
+
"wickr",
|
|
580
584
|
"wisdom",
|
|
581
585
|
"workdocs",
|
|
582
586
|
"workmail",
|
|
@@ -3,7 +3,7 @@ Type annotations for bedrock-runtime service literal definitions.
|
|
|
3
3
|
|
|
4
4
|
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/literals/)
|
|
5
5
|
|
|
6
|
-
Copyright
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
7
|
|
|
8
8
|
Usage::
|
|
9
9
|
|
|
@@ -26,6 +26,7 @@ __all__ = (
|
|
|
26
26
|
"AudioFormatType",
|
|
27
27
|
"BedrockRuntimeServiceName",
|
|
28
28
|
"CachePointTypeType",
|
|
29
|
+
"CacheTTLType",
|
|
29
30
|
"ConversationRoleType",
|
|
30
31
|
"DocumentFormatType",
|
|
31
32
|
"GuardrailActionType",
|
|
@@ -54,6 +55,7 @@ __all__ = (
|
|
|
54
55
|
"GuardrailWordPolicyActionType",
|
|
55
56
|
"ImageFormatType",
|
|
56
57
|
"ListAsyncInvokesPaginatorName",
|
|
58
|
+
"OutputFormatTypeType",
|
|
57
59
|
"PaginatorName",
|
|
58
60
|
"PerformanceConfigLatencyType",
|
|
59
61
|
"ResourceServiceName",
|
|
@@ -87,6 +89,7 @@ AudioFormatType = Literal[
|
|
|
87
89
|
"x-aac",
|
|
88
90
|
]
|
|
89
91
|
CachePointTypeType = Literal["default"]
|
|
92
|
+
CacheTTLType = Literal["1h", "5m"]
|
|
90
93
|
ConversationRoleType = Literal["assistant", "user"]
|
|
91
94
|
DocumentFormatType = Literal["csv", "doc", "docx", "html", "md", "pdf", "txt", "xls", "xlsx"]
|
|
92
95
|
GuardrailActionType = Literal["GUARDRAIL_INTERVENED", "NONE"]
|
|
@@ -149,6 +152,7 @@ GuardrailTraceType = Literal["disabled", "enabled", "enabled_full"]
|
|
|
149
152
|
GuardrailWordPolicyActionType = Literal["BLOCKED", "NONE"]
|
|
150
153
|
ImageFormatType = Literal["gif", "jpeg", "png", "webp"]
|
|
151
154
|
ListAsyncInvokesPaginatorName = Literal["list_async_invokes"]
|
|
155
|
+
OutputFormatTypeType = Literal["json_schema"]
|
|
152
156
|
PerformanceConfigLatencyType = Literal["optimized", "standard"]
|
|
153
157
|
ServiceTierTypeType = Literal["default", "flex", "priority", "reserved"]
|
|
154
158
|
SortAsyncInvocationByType = Literal["SubmissionTime"]
|
|
@@ -310,7 +314,6 @@ ServiceName = Literal[
|
|
|
310
314
|
"eks-auth",
|
|
311
315
|
"elasticache",
|
|
312
316
|
"elasticbeanstalk",
|
|
313
|
-
"elastictranscoder",
|
|
314
317
|
"elb",
|
|
315
318
|
"elbv2",
|
|
316
319
|
"emr",
|
|
@@ -575,6 +578,7 @@ ServiceName = Literal[
|
|
|
575
578
|
"waf-regional",
|
|
576
579
|
"wafv2",
|
|
577
580
|
"wellarchitected",
|
|
581
|
+
"wickr",
|
|
578
582
|
"wisdom",
|
|
579
583
|
"workdocs",
|
|
580
584
|
"workmail",
|
|
@@ -3,7 +3,7 @@ Type annotations for bedrock-runtime service type definitions.
|
|
|
3
3
|
|
|
4
4
|
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/type_defs/)
|
|
5
5
|
|
|
6
|
-
Copyright
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
7
|
|
|
8
8
|
Usage::
|
|
9
9
|
|
|
@@ -27,6 +27,7 @@ from botocore.response import StreamingBody
|
|
|
27
27
|
from .literals import (
|
|
28
28
|
AsyncInvokeStatusType,
|
|
29
29
|
AudioFormatType,
|
|
30
|
+
CacheTTLType,
|
|
30
31
|
ConversationRoleType,
|
|
31
32
|
DocumentFormatType,
|
|
32
33
|
GuardrailActionType,
|
|
@@ -84,6 +85,7 @@ __all__ = (
|
|
|
84
85
|
"BidirectionalInputPayloadPartTypeDef",
|
|
85
86
|
"BidirectionalOutputPayloadPartTypeDef",
|
|
86
87
|
"BlobTypeDef",
|
|
88
|
+
"CacheDetailTypeDef",
|
|
87
89
|
"CachePointBlockTypeDef",
|
|
88
90
|
"CitationGeneratedContentTypeDef",
|
|
89
91
|
"CitationLocationTypeDef",
|
|
@@ -204,6 +206,7 @@ __all__ = (
|
|
|
204
206
|
"InvokeModelWithBidirectionalStreamResponseTypeDef",
|
|
205
207
|
"InvokeModelWithResponseStreamRequestTypeDef",
|
|
206
208
|
"InvokeModelWithResponseStreamResponseTypeDef",
|
|
209
|
+
"JsonSchemaDefinitionTypeDef",
|
|
207
210
|
"ListAsyncInvokesRequestPaginateTypeDef",
|
|
208
211
|
"ListAsyncInvokesRequestTypeDef",
|
|
209
212
|
"ListAsyncInvokesResponseTypeDef",
|
|
@@ -214,6 +217,9 @@ __all__ = (
|
|
|
214
217
|
"MessageUnionTypeDef",
|
|
215
218
|
"ModelStreamErrorExceptionTypeDef",
|
|
216
219
|
"ModelTimeoutExceptionTypeDef",
|
|
220
|
+
"OutputConfigTypeDef",
|
|
221
|
+
"OutputFormatStructureTypeDef",
|
|
222
|
+
"OutputFormatTypeDef",
|
|
217
223
|
"PaginatorConfigTypeDef",
|
|
218
224
|
"PayloadPartTypeDef",
|
|
219
225
|
"PerformanceConfigurationTypeDef",
|
|
@@ -326,10 +332,18 @@ BidirectionalOutputPayloadPartTypeDef = TypedDict(
|
|
|
326
332
|
"bytes": NotRequired[bytes],
|
|
327
333
|
},
|
|
328
334
|
)
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
class CacheDetailTypeDef(TypedDict):
|
|
338
|
+
ttl: CacheTTLType
|
|
339
|
+
inputTokens: int
|
|
340
|
+
|
|
341
|
+
|
|
329
342
|
CachePointBlockTypeDef = TypedDict(
|
|
330
343
|
"CachePointBlockTypeDef",
|
|
331
344
|
{
|
|
332
345
|
"type": Literal["default"],
|
|
346
|
+
"ttl": NotRequired[CacheTTLType],
|
|
333
347
|
},
|
|
334
348
|
)
|
|
335
349
|
|
|
@@ -466,14 +480,6 @@ ServiceTierTypeDef = TypedDict(
|
|
|
466
480
|
)
|
|
467
481
|
|
|
468
482
|
|
|
469
|
-
class TokenUsageTypeDef(TypedDict):
|
|
470
|
-
inputTokens: int
|
|
471
|
-
outputTokens: int
|
|
472
|
-
totalTokens: int
|
|
473
|
-
cacheReadInputTokens: NotRequired[int]
|
|
474
|
-
cacheWriteInputTokens: NotRequired[int]
|
|
475
|
-
|
|
476
|
-
|
|
477
483
|
class ConverseStreamMetricsTypeDef(TypedDict):
|
|
478
484
|
latencyMs: int
|
|
479
485
|
|
|
@@ -646,6 +652,12 @@ class ModelTimeoutExceptionTypeDef(TypedDict):
|
|
|
646
652
|
message: NotRequired[str]
|
|
647
653
|
|
|
648
654
|
|
|
655
|
+
class JsonSchemaDefinitionTypeDef(TypedDict):
|
|
656
|
+
schema: str
|
|
657
|
+
name: NotRequired[str]
|
|
658
|
+
description: NotRequired[str]
|
|
659
|
+
|
|
660
|
+
|
|
649
661
|
class PaginatorConfigTypeDef(TypedDict):
|
|
650
662
|
MaxItems: NotRequired[int]
|
|
651
663
|
PageSize: NotRequired[int]
|
|
@@ -812,6 +824,15 @@ VideoSourceTypeDef = TypedDict(
|
|
|
812
824
|
)
|
|
813
825
|
|
|
814
826
|
|
|
827
|
+
class TokenUsageTypeDef(TypedDict):
|
|
828
|
+
inputTokens: int
|
|
829
|
+
outputTokens: int
|
|
830
|
+
totalTokens: int
|
|
831
|
+
cacheReadInputTokens: NotRequired[int]
|
|
832
|
+
cacheWriteInputTokens: NotRequired[int]
|
|
833
|
+
cacheDetails: NotRequired[list[CacheDetailTypeDef]]
|
|
834
|
+
|
|
835
|
+
|
|
815
836
|
class CitationLocationTypeDef(TypedDict):
|
|
816
837
|
web: NotRequired[WebLocationTypeDef]
|
|
817
838
|
documentChar: NotRequired[DocumentCharLocationTypeDef]
|
|
@@ -915,6 +936,10 @@ class InvokeModelWithBidirectionalStreamOutputTypeDef(TypedDict):
|
|
|
915
936
|
serviceUnavailableException: NotRequired[ServiceUnavailableExceptionTypeDef]
|
|
916
937
|
|
|
917
938
|
|
|
939
|
+
class OutputFormatStructureTypeDef(TypedDict):
|
|
940
|
+
jsonSchema: NotRequired[JsonSchemaDefinitionTypeDef]
|
|
941
|
+
|
|
942
|
+
|
|
918
943
|
class ListAsyncInvokesRequestPaginateTypeDef(TypedDict):
|
|
919
944
|
submitTimeAfter: NotRequired[TimestampTypeDef]
|
|
920
945
|
submitTimeBefore: NotRequired[TimestampTypeDef]
|
|
@@ -982,6 +1007,7 @@ class ToolSpecificationTypeDef(TypedDict):
|
|
|
982
1007
|
name: str
|
|
983
1008
|
inputSchema: ToolInputSchemaTypeDef
|
|
984
1009
|
description: NotRequired[str]
|
|
1010
|
+
strict: NotRequired[bool]
|
|
985
1011
|
|
|
986
1012
|
|
|
987
1013
|
ToolUseBlockUnionTypeDef = Union[ToolUseBlockTypeDef, ToolUseBlockOutputTypeDef]
|
|
@@ -1156,6 +1182,15 @@ class InvokeModelWithBidirectionalStreamResponseTypeDef(TypedDict):
|
|
|
1156
1182
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1157
1183
|
|
|
1158
1184
|
|
|
1185
|
+
OutputFormatTypeDef = TypedDict(
|
|
1186
|
+
"OutputFormatTypeDef",
|
|
1187
|
+
{
|
|
1188
|
+
"type": Literal["json_schema"],
|
|
1189
|
+
"structure": OutputFormatStructureTypeDef,
|
|
1190
|
+
},
|
|
1191
|
+
)
|
|
1192
|
+
|
|
1193
|
+
|
|
1159
1194
|
class InvokeModelWithResponseStreamResponseTypeDef(TypedDict):
|
|
1160
1195
|
body: EventStream[ResponseStreamTypeDef]
|
|
1161
1196
|
contentType: str
|
|
@@ -1271,6 +1306,10 @@ class GuardrailAutomatedReasoningTranslationAmbiguousFindingTypeDef(TypedDict):
|
|
|
1271
1306
|
differenceScenarios: NotRequired[list[GuardrailAutomatedReasoningScenarioTypeDef]]
|
|
1272
1307
|
|
|
1273
1308
|
|
|
1309
|
+
class OutputConfigTypeDef(TypedDict):
|
|
1310
|
+
textFormat: NotRequired[OutputFormatTypeDef]
|
|
1311
|
+
|
|
1312
|
+
|
|
1274
1313
|
class ToolConfigurationTypeDef(TypedDict):
|
|
1275
1314
|
tools: Sequence[ToolTypeDef]
|
|
1276
1315
|
toolChoice: NotRequired[ToolChoiceTypeDef]
|
|
@@ -1519,6 +1558,7 @@ class ConverseRequestTypeDef(TypedDict):
|
|
|
1519
1558
|
requestMetadata: NotRequired[Mapping[str, str]]
|
|
1520
1559
|
performanceConfig: NotRequired[PerformanceConfigurationTypeDef]
|
|
1521
1560
|
serviceTier: NotRequired[ServiceTierTypeDef]
|
|
1561
|
+
outputConfig: NotRequired[OutputConfigTypeDef]
|
|
1522
1562
|
|
|
1523
1563
|
|
|
1524
1564
|
class ConverseStreamRequestTypeDef(TypedDict):
|
|
@@ -1534,6 +1574,7 @@ class ConverseStreamRequestTypeDef(TypedDict):
|
|
|
1534
1574
|
requestMetadata: NotRequired[Mapping[str, str]]
|
|
1535
1575
|
performanceConfig: NotRequired[PerformanceConfigurationTypeDef]
|
|
1536
1576
|
serviceTier: NotRequired[ServiceTierTypeDef]
|
|
1577
|
+
outputConfig: NotRequired[OutputConfigTypeDef]
|
|
1537
1578
|
|
|
1538
1579
|
|
|
1539
1580
|
class ConverseTokensRequestTypeDef(TypedDict):
|
|
@@ -3,7 +3,7 @@ Type annotations for bedrock-runtime service type definitions.
|
|
|
3
3
|
|
|
4
4
|
[Documentation](https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/type_defs/)
|
|
5
5
|
|
|
6
|
-
Copyright
|
|
6
|
+
Copyright 2026 Vlad Emelianov
|
|
7
7
|
|
|
8
8
|
Usage::
|
|
9
9
|
|
|
@@ -27,6 +27,7 @@ from botocore.response import StreamingBody
|
|
|
27
27
|
from .literals import (
|
|
28
28
|
AsyncInvokeStatusType,
|
|
29
29
|
AudioFormatType,
|
|
30
|
+
CacheTTLType,
|
|
30
31
|
ConversationRoleType,
|
|
31
32
|
DocumentFormatType,
|
|
32
33
|
GuardrailActionType,
|
|
@@ -83,6 +84,7 @@ __all__ = (
|
|
|
83
84
|
"BidirectionalInputPayloadPartTypeDef",
|
|
84
85
|
"BidirectionalOutputPayloadPartTypeDef",
|
|
85
86
|
"BlobTypeDef",
|
|
87
|
+
"CacheDetailTypeDef",
|
|
86
88
|
"CachePointBlockTypeDef",
|
|
87
89
|
"CitationGeneratedContentTypeDef",
|
|
88
90
|
"CitationLocationTypeDef",
|
|
@@ -203,6 +205,7 @@ __all__ = (
|
|
|
203
205
|
"InvokeModelWithBidirectionalStreamResponseTypeDef",
|
|
204
206
|
"InvokeModelWithResponseStreamRequestTypeDef",
|
|
205
207
|
"InvokeModelWithResponseStreamResponseTypeDef",
|
|
208
|
+
"JsonSchemaDefinitionTypeDef",
|
|
206
209
|
"ListAsyncInvokesRequestPaginateTypeDef",
|
|
207
210
|
"ListAsyncInvokesRequestTypeDef",
|
|
208
211
|
"ListAsyncInvokesResponseTypeDef",
|
|
@@ -213,6 +216,9 @@ __all__ = (
|
|
|
213
216
|
"MessageUnionTypeDef",
|
|
214
217
|
"ModelStreamErrorExceptionTypeDef",
|
|
215
218
|
"ModelTimeoutExceptionTypeDef",
|
|
219
|
+
"OutputConfigTypeDef",
|
|
220
|
+
"OutputFormatStructureTypeDef",
|
|
221
|
+
"OutputFormatTypeDef",
|
|
216
222
|
"PaginatorConfigTypeDef",
|
|
217
223
|
"PayloadPartTypeDef",
|
|
218
224
|
"PerformanceConfigurationTypeDef",
|
|
@@ -317,10 +323,16 @@ BidirectionalOutputPayloadPartTypeDef = TypedDict(
|
|
|
317
323
|
"bytes": NotRequired[bytes],
|
|
318
324
|
},
|
|
319
325
|
)
|
|
326
|
+
|
|
327
|
+
class CacheDetailTypeDef(TypedDict):
|
|
328
|
+
ttl: CacheTTLType
|
|
329
|
+
inputTokens: int
|
|
330
|
+
|
|
320
331
|
CachePointBlockTypeDef = TypedDict(
|
|
321
332
|
"CachePointBlockTypeDef",
|
|
322
333
|
{
|
|
323
334
|
"type": Literal["default"],
|
|
335
|
+
"ttl": NotRequired[CacheTTLType],
|
|
324
336
|
},
|
|
325
337
|
)
|
|
326
338
|
|
|
@@ -437,13 +449,6 @@ ServiceTierTypeDef = TypedDict(
|
|
|
437
449
|
},
|
|
438
450
|
)
|
|
439
451
|
|
|
440
|
-
class TokenUsageTypeDef(TypedDict):
|
|
441
|
-
inputTokens: int
|
|
442
|
-
outputTokens: int
|
|
443
|
-
totalTokens: int
|
|
444
|
-
cacheReadInputTokens: NotRequired[int]
|
|
445
|
-
cacheWriteInputTokens: NotRequired[int]
|
|
446
|
-
|
|
447
452
|
class ConverseStreamMetricsTypeDef(TypedDict):
|
|
448
453
|
latencyMs: int
|
|
449
454
|
|
|
@@ -589,6 +594,11 @@ GuardrailTopicTypeDef = TypedDict(
|
|
|
589
594
|
class ModelTimeoutExceptionTypeDef(TypedDict):
|
|
590
595
|
message: NotRequired[str]
|
|
591
596
|
|
|
597
|
+
class JsonSchemaDefinitionTypeDef(TypedDict):
|
|
598
|
+
schema: str
|
|
599
|
+
name: NotRequired[str]
|
|
600
|
+
description: NotRequired[str]
|
|
601
|
+
|
|
592
602
|
class PaginatorConfigTypeDef(TypedDict):
|
|
593
603
|
MaxItems: NotRequired[int]
|
|
594
604
|
PageSize: NotRequired[int]
|
|
@@ -737,6 +747,14 @@ VideoSourceTypeDef = TypedDict(
|
|
|
737
747
|
},
|
|
738
748
|
)
|
|
739
749
|
|
|
750
|
+
class TokenUsageTypeDef(TypedDict):
|
|
751
|
+
inputTokens: int
|
|
752
|
+
outputTokens: int
|
|
753
|
+
totalTokens: int
|
|
754
|
+
cacheReadInputTokens: NotRequired[int]
|
|
755
|
+
cacheWriteInputTokens: NotRequired[int]
|
|
756
|
+
cacheDetails: NotRequired[list[CacheDetailTypeDef]]
|
|
757
|
+
|
|
740
758
|
class CitationLocationTypeDef(TypedDict):
|
|
741
759
|
web: NotRequired[WebLocationTypeDef]
|
|
742
760
|
documentChar: NotRequired[DocumentCharLocationTypeDef]
|
|
@@ -827,6 +845,9 @@ class InvokeModelWithBidirectionalStreamOutputTypeDef(TypedDict):
|
|
|
827
845
|
modelTimeoutException: NotRequired[ModelTimeoutExceptionTypeDef]
|
|
828
846
|
serviceUnavailableException: NotRequired[ServiceUnavailableExceptionTypeDef]
|
|
829
847
|
|
|
848
|
+
class OutputFormatStructureTypeDef(TypedDict):
|
|
849
|
+
jsonSchema: NotRequired[JsonSchemaDefinitionTypeDef]
|
|
850
|
+
|
|
830
851
|
class ListAsyncInvokesRequestPaginateTypeDef(TypedDict):
|
|
831
852
|
submitTimeAfter: NotRequired[TimestampTypeDef]
|
|
832
853
|
submitTimeBefore: NotRequired[TimestampTypeDef]
|
|
@@ -886,6 +907,7 @@ class ToolSpecificationTypeDef(TypedDict):
|
|
|
886
907
|
name: str
|
|
887
908
|
inputSchema: ToolInputSchemaTypeDef
|
|
888
909
|
description: NotRequired[str]
|
|
910
|
+
strict: NotRequired[bool]
|
|
889
911
|
|
|
890
912
|
ToolUseBlockUnionTypeDef = Union[ToolUseBlockTypeDef, ToolUseBlockOutputTypeDef]
|
|
891
913
|
|
|
@@ -1037,6 +1059,14 @@ class InvokeModelWithBidirectionalStreamResponseTypeDef(TypedDict):
|
|
|
1037
1059
|
body: EventStream[InvokeModelWithBidirectionalStreamOutputTypeDef]
|
|
1038
1060
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1039
1061
|
|
|
1062
|
+
OutputFormatTypeDef = TypedDict(
|
|
1063
|
+
"OutputFormatTypeDef",
|
|
1064
|
+
{
|
|
1065
|
+
"type": Literal["json_schema"],
|
|
1066
|
+
"structure": OutputFormatStructureTypeDef,
|
|
1067
|
+
},
|
|
1068
|
+
)
|
|
1069
|
+
|
|
1040
1070
|
class InvokeModelWithResponseStreamResponseTypeDef(TypedDict):
|
|
1041
1071
|
body: EventStream[ResponseStreamTypeDef]
|
|
1042
1072
|
contentType: str
|
|
@@ -1137,6 +1167,9 @@ class GuardrailAutomatedReasoningTranslationAmbiguousFindingTypeDef(TypedDict):
|
|
|
1137
1167
|
options: NotRequired[list[GuardrailAutomatedReasoningTranslationOptionTypeDef]]
|
|
1138
1168
|
differenceScenarios: NotRequired[list[GuardrailAutomatedReasoningScenarioTypeDef]]
|
|
1139
1169
|
|
|
1170
|
+
class OutputConfigTypeDef(TypedDict):
|
|
1171
|
+
textFormat: NotRequired[OutputFormatTypeDef]
|
|
1172
|
+
|
|
1140
1173
|
class ToolConfigurationTypeDef(TypedDict):
|
|
1141
1174
|
tools: Sequence[ToolTypeDef]
|
|
1142
1175
|
toolChoice: NotRequired[ToolChoiceTypeDef]
|
|
@@ -1352,6 +1385,7 @@ class ConverseRequestTypeDef(TypedDict):
|
|
|
1352
1385
|
requestMetadata: NotRequired[Mapping[str, str]]
|
|
1353
1386
|
performanceConfig: NotRequired[PerformanceConfigurationTypeDef]
|
|
1354
1387
|
serviceTier: NotRequired[ServiceTierTypeDef]
|
|
1388
|
+
outputConfig: NotRequired[OutputConfigTypeDef]
|
|
1355
1389
|
|
|
1356
1390
|
class ConverseStreamRequestTypeDef(TypedDict):
|
|
1357
1391
|
modelId: str
|
|
@@ -1366,6 +1400,7 @@ class ConverseStreamRequestTypeDef(TypedDict):
|
|
|
1366
1400
|
requestMetadata: NotRequired[Mapping[str, str]]
|
|
1367
1401
|
performanceConfig: NotRequired[PerformanceConfigurationTypeDef]
|
|
1368
1402
|
serviceTier: NotRequired[ServiceTierTypeDef]
|
|
1403
|
+
outputConfig: NotRequired[OutputConfigTypeDef]
|
|
1369
1404
|
|
|
1370
1405
|
class ConverseTokensRequestTypeDef(TypedDict):
|
|
1371
1406
|
messages: NotRequired[Sequence[MessageUnionTypeDef]]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: types-boto3-bedrock-runtime
|
|
3
|
-
Version: 1.42.
|
|
4
|
-
Summary: Type annotations for boto3 BedrockRuntime 1.42.
|
|
3
|
+
Version: 1.42.42
|
|
4
|
+
Summary: Type annotations for boto3 BedrockRuntime 1.42.42 service generated with mypy-boto3-builder 8.12.0
|
|
5
5
|
Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/youtype/mypy_boto3_builder
|
|
@@ -43,7 +43,7 @@ Dynamic: license-file
|
|
|
43
43
|

|
|
44
44
|
|
|
45
45
|
Type annotations for
|
|
46
|
-
[boto3 BedrockRuntime 1.42.
|
|
46
|
+
[boto3 BedrockRuntime 1.42.42](https://pypi.org/project/boto3/) compatible with
|
|
47
47
|
[VSCode](https://code.visualstudio.com/),
|
|
48
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -105,7 +105,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
105
105
|
isolation.
|
|
106
106
|
|
|
107
107
|
1. Run mypy-boto3-builder in your package root directory:
|
|
108
|
-
`uvx --with 'boto3==1.42.
|
|
108
|
+
`uvx --with 'boto3==1.42.42' mypy-boto3-builder`
|
|
109
109
|
2. Select `boto3` AWS SDK.
|
|
110
110
|
3. Add `BedrockRuntime` service.
|
|
111
111
|
4. Use provided commands to install generated packages.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
types_boto3_bedrock_runtime/__init__.py,sha256=-DyVw55D1A88qOLpLHfjUcLn-zOVEJ43iR6b712DD9o,774
|
|
2
|
+
types_boto3_bedrock_runtime/__init__.pyi,sha256=0Nc_Pc4lHAidgKO4DWWplZJY_rkMTqfnx8aSg1cvmt0,773
|
|
3
|
+
types_boto3_bedrock_runtime/__main__.py,sha256=8vWwL-u4lBgkbRR63XXFNuWCoTjTU3NXWEey6aEF4ts,1015
|
|
4
|
+
types_boto3_bedrock_runtime/client.py,sha256=76fDOgQQIseISNHldI3rbHAg8l7LKrS52ZqV9hdNExA,9982
|
|
5
|
+
types_boto3_bedrock_runtime/client.pyi,sha256=-BwqbC4mbxy-qw05z-0Vpmr_fmXoMcUsVeWYwd9s9UU,9979
|
|
6
|
+
types_boto3_bedrock_runtime/literals.py,sha256=LPCZf_lWKz31iAmG1ZQePvG8nTPZmE0hmq45yDPYMco,14336
|
|
7
|
+
types_boto3_bedrock_runtime/literals.pyi,sha256=peY6mxBlVVDTdJK4H7CBzwvhbQvP9gQU3jP3OP-S-uU,14334
|
|
8
|
+
types_boto3_bedrock_runtime/paginator.py,sha256=rRuINxW2zIv-_spOa4C1Qtq-bTElhAus8Ob1rqFFl3E,2194
|
|
9
|
+
types_boto3_bedrock_runtime/paginator.pyi,sha256=Umt4lIjKlUK0HabZ7PkSPP_7kfFgfpxJIe8_whFgrFA,2190
|
|
10
|
+
types_boto3_bedrock_runtime/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
types_boto3_bedrock_runtime/type_defs.py,sha256=E83Ys5gp12vszD_zE7ayL6P53cd64JM_vvCWAdwgiN4,48959
|
|
12
|
+
types_boto3_bedrock_runtime/type_defs.pyi,sha256=0Cp5EU2WLobzQWJ22-kAVa93gX_6-F9cof9p67KYZeU,48782
|
|
13
|
+
types_boto3_bedrock_runtime/version.py,sha256=e6HoYfetC3qcC0gAdQCVrDkrRgu8bjbOwNSmZtKJDJE,93
|
|
14
|
+
types_boto3_bedrock_runtime-1.42.42.dist-info/licenses/LICENSE,sha256=MdPBcMOA_mXHmAaBn41qTH8zP7qsdQfRAIxNJaCq-wE,1070
|
|
15
|
+
types_boto3_bedrock_runtime-1.42.42.dist-info/METADATA,sha256=okBc72EzDofPfj6GaoxZtvd0DK8W1n4p75UVP_3sEX8,15078
|
|
16
|
+
types_boto3_bedrock_runtime-1.42.42.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
17
|
+
types_boto3_bedrock_runtime-1.42.42.dist-info/top_level.txt,sha256=vs95SHzu94rM38mmauihzrtfinMIBV-tKDaYSV0eMww,28
|
|
18
|
+
types_boto3_bedrock_runtime-1.42.42.dist-info/RECORD,,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
types_boto3_bedrock_runtime/__init__.py,sha256=yVTpBudgQiZdF0pSNhAE-1xbRZSFBHRcN9lRoforRqk,774
|
|
2
|
-
types_boto3_bedrock_runtime/__init__.pyi,sha256=FTe8oZW7DRJdbaUR0zeqYoUvSJbUFsNGBllLTCZwU4k,773
|
|
3
|
-
types_boto3_bedrock_runtime/__main__.py,sha256=zqqv7TG7Jb5fNbmZl8WnMAo1OaCZk0531w36drzDFZI,1012
|
|
4
|
-
types_boto3_bedrock_runtime/client.py,sha256=gN_nm5GKPuUjmMh_qvJGHuSNHcm5-ui7FPQ3KyWiAxc,9982
|
|
5
|
-
types_boto3_bedrock_runtime/client.pyi,sha256=Ypg7CxQjo36qHy8fF2l6-cT9SIfHDxZNeVzCQNAccyE,9979
|
|
6
|
-
types_boto3_bedrock_runtime/literals.py,sha256=-5uUBx3C5iB3Khro_ZWF5uIXik1_Iz1yHMBdrYFhmF8,14219
|
|
7
|
-
types_boto3_bedrock_runtime/literals.pyi,sha256=nwZsSmdKpIVerDb3qbcVYvsvn_f4K_QyELYR6egRRrs,14217
|
|
8
|
-
types_boto3_bedrock_runtime/paginator.py,sha256=5Jxr9RrOJKN9XVbJReCbUJpJopBTa6lkmC2vmFjI2nQ,2194
|
|
9
|
-
types_boto3_bedrock_runtime/paginator.pyi,sha256=63nEmXrjk6YpFdjbM7HiTP4pBDClAUG2z9KGCvvqdpw,2190
|
|
10
|
-
types_boto3_bedrock_runtime/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
types_boto3_bedrock_runtime/type_defs.py,sha256=QcZXi9lKJp5bl6z300G9Go7oU22jSCSe_-tIMPfFGoA,47988
|
|
12
|
-
types_boto3_bedrock_runtime/type_defs.pyi,sha256=NLCtG-qc_1RhhjEttGHsGVjhPQnSlYfX2P02ZwjMSHA,47817
|
|
13
|
-
types_boto3_bedrock_runtime/version.py,sha256=GG_me-VWxqUerVNqcPw9hL39jbKNBNmLknphxNF_WPw,92
|
|
14
|
-
types_boto3_bedrock_runtime-1.42.3.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
15
|
-
types_boto3_bedrock_runtime-1.42.3.dist-info/METADATA,sha256=BGYLlE_VRkR27ENJyHWtlgc8G3llk7bS1dDd8MQwg1M,15074
|
|
16
|
-
types_boto3_bedrock_runtime-1.42.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
-
types_boto3_bedrock_runtime-1.42.3.dist-info/top_level.txt,sha256=vs95SHzu94rM38mmauihzrtfinMIBV-tKDaYSV0eMww,28
|
|
18
|
-
types_boto3_bedrock_runtime-1.42.3.dist-info/RECORD,,
|
|
File without changes
|