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.
@@ -17,6 +17,7 @@ Usage::
17
17
  from __future__ import annotations
18
18
 
19
19
  import sys
20
+ from collections.abc import Mapping, Sequence
20
21
  from datetime import datetime
21
22
  from typing import IO, Any, Union
22
23
 
@@ -49,19 +50,15 @@ from .literals import (
49
50
  GuardrailWordPolicyActionType,
50
51
  ImageFormatType,
51
52
  PerformanceConfigLatencyType,
53
+ ServiceTierTypeType,
52
54
  SortOrderType,
53
55
  StopReasonType,
54
56
  ToolResultStatusType,
57
+ ToolUseTypeType,
55
58
  TraceType,
56
59
  VideoFormatType,
57
60
  )
58
61
 
59
- if sys.version_info >= (3, 9):
60
- from builtins import dict as Dict
61
- from builtins import list as List
62
- from collections.abc import Mapping, Sequence
63
- else:
64
- from typing import Dict, List, Mapping, Sequence
65
62
  if sys.version_info >= (3, 12):
66
63
  from typing import Literal, NotRequired, TypedDict
67
64
  else:
@@ -216,11 +213,13 @@ __all__ = (
216
213
  "ResponseMetadataTypeDef",
217
214
  "ResponseStreamTypeDef",
218
215
  "S3LocationTypeDef",
216
+ "ServiceTierTypeDef",
219
217
  "ServiceUnavailableExceptionTypeDef",
220
218
  "SpecificToolChoiceTypeDef",
221
219
  "StartAsyncInvokeRequestTypeDef",
222
220
  "StartAsyncInvokeResponseTypeDef",
223
221
  "SystemContentBlockTypeDef",
222
+ "SystemToolTypeDef",
224
223
  "TagTypeDef",
225
224
  "ThrottlingExceptionTypeDef",
226
225
  "TimestampTypeDef",
@@ -228,7 +227,9 @@ __all__ = (
228
227
  "ToolChoiceTypeDef",
229
228
  "ToolConfigurationTypeDef",
230
229
  "ToolInputSchemaTypeDef",
230
+ "ToolResultBlockDeltaTypeDef",
231
231
  "ToolResultBlockOutputTypeDef",
232
+ "ToolResultBlockStartTypeDef",
232
233
  "ToolResultBlockTypeDef",
233
234
  "ToolResultBlockUnionTypeDef",
234
235
  "ToolResultContentBlockOutputTypeDef",
@@ -248,6 +249,7 @@ __all__ = (
248
249
  "VideoSourceOutputTypeDef",
249
250
  "VideoSourceTypeDef",
250
251
  "VideoSourceUnionTypeDef",
252
+ "WebLocationTypeDef",
251
253
  )
252
254
 
253
255
  class GuardrailOutputContentTypeDef(TypedDict):
@@ -267,7 +269,7 @@ class GuardrailUsageTypeDef(TypedDict):
267
269
  class ResponseMetadataTypeDef(TypedDict):
268
270
  RequestId: str
269
271
  HTTPStatusCode: int
270
- HTTPHeaders: Dict[str, str]
272
+ HTTPHeaders: dict[str, str]
271
273
  RetryAttempts: int
272
274
  HostId: NotRequired[str]
273
275
 
@@ -308,6 +310,10 @@ class DocumentPageLocationTypeDef(TypedDict):
308
310
  start: NotRequired[int]
309
311
  end: NotRequired[int]
310
312
 
313
+ class WebLocationTypeDef(TypedDict):
314
+ url: NotRequired[str]
315
+ domain: NotRequired[str]
316
+
311
317
  class CitationSourceContentTypeDef(TypedDict):
312
318
  text: NotRequired[str]
313
319
 
@@ -322,6 +328,9 @@ class ReasoningContentBlockDeltaTypeDef(TypedDict):
322
328
  redactedContent: NotRequired[bytes]
323
329
  signature: NotRequired[str]
324
330
 
331
+ class ToolResultBlockDeltaTypeDef(TypedDict):
332
+ text: NotRequired[str]
333
+
325
334
  ToolUseBlockDeltaTypeDef = TypedDict(
326
335
  "ToolUseBlockDeltaTypeDef",
327
336
  {
@@ -333,13 +342,26 @@ ToolUseBlockOutputTypeDef = TypedDict(
333
342
  {
334
343
  "toolUseId": str,
335
344
  "name": str,
336
- "input": Dict[str, Any],
345
+ "input": dict[str, Any],
346
+ "type": NotRequired[ToolUseTypeType],
347
+ },
348
+ )
349
+ ToolResultBlockStartTypeDef = TypedDict(
350
+ "ToolResultBlockStartTypeDef",
351
+ {
352
+ "toolUseId": str,
353
+ "type": NotRequired[str],
354
+ "status": NotRequired[ToolResultStatusType],
355
+ },
356
+ )
357
+ ToolUseBlockStartTypeDef = TypedDict(
358
+ "ToolUseBlockStartTypeDef",
359
+ {
360
+ "toolUseId": str,
361
+ "name": str,
362
+ "type": NotRequired[ToolUseTypeType],
337
363
  },
338
364
  )
339
-
340
- class ToolUseBlockStartTypeDef(TypedDict):
341
- toolUseId: str
342
- name: str
343
365
 
344
366
  class ContentBlockStopEventTypeDef(TypedDict):
345
367
  contentBlockIndex: int
@@ -364,6 +386,13 @@ class PerformanceConfigurationTypeDef(TypedDict):
364
386
  class PromptVariableValuesTypeDef(TypedDict):
365
387
  text: NotRequired[str]
366
388
 
389
+ ServiceTierTypeDef = TypedDict(
390
+ "ServiceTierTypeDef",
391
+ {
392
+ "type": ServiceTierTypeType,
393
+ },
394
+ )
395
+
367
396
  class TokenUsageTypeDef(TypedDict):
368
397
  inputTokens: int
369
398
  outputTokens: int
@@ -382,7 +411,7 @@ class MessageStartEventTypeDef(TypedDict):
382
411
 
383
412
  class MessageStopEventTypeDef(TypedDict):
384
413
  stopReason: StopReasonType
385
- additionalModelResponseFields: NotRequired[Dict[str, Any]]
414
+ additionalModelResponseFields: NotRequired[dict[str, Any]]
386
415
 
387
416
  class ModelStreamErrorExceptionTypeDef(TypedDict):
388
417
  message: NotRequired[str]
@@ -455,7 +484,7 @@ GuardrailContextualGroundingFilterTypeDef = TypedDict(
455
484
 
456
485
  class GuardrailConverseTextBlockOutputTypeDef(TypedDict):
457
486
  text: str
458
- qualifiers: NotRequired[List[GuardrailConverseContentQualifierType]]
487
+ qualifiers: NotRequired[list[GuardrailConverseContentQualifierType]]
459
488
 
460
489
  GuardrailConverseImageSourceOutputTypeDef = TypedDict(
461
490
  "GuardrailConverseImageSourceOutputTypeDef",
@@ -544,6 +573,9 @@ class TagTypeDef(TypedDict):
544
573
  key: str
545
574
  value: str
546
575
 
576
+ class SystemToolTypeDef(TypedDict):
577
+ name: str
578
+
547
579
  class ToolInputSchemaTypeDef(TypedDict):
548
580
  json: NotRequired[Mapping[str, Any]]
549
581
 
@@ -553,6 +585,7 @@ ToolUseBlockTypeDef = TypedDict(
553
585
  "toolUseId": str,
554
586
  "name": str,
555
587
  "input": Mapping[str, Any],
588
+ "type": NotRequired[ToolUseTypeType],
556
589
  },
557
590
  )
558
591
 
@@ -564,6 +597,7 @@ class InvokeModelResponseTypeDef(TypedDict):
564
597
  body: StreamingBody
565
598
  contentType: str
566
599
  performanceConfigLatency: PerformanceConfigLatencyType
600
+ serviceTier: ServiceTierTypeType
567
601
  ResponseMetadata: ResponseMetadataTypeDef
568
602
 
569
603
  class StartAsyncInvokeResponseTypeDef(TypedDict):
@@ -601,6 +635,7 @@ class InvokeModelRequestTypeDef(TypedDict):
601
635
  guardrailIdentifier: NotRequired[str]
602
636
  guardrailVersion: NotRequired[str]
603
637
  performanceConfigLatency: NotRequired[PerformanceConfigLatencyType]
638
+ serviceTier: NotRequired[ServiceTierTypeType]
604
639
 
605
640
  class InvokeModelTokensRequestTypeDef(TypedDict):
606
641
  body: BlobTypeDef
@@ -614,14 +649,17 @@ class InvokeModelWithResponseStreamRequestTypeDef(TypedDict):
614
649
  guardrailIdentifier: NotRequired[str]
615
650
  guardrailVersion: NotRequired[str]
616
651
  performanceConfigLatency: NotRequired[PerformanceConfigLatencyType]
652
+ serviceTier: NotRequired[ServiceTierTypeType]
617
653
 
618
654
  class CitationLocationTypeDef(TypedDict):
655
+ web: NotRequired[WebLocationTypeDef]
619
656
  documentChar: NotRequired[DocumentCharLocationTypeDef]
620
657
  documentPage: NotRequired[DocumentPageLocationTypeDef]
621
658
  documentChunk: NotRequired[DocumentChunkLocationTypeDef]
622
659
 
623
660
  class ContentBlockStartTypeDef(TypedDict):
624
661
  toolUse: NotRequired[ToolUseBlockStartTypeDef]
662
+ toolResult: NotRequired[ToolResultBlockStartTypeDef]
625
663
 
626
664
  DocumentSourceOutputTypeDef = TypedDict(
627
665
  "DocumentSourceOutputTypeDef",
@@ -629,7 +667,7 @@ DocumentSourceOutputTypeDef = TypedDict(
629
667
  "bytes": NotRequired[bytes],
630
668
  "s3Location": NotRequired[S3LocationTypeDef],
631
669
  "text": NotRequired[str],
632
- "content": NotRequired[List[DocumentContentBlockTypeDef]],
670
+ "content": NotRequired[list[DocumentContentBlockTypeDef]],
633
671
  },
634
672
  )
635
673
  DocumentSourceTypeDef = TypedDict(
@@ -673,26 +711,26 @@ GuardrailAutomatedReasoningLogicWarningTypeDef = TypedDict(
673
711
  "GuardrailAutomatedReasoningLogicWarningTypeDef",
674
712
  {
675
713
  "type": NotRequired[GuardrailAutomatedReasoningLogicWarningTypeType],
676
- "premises": NotRequired[List[GuardrailAutomatedReasoningStatementTypeDef]],
677
- "claims": NotRequired[List[GuardrailAutomatedReasoningStatementTypeDef]],
714
+ "premises": NotRequired[list[GuardrailAutomatedReasoningStatementTypeDef]],
715
+ "claims": NotRequired[list[GuardrailAutomatedReasoningStatementTypeDef]],
678
716
  },
679
717
  )
680
718
 
681
719
  class GuardrailAutomatedReasoningScenarioTypeDef(TypedDict):
682
- statements: NotRequired[List[GuardrailAutomatedReasoningStatementTypeDef]]
720
+ statements: NotRequired[list[GuardrailAutomatedReasoningStatementTypeDef]]
683
721
 
684
722
  class GuardrailAutomatedReasoningTranslationTypeDef(TypedDict):
685
- premises: NotRequired[List[GuardrailAutomatedReasoningStatementTypeDef]]
686
- claims: NotRequired[List[GuardrailAutomatedReasoningStatementTypeDef]]
687
- untranslatedPremises: NotRequired[List[GuardrailAutomatedReasoningInputTextReferenceTypeDef]]
688
- untranslatedClaims: NotRequired[List[GuardrailAutomatedReasoningInputTextReferenceTypeDef]]
723
+ premises: NotRequired[list[GuardrailAutomatedReasoningStatementTypeDef]]
724
+ claims: NotRequired[list[GuardrailAutomatedReasoningStatementTypeDef]]
725
+ untranslatedPremises: NotRequired[list[GuardrailAutomatedReasoningInputTextReferenceTypeDef]]
726
+ untranslatedClaims: NotRequired[list[GuardrailAutomatedReasoningInputTextReferenceTypeDef]]
689
727
  confidence: NotRequired[float]
690
728
 
691
729
  class GuardrailContentPolicyAssessmentTypeDef(TypedDict):
692
- filters: List[GuardrailContentFilterTypeDef]
730
+ filters: list[GuardrailContentFilterTypeDef]
693
731
 
694
732
  class GuardrailContextualGroundingPolicyAssessmentTypeDef(TypedDict):
695
- filters: NotRequired[List[GuardrailContextualGroundingFilterTypeDef]]
733
+ filters: NotRequired[list[GuardrailContextualGroundingFilterTypeDef]]
696
734
 
697
735
  GuardrailConverseImageBlockOutputTypeDef = TypedDict(
698
736
  "GuardrailConverseImageBlockOutputTypeDef",
@@ -710,15 +748,15 @@ class GuardrailCoverageTypeDef(TypedDict):
710
748
  images: NotRequired[GuardrailImageCoverageTypeDef]
711
749
 
712
750
  class GuardrailWordPolicyAssessmentTypeDef(TypedDict):
713
- customWords: List[GuardrailCustomWordTypeDef]
714
- managedWordLists: List[GuardrailManagedWordTypeDef]
751
+ customWords: list[GuardrailCustomWordTypeDef]
752
+ managedWordLists: list[GuardrailManagedWordTypeDef]
715
753
 
716
754
  class GuardrailSensitiveInformationPolicyAssessmentTypeDef(TypedDict):
717
- piiEntities: List[GuardrailPiiEntityFilterTypeDef]
718
- regexes: List[GuardrailRegexFilterTypeDef]
755
+ piiEntities: list[GuardrailPiiEntityFilterTypeDef]
756
+ regexes: list[GuardrailRegexFilterTypeDef]
719
757
 
720
758
  class GuardrailTopicPolicyAssessmentTypeDef(TypedDict):
721
- topics: List[GuardrailTopicTypeDef]
759
+ topics: list[GuardrailTopicTypeDef]
722
760
 
723
761
  class InvokeModelWithBidirectionalStreamOutputTypeDef(TypedDict):
724
762
  chunk: NotRequired[BidirectionalOutputPayloadPartTypeDef]
@@ -825,7 +863,7 @@ GuardrailImageBlockTypeDef = TypedDict(
825
863
 
826
864
  class CitationOutputTypeDef(TypedDict):
827
865
  title: NotRequired[str]
828
- sourceContent: NotRequired[List[CitationSourceContentTypeDef]]
866
+ sourceContent: NotRequired[list[CitationSourceContentTypeDef]]
829
867
  location: NotRequired[CitationLocationTypeDef]
830
868
 
831
869
  class CitationTypeDef(TypedDict):
@@ -835,7 +873,7 @@ class CitationTypeDef(TypedDict):
835
873
 
836
874
  class CitationsDeltaTypeDef(TypedDict):
837
875
  title: NotRequired[str]
838
- sourceContent: NotRequired[List[CitationSourceContentDeltaTypeDef]]
876
+ sourceContent: NotRequired[list[CitationSourceContentDeltaTypeDef]]
839
877
  location: NotRequired[CitationLocationTypeDef]
840
878
 
841
879
  class ContentBlockStartEventTypeDef(TypedDict):
@@ -872,12 +910,12 @@ VideoSourceUnionTypeDef = Union[VideoSourceTypeDef, VideoSourceOutputTypeDef]
872
910
 
873
911
  class GuardrailAutomatedReasoningImpossibleFindingTypeDef(TypedDict):
874
912
  translation: NotRequired[GuardrailAutomatedReasoningTranslationTypeDef]
875
- contradictingRules: NotRequired[List[GuardrailAutomatedReasoningRuleTypeDef]]
913
+ contradictingRules: NotRequired[list[GuardrailAutomatedReasoningRuleTypeDef]]
876
914
  logicWarning: NotRequired[GuardrailAutomatedReasoningLogicWarningTypeDef]
877
915
 
878
916
  class GuardrailAutomatedReasoningInvalidFindingTypeDef(TypedDict):
879
917
  translation: NotRequired[GuardrailAutomatedReasoningTranslationTypeDef]
880
- contradictingRules: NotRequired[List[GuardrailAutomatedReasoningRuleTypeDef]]
918
+ contradictingRules: NotRequired[list[GuardrailAutomatedReasoningRuleTypeDef]]
881
919
  logicWarning: NotRequired[GuardrailAutomatedReasoningLogicWarningTypeDef]
882
920
 
883
921
  class GuardrailAutomatedReasoningSatisfiableFindingTypeDef(TypedDict):
@@ -887,12 +925,12 @@ class GuardrailAutomatedReasoningSatisfiableFindingTypeDef(TypedDict):
887
925
  logicWarning: NotRequired[GuardrailAutomatedReasoningLogicWarningTypeDef]
888
926
 
889
927
  class GuardrailAutomatedReasoningTranslationOptionTypeDef(TypedDict):
890
- translations: NotRequired[List[GuardrailAutomatedReasoningTranslationTypeDef]]
928
+ translations: NotRequired[list[GuardrailAutomatedReasoningTranslationTypeDef]]
891
929
 
892
930
  class GuardrailAutomatedReasoningValidFindingTypeDef(TypedDict):
893
931
  translation: NotRequired[GuardrailAutomatedReasoningTranslationTypeDef]
894
932
  claimsTrueScenario: NotRequired[GuardrailAutomatedReasoningScenarioTypeDef]
895
- supportingRules: NotRequired[List[GuardrailAutomatedReasoningRuleTypeDef]]
933
+ supportingRules: NotRequired[list[GuardrailAutomatedReasoningRuleTypeDef]]
896
934
  logicWarning: NotRequired[GuardrailAutomatedReasoningLogicWarningTypeDef]
897
935
 
898
936
  class GuardrailConverseContentBlockOutputTypeDef(TypedDict):
@@ -912,6 +950,7 @@ class InvokeModelWithResponseStreamResponseTypeDef(TypedDict):
912
950
  body: EventStream[ResponseStreamTypeDef]
913
951
  contentType: str
914
952
  performanceConfigLatency: PerformanceConfigLatencyType
953
+ serviceTier: ServiceTierTypeType
915
954
  ResponseMetadata: ResponseMetadataTypeDef
916
955
 
917
956
  ReasoningContentBlockUnionTypeDef = Union[
@@ -920,10 +959,11 @@ ReasoningContentBlockUnionTypeDef = Union[
920
959
 
921
960
  class ToolTypeDef(TypedDict):
922
961
  toolSpec: NotRequired[ToolSpecificationTypeDef]
962
+ systemTool: NotRequired[SystemToolTypeDef]
923
963
  cachePoint: NotRequired[CachePointBlockTypeDef]
924
964
 
925
965
  class ListAsyncInvokesResponseTypeDef(TypedDict):
926
- asyncInvokeSummaries: List[AsyncInvokeSummaryTypeDef]
966
+ asyncInvokeSummaries: list[AsyncInvokeSummaryTypeDef]
927
967
  ResponseMetadata: ResponseMetadataTypeDef
928
968
  nextToken: NotRequired[str]
929
969
 
@@ -944,14 +984,15 @@ class GuardrailContentBlockTypeDef(TypedDict):
944
984
  image: NotRequired[GuardrailImageBlockTypeDef]
945
985
 
946
986
  class CitationsContentBlockOutputTypeDef(TypedDict):
947
- content: NotRequired[List[CitationGeneratedContentTypeDef]]
948
- citations: NotRequired[List[CitationOutputTypeDef]]
987
+ content: NotRequired[list[CitationGeneratedContentTypeDef]]
988
+ citations: NotRequired[list[CitationOutputTypeDef]]
949
989
 
950
990
  CitationUnionTypeDef = Union[CitationTypeDef, CitationOutputTypeDef]
951
991
 
952
992
  class ContentBlockDeltaTypeDef(TypedDict):
953
993
  text: NotRequired[str]
954
994
  toolUse: NotRequired[ToolUseBlockDeltaTypeDef]
995
+ toolResult: NotRequired[list[ToolResultBlockDeltaTypeDef]]
955
996
  reasoningContent: NotRequired[ReasoningContentBlockDeltaTypeDef]
956
997
  citation: NotRequired[CitationsDeltaTypeDef]
957
998
 
@@ -974,7 +1015,7 @@ ImageBlockTypeDef = TypedDict(
974
1015
  )
975
1016
 
976
1017
  class ToolResultContentBlockOutputTypeDef(TypedDict):
977
- json: NotRequired[Dict[str, Any]]
1018
+ json: NotRequired[dict[str, Any]]
978
1019
  text: NotRequired[str]
979
1020
  image: NotRequired[ImageBlockOutputTypeDef]
980
1021
  document: NotRequired[DocumentBlockOutputTypeDef]
@@ -989,8 +1030,8 @@ VideoBlockTypeDef = TypedDict(
989
1030
  )
990
1031
 
991
1032
  class GuardrailAutomatedReasoningTranslationAmbiguousFindingTypeDef(TypedDict):
992
- options: NotRequired[List[GuardrailAutomatedReasoningTranslationOptionTypeDef]]
993
- differenceScenarios: NotRequired[List[GuardrailAutomatedReasoningScenarioTypeDef]]
1033
+ options: NotRequired[list[GuardrailAutomatedReasoningTranslationOptionTypeDef]]
1034
+ differenceScenarios: NotRequired[list[GuardrailAutomatedReasoningScenarioTypeDef]]
994
1035
 
995
1036
  class ToolConfigurationTypeDef(TypedDict):
996
1037
  tools: Sequence[ToolTypeDef]
@@ -1017,12 +1058,15 @@ class ContentBlockDeltaEventTypeDef(TypedDict):
1017
1058
 
1018
1059
  DocumentBlockUnionTypeDef = Union[DocumentBlockTypeDef, DocumentBlockOutputTypeDef]
1019
1060
  ImageBlockUnionTypeDef = Union[ImageBlockTypeDef, ImageBlockOutputTypeDef]
1020
-
1021
- class ToolResultBlockOutputTypeDef(TypedDict):
1022
- toolUseId: str
1023
- content: List[ToolResultContentBlockOutputTypeDef]
1024
- status: NotRequired[ToolResultStatusType]
1025
-
1061
+ ToolResultBlockOutputTypeDef = TypedDict(
1062
+ "ToolResultBlockOutputTypeDef",
1063
+ {
1064
+ "toolUseId": str,
1065
+ "content": list[ToolResultContentBlockOutputTypeDef],
1066
+ "status": NotRequired[ToolResultStatusType],
1067
+ "type": NotRequired[str],
1068
+ },
1069
+ )
1026
1070
  VideoBlockUnionTypeDef = Union[VideoBlockTypeDef, VideoBlockOutputTypeDef]
1027
1071
 
1028
1072
  class GuardrailAutomatedReasoningFindingTypeDef(TypedDict):
@@ -1031,8 +1075,8 @@ class GuardrailAutomatedReasoningFindingTypeDef(TypedDict):
1031
1075
  satisfiable: NotRequired[GuardrailAutomatedReasoningSatisfiableFindingTypeDef]
1032
1076
  impossible: NotRequired[GuardrailAutomatedReasoningImpossibleFindingTypeDef]
1033
1077
  translationAmbiguous: NotRequired[GuardrailAutomatedReasoningTranslationAmbiguousFindingTypeDef]
1034
- tooComplex: NotRequired[Dict[str, Any]]
1035
- noTranslations: NotRequired[Dict[str, Any]]
1078
+ tooComplex: NotRequired[dict[str, Any]]
1079
+ noTranslations: NotRequired[dict[str, Any]]
1036
1080
 
1037
1081
  class GuardrailConverseContentBlockTypeDef(TypedDict):
1038
1082
  text: NotRequired[GuardrailConverseTextBlockUnionTypeDef]
@@ -1062,7 +1106,7 @@ class ToolResultContentBlockTypeDef(TypedDict):
1062
1106
  video: NotRequired[VideoBlockUnionTypeDef]
1063
1107
 
1064
1108
  class GuardrailAutomatedReasoningPolicyAssessmentTypeDef(TypedDict):
1065
- findings: NotRequired[List[GuardrailAutomatedReasoningFindingTypeDef]]
1109
+ findings: NotRequired[list[GuardrailAutomatedReasoningFindingTypeDef]]
1066
1110
 
1067
1111
  GuardrailConverseContentBlockUnionTypeDef = Union[
1068
1112
  GuardrailConverseContentBlockTypeDef, GuardrailConverseContentBlockOutputTypeDef
@@ -1070,7 +1114,7 @@ GuardrailConverseContentBlockUnionTypeDef = Union[
1070
1114
 
1071
1115
  class MessageOutputTypeDef(TypedDict):
1072
1116
  role: ConversationRoleType
1073
- content: List[ContentBlockOutputTypeDef]
1117
+ content: list[ContentBlockOutputTypeDef]
1074
1118
 
1075
1119
  ToolResultContentBlockUnionTypeDef = Union[
1076
1120
  ToolResultContentBlockTypeDef, ToolResultContentBlockOutputTypeDef
@@ -1093,24 +1137,29 @@ class SystemContentBlockTypeDef(TypedDict):
1093
1137
  class ConverseOutputTypeDef(TypedDict):
1094
1138
  message: NotRequired[MessageOutputTypeDef]
1095
1139
 
1096
- class ToolResultBlockTypeDef(TypedDict):
1097
- toolUseId: str
1098
- content: Sequence[ToolResultContentBlockUnionTypeDef]
1099
- status: NotRequired[ToolResultStatusType]
1140
+ ToolResultBlockTypeDef = TypedDict(
1141
+ "ToolResultBlockTypeDef",
1142
+ {
1143
+ "toolUseId": str,
1144
+ "content": Sequence[ToolResultContentBlockUnionTypeDef],
1145
+ "status": NotRequired[ToolResultStatusType],
1146
+ "type": NotRequired[str],
1147
+ },
1148
+ )
1100
1149
 
1101
1150
  class ApplyGuardrailResponseTypeDef(TypedDict):
1102
1151
  usage: GuardrailUsageTypeDef
1103
1152
  action: GuardrailActionType
1104
1153
  actionReason: str
1105
- outputs: List[GuardrailOutputContentTypeDef]
1106
- assessments: List[GuardrailAssessmentTypeDef]
1154
+ outputs: list[GuardrailOutputContentTypeDef]
1155
+ assessments: list[GuardrailAssessmentTypeDef]
1107
1156
  guardrailCoverage: GuardrailCoverageTypeDef
1108
1157
  ResponseMetadata: ResponseMetadataTypeDef
1109
1158
 
1110
1159
  class GuardrailTraceAssessmentTypeDef(TypedDict):
1111
- modelOutput: NotRequired[List[str]]
1112
- inputAssessment: NotRequired[Dict[str, GuardrailAssessmentTypeDef]]
1113
- outputAssessments: NotRequired[Dict[str, List[GuardrailAssessmentTypeDef]]]
1160
+ modelOutput: NotRequired[list[str]]
1161
+ inputAssessment: NotRequired[dict[str, GuardrailAssessmentTypeDef]]
1162
+ outputAssessments: NotRequired[dict[str, list[GuardrailAssessmentTypeDef]]]
1114
1163
  actionReason: NotRequired[str]
1115
1164
 
1116
1165
  ToolResultBlockUnionTypeDef = Union[ToolResultBlockTypeDef, ToolResultBlockOutputTypeDef]
@@ -1140,15 +1189,17 @@ class ConverseStreamMetadataEventTypeDef(TypedDict):
1140
1189
  metrics: ConverseStreamMetricsTypeDef
1141
1190
  trace: NotRequired[ConverseStreamTraceTypeDef]
1142
1191
  performanceConfig: NotRequired[PerformanceConfigurationTypeDef]
1192
+ serviceTier: NotRequired[ServiceTierTypeDef]
1143
1193
 
1144
1194
  class ConverseResponseTypeDef(TypedDict):
1145
1195
  output: ConverseOutputTypeDef
1146
1196
  stopReason: StopReasonType
1147
1197
  usage: TokenUsageTypeDef
1148
1198
  metrics: ConverseMetricsTypeDef
1149
- additionalModelResponseFields: Dict[str, Any]
1199
+ additionalModelResponseFields: dict[str, Any]
1150
1200
  trace: ConverseTraceTypeDef
1151
1201
  performanceConfig: PerformanceConfigurationTypeDef
1202
+ serviceTier: ServiceTierTypeDef
1152
1203
  ResponseMetadata: ResponseMetadataTypeDef
1153
1204
 
1154
1205
  ContentBlockUnionTypeDef = Union[ContentBlockTypeDef, ContentBlockOutputTypeDef]
@@ -1188,6 +1239,7 @@ class ConverseRequestTypeDef(TypedDict):
1188
1239
  additionalModelResponseFieldPaths: NotRequired[Sequence[str]]
1189
1240
  requestMetadata: NotRequired[Mapping[str, str]]
1190
1241
  performanceConfig: NotRequired[PerformanceConfigurationTypeDef]
1242
+ serviceTier: NotRequired[ServiceTierTypeDef]
1191
1243
 
1192
1244
  class ConverseStreamRequestTypeDef(TypedDict):
1193
1245
  modelId: str
@@ -1201,10 +1253,13 @@ class ConverseStreamRequestTypeDef(TypedDict):
1201
1253
  additionalModelResponseFieldPaths: NotRequired[Sequence[str]]
1202
1254
  requestMetadata: NotRequired[Mapping[str, str]]
1203
1255
  performanceConfig: NotRequired[PerformanceConfigurationTypeDef]
1256
+ serviceTier: NotRequired[ServiceTierTypeDef]
1204
1257
 
1205
1258
  class ConverseTokensRequestTypeDef(TypedDict):
1206
1259
  messages: NotRequired[Sequence[MessageUnionTypeDef]]
1207
1260
  system: NotRequired[Sequence[SystemContentBlockTypeDef]]
1261
+ toolConfig: NotRequired[ToolConfigurationTypeDef]
1262
+ additionalModelRequestFields: NotRequired[Mapping[str, Any]]
1208
1263
 
1209
1264
  class CountTokensInputTypeDef(TypedDict):
1210
1265
  invokeModel: NotRequired[InvokeModelTokensRequestTypeDef]
@@ -4,4 +4,4 @@ Source of truth for version.
4
4
  Copyright 2025 Vlad Emelianov
5
5
  """
6
6
 
7
- __version__ = "1.40.61"
7
+ __version__ = "1.40.76"
@@ -1,23 +1,21 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: types-boto3-bedrock-runtime
3
- Version: 1.40.61
4
- Summary: Type annotations for boto3 BedrockRuntime 1.40.61 service generated with mypy-boto3-builder 8.11.0
5
- Home-page: https://github.com/youtype/mypy_boto3_builder
6
- Author: Vlad Emelianov
7
- Author-email: vlad.emelianov.nz@gmail.com
8
- License: MIT License
3
+ Version: 1.40.76
4
+ Summary: Type annotations for boto3 BedrockRuntime 1.40.76 service generated with mypy-boto3-builder 8.12.0
5
+ Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/youtype/mypy_boto3_builder
9
8
  Project-URL: Documentation, https://youtype.github.io/types_boto3_docs/types_boto3_bedrock_runtime/
10
9
  Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
11
10
  Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
12
- Keywords: boto3 bedrock-runtime boto3-stubs type-annotations mypy typeshed autocomplete
11
+ Keywords: boto3,bedrock-runtime,boto3-stubs,type-annotations,mypy,typeshed,autocomplete
12
+ Platform: any
13
13
  Classifier: Development Status :: 5 - Production/Stable
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: Environment :: Console
16
- Classifier: License :: OSI Approved :: MIT License
17
16
  Classifier: Natural Language :: English
18
17
  Classifier: Operating System :: OS Independent
19
18
  Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3.8
21
19
  Classifier: Programming Language :: Python :: 3.9
22
20
  Classifier: Programming Language :: Python :: 3.10
23
21
  Classifier: Programming Language :: Python :: 3.11
@@ -27,23 +25,11 @@ Classifier: Programming Language :: Python :: 3.14
27
25
  Classifier: Programming Language :: Python :: 3 :: Only
28
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
27
  Classifier: Typing :: Stubs Only
30
- Requires-Python: >=3.8
28
+ Requires-Python: >=3.9
31
29
  Description-Content-Type: text/markdown
32
30
  License-File: LICENSE
33
31
  Requires-Dist: typing-extensions; python_version < "3.12"
34
- Dynamic: author
35
- Dynamic: author-email
36
- Dynamic: classifier
37
- Dynamic: description
38
- Dynamic: description-content-type
39
- Dynamic: home-page
40
- Dynamic: keywords
41
- Dynamic: license
42
32
  Dynamic: license-file
43
- Dynamic: project-url
44
- Dynamic: requires-dist
45
- Dynamic: requires-python
46
- Dynamic: summary
47
33
 
48
34
  <a id="types-boto3-bedrock-runtime"></a>
49
35
 
@@ -57,7 +43,7 @@ Dynamic: summary
57
43
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
58
44
 
59
45
  Type annotations for
60
- [boto3 BedrockRuntime 1.40.61](https://pypi.org/project/boto3/) compatible with
46
+ [boto3 BedrockRuntime 1.40.76](https://pypi.org/project/boto3/) compatible with
61
47
  [VSCode](https://code.visualstudio.com/),
62
48
  [PyCharm](https://www.jetbrains.com/pycharm/),
63
49
  [Emacs](https://www.gnu.org/software/emacs/),
@@ -66,7 +52,7 @@ Type annotations for
66
52
  [pyright](https://github.com/microsoft/pyright) and other tools.
67
53
 
68
54
  Generated with
69
- [mypy-boto3-builder 8.11.0](https://github.com/youtype/mypy_boto3_builder).
55
+ [mypy-boto3-builder 8.12.0](https://github.com/youtype/mypy_boto3_builder).
70
56
 
71
57
  More information can be found on
72
58
  [types-boto3](https://pypi.org/project/types-boto3/) page and in
@@ -119,7 +105,7 @@ You can generate type annotations for `boto3` package locally with
119
105
  isolation.
120
106
 
121
107
  1. Run mypy-boto3-builder in your package root directory:
122
- `uvx --with 'boto3==1.40.61' mypy-boto3-builder`
108
+ `uvx --with 'boto3==1.40.76' mypy-boto3-builder`
123
109
  2. Select `boto3` AWS SDK.
124
110
  3. Add `BedrockRuntime` service.
125
111
  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=uQzEGXQVhkFSXLsiRSVSt2o-9ufJV1GsnDBbQMAWLWE,1015
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=-FdNiYBU72SK2YVDZLBdYAbsH5OyLcNMJsFBDh6Vgio,13540
7
+ types_boto3_bedrock_runtime/literals.pyi,sha256=xOKXw78u5UqA8iax-nYuE3gEoKQr5cQ3xiEoUZcKjTQ,13538
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=zb5TPkMA_FmDgpvYPD88k9iZQEuJbzsGo2cmPe2mE4I,44397
12
+ types_boto3_bedrock_runtime/type_defs.pyi,sha256=MWox54Xjl1755gB8baZRedzxe9JzM-EOxIX7BG8eaUY,44238
13
+ types_boto3_bedrock_runtime/version.py,sha256=VE_SsO5zPUepnGA5xToz9iD9MkBKqmg69Jq6fzwikrk,93
14
+ types_boto3_bedrock_runtime-1.40.76.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
15
+ types_boto3_bedrock_runtime-1.40.76.dist-info/METADATA,sha256=WyDc5doEyW1SsVLR096JAH39-7JaSowXoZxlB4AQBnM,15069
16
+ types_boto3_bedrock_runtime-1.40.76.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
+ types_boto3_bedrock_runtime-1.40.76.dist-info/top_level.txt,sha256=vs95SHzu94rM38mmauihzrtfinMIBV-tKDaYSV0eMww,28
18
+ types_boto3_bedrock_runtime-1.40.76.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=qU2K67lk3e50yClK4FnxpNie8txFZ4Oz4ISaXNByGsY,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=wTR548xp61WEyXdKYBJLx9Nkud-7nHumxdjkzmkIcZU,13349
7
- types_boto3_bedrock_runtime/literals.pyi,sha256=GI_SrY37w8aOl0HSIk0LK_5lIkVSWCg_HTCmFdniUyw,13347
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=AZLwutH15UzvkjGOb3z9bJWXPcVB7cYSqbwJAeYq9xc,93
14
- types_boto3_bedrock_runtime-1.40.61.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
15
- types_boto3_bedrock_runtime-1.40.61.dist-info/METADATA,sha256=Twr1zl3xqtmk7Kb16KyntmM4RdCuFvawAKCKdFHkkQ4,15400
16
- types_boto3_bedrock_runtime-1.40.61.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
17
- types_boto3_bedrock_runtime-1.40.61.dist-info/top_level.txt,sha256=vs95SHzu94rM38mmauihzrtfinMIBV-tKDaYSV0eMww,28
18
- types_boto3_bedrock_runtime-1.40.61.dist-info/RECORD,,