aws-sdk-bedrockruntime 1.67.0 → 1.68.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 015b198ed2bc11d1b4c61244d33ff1567cc8f796e29b434ab19712e9786d3219
4
- data.tar.gz: 26b39ebea8d1b759040781b733abeda54873fefd4f1992a889b95bd4df1ee7f0
3
+ metadata.gz: fbf3785bf98f3245f44c78d722d321a280ce03abfe545822a705765aeee766eb
4
+ data.tar.gz: 5b10b180ae408f4957c892b3d0b6f530c7982b291f32a69698067d038be396b7
5
5
  SHA512:
6
- metadata.gz: 7d2395a6aefb0fe4a52bff860b3acf7d538413b6cda32b200f7f7eb186c4d25d1fa59c1e07a06c6edbd1091409accada840b518f8c9b0f864c3adbfd72eee55a
7
- data.tar.gz: 2a64b8347e9d0e19c39b78ac1b2451842630c9227bc219c7fdeab27717a8b21195f0271d31c314a521300d1bdbd4b47a18c285c21be03d4d62cb4eef6db7100e
6
+ metadata.gz: ede00636bb9fb1aa7063698b443f9b3cd86912950276860deb7726450ae6b238d1c7e896347bac9d8c86b877417fbb04ac68b24bf804006ab15ada9febdb4ee2
7
+ data.tar.gz: 6010ff6e19b0ac8471b241d50f0f35b344715f4ddc6c075c4a1140707460b43e949287dc795e166802be5419e820a33c019fcf8e780e8506ded5500c4be118da
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.68.0 (2025-12-02)
5
+ ------------------
6
+
7
+ * Feature - Adds support for Audio Blocks and Streaming Image Output plus new Stop Reasons of malformed_model_output and malformed_tool_use.
8
+
4
9
  1.67.0 (2025-11-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.67.0
1
+ 1.68.0
@@ -621,7 +621,7 @@ module Aws::BedrockRuntime
621
621
  tracer: tracer
622
622
  )
623
623
  context[:gem_name] = 'aws-sdk-bedrockruntime'
624
- context[:gem_version] = '1.67.0'
624
+ context[:gem_version] = '1.68.0'
625
625
  Seahorse::Client::Request.new(handlers, context)
626
626
  end
627
627
 
@@ -954,6 +954,9 @@ module Aws::BedrockRuntime
954
954
  # bucket_owner: "AccountId",
955
955
  # },
956
956
  # },
957
+ # error: {
958
+ # message: "String",
959
+ # },
957
960
  # },
958
961
  # document: {
959
962
  # format: "pdf", # accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
@@ -986,6 +989,19 @@ module Aws::BedrockRuntime
986
989
  # },
987
990
  # },
988
991
  # },
992
+ # audio: {
993
+ # format: "mp3", # required, accepts mp3, opus, wav, aac, flac, mp4, ogg, mkv, mka, x-aac, m4a, mpeg, mpga, pcm, webm
994
+ # source: { # required
995
+ # bytes: "data",
996
+ # s3_location: {
997
+ # uri: "S3Uri", # required
998
+ # bucket_owner: "AccountId",
999
+ # },
1000
+ # },
1001
+ # error: {
1002
+ # message: "String",
1003
+ # },
1004
+ # },
989
1005
  # tool_use: {
990
1006
  # tool_use_id: "ToolUseId", # required
991
1007
  # name: "ToolName", # required
@@ -1009,6 +1025,9 @@ module Aws::BedrockRuntime
1009
1025
  # bucket_owner: "AccountId",
1010
1026
  # },
1011
1027
  # },
1028
+ # error: {
1029
+ # message: "String",
1030
+ # },
1012
1031
  # },
1013
1032
  # document: {
1014
1033
  # format: "pdf", # accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
@@ -1228,6 +1247,7 @@ module Aws::BedrockRuntime
1228
1247
  # resp.output.message.content[0].image.source.bytes #=> String
1229
1248
  # resp.output.message.content[0].image.source.s3_location.uri #=> String
1230
1249
  # resp.output.message.content[0].image.source.s3_location.bucket_owner #=> String
1250
+ # resp.output.message.content[0].image.error.message #=> String
1231
1251
  # resp.output.message.content[0].document.format #=> String, one of "pdf", "csv", "doc", "docx", "xls", "xlsx", "html", "txt", "md"
1232
1252
  # resp.output.message.content[0].document.name #=> String
1233
1253
  # resp.output.message.content[0].document.source.bytes #=> String
@@ -1242,6 +1262,11 @@ module Aws::BedrockRuntime
1242
1262
  # resp.output.message.content[0].video.source.bytes #=> String
1243
1263
  # resp.output.message.content[0].video.source.s3_location.uri #=> String
1244
1264
  # resp.output.message.content[0].video.source.s3_location.bucket_owner #=> String
1265
+ # resp.output.message.content[0].audio.format #=> String, one of "mp3", "opus", "wav", "aac", "flac", "mp4", "ogg", "mkv", "mka", "x-aac", "m4a", "mpeg", "mpga", "pcm", "webm"
1266
+ # resp.output.message.content[0].audio.source.bytes #=> String
1267
+ # resp.output.message.content[0].audio.source.s3_location.uri #=> String
1268
+ # resp.output.message.content[0].audio.source.s3_location.bucket_owner #=> String
1269
+ # resp.output.message.content[0].audio.error.message #=> String
1245
1270
  # resp.output.message.content[0].tool_use.tool_use_id #=> String
1246
1271
  # resp.output.message.content[0].tool_use.name #=> String
1247
1272
  # resp.output.message.content[0].tool_use.type #=> String, one of "server_tool_use"
@@ -1252,6 +1277,7 @@ module Aws::BedrockRuntime
1252
1277
  # resp.output.message.content[0].tool_result.content[0].image.source.bytes #=> String
1253
1278
  # resp.output.message.content[0].tool_result.content[0].image.source.s3_location.uri #=> String
1254
1279
  # resp.output.message.content[0].tool_result.content[0].image.source.s3_location.bucket_owner #=> String
1280
+ # resp.output.message.content[0].tool_result.content[0].image.error.message #=> String
1255
1281
  # resp.output.message.content[0].tool_result.content[0].document.format #=> String, one of "pdf", "csv", "doc", "docx", "xls", "xlsx", "html", "txt", "md"
1256
1282
  # resp.output.message.content[0].tool_result.content[0].document.name #=> String
1257
1283
  # resp.output.message.content[0].tool_result.content[0].document.source.bytes #=> String
@@ -1308,7 +1334,7 @@ module Aws::BedrockRuntime
1308
1334
  # resp.output.message.content[0].search_result.content #=> Array
1309
1335
  # resp.output.message.content[0].search_result.content[0].text #=> String
1310
1336
  # resp.output.message.content[0].search_result.citations.enabled #=> Boolean
1311
- # resp.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered", "model_context_window_exceeded"
1337
+ # resp.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered", "malformed_model_output", "malformed_tool_use", "model_context_window_exceeded"
1312
1338
  # resp.usage.input_tokens #=> Integer
1313
1339
  # resp.usage.output_tokens #=> Integer
1314
1340
  # resp.usage.total_tokens #=> Integer
@@ -2053,6 +2079,9 @@ module Aws::BedrockRuntime
2053
2079
  # bucket_owner: "AccountId",
2054
2080
  # },
2055
2081
  # },
2082
+ # error: {
2083
+ # message: "String",
2084
+ # },
2056
2085
  # },
2057
2086
  # document: {
2058
2087
  # format: "pdf", # accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
@@ -2085,6 +2114,19 @@ module Aws::BedrockRuntime
2085
2114
  # },
2086
2115
  # },
2087
2116
  # },
2117
+ # audio: {
2118
+ # format: "mp3", # required, accepts mp3, opus, wav, aac, flac, mp4, ogg, mkv, mka, x-aac, m4a, mpeg, mpga, pcm, webm
2119
+ # source: { # required
2120
+ # bytes: "data",
2121
+ # s3_location: {
2122
+ # uri: "S3Uri", # required
2123
+ # bucket_owner: "AccountId",
2124
+ # },
2125
+ # },
2126
+ # error: {
2127
+ # message: "String",
2128
+ # },
2129
+ # },
2088
2130
  # tool_use: {
2089
2131
  # tool_use_id: "ToolUseId", # required
2090
2132
  # name: "ToolName", # required
@@ -2108,6 +2150,9 @@ module Aws::BedrockRuntime
2108
2150
  # bucket_owner: "AccountId",
2109
2151
  # },
2110
2152
  # },
2153
+ # error: {
2154
+ # message: "String",
2155
+ # },
2111
2156
  # },
2112
2157
  # document: {
2113
2158
  # format: "pdf", # accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
@@ -2335,6 +2380,7 @@ module Aws::BedrockRuntime
2335
2380
  # event.start.tool_result.tool_use_id #=> String
2336
2381
  # event.start.tool_result.type #=> String
2337
2382
  # event.start.tool_result.status #=> String, one of "success", "error"
2383
+ # event.start.image.format #=> String, one of "png", "jpeg", "gif", "webp"
2338
2384
  # event.content_block_index #=> Integer
2339
2385
  #
2340
2386
  # # For :content_block_delta event available at #on_content_block_delta_event callback and response eventstream enumerator:
@@ -2363,13 +2409,17 @@ module Aws::BedrockRuntime
2363
2409
  # event.delta.citation.location.search_result_location.search_result_index #=> Integer
2364
2410
  # event.delta.citation.location.search_result_location.start #=> Integer
2365
2411
  # event.delta.citation.location.search_result_location.end #=> Integer
2412
+ # event.delta.image.source.bytes #=> String
2413
+ # event.delta.image.source.s3_location.uri #=> String
2414
+ # event.delta.image.source.s3_location.bucket_owner #=> String
2415
+ # event.delta.image.error.message #=> String
2366
2416
  # event.content_block_index #=> Integer
2367
2417
  #
2368
2418
  # # For :content_block_stop event available at #on_content_block_stop_event callback and response eventstream enumerator:
2369
2419
  # event.content_block_index #=> Integer
2370
2420
  #
2371
2421
  # # For :message_stop event available at #on_message_stop_event callback and response eventstream enumerator:
2372
- # event.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered", "model_context_window_exceeded"
2422
+ # event.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered", "malformed_model_output", "malformed_tool_use", "model_context_window_exceeded"
2373
2423
  #
2374
2424
  # # For :metadata event available at #on_metadata_event callback and response eventstream enumerator:
2375
2425
  # event.usage.input_tokens #=> Integer
@@ -2844,6 +2894,9 @@ module Aws::BedrockRuntime
2844
2894
  # bucket_owner: "AccountId",
2845
2895
  # },
2846
2896
  # },
2897
+ # error: {
2898
+ # message: "String",
2899
+ # },
2847
2900
  # },
2848
2901
  # document: {
2849
2902
  # format: "pdf", # accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
@@ -2876,6 +2929,19 @@ module Aws::BedrockRuntime
2876
2929
  # },
2877
2930
  # },
2878
2931
  # },
2932
+ # audio: {
2933
+ # format: "mp3", # required, accepts mp3, opus, wav, aac, flac, mp4, ogg, mkv, mka, x-aac, m4a, mpeg, mpga, pcm, webm
2934
+ # source: { # required
2935
+ # bytes: "data",
2936
+ # s3_location: {
2937
+ # uri: "S3Uri", # required
2938
+ # bucket_owner: "AccountId",
2939
+ # },
2940
+ # },
2941
+ # error: {
2942
+ # message: "String",
2943
+ # },
2944
+ # },
2879
2945
  # tool_use: {
2880
2946
  # tool_use_id: "ToolUseId", # required
2881
2947
  # name: "ToolName", # required
@@ -2899,6 +2965,9 @@ module Aws::BedrockRuntime
2899
2965
  # bucket_owner: "AccountId",
2900
2966
  # },
2901
2967
  # },
2968
+ # error: {
2969
+ # message: "String",
2970
+ # },
2902
2971
  # },
2903
2972
  # document: {
2904
2973
  # format: "pdf", # accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
@@ -3808,7 +3877,7 @@ module Aws::BedrockRuntime
3808
3877
  tracer: tracer
3809
3878
  )
3810
3879
  context[:gem_name] = 'aws-sdk-bedrockruntime'
3811
- context[:gem_version] = '1.67.0'
3880
+ context[:gem_version] = '1.68.0'
3812
3881
  Seahorse::Client::Request.new(handlers, context)
3813
3882
  end
3814
3883
 
@@ -29,6 +29,10 @@ module Aws::BedrockRuntime
29
29
  AsyncInvokeStatus = Shapes::StringShape.new(name: 'AsyncInvokeStatus')
30
30
  AsyncInvokeSummaries = Shapes::ListShape.new(name: 'AsyncInvokeSummaries')
31
31
  AsyncInvokeSummary = Shapes::StructureShape.new(name: 'AsyncInvokeSummary')
32
+ AudioBlock = Shapes::StructureShape.new(name: 'AudioBlock')
33
+ AudioFormat = Shapes::StringShape.new(name: 'AudioFormat')
34
+ AudioSource = Shapes::UnionShape.new(name: 'AudioSource')
35
+ AudioSourceBytesBlob = Shapes::BlobShape.new(name: 'AudioSourceBytesBlob')
32
36
  AutoToolChoice = Shapes::StructureShape.new(name: 'AutoToolChoice')
33
37
  AutomatedReasoningRuleIdentifier = Shapes::StringShape.new(name: 'AutomatedReasoningRuleIdentifier')
34
38
  BidirectionalInputPayloadPart = Shapes::StructureShape.new(name: 'BidirectionalInputPayloadPart')
@@ -99,6 +103,7 @@ module Aws::BedrockRuntime
99
103
  DocumentPageLocationStartInteger = Shapes::IntegerShape.new(name: 'DocumentPageLocationStartInteger')
100
104
  DocumentSource = Shapes::UnionShape.new(name: 'DocumentSource')
101
105
  DocumentSourceBytesBlob = Shapes::BlobShape.new(name: 'DocumentSourceBytesBlob')
106
+ ErrorBlock = Shapes::StructureShape.new(name: 'ErrorBlock')
102
107
  FoundationModelVersionIdentifier = Shapes::StringShape.new(name: 'FoundationModelVersionIdentifier')
103
108
  GetAsyncInvokeRequest = Shapes::StructureShape.new(name: 'GetAsyncInvokeRequest')
104
109
  GetAsyncInvokeResponse = Shapes::StructureShape.new(name: 'GetAsyncInvokeResponse')
@@ -218,6 +223,8 @@ module Aws::BedrockRuntime
218
223
  GuardrailWordPolicyAssessment = Shapes::StructureShape.new(name: 'GuardrailWordPolicyAssessment')
219
224
  GuardrailWordPolicyUnitsProcessed = Shapes::IntegerShape.new(name: 'GuardrailWordPolicyUnitsProcessed')
220
225
  ImageBlock = Shapes::StructureShape.new(name: 'ImageBlock')
226
+ ImageBlockDelta = Shapes::StructureShape.new(name: 'ImageBlockDelta')
227
+ ImageBlockStart = Shapes::StructureShape.new(name: 'ImageBlockStart')
221
228
  ImageFormat = Shapes::StringShape.new(name: 'ImageFormat')
222
229
  ImageSource = Shapes::UnionShape.new(name: 'ImageSource')
223
230
  ImageSourceBytesBlob = Shapes::BlobShape.new(name: 'ImageSourceBytesBlob')
@@ -393,6 +400,19 @@ module Aws::BedrockRuntime
393
400
  AsyncInvokeSummary.add_member(:output_data_config, Shapes::ShapeRef.new(shape: AsyncInvokeOutputDataConfig, required: true, location_name: "outputDataConfig"))
394
401
  AsyncInvokeSummary.struct_class = Types::AsyncInvokeSummary
395
402
 
403
+ AudioBlock.add_member(:format, Shapes::ShapeRef.new(shape: AudioFormat, required: true, location_name: "format"))
404
+ AudioBlock.add_member(:source, Shapes::ShapeRef.new(shape: AudioSource, required: true, location_name: "source"))
405
+ AudioBlock.add_member(:error, Shapes::ShapeRef.new(shape: ErrorBlock, location_name: "error"))
406
+ AudioBlock.struct_class = Types::AudioBlock
407
+
408
+ AudioSource.add_member(:bytes, Shapes::ShapeRef.new(shape: AudioSourceBytesBlob, location_name: "bytes"))
409
+ AudioSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
410
+ AudioSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
411
+ AudioSource.add_member_subclass(:bytes, Types::AudioSource::Bytes)
412
+ AudioSource.add_member_subclass(:s3_location, Types::AudioSource::S3Location)
413
+ AudioSource.add_member_subclass(:unknown, Types::AudioSource::Unknown)
414
+ AudioSource.struct_class = Types::AudioSource
415
+
396
416
  AutoToolChoice.struct_class = Types::AutoToolChoice
397
417
 
398
418
  BidirectionalInputPayloadPart.add_member(:bytes, Shapes::ShapeRef.new(shape: PartBody, location_name: "bytes"))
@@ -467,6 +487,7 @@ module Aws::BedrockRuntime
467
487
  ContentBlock.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlock, location_name: "image"))
468
488
  ContentBlock.add_member(:document, Shapes::ShapeRef.new(shape: DocumentBlock, location_name: "document"))
469
489
  ContentBlock.add_member(:video, Shapes::ShapeRef.new(shape: VideoBlock, location_name: "video"))
490
+ ContentBlock.add_member(:audio, Shapes::ShapeRef.new(shape: AudioBlock, location_name: "audio"))
470
491
  ContentBlock.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlock, location_name: "toolUse"))
471
492
  ContentBlock.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlock, location_name: "toolResult"))
472
493
  ContentBlock.add_member(:guard_content, Shapes::ShapeRef.new(shape: GuardrailConverseContentBlock, location_name: "guardContent"))
@@ -479,6 +500,7 @@ module Aws::BedrockRuntime
479
500
  ContentBlock.add_member_subclass(:image, Types::ContentBlock::Image)
480
501
  ContentBlock.add_member_subclass(:document, Types::ContentBlock::Document)
481
502
  ContentBlock.add_member_subclass(:video, Types::ContentBlock::Video)
503
+ ContentBlock.add_member_subclass(:audio, Types::ContentBlock::Audio)
482
504
  ContentBlock.add_member_subclass(:tool_use, Types::ContentBlock::ToolUse)
483
505
  ContentBlock.add_member_subclass(:tool_result, Types::ContentBlock::ToolResult)
484
506
  ContentBlock.add_member_subclass(:guard_content, Types::ContentBlock::GuardContent)
@@ -494,12 +516,14 @@ module Aws::BedrockRuntime
494
516
  ContentBlockDelta.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlocksDelta, location_name: "toolResult"))
495
517
  ContentBlockDelta.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlockDelta, location_name: "reasoningContent"))
496
518
  ContentBlockDelta.add_member(:citation, Shapes::ShapeRef.new(shape: CitationsDelta, location_name: "citation"))
519
+ ContentBlockDelta.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlockDelta, location_name: "image"))
497
520
  ContentBlockDelta.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
498
521
  ContentBlockDelta.add_member_subclass(:text, Types::ContentBlockDelta::Text)
499
522
  ContentBlockDelta.add_member_subclass(:tool_use, Types::ContentBlockDelta::ToolUse)
500
523
  ContentBlockDelta.add_member_subclass(:tool_result, Types::ContentBlockDelta::ToolResult)
501
524
  ContentBlockDelta.add_member_subclass(:reasoning_content, Types::ContentBlockDelta::ReasoningContent)
502
525
  ContentBlockDelta.add_member_subclass(:citation, Types::ContentBlockDelta::Citation)
526
+ ContentBlockDelta.add_member_subclass(:image, Types::ContentBlockDelta::Image)
503
527
  ContentBlockDelta.add_member_subclass(:unknown, Types::ContentBlockDelta::Unknown)
504
528
  ContentBlockDelta.struct_class = Types::ContentBlockDelta
505
529
 
@@ -509,9 +533,11 @@ module Aws::BedrockRuntime
509
533
 
510
534
  ContentBlockStart.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlockStart, location_name: "toolUse"))
511
535
  ContentBlockStart.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlockStart, location_name: "toolResult"))
536
+ ContentBlockStart.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlockStart, location_name: "image"))
512
537
  ContentBlockStart.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
513
538
  ContentBlockStart.add_member_subclass(:tool_use, Types::ContentBlockStart::ToolUse)
514
539
  ContentBlockStart.add_member_subclass(:tool_result, Types::ContentBlockStart::ToolResult)
540
+ ContentBlockStart.add_member_subclass(:image, Types::ContentBlockStart::Image)
515
541
  ContentBlockStart.add_member_subclass(:unknown, Types::ContentBlockStart::Unknown)
516
542
  ContentBlockStart.struct_class = Types::ContentBlockStart
517
543
 
@@ -674,6 +700,9 @@ module Aws::BedrockRuntime
674
700
  DocumentSource.add_member_subclass(:unknown, Types::DocumentSource::Unknown)
675
701
  DocumentSource.struct_class = Types::DocumentSource
676
702
 
703
+ ErrorBlock.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
704
+ ErrorBlock.struct_class = Types::ErrorBlock
705
+
677
706
  GetAsyncInvokeRequest.add_member(:invocation_arn, Shapes::ShapeRef.new(shape: InvocationArn, required: true, location: "uri", location_name: "invocationArn"))
678
707
  GetAsyncInvokeRequest.struct_class = Types::GetAsyncInvokeRequest
679
708
 
@@ -979,8 +1008,16 @@ module Aws::BedrockRuntime
979
1008
 
980
1009
  ImageBlock.add_member(:format, Shapes::ShapeRef.new(shape: ImageFormat, required: true, location_name: "format"))
981
1010
  ImageBlock.add_member(:source, Shapes::ShapeRef.new(shape: ImageSource, required: true, location_name: "source"))
1011
+ ImageBlock.add_member(:error, Shapes::ShapeRef.new(shape: ErrorBlock, location_name: "error"))
982
1012
  ImageBlock.struct_class = Types::ImageBlock
983
1013
 
1014
+ ImageBlockDelta.add_member(:source, Shapes::ShapeRef.new(shape: ImageSource, location_name: "source"))
1015
+ ImageBlockDelta.add_member(:error, Shapes::ShapeRef.new(shape: ErrorBlock, location_name: "error"))
1016
+ ImageBlockDelta.struct_class = Types::ImageBlockDelta
1017
+
1018
+ ImageBlockStart.add_member(:format, Shapes::ShapeRef.new(shape: ImageFormat, required: true, location_name: "format"))
1019
+ ImageBlockStart.struct_class = Types::ImageBlockStart
1020
+
984
1021
  ImageSource.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageSourceBytesBlob, location_name: "bytes"))
985
1022
  ImageSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
986
1023
  ImageSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -1279,8 +1316,10 @@ module Aws::BedrockRuntime
1279
1316
  ToolResultBlock.struct_class = Types::ToolResultBlock
1280
1317
 
1281
1318
  ToolResultBlockDelta.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
1319
+ ToolResultBlockDelta.add_member(:json, Shapes::ShapeRef.new(shape: Document, location_name: "json"))
1282
1320
  ToolResultBlockDelta.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1283
1321
  ToolResultBlockDelta.add_member_subclass(:text, Types::ToolResultBlockDelta::Text)
1322
+ ToolResultBlockDelta.add_member_subclass(:json, Types::ToolResultBlockDelta::Json)
1284
1323
  ToolResultBlockDelta.add_member_subclass(:unknown, Types::ToolResultBlockDelta::Unknown)
1285
1324
  ToolResultBlockDelta.struct_class = Types::ToolResultBlockDelta
1286
1325
 
@@ -261,6 +261,70 @@ module Aws::BedrockRuntime
261
261
  include Aws::Structure
262
262
  end
263
263
 
264
+ # An audio content block that contains audio data in various supported
265
+ # formats.
266
+ #
267
+ # @!attribute [rw] format
268
+ # The format of the audio data, such as MP3, WAV, FLAC, or other
269
+ # supported audio formats.
270
+ # @return [String]
271
+ #
272
+ # @!attribute [rw] source
273
+ # The source of the audio data, which can be provided as raw bytes or
274
+ # an S3 location.
275
+ # @return [Types::AudioSource]
276
+ #
277
+ # @!attribute [rw] error
278
+ # Error information if the audio block could not be processed or
279
+ # contains invalid data.
280
+ # @return [Types::ErrorBlock]
281
+ #
282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/AudioBlock AWS API Documentation
283
+ #
284
+ class AudioBlock < Struct.new(
285
+ :format,
286
+ :source,
287
+ :error)
288
+ SENSITIVE = [:source, :error]
289
+ include Aws::Structure
290
+ end
291
+
292
+ # The source of audio data, which can be provided either as raw bytes or
293
+ # a reference to an S3 location.
294
+ #
295
+ # @note AudioSource is a union - when making an API calls you must set exactly one of the members.
296
+ #
297
+ # @note AudioSource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AudioSource corresponding to the set member.
298
+ #
299
+ # @!attribute [rw] bytes
300
+ # Audio data encoded in base64.
301
+ # @return [String]
302
+ #
303
+ # @!attribute [rw] s3_location
304
+ # A reference to audio data stored in an Amazon S3 bucket. To see
305
+ # which models support S3 uploads, see [Supported models and features
306
+ # for Converse][1].
307
+ #
308
+ #
309
+ #
310
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html
311
+ # @return [Types::S3Location]
312
+ #
313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/AudioSource AWS API Documentation
314
+ #
315
+ class AudioSource < Struct.new(
316
+ :bytes,
317
+ :s3_location,
318
+ :unknown)
319
+ SENSITIVE = []
320
+ include Aws::Structure
321
+ include Aws::Structure::Union
322
+
323
+ class Bytes < AudioSource; end
324
+ class S3Location < AudioSource; end
325
+ class Unknown < AudioSource; end
326
+ end
327
+
264
328
  # The Model automatically decides if a tool should be called or whether
265
329
  # to generate text instead. For example, `{"auto" : {}}`. For more
266
330
  # information, see [Call a tool with the Converse API][1] in the Amazon
@@ -605,6 +669,10 @@ module Aws::BedrockRuntime
605
669
  # Video to include in the message.
606
670
  # @return [Types::VideoBlock]
607
671
  #
672
+ # @!attribute [rw] audio
673
+ # An audio content block containing audio data in the conversation.
674
+ # @return [Types::AudioBlock]
675
+ #
608
676
  # @!attribute [rw] tool_use
609
677
  # Information about a tool use request from a model.
610
678
  # @return [Types::ToolUseBlock]
@@ -649,6 +717,7 @@ module Aws::BedrockRuntime
649
717
  :image,
650
718
  :document,
651
719
  :video,
720
+ :audio,
652
721
  :tool_use,
653
722
  :tool_result,
654
723
  :guard_content,
@@ -665,6 +734,7 @@ module Aws::BedrockRuntime
665
734
  class Image < ContentBlock; end
666
735
  class Document < ContentBlock; end
667
736
  class Video < ContentBlock; end
737
+ class Audio < ContentBlock; end
668
738
  class ToolUse < ContentBlock; end
669
739
  class ToolResult < ContentBlock; end
670
740
  class GuardContent < ContentBlock; end
@@ -702,6 +772,10 @@ module Aws::BedrockRuntime
702
772
  # response generation process.
703
773
  # @return [Types::CitationsDelta]
704
774
  #
775
+ # @!attribute [rw] image
776
+ # A streaming delta event containing incremental image data.
777
+ # @return [Types::ImageBlockDelta]
778
+ #
705
779
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ContentBlockDelta AWS API Documentation
706
780
  #
707
781
  class ContentBlockDelta < Struct.new(
@@ -710,6 +784,7 @@ module Aws::BedrockRuntime
710
784
  :tool_result,
711
785
  :reasoning_content,
712
786
  :citation,
787
+ :image,
713
788
  :unknown)
714
789
  SENSITIVE = [:reasoning_content]
715
790
  include Aws::Structure
@@ -720,6 +795,7 @@ module Aws::BedrockRuntime
720
795
  class ToolResult < ContentBlockDelta; end
721
796
  class ReasoningContent < ContentBlockDelta; end
722
797
  class Citation < ContentBlockDelta; end
798
+ class Image < ContentBlockDelta; end
723
799
  class Unknown < ContentBlockDelta; end
724
800
  end
725
801
 
@@ -755,11 +831,16 @@ module Aws::BedrockRuntime
755
831
  # The
756
832
  # @return [Types::ToolResultBlockStart]
757
833
  #
834
+ # @!attribute [rw] image
835
+ # The initial event indicating the start of a streaming image block.
836
+ # @return [Types::ImageBlockStart]
837
+ #
758
838
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ContentBlockStart AWS API Documentation
759
839
  #
760
840
  class ContentBlockStart < Struct.new(
761
841
  :tool_use,
762
842
  :tool_result,
843
+ :image,
763
844
  :unknown)
764
845
  SENSITIVE = []
765
846
  include Aws::Structure
@@ -767,6 +848,7 @@ module Aws::BedrockRuntime
767
848
 
768
849
  class ToolUse < ContentBlockStart; end
769
850
  class ToolResult < ContentBlockStart; end
851
+ class Image < ContentBlockStart; end
770
852
  class Unknown < ContentBlockStart; end
771
853
  end
772
854
 
@@ -1639,6 +1721,21 @@ module Aws::BedrockRuntime
1639
1721
  class Unknown < DocumentSource; end
1640
1722
  end
1641
1723
 
1724
+ # A block containing error information when content processing fails.
1725
+ #
1726
+ # @!attribute [rw] message
1727
+ # A human-readable error message describing what went wrong during
1728
+ # content processing.
1729
+ # @return [String]
1730
+ #
1731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ErrorBlock AWS API Documentation
1732
+ #
1733
+ class ErrorBlock < Struct.new(
1734
+ :message)
1735
+ SENSITIVE = []
1736
+ include Aws::Structure
1737
+ end
1738
+
1642
1739
  # @!attribute [rw] invocation_arn
1643
1740
  # The invocation's ARN.
1644
1741
  # @return [String]
@@ -2930,11 +3027,53 @@ module Aws::BedrockRuntime
2930
3027
  # The source for the image.
2931
3028
  # @return [Types::ImageSource]
2932
3029
  #
3030
+ # @!attribute [rw] error
3031
+ # Error information if the image block could not be processed or
3032
+ # contains invalid data.
3033
+ # @return [Types::ErrorBlock]
3034
+ #
2933
3035
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ImageBlock AWS API Documentation
2934
3036
  #
2935
3037
  class ImageBlock < Struct.new(
2936
3038
  :format,
2937
- :source)
3039
+ :source,
3040
+ :error)
3041
+ SENSITIVE = [:source, :error]
3042
+ include Aws::Structure
3043
+ end
3044
+
3045
+ # A streaming delta event that contains incremental image data during
3046
+ # streaming responses.
3047
+ #
3048
+ # @!attribute [rw] source
3049
+ # The incremental image source data for this delta event.
3050
+ # @return [Types::ImageSource]
3051
+ #
3052
+ # @!attribute [rw] error
3053
+ # Error information if this image delta could not be processed.
3054
+ # @return [Types::ErrorBlock]
3055
+ #
3056
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ImageBlockDelta AWS API Documentation
3057
+ #
3058
+ class ImageBlockDelta < Struct.new(
3059
+ :source,
3060
+ :error)
3061
+ SENSITIVE = [:source, :error]
3062
+ include Aws::Structure
3063
+ end
3064
+
3065
+ # The initial event in a streaming image block that indicates the start
3066
+ # of image content.
3067
+ #
3068
+ # @!attribute [rw] format
3069
+ # The format of the image data that will be streamed in subsequent
3070
+ # delta events.
3071
+ # @return [String]
3072
+ #
3073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ImageBlockStart AWS API Documentation
3074
+ #
3075
+ class ImageBlockStart < Struct.new(
3076
+ :format)
2938
3077
  SENSITIVE = []
2939
3078
  include Aws::Structure
2940
3079
  end
@@ -4364,16 +4503,27 @@ module Aws::BedrockRuntime
4364
4503
  # The reasoning the model used to return the output.
4365
4504
  # @return [String]
4366
4505
  #
4506
+ # @!attribute [rw] json
4507
+ # The JSON schema for the tool result content block. see [JSON Schema
4508
+ # Reference][1].
4509
+ #
4510
+ #
4511
+ #
4512
+ # [1]: https://json-schema.org/understanding-json-schema/reference
4513
+ # @return [Hash,Array,String,Numeric,Boolean]
4514
+ #
4367
4515
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ToolResultBlockDelta AWS API Documentation
4368
4516
  #
4369
4517
  class ToolResultBlockDelta < Struct.new(
4370
4518
  :text,
4519
+ :json,
4371
4520
  :unknown)
4372
4521
  SENSITIVE = []
4373
4522
  include Aws::Structure
4374
4523
  include Aws::Structure::Union
4375
4524
 
4376
4525
  class Text < ToolResultBlockDelta; end
4526
+ class Json < ToolResultBlockDelta; end
4377
4527
  class Unknown < ToolResultBlockDelta; end
4378
4528
  end
4379
4529
 
@@ -73,7 +73,7 @@ module Aws::BedrockRuntime
73
73
  autoload :AsyncClient, 'aws-sdk-bedrockruntime/async_client'
74
74
  autoload :EventStreams, 'aws-sdk-bedrockruntime/event_streams'
75
75
 
76
- GEM_VERSION = '1.67.0'
76
+ GEM_VERSION = '1.68.0'
77
77
 
78
78
  end
79
79
 
data/sig/client.rbs CHANGED
@@ -116,7 +116,7 @@ module Aws
116
116
  interface _ConverseResponseSuccess
117
117
  include ::Seahorse::Client::_ResponseSuccess[Types::ConverseResponse]
118
118
  def output: () -> Types::ConverseOutput
119
- def stop_reason: () -> ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered" | "model_context_window_exceeded")
119
+ def stop_reason: () -> ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered" | "malformed_model_output" | "malformed_tool_use" | "model_context_window_exceeded")
120
120
  def usage: () -> Types::TokenUsage
121
121
  def metrics: () -> Types::ConverseMetrics
122
122
  def additional_model_response_fields: () -> untyped
@@ -141,7 +141,10 @@ module Aws
141
141
  uri: ::String,
142
142
  bucket_owner: ::String?
143
143
  }?
144
- }
144
+ },
145
+ error: {
146
+ message: ::String?
147
+ }?
145
148
  }?,
146
149
  document: {
147
150
  format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
@@ -174,6 +177,19 @@ module Aws
174
177
  }?
175
178
  }
176
179
  }?,
180
+ audio: {
181
+ format: ("mp3" | "opus" | "wav" | "aac" | "flac" | "mp4" | "ogg" | "mkv" | "mka" | "x-aac" | "m4a" | "mpeg" | "mpga" | "pcm" | "webm"),
182
+ source: {
183
+ bytes: ::String?,
184
+ s3_location: {
185
+ uri: ::String,
186
+ bucket_owner: ::String?
187
+ }?
188
+ },
189
+ error: {
190
+ message: ::String?
191
+ }?
192
+ }?,
177
193
  tool_use: {
178
194
  tool_use_id: ::String,
179
195
  name: ::String,
@@ -196,7 +212,10 @@ module Aws
196
212
  uri: ::String,
197
213
  bucket_owner: ::String?
198
214
  }?
199
- }
215
+ },
216
+ error: {
217
+ message: ::String?
218
+ }?
200
219
  }?,
201
220
  document: {
202
221
  format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
@@ -425,7 +444,10 @@ module Aws
425
444
  uri: ::String,
426
445
  bucket_owner: ::String?
427
446
  }?
428
- }
447
+ },
448
+ error: {
449
+ message: ::String?
450
+ }?
429
451
  }?,
430
452
  document: {
431
453
  format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
@@ -458,6 +480,19 @@ module Aws
458
480
  }?
459
481
  }
460
482
  }?,
483
+ audio: {
484
+ format: ("mp3" | "opus" | "wav" | "aac" | "flac" | "mp4" | "ogg" | "mkv" | "mka" | "x-aac" | "m4a" | "mpeg" | "mpga" | "pcm" | "webm"),
485
+ source: {
486
+ bytes: ::String?,
487
+ s3_location: {
488
+ uri: ::String,
489
+ bucket_owner: ::String?
490
+ }?
491
+ },
492
+ error: {
493
+ message: ::String?
494
+ }?
495
+ }?,
461
496
  tool_use: {
462
497
  tool_use_id: ::String,
463
498
  name: ::String,
@@ -480,7 +515,10 @@ module Aws
480
515
  uri: ::String,
481
516
  bucket_owner: ::String?
482
517
  }?
483
- }
518
+ },
519
+ error: {
520
+ message: ::String?
521
+ }?
484
522
  }?,
485
523
  document: {
486
524
  format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
@@ -715,7 +753,10 @@ module Aws
715
753
  uri: ::String,
716
754
  bucket_owner: ::String?
717
755
  }?
718
- }
756
+ },
757
+ error: {
758
+ message: ::String?
759
+ }?
719
760
  }?,
720
761
  document: {
721
762
  format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
@@ -748,6 +789,19 @@ module Aws
748
789
  }?
749
790
  }
750
791
  }?,
792
+ audio: {
793
+ format: ("mp3" | "opus" | "wav" | "aac" | "flac" | "mp4" | "ogg" | "mkv" | "mka" | "x-aac" | "m4a" | "mpeg" | "mpga" | "pcm" | "webm"),
794
+ source: {
795
+ bytes: ::String?,
796
+ s3_location: {
797
+ uri: ::String,
798
+ bucket_owner: ::String?
799
+ }?
800
+ },
801
+ error: {
802
+ message: ::String?
803
+ }?
804
+ }?,
751
805
  tool_use: {
752
806
  tool_use_id: ::String,
753
807
  name: ::String,
@@ -770,7 +824,10 @@ module Aws
770
824
  uri: ::String,
771
825
  bucket_owner: ::String?
772
826
  }?
773
- }
827
+ },
828
+ error: {
829
+ message: ::String?
830
+ }?
774
831
  }?,
775
832
  document: {
776
833
  format: ("pdf" | "csv" | "doc" | "docx" | "xls" | "xlsx" | "html" | "txt" | "md")?,
data/sig/types.rbs CHANGED
@@ -75,6 +75,27 @@ module Aws::BedrockRuntime
75
75
  SENSITIVE: [:failure_message]
76
76
  end
77
77
 
78
+ class AudioBlock
79
+ attr_accessor format: ("mp3" | "opus" | "wav" | "aac" | "flac" | "mp4" | "ogg" | "mkv" | "mka" | "x-aac" | "m4a" | "mpeg" | "mpga" | "pcm" | "webm")
80
+ attr_accessor source: Types::AudioSource
81
+ attr_accessor error: Types::ErrorBlock
82
+ SENSITIVE: [:source, :error]
83
+ end
84
+
85
+ class AudioSource
86
+ attr_accessor bytes: ::String
87
+ attr_accessor s3_location: Types::S3Location
88
+ attr_accessor unknown: untyped
89
+ SENSITIVE: []
90
+
91
+ class Bytes < AudioSource
92
+ end
93
+ class S3Location < AudioSource
94
+ end
95
+ class Unknown < AudioSource
96
+ end
97
+ end
98
+
78
99
  class AutoToolChoice < Aws::EmptyStructure
79
100
  end
80
101
 
@@ -182,6 +203,7 @@ module Aws::BedrockRuntime
182
203
  attr_accessor image: Types::ImageBlock
183
204
  attr_accessor document: Types::DocumentBlock
184
205
  attr_accessor video: Types::VideoBlock
206
+ attr_accessor audio: Types::AudioBlock
185
207
  attr_accessor tool_use: Types::ToolUseBlock
186
208
  attr_accessor tool_result: Types::ToolResultBlock
187
209
  attr_accessor guard_content: Types::GuardrailConverseContentBlock
@@ -200,6 +222,8 @@ module Aws::BedrockRuntime
200
222
  end
201
223
  class Video < ContentBlock
202
224
  end
225
+ class Audio < ContentBlock
226
+ end
203
227
  class ToolUse < ContentBlock
204
228
  end
205
229
  class ToolResult < ContentBlock
@@ -224,6 +248,7 @@ module Aws::BedrockRuntime
224
248
  attr_accessor tool_result: ::Array[Types::ToolResultBlockDelta]
225
249
  attr_accessor reasoning_content: Types::ReasoningContentBlockDelta
226
250
  attr_accessor citation: Types::CitationsDelta
251
+ attr_accessor image: Types::ImageBlockDelta
227
252
  attr_accessor unknown: untyped
228
253
  SENSITIVE: [:reasoning_content]
229
254
 
@@ -237,6 +262,8 @@ module Aws::BedrockRuntime
237
262
  end
238
263
  class Citation < ContentBlockDelta
239
264
  end
265
+ class Image < ContentBlockDelta
266
+ end
240
267
  class Unknown < ContentBlockDelta
241
268
  end
242
269
  end
@@ -251,6 +278,7 @@ module Aws::BedrockRuntime
251
278
  class ContentBlockStart
252
279
  attr_accessor tool_use: Types::ToolUseBlockStart
253
280
  attr_accessor tool_result: Types::ToolResultBlockStart
281
+ attr_accessor image: Types::ImageBlockStart
254
282
  attr_accessor unknown: untyped
255
283
  SENSITIVE: []
256
284
 
@@ -258,6 +286,8 @@ module Aws::BedrockRuntime
258
286
  end
259
287
  class ToolResult < ContentBlockStart
260
288
  end
289
+ class Image < ContentBlockStart
290
+ end
261
291
  class Unknown < ContentBlockStart
262
292
  end
263
293
  end
@@ -309,7 +339,7 @@ module Aws::BedrockRuntime
309
339
 
310
340
  class ConverseResponse
311
341
  attr_accessor output: Types::ConverseOutput
312
- attr_accessor stop_reason: ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered" | "model_context_window_exceeded")
342
+ attr_accessor stop_reason: ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered" | "malformed_model_output" | "malformed_tool_use" | "model_context_window_exceeded")
313
343
  attr_accessor usage: Types::TokenUsage
314
344
  attr_accessor metrics: Types::ConverseMetrics
315
345
  attr_accessor additional_model_response_fields: untyped
@@ -461,6 +491,11 @@ module Aws::BedrockRuntime
461
491
  end
462
492
  end
463
493
 
494
+ class ErrorBlock
495
+ attr_accessor message: ::String
496
+ SENSITIVE: []
497
+ end
498
+
464
499
  class GetAsyncInvokeRequest
465
500
  attr_accessor invocation_arn: ::String
466
501
  SENSITIVE: []
@@ -838,6 +873,18 @@ module Aws::BedrockRuntime
838
873
  class ImageBlock
839
874
  attr_accessor format: ("png" | "jpeg" | "gif" | "webp")
840
875
  attr_accessor source: Types::ImageSource
876
+ attr_accessor error: Types::ErrorBlock
877
+ SENSITIVE: [:source, :error]
878
+ end
879
+
880
+ class ImageBlockDelta
881
+ attr_accessor source: Types::ImageSource
882
+ attr_accessor error: Types::ErrorBlock
883
+ SENSITIVE: [:source, :error]
884
+ end
885
+
886
+ class ImageBlockStart
887
+ attr_accessor format: ("png" | "jpeg" | "gif" | "webp")
841
888
  SENSITIVE: []
842
889
  end
843
890
 
@@ -957,7 +1004,7 @@ module Aws::BedrockRuntime
957
1004
  end
958
1005
 
959
1006
  class MessageStopEvent
960
- attr_accessor stop_reason: ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered" | "model_context_window_exceeded")
1007
+ attr_accessor stop_reason: ("end_turn" | "tool_use" | "max_tokens" | "stop_sequence" | "guardrail_intervened" | "content_filtered" | "malformed_model_output" | "malformed_tool_use" | "model_context_window_exceeded")
961
1008
  attr_accessor additional_model_response_fields: untyped
962
1009
  attr_accessor event_type: untyped
963
1010
  SENSITIVE: []
@@ -1223,11 +1270,14 @@ module Aws::BedrockRuntime
1223
1270
 
1224
1271
  class ToolResultBlockDelta
1225
1272
  attr_accessor text: ::String
1273
+ attr_accessor json: untyped
1226
1274
  attr_accessor unknown: untyped
1227
1275
  SENSITIVE: []
1228
1276
 
1229
1277
  class Text < ToolResultBlockDelta
1230
1278
  end
1279
+ class Json < ToolResultBlockDelta
1280
+ end
1231
1281
  class Unknown < ToolResultBlockDelta
1232
1282
  end
1233
1283
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.67.0
4
+ version: 1.68.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services