types-boto3-bedrock-runtime 1.40.41__py3-none-any.whl → 1.40.62__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 +3 -3
- types_boto3_bedrock_runtime/literals.py +3 -7
- types_boto3_bedrock_runtime/literals.pyi +3 -7
- types_boto3_bedrock_runtime/type_defs.py +57 -17
- types_boto3_bedrock_runtime/type_defs.pyi +54 -14
- types_boto3_bedrock_runtime/version.py +1 -1
- {types_boto3_bedrock_runtime-1.40.41.dist-info → types_boto3_bedrock_runtime-1.40.62.dist-info}/METADATA +4 -4
- types_boto3_bedrock_runtime-1.40.62.dist-info/RECORD +18 -0
- types_boto3_bedrock_runtime-1.40.41.dist-info/RECORD +0 -18
- {types_boto3_bedrock_runtime-1.40.41.dist-info → types_boto3_bedrock_runtime-1.40.62.dist-info}/WHEEL +0 -0
- {types_boto3_bedrock_runtime-1.40.41.dist-info → types_boto3_bedrock_runtime-1.40.62.dist-info}/licenses/LICENSE +0 -0
- {types_boto3_bedrock_runtime-1.40.41.dist-info → types_boto3_bedrock_runtime-1.40.62.dist-info}/top_level.txt +0 -0
|
@@ -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.62\n"
|
|
16
|
+
"Version: 1.40.62\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.62\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
|
@@ -60,6 +60,7 @@ __all__ = (
|
|
|
60
60
|
"SortOrderType",
|
|
61
61
|
"StopReasonType",
|
|
62
62
|
"ToolResultStatusType",
|
|
63
|
+
"ToolUseTypeType",
|
|
63
64
|
"TraceType",
|
|
64
65
|
"VideoFormatType",
|
|
65
66
|
)
|
|
@@ -140,6 +141,7 @@ StopReasonType = Literal[
|
|
|
140
141
|
"tool_use",
|
|
141
142
|
]
|
|
142
143
|
ToolResultStatusType = Literal["error", "success"]
|
|
144
|
+
ToolUseTypeType = Literal["server_tool_use"]
|
|
143
145
|
TraceType = Literal["DISABLED", "ENABLED", "ENABLED_FULL"]
|
|
144
146
|
VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
|
|
145
147
|
BedrockRuntimeServiceName = Literal["bedrock-runtime"]
|
|
@@ -169,7 +171,6 @@ ServiceName = Literal[
|
|
|
169
171
|
"apprunner",
|
|
170
172
|
"appstream",
|
|
171
173
|
"appsync",
|
|
172
|
-
"apptest",
|
|
173
174
|
"arc-region-switch",
|
|
174
175
|
"arc-zonal-shift",
|
|
175
176
|
"artifact",
|
|
@@ -337,7 +338,6 @@ ServiceName = Literal[
|
|
|
337
338
|
"iotdeviceadvisor",
|
|
338
339
|
"iotevents",
|
|
339
340
|
"iotevents-data",
|
|
340
|
-
"iotfleethub",
|
|
341
341
|
"iotfleetwise",
|
|
342
342
|
"iotsecuretunneling",
|
|
343
343
|
"iotsitewise",
|
|
@@ -376,8 +376,6 @@ ServiceName = Literal[
|
|
|
376
376
|
"location",
|
|
377
377
|
"logs",
|
|
378
378
|
"lookoutequipment",
|
|
379
|
-
"lookoutmetrics",
|
|
380
|
-
"lookoutvision",
|
|
381
379
|
"m2",
|
|
382
380
|
"machinelearning",
|
|
383
381
|
"macie2",
|
|
@@ -452,8 +450,6 @@ ServiceName = Literal[
|
|
|
452
450
|
"qapps",
|
|
453
451
|
"qbusiness",
|
|
454
452
|
"qconnect",
|
|
455
|
-
"qldb",
|
|
456
|
-
"qldb-session",
|
|
457
453
|
"quicksight",
|
|
458
454
|
"ram",
|
|
459
455
|
"rbin",
|
|
@@ -468,7 +464,6 @@ ServiceName = Literal[
|
|
|
468
464
|
"resource-explorer-2",
|
|
469
465
|
"resource-groups",
|
|
470
466
|
"resourcegroupstaggingapi",
|
|
471
|
-
"robomaker",
|
|
472
467
|
"rolesanywhere",
|
|
473
468
|
"route53",
|
|
474
469
|
"route53-recovery-cluster",
|
|
@@ -477,6 +472,7 @@ ServiceName = Literal[
|
|
|
477
472
|
"route53domains",
|
|
478
473
|
"route53profiles",
|
|
479
474
|
"route53resolver",
|
|
475
|
+
"rtbfabric",
|
|
480
476
|
"rum",
|
|
481
477
|
"s3",
|
|
482
478
|
"s3control",
|
|
@@ -59,6 +59,7 @@ __all__ = (
|
|
|
59
59
|
"SortOrderType",
|
|
60
60
|
"StopReasonType",
|
|
61
61
|
"ToolResultStatusType",
|
|
62
|
+
"ToolUseTypeType",
|
|
62
63
|
"TraceType",
|
|
63
64
|
"VideoFormatType",
|
|
64
65
|
)
|
|
@@ -138,6 +139,7 @@ StopReasonType = Literal[
|
|
|
138
139
|
"tool_use",
|
|
139
140
|
]
|
|
140
141
|
ToolResultStatusType = Literal["error", "success"]
|
|
142
|
+
ToolUseTypeType = Literal["server_tool_use"]
|
|
141
143
|
TraceType = Literal["DISABLED", "ENABLED", "ENABLED_FULL"]
|
|
142
144
|
VideoFormatType = Literal["flv", "mkv", "mov", "mp4", "mpeg", "mpg", "three_gp", "webm", "wmv"]
|
|
143
145
|
BedrockRuntimeServiceName = Literal["bedrock-runtime"]
|
|
@@ -167,7 +169,6 @@ ServiceName = Literal[
|
|
|
167
169
|
"apprunner",
|
|
168
170
|
"appstream",
|
|
169
171
|
"appsync",
|
|
170
|
-
"apptest",
|
|
171
172
|
"arc-region-switch",
|
|
172
173
|
"arc-zonal-shift",
|
|
173
174
|
"artifact",
|
|
@@ -335,7 +336,6 @@ ServiceName = Literal[
|
|
|
335
336
|
"iotdeviceadvisor",
|
|
336
337
|
"iotevents",
|
|
337
338
|
"iotevents-data",
|
|
338
|
-
"iotfleethub",
|
|
339
339
|
"iotfleetwise",
|
|
340
340
|
"iotsecuretunneling",
|
|
341
341
|
"iotsitewise",
|
|
@@ -374,8 +374,6 @@ ServiceName = Literal[
|
|
|
374
374
|
"location",
|
|
375
375
|
"logs",
|
|
376
376
|
"lookoutequipment",
|
|
377
|
-
"lookoutmetrics",
|
|
378
|
-
"lookoutvision",
|
|
379
377
|
"m2",
|
|
380
378
|
"machinelearning",
|
|
381
379
|
"macie2",
|
|
@@ -450,8 +448,6 @@ ServiceName = Literal[
|
|
|
450
448
|
"qapps",
|
|
451
449
|
"qbusiness",
|
|
452
450
|
"qconnect",
|
|
453
|
-
"qldb",
|
|
454
|
-
"qldb-session",
|
|
455
451
|
"quicksight",
|
|
456
452
|
"ram",
|
|
457
453
|
"rbin",
|
|
@@ -466,7 +462,6 @@ ServiceName = Literal[
|
|
|
466
462
|
"resource-explorer-2",
|
|
467
463
|
"resource-groups",
|
|
468
464
|
"resourcegroupstaggingapi",
|
|
469
|
-
"robomaker",
|
|
470
465
|
"rolesanywhere",
|
|
471
466
|
"route53",
|
|
472
467
|
"route53-recovery-cluster",
|
|
@@ -475,6 +470,7 @@ ServiceName = Literal[
|
|
|
475
470
|
"route53domains",
|
|
476
471
|
"route53profiles",
|
|
477
472
|
"route53resolver",
|
|
473
|
+
"rtbfabric",
|
|
478
474
|
"rum",
|
|
479
475
|
"s3",
|
|
480
476
|
"s3control",
|
|
@@ -222,6 +222,7 @@ __all__ = (
|
|
|
222
222
|
"StartAsyncInvokeRequestTypeDef",
|
|
223
223
|
"StartAsyncInvokeResponseTypeDef",
|
|
224
224
|
"SystemContentBlockTypeDef",
|
|
225
|
+
"SystemToolTypeDef",
|
|
225
226
|
"TagTypeDef",
|
|
226
227
|
"ThrottlingExceptionTypeDef",
|
|
227
228
|
"TimestampTypeDef",
|
|
@@ -229,7 +230,9 @@ __all__ = (
|
|
|
229
230
|
"ToolChoiceTypeDef",
|
|
230
231
|
"ToolConfigurationTypeDef",
|
|
231
232
|
"ToolInputSchemaTypeDef",
|
|
233
|
+
"ToolResultBlockDeltaTypeDef",
|
|
232
234
|
"ToolResultBlockOutputTypeDef",
|
|
235
|
+
"ToolResultBlockStartTypeDef",
|
|
233
236
|
"ToolResultBlockTypeDef",
|
|
234
237
|
"ToolResultBlockUnionTypeDef",
|
|
235
238
|
"ToolResultContentBlockOutputTypeDef",
|
|
@@ -249,6 +252,7 @@ __all__ = (
|
|
|
249
252
|
"VideoSourceOutputTypeDef",
|
|
250
253
|
"VideoSourceTypeDef",
|
|
251
254
|
"VideoSourceUnionTypeDef",
|
|
255
|
+
"WebLocationTypeDef",
|
|
252
256
|
)
|
|
253
257
|
|
|
254
258
|
|
|
@@ -319,6 +323,11 @@ class DocumentPageLocationTypeDef(TypedDict):
|
|
|
319
323
|
end: NotRequired[int]
|
|
320
324
|
|
|
321
325
|
|
|
326
|
+
class WebLocationTypeDef(TypedDict):
|
|
327
|
+
url: NotRequired[str]
|
|
328
|
+
domain: NotRequired[str]
|
|
329
|
+
|
|
330
|
+
|
|
322
331
|
class CitationSourceContentTypeDef(TypedDict):
|
|
323
332
|
text: NotRequired[str]
|
|
324
333
|
|
|
@@ -337,6 +346,10 @@ class ReasoningContentBlockDeltaTypeDef(TypedDict):
|
|
|
337
346
|
signature: NotRequired[str]
|
|
338
347
|
|
|
339
348
|
|
|
349
|
+
class ToolResultBlockDeltaTypeDef(TypedDict):
|
|
350
|
+
text: NotRequired[str]
|
|
351
|
+
|
|
352
|
+
|
|
340
353
|
ToolUseBlockDeltaTypeDef = TypedDict(
|
|
341
354
|
"ToolUseBlockDeltaTypeDef",
|
|
342
355
|
{
|
|
@@ -349,13 +362,25 @@ ToolUseBlockOutputTypeDef = TypedDict(
|
|
|
349
362
|
"toolUseId": str,
|
|
350
363
|
"name": str,
|
|
351
364
|
"input": Dict[str, Any],
|
|
365
|
+
"type": NotRequired[Literal["server_tool_use"]],
|
|
366
|
+
},
|
|
367
|
+
)
|
|
368
|
+
ToolResultBlockStartTypeDef = TypedDict(
|
|
369
|
+
"ToolResultBlockStartTypeDef",
|
|
370
|
+
{
|
|
371
|
+
"toolUseId": str,
|
|
372
|
+
"type": NotRequired[str],
|
|
373
|
+
"status": NotRequired[ToolResultStatusType],
|
|
374
|
+
},
|
|
375
|
+
)
|
|
376
|
+
ToolUseBlockStartTypeDef = TypedDict(
|
|
377
|
+
"ToolUseBlockStartTypeDef",
|
|
378
|
+
{
|
|
379
|
+
"toolUseId": str,
|
|
380
|
+
"name": str,
|
|
381
|
+
"type": NotRequired[Literal["server_tool_use"]],
|
|
352
382
|
},
|
|
353
383
|
)
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
class ToolUseBlockStartTypeDef(TypedDict):
|
|
357
|
-
toolUseId: str
|
|
358
|
-
name: str
|
|
359
384
|
|
|
360
385
|
|
|
361
386
|
class ContentBlockStopEventTypeDef(TypedDict):
|
|
@@ -601,6 +626,10 @@ class TagTypeDef(TypedDict):
|
|
|
601
626
|
value: str
|
|
602
627
|
|
|
603
628
|
|
|
629
|
+
class SystemToolTypeDef(TypedDict):
|
|
630
|
+
name: str
|
|
631
|
+
|
|
632
|
+
|
|
604
633
|
class ToolInputSchemaTypeDef(TypedDict):
|
|
605
634
|
json: NotRequired[Mapping[str, Any]]
|
|
606
635
|
|
|
@@ -611,6 +640,7 @@ ToolUseBlockTypeDef = TypedDict(
|
|
|
611
640
|
"toolUseId": str,
|
|
612
641
|
"name": str,
|
|
613
642
|
"input": Mapping[str, Any],
|
|
643
|
+
"type": NotRequired[Literal["server_tool_use"]],
|
|
614
644
|
},
|
|
615
645
|
)
|
|
616
646
|
|
|
@@ -683,6 +713,7 @@ class InvokeModelWithResponseStreamRequestTypeDef(TypedDict):
|
|
|
683
713
|
|
|
684
714
|
|
|
685
715
|
class CitationLocationTypeDef(TypedDict):
|
|
716
|
+
web: NotRequired[WebLocationTypeDef]
|
|
686
717
|
documentChar: NotRequired[DocumentCharLocationTypeDef]
|
|
687
718
|
documentPage: NotRequired[DocumentPageLocationTypeDef]
|
|
688
719
|
documentChunk: NotRequired[DocumentChunkLocationTypeDef]
|
|
@@ -690,6 +721,7 @@ class CitationLocationTypeDef(TypedDict):
|
|
|
690
721
|
|
|
691
722
|
class ContentBlockStartTypeDef(TypedDict):
|
|
692
723
|
toolUse: NotRequired[ToolUseBlockStartTypeDef]
|
|
724
|
+
toolResult: NotRequired[ToolResultBlockStartTypeDef]
|
|
693
725
|
|
|
694
726
|
|
|
695
727
|
DocumentSourceOutputTypeDef = TypedDict(
|
|
@@ -1028,6 +1060,7 @@ ReasoningContentBlockUnionTypeDef = Union[
|
|
|
1028
1060
|
|
|
1029
1061
|
class ToolTypeDef(TypedDict):
|
|
1030
1062
|
toolSpec: NotRequired[ToolSpecificationTypeDef]
|
|
1063
|
+
systemTool: NotRequired[SystemToolTypeDef]
|
|
1031
1064
|
cachePoint: NotRequired[CachePointBlockTypeDef]
|
|
1032
1065
|
|
|
1033
1066
|
|
|
@@ -1067,6 +1100,7 @@ CitationUnionTypeDef = Union[CitationTypeDef, CitationOutputTypeDef]
|
|
|
1067
1100
|
class ContentBlockDeltaTypeDef(TypedDict):
|
|
1068
1101
|
text: NotRequired[str]
|
|
1069
1102
|
toolUse: NotRequired[ToolUseBlockDeltaTypeDef]
|
|
1103
|
+
toolResult: NotRequired[List[ToolResultBlockDeltaTypeDef]]
|
|
1070
1104
|
reasoningContent: NotRequired[ReasoningContentBlockDeltaTypeDef]
|
|
1071
1105
|
citation: NotRequired[CitationsDeltaTypeDef]
|
|
1072
1106
|
|
|
@@ -1142,14 +1176,15 @@ class ContentBlockDeltaEventTypeDef(TypedDict):
|
|
|
1142
1176
|
|
|
1143
1177
|
DocumentBlockUnionTypeDef = Union[DocumentBlockTypeDef, DocumentBlockOutputTypeDef]
|
|
1144
1178
|
ImageBlockUnionTypeDef = Union[ImageBlockTypeDef, ImageBlockOutputTypeDef]
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1179
|
+
ToolResultBlockOutputTypeDef = TypedDict(
|
|
1180
|
+
"ToolResultBlockOutputTypeDef",
|
|
1181
|
+
{
|
|
1182
|
+
"toolUseId": str,
|
|
1183
|
+
"content": List[ToolResultContentBlockOutputTypeDef],
|
|
1184
|
+
"status": NotRequired[ToolResultStatusType],
|
|
1185
|
+
"type": NotRequired[str],
|
|
1186
|
+
},
|
|
1187
|
+
)
|
|
1153
1188
|
VideoBlockUnionTypeDef = Union[VideoBlockTypeDef, VideoBlockOutputTypeDef]
|
|
1154
1189
|
|
|
1155
1190
|
|
|
@@ -1233,10 +1268,15 @@ class ConverseOutputTypeDef(TypedDict):
|
|
|
1233
1268
|
message: NotRequired[MessageOutputTypeDef]
|
|
1234
1269
|
|
|
1235
1270
|
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1271
|
+
ToolResultBlockTypeDef = TypedDict(
|
|
1272
|
+
"ToolResultBlockTypeDef",
|
|
1273
|
+
{
|
|
1274
|
+
"toolUseId": str,
|
|
1275
|
+
"content": Sequence[ToolResultContentBlockUnionTypeDef],
|
|
1276
|
+
"status": NotRequired[ToolResultStatusType],
|
|
1277
|
+
"type": NotRequired[str],
|
|
1278
|
+
},
|
|
1279
|
+
)
|
|
1240
1280
|
|
|
1241
1281
|
|
|
1242
1282
|
class ApplyGuardrailResponseTypeDef(TypedDict):
|
|
@@ -221,6 +221,7 @@ __all__ = (
|
|
|
221
221
|
"StartAsyncInvokeRequestTypeDef",
|
|
222
222
|
"StartAsyncInvokeResponseTypeDef",
|
|
223
223
|
"SystemContentBlockTypeDef",
|
|
224
|
+
"SystemToolTypeDef",
|
|
224
225
|
"TagTypeDef",
|
|
225
226
|
"ThrottlingExceptionTypeDef",
|
|
226
227
|
"TimestampTypeDef",
|
|
@@ -228,7 +229,9 @@ __all__ = (
|
|
|
228
229
|
"ToolChoiceTypeDef",
|
|
229
230
|
"ToolConfigurationTypeDef",
|
|
230
231
|
"ToolInputSchemaTypeDef",
|
|
232
|
+
"ToolResultBlockDeltaTypeDef",
|
|
231
233
|
"ToolResultBlockOutputTypeDef",
|
|
234
|
+
"ToolResultBlockStartTypeDef",
|
|
232
235
|
"ToolResultBlockTypeDef",
|
|
233
236
|
"ToolResultBlockUnionTypeDef",
|
|
234
237
|
"ToolResultContentBlockOutputTypeDef",
|
|
@@ -248,6 +251,7 @@ __all__ = (
|
|
|
248
251
|
"VideoSourceOutputTypeDef",
|
|
249
252
|
"VideoSourceTypeDef",
|
|
250
253
|
"VideoSourceUnionTypeDef",
|
|
254
|
+
"WebLocationTypeDef",
|
|
251
255
|
)
|
|
252
256
|
|
|
253
257
|
class GuardrailOutputContentTypeDef(TypedDict):
|
|
@@ -308,6 +312,10 @@ class DocumentPageLocationTypeDef(TypedDict):
|
|
|
308
312
|
start: NotRequired[int]
|
|
309
313
|
end: NotRequired[int]
|
|
310
314
|
|
|
315
|
+
class WebLocationTypeDef(TypedDict):
|
|
316
|
+
url: NotRequired[str]
|
|
317
|
+
domain: NotRequired[str]
|
|
318
|
+
|
|
311
319
|
class CitationSourceContentTypeDef(TypedDict):
|
|
312
320
|
text: NotRequired[str]
|
|
313
321
|
|
|
@@ -322,6 +330,9 @@ class ReasoningContentBlockDeltaTypeDef(TypedDict):
|
|
|
322
330
|
redactedContent: NotRequired[bytes]
|
|
323
331
|
signature: NotRequired[str]
|
|
324
332
|
|
|
333
|
+
class ToolResultBlockDeltaTypeDef(TypedDict):
|
|
334
|
+
text: NotRequired[str]
|
|
335
|
+
|
|
325
336
|
ToolUseBlockDeltaTypeDef = TypedDict(
|
|
326
337
|
"ToolUseBlockDeltaTypeDef",
|
|
327
338
|
{
|
|
@@ -334,12 +345,25 @@ ToolUseBlockOutputTypeDef = TypedDict(
|
|
|
334
345
|
"toolUseId": str,
|
|
335
346
|
"name": str,
|
|
336
347
|
"input": Dict[str, Any],
|
|
348
|
+
"type": NotRequired[Literal["server_tool_use"]],
|
|
349
|
+
},
|
|
350
|
+
)
|
|
351
|
+
ToolResultBlockStartTypeDef = TypedDict(
|
|
352
|
+
"ToolResultBlockStartTypeDef",
|
|
353
|
+
{
|
|
354
|
+
"toolUseId": str,
|
|
355
|
+
"type": NotRequired[str],
|
|
356
|
+
"status": NotRequired[ToolResultStatusType],
|
|
357
|
+
},
|
|
358
|
+
)
|
|
359
|
+
ToolUseBlockStartTypeDef = TypedDict(
|
|
360
|
+
"ToolUseBlockStartTypeDef",
|
|
361
|
+
{
|
|
362
|
+
"toolUseId": str,
|
|
363
|
+
"name": str,
|
|
364
|
+
"type": NotRequired[Literal["server_tool_use"]],
|
|
337
365
|
},
|
|
338
366
|
)
|
|
339
|
-
|
|
340
|
-
class ToolUseBlockStartTypeDef(TypedDict):
|
|
341
|
-
toolUseId: str
|
|
342
|
-
name: str
|
|
343
367
|
|
|
344
368
|
class ContentBlockStopEventTypeDef(TypedDict):
|
|
345
369
|
contentBlockIndex: int
|
|
@@ -544,6 +568,9 @@ class TagTypeDef(TypedDict):
|
|
|
544
568
|
key: str
|
|
545
569
|
value: str
|
|
546
570
|
|
|
571
|
+
class SystemToolTypeDef(TypedDict):
|
|
572
|
+
name: str
|
|
573
|
+
|
|
547
574
|
class ToolInputSchemaTypeDef(TypedDict):
|
|
548
575
|
json: NotRequired[Mapping[str, Any]]
|
|
549
576
|
|
|
@@ -553,6 +580,7 @@ ToolUseBlockTypeDef = TypedDict(
|
|
|
553
580
|
"toolUseId": str,
|
|
554
581
|
"name": str,
|
|
555
582
|
"input": Mapping[str, Any],
|
|
583
|
+
"type": NotRequired[Literal["server_tool_use"]],
|
|
556
584
|
},
|
|
557
585
|
)
|
|
558
586
|
|
|
@@ -616,12 +644,14 @@ class InvokeModelWithResponseStreamRequestTypeDef(TypedDict):
|
|
|
616
644
|
performanceConfigLatency: NotRequired[PerformanceConfigLatencyType]
|
|
617
645
|
|
|
618
646
|
class CitationLocationTypeDef(TypedDict):
|
|
647
|
+
web: NotRequired[WebLocationTypeDef]
|
|
619
648
|
documentChar: NotRequired[DocumentCharLocationTypeDef]
|
|
620
649
|
documentPage: NotRequired[DocumentPageLocationTypeDef]
|
|
621
650
|
documentChunk: NotRequired[DocumentChunkLocationTypeDef]
|
|
622
651
|
|
|
623
652
|
class ContentBlockStartTypeDef(TypedDict):
|
|
624
653
|
toolUse: NotRequired[ToolUseBlockStartTypeDef]
|
|
654
|
+
toolResult: NotRequired[ToolResultBlockStartTypeDef]
|
|
625
655
|
|
|
626
656
|
DocumentSourceOutputTypeDef = TypedDict(
|
|
627
657
|
"DocumentSourceOutputTypeDef",
|
|
@@ -920,6 +950,7 @@ ReasoningContentBlockUnionTypeDef = Union[
|
|
|
920
950
|
|
|
921
951
|
class ToolTypeDef(TypedDict):
|
|
922
952
|
toolSpec: NotRequired[ToolSpecificationTypeDef]
|
|
953
|
+
systemTool: NotRequired[SystemToolTypeDef]
|
|
923
954
|
cachePoint: NotRequired[CachePointBlockTypeDef]
|
|
924
955
|
|
|
925
956
|
class ListAsyncInvokesResponseTypeDef(TypedDict):
|
|
@@ -952,6 +983,7 @@ CitationUnionTypeDef = Union[CitationTypeDef, CitationOutputTypeDef]
|
|
|
952
983
|
class ContentBlockDeltaTypeDef(TypedDict):
|
|
953
984
|
text: NotRequired[str]
|
|
954
985
|
toolUse: NotRequired[ToolUseBlockDeltaTypeDef]
|
|
986
|
+
toolResult: NotRequired[List[ToolResultBlockDeltaTypeDef]]
|
|
955
987
|
reasoningContent: NotRequired[ReasoningContentBlockDeltaTypeDef]
|
|
956
988
|
citation: NotRequired[CitationsDeltaTypeDef]
|
|
957
989
|
|
|
@@ -1017,12 +1049,15 @@ class ContentBlockDeltaEventTypeDef(TypedDict):
|
|
|
1017
1049
|
|
|
1018
1050
|
DocumentBlockUnionTypeDef = Union[DocumentBlockTypeDef, DocumentBlockOutputTypeDef]
|
|
1019
1051
|
ImageBlockUnionTypeDef = Union[ImageBlockTypeDef, ImageBlockOutputTypeDef]
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1052
|
+
ToolResultBlockOutputTypeDef = TypedDict(
|
|
1053
|
+
"ToolResultBlockOutputTypeDef",
|
|
1054
|
+
{
|
|
1055
|
+
"toolUseId": str,
|
|
1056
|
+
"content": List[ToolResultContentBlockOutputTypeDef],
|
|
1057
|
+
"status": NotRequired[ToolResultStatusType],
|
|
1058
|
+
"type": NotRequired[str],
|
|
1059
|
+
},
|
|
1060
|
+
)
|
|
1026
1061
|
VideoBlockUnionTypeDef = Union[VideoBlockTypeDef, VideoBlockOutputTypeDef]
|
|
1027
1062
|
|
|
1028
1063
|
class GuardrailAutomatedReasoningFindingTypeDef(TypedDict):
|
|
@@ -1093,10 +1128,15 @@ class SystemContentBlockTypeDef(TypedDict):
|
|
|
1093
1128
|
class ConverseOutputTypeDef(TypedDict):
|
|
1094
1129
|
message: NotRequired[MessageOutputTypeDef]
|
|
1095
1130
|
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1131
|
+
ToolResultBlockTypeDef = TypedDict(
|
|
1132
|
+
"ToolResultBlockTypeDef",
|
|
1133
|
+
{
|
|
1134
|
+
"toolUseId": str,
|
|
1135
|
+
"content": Sequence[ToolResultContentBlockUnionTypeDef],
|
|
1136
|
+
"status": NotRequired[ToolResultStatusType],
|
|
1137
|
+
"type": NotRequired[str],
|
|
1138
|
+
},
|
|
1139
|
+
)
|
|
1100
1140
|
|
|
1101
1141
|
class ApplyGuardrailResponseTypeDef(TypedDict):
|
|
1102
1142
|
usage: GuardrailUsageTypeDef
|
|
@@ -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.62
|
|
4
|
+
Summary: Type annotations for boto3 BedrockRuntime 1.40.62 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.62](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.62' 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.
|
|
@@ -0,0 +1,18 @@
|
|
|
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=K0WkLu6FJAQcq-NDLud987e_7YRV4VSax7Q0hSsZs3w,1015
|
|
4
|
+
types_boto3_bedrock_runtime/client.py,sha256=W4o6UKl_m5Sp3uic5eq5BKlFpTxd1LCfif0vB2B-aR8,10098
|
|
5
|
+
types_boto3_bedrock_runtime/client.pyi,sha256=nIshacSA3Qn0Ukg5X7ump-P5PDf3OG653bVeoX9IrcY,10095
|
|
6
|
+
types_boto3_bedrock_runtime/literals.py,sha256=oe4UGyz602raVViJBkRcTseTjZevrDiDlq8EO3en3yg,13417
|
|
7
|
+
types_boto3_bedrock_runtime/literals.pyi,sha256=JJ1m-QWXh5L-CMOxEnsHeaVgvBOhpIML-xNjdEQUcC0,13415
|
|
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=r283so-x18UdsGI5p69ar17FbhnZ_f8BKQU8v3xQq4E,43940
|
|
12
|
+
types_boto3_bedrock_runtime/type_defs.pyi,sha256=fPNlcO9bi-64z2Z9Ffftyfk8CbmdTBYvIUpNVQbs-6I,43782
|
|
13
|
+
types_boto3_bedrock_runtime/version.py,sha256=L_7o1ed10fAo8eWgQ1hRRZmm0-ogpMdEx6RywjpJZK0,93
|
|
14
|
+
types_boto3_bedrock_runtime-1.40.62.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
15
|
+
types_boto3_bedrock_runtime-1.40.62.dist-info/METADATA,sha256=J5DSSbEr3TuZ2bTVdwKobM09fjO1FUaNFhjqf8g33hk,15400
|
|
16
|
+
types_boto3_bedrock_runtime-1.40.62.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
+
types_boto3_bedrock_runtime-1.40.62.dist-info/top_level.txt,sha256=vs95SHzu94rM38mmauihzrtfinMIBV-tKDaYSV0eMww,28
|
|
18
|
+
types_boto3_bedrock_runtime-1.40.62.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=RTyZdRIP4wK0o1kW7u3qQnz-fzKKRK6oMW6dXbl1hoE,1015
|
|
4
|
-
types_boto3_bedrock_runtime/client.py,sha256=W4o6UKl_m5Sp3uic5eq5BKlFpTxd1LCfif0vB2B-aR8,10098
|
|
5
|
-
types_boto3_bedrock_runtime/client.pyi,sha256=nIshacSA3Qn0Ukg5X7ump-P5PDf3OG653bVeoX9IrcY,10095
|
|
6
|
-
types_boto3_bedrock_runtime/literals.py,sha256=cW5uzijkIxOk2Vrgv5Vr72uhN_9cH631BzlKD8fE9ZE,13458
|
|
7
|
-
types_boto3_bedrock_runtime/literals.pyi,sha256=7KCKVh876xLlDGxK5cGsPZVs29UxF52yXyOhJNU3AqA,13456
|
|
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=vFIVx8TFLFEHx_-L2WMKcuHMBVZox09lkcqFV_g7m1U,42769
|
|
12
|
-
types_boto3_bedrock_runtime/type_defs.pyi,sha256=9zceXr2VJi1RHfjEjCfA7i_XMQldu17StIS1KE6BS2w,42611
|
|
13
|
-
types_boto3_bedrock_runtime/version.py,sha256=EM0OyqVSIeEU9cXHi5JdWwNqu9FktB7lED0zoSJBcSE,93
|
|
14
|
-
types_boto3_bedrock_runtime-1.40.41.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
15
|
-
types_boto3_bedrock_runtime-1.40.41.dist-info/METADATA,sha256=934nm9ylCsQihB2m1ptL4aytjdmDOc2G-rOtxsf-_nY,15400
|
|
16
|
-
types_boto3_bedrock_runtime-1.40.41.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
-
types_boto3_bedrock_runtime-1.40.41.dist-info/top_level.txt,sha256=vs95SHzu94rM38mmauihzrtfinMIBV-tKDaYSV0eMww,28
|
|
18
|
-
types_boto3_bedrock_runtime-1.40.41.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|