aws-sdk-bedrockruntime 1.62.0 → 1.64.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: 1710612a0509a4726ba77860cf5876e3e20d75750787d6105693aa6544b8c631
4
- data.tar.gz: a8332153ff0fa32f91667bdb2707f249d967bbc344f61cc19f6a8bb57020cc6f
3
+ metadata.gz: a66e767c571f46752bb9bdb4265a3eb22c1201743e93f338e0a174f82fbff1ed
4
+ data.tar.gz: 410f8bb4d3de61a4f94c885125ded145855e09dc1ae23f81b2591ea77446e3c1
5
5
  SHA512:
6
- metadata.gz: a7c07dee2bd6b2d0cc350a4187a59b2852cf37e9171291b497a816f57e653dc4ee895c2c36877816442264f5a22932d21786b6d1b8d2fbf667e54dfa8ad42f6a
7
- data.tar.gz: fc759fd66f13e3d54bcab377e9b2db830cb9d82d5b67148d461ac4bf5c897b570c307b36120aae90c8b254b727e20dd5cb61a75d34f313f42e010e5237598aaa
6
+ metadata.gz: a913388099c198af7138e5c0a051c6eac98e706b7373798831b108fe257fec1d1d3c8d8649e447eab31ebc598fc6124bf36141a6f4dd081893e4d8cf4967c55b
7
+ data.tar.gz: 0f357eb2e1a514ba33c5b95331d42aeb6751f87e75b925d4c1b797f9e6f52b9297b74e4536d4758500416994591e82f8590717a429350fe4c743655968b23c5f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.64.0 (2025-11-18)
5
+ ------------------
6
+
7
+ * Feature - Amazon Bedrock Runtime Service Tier Support Launch
8
+
9
+ 1.63.0 (2025-10-29)
10
+ ------------------
11
+
12
+ * Feature - Add support for system tool and web citation response.
13
+
4
14
  1.62.0 (2025-10-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.62.0
1
+ 1.64.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.62.0'
624
+ context[:gem_version] = '1.64.0'
625
625
  Seahorse::Client::Request.new(handlers, context)
626
626
  end
627
627
 
@@ -914,6 +914,10 @@ module Aws::BedrockRuntime
914
914
  # @option params [Types::PerformanceConfiguration] :performance_config
915
915
  # Model performance settings for the request.
916
916
  #
917
+ # @option params [Types::ServiceTier] :service_tier
918
+ # Specifies the processing tier configuration used for serving the
919
+ # request.
920
+ #
917
921
  # @return [Types::ConverseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
918
922
  #
919
923
  # * {Types::ConverseResponse#output #output} => Types::ConverseOutput
@@ -923,6 +927,7 @@ module Aws::BedrockRuntime
923
927
  # * {Types::ConverseResponse#additional_model_response_fields #additional_model_response_fields} => Hash,Array,String,Numeric,Boolean
924
928
  # * {Types::ConverseResponse#trace #trace} => Types::ConverseTrace
925
929
  # * {Types::ConverseResponse#performance_config #performance_config} => Types::PerformanceConfiguration
930
+ # * {Types::ConverseResponse#service_tier #service_tier} => Types::ServiceTier
926
931
  #
927
932
  # @example Request syntax with placeholder values
928
933
  #
@@ -980,6 +985,7 @@ module Aws::BedrockRuntime
980
985
  # name: "ToolName", # required
981
986
  # input: { # required
982
987
  # },
988
+ # type: "server_tool_use", # accepts server_tool_use
983
989
  # },
984
990
  # tool_result: {
985
991
  # tool_use_id: "ToolUseId", # required
@@ -1032,6 +1038,7 @@ module Aws::BedrockRuntime
1032
1038
  # },
1033
1039
  # ],
1034
1040
  # status: "success", # accepts success, error
1041
+ # type: "String",
1035
1042
  # },
1036
1043
  # guard_content: {
1037
1044
  # text: {
@@ -1070,6 +1077,10 @@ module Aws::BedrockRuntime
1070
1077
  # },
1071
1078
  # ],
1072
1079
  # location: {
1080
+ # web: {
1081
+ # url: "String",
1082
+ # domain: "String",
1083
+ # },
1073
1084
  # document_char: {
1074
1085
  # document_index: 1,
1075
1086
  # start: 1,
@@ -1130,6 +1141,9 @@ module Aws::BedrockRuntime
1130
1141
  # },
1131
1142
  # },
1132
1143
  # },
1144
+ # system_tool: {
1145
+ # name: "ToolName", # required
1146
+ # },
1133
1147
  # cache_point: {
1134
1148
  # type: "default", # required, accepts default
1135
1149
  # },
@@ -1164,6 +1178,9 @@ module Aws::BedrockRuntime
1164
1178
  # performance_config: {
1165
1179
  # latency: "standard", # accepts standard, optimized
1166
1180
  # },
1181
+ # service_tier: {
1182
+ # type: "priority", # required, accepts priority, default, flex
1183
+ # },
1167
1184
  # })
1168
1185
  #
1169
1186
  # @example Response structure
@@ -1191,6 +1208,7 @@ module Aws::BedrockRuntime
1191
1208
  # resp.output.message.content[0].video.source.s3_location.bucket_owner #=> String
1192
1209
  # resp.output.message.content[0].tool_use.tool_use_id #=> String
1193
1210
  # resp.output.message.content[0].tool_use.name #=> String
1211
+ # resp.output.message.content[0].tool_use.type #=> String, one of "server_tool_use"
1194
1212
  # resp.output.message.content[0].tool_result.tool_use_id #=> String
1195
1213
  # resp.output.message.content[0].tool_result.content #=> Array
1196
1214
  # resp.output.message.content[0].tool_result.content[0].text #=> String
@@ -1213,6 +1231,7 @@ module Aws::BedrockRuntime
1213
1231
  # resp.output.message.content[0].tool_result.content[0].video.source.s3_location.uri #=> String
1214
1232
  # resp.output.message.content[0].tool_result.content[0].video.source.s3_location.bucket_owner #=> String
1215
1233
  # resp.output.message.content[0].tool_result.status #=> String, one of "success", "error"
1234
+ # resp.output.message.content[0].tool_result.type #=> String
1216
1235
  # resp.output.message.content[0].guard_content.text.text #=> String
1217
1236
  # resp.output.message.content[0].guard_content.text.qualifiers #=> Array
1218
1237
  # resp.output.message.content[0].guard_content.text.qualifiers[0] #=> String, one of "grounding_source", "query", "guard_content"
@@ -1228,6 +1247,8 @@ module Aws::BedrockRuntime
1228
1247
  # resp.output.message.content[0].citations_content.citations[0].title #=> String
1229
1248
  # resp.output.message.content[0].citations_content.citations[0].source_content #=> Array
1230
1249
  # resp.output.message.content[0].citations_content.citations[0].source_content[0].text #=> String
1250
+ # resp.output.message.content[0].citations_content.citations[0].location.web.url #=> String
1251
+ # resp.output.message.content[0].citations_content.citations[0].location.web.domain #=> String
1231
1252
  # resp.output.message.content[0].citations_content.citations[0].location.document_char.document_index #=> Integer
1232
1253
  # resp.output.message.content[0].citations_content.citations[0].location.document_char.start #=> Integer
1233
1254
  # resp.output.message.content[0].citations_content.citations[0].location.document_char.end #=> Integer
@@ -1570,6 +1591,7 @@ module Aws::BedrockRuntime
1570
1591
  # resp.trace.guardrail.action_reason #=> String
1571
1592
  # resp.trace.prompt_router.invoked_model_id #=> String
1572
1593
  # resp.performance_config.latency #=> String, one of "standard", "optimized"
1594
+ # resp.service_tier.type #=> String, one of "priority", "default", "flex"
1573
1595
  #
1574
1596
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/Converse AWS API Documentation
1575
1597
  #
@@ -1763,6 +1785,10 @@ module Aws::BedrockRuntime
1763
1785
  # @option params [Types::PerformanceConfiguration] :performance_config
1764
1786
  # Model performance settings for the request.
1765
1787
  #
1788
+ # @option params [Types::ServiceTier] :service_tier
1789
+ # Specifies the processing tier configuration used for serving the
1790
+ # request.
1791
+ #
1766
1792
  # @return [Types::ConverseStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1767
1793
  #
1768
1794
  # * {Types::ConverseStreamResponse#stream #stream} => Types::ConverseStreamOutput
@@ -2002,6 +2028,7 @@ module Aws::BedrockRuntime
2002
2028
  # name: "ToolName", # required
2003
2029
  # input: { # required
2004
2030
  # },
2031
+ # type: "server_tool_use", # accepts server_tool_use
2005
2032
  # },
2006
2033
  # tool_result: {
2007
2034
  # tool_use_id: "ToolUseId", # required
@@ -2054,6 +2081,7 @@ module Aws::BedrockRuntime
2054
2081
  # },
2055
2082
  # ],
2056
2083
  # status: "success", # accepts success, error
2084
+ # type: "String",
2057
2085
  # },
2058
2086
  # guard_content: {
2059
2087
  # text: {
@@ -2092,6 +2120,10 @@ module Aws::BedrockRuntime
2092
2120
  # },
2093
2121
  # ],
2094
2122
  # location: {
2123
+ # web: {
2124
+ # url: "String",
2125
+ # domain: "String",
2126
+ # },
2095
2127
  # document_char: {
2096
2128
  # document_index: 1,
2097
2129
  # start: 1,
@@ -2152,6 +2184,9 @@ module Aws::BedrockRuntime
2152
2184
  # },
2153
2185
  # },
2154
2186
  # },
2187
+ # system_tool: {
2188
+ # name: "ToolName", # required
2189
+ # },
2155
2190
  # cache_point: {
2156
2191
  # type: "default", # required, accepts default
2157
2192
  # },
@@ -2187,6 +2222,9 @@ module Aws::BedrockRuntime
2187
2222
  # performance_config: {
2188
2223
  # latency: "standard", # accepts standard, optimized
2189
2224
  # },
2225
+ # service_tier: {
2226
+ # type: "priority", # required, accepts priority, default, flex
2227
+ # },
2190
2228
  # })
2191
2229
  #
2192
2230
  # @example Response structure
@@ -2201,17 +2239,25 @@ module Aws::BedrockRuntime
2201
2239
  # # For :content_block_start event available at #on_content_block_start_event callback and response eventstream enumerator:
2202
2240
  # event.start.tool_use.tool_use_id #=> String
2203
2241
  # event.start.tool_use.name #=> String
2242
+ # event.start.tool_use.type #=> String, one of "server_tool_use"
2243
+ # event.start.tool_result.tool_use_id #=> String
2244
+ # event.start.tool_result.type #=> String
2245
+ # event.start.tool_result.status #=> String, one of "success", "error"
2204
2246
  # event.content_block_index #=> Integer
2205
2247
  #
2206
2248
  # # For :content_block_delta event available at #on_content_block_delta_event callback and response eventstream enumerator:
2207
2249
  # event.delta.text #=> String
2208
2250
  # event.delta.tool_use.input #=> String
2251
+ # event.delta.tool_result #=> Array
2252
+ # event.delta.tool_result[0].text #=> String
2209
2253
  # event.delta.reasoning_content.text #=> String
2210
2254
  # event.delta.reasoning_content.redacted_content #=> String
2211
2255
  # event.delta.reasoning_content.signature #=> String
2212
2256
  # event.delta.citation.title #=> String
2213
2257
  # event.delta.citation.source_content #=> Array
2214
2258
  # event.delta.citation.source_content[0].text #=> String
2259
+ # event.delta.citation.location.web.url #=> String
2260
+ # event.delta.citation.location.web.domain #=> String
2215
2261
  # event.delta.citation.location.document_char.document_index #=> Integer
2216
2262
  # event.delta.citation.location.document_char.start #=> Integer
2217
2263
  # event.delta.citation.location.document_char.end #=> Integer
@@ -2562,6 +2608,7 @@ module Aws::BedrockRuntime
2562
2608
  # event.trace.guardrail.action_reason #=> String
2563
2609
  # event.trace.prompt_router.invoked_model_id #=> String
2564
2610
  # event.performance_config.latency #=> String, one of "standard", "optimized"
2611
+ # event.service_tier.type #=> String, one of "priority", "default", "flex"
2565
2612
  #
2566
2613
  # # For :internal_server_exception event available at #on_internal_server_exception_event callback and response eventstream enumerator:
2567
2614
  # event.message #=> String
@@ -2726,6 +2773,7 @@ module Aws::BedrockRuntime
2726
2773
  # name: "ToolName", # required
2727
2774
  # input: { # required
2728
2775
  # },
2776
+ # type: "server_tool_use", # accepts server_tool_use
2729
2777
  # },
2730
2778
  # tool_result: {
2731
2779
  # tool_use_id: "ToolUseId", # required
@@ -2778,6 +2826,7 @@ module Aws::BedrockRuntime
2778
2826
  # },
2779
2827
  # ],
2780
2828
  # status: "success", # accepts success, error
2829
+ # type: "String",
2781
2830
  # },
2782
2831
  # guard_content: {
2783
2832
  # text: {
@@ -2816,6 +2865,10 @@ module Aws::BedrockRuntime
2816
2865
  # },
2817
2866
  # ],
2818
2867
  # location: {
2868
+ # web: {
2869
+ # url: "String",
2870
+ # domain: "String",
2871
+ # },
2819
2872
  # document_char: {
2820
2873
  # document_index: 1,
2821
2874
  # start: 1,
@@ -2859,6 +2912,37 @@ module Aws::BedrockRuntime
2859
2912
  # },
2860
2913
  # },
2861
2914
  # ],
2915
+ # tool_config: {
2916
+ # tools: [ # required
2917
+ # {
2918
+ # tool_spec: {
2919
+ # name: "ToolName", # required
2920
+ # description: "NonEmptyString",
2921
+ # input_schema: { # required
2922
+ # json: {
2923
+ # },
2924
+ # },
2925
+ # },
2926
+ # system_tool: {
2927
+ # name: "ToolName", # required
2928
+ # },
2929
+ # cache_point: {
2930
+ # type: "default", # required, accepts default
2931
+ # },
2932
+ # },
2933
+ # ],
2934
+ # tool_choice: {
2935
+ # auto: {
2936
+ # },
2937
+ # any: {
2938
+ # },
2939
+ # tool: {
2940
+ # name: "ToolName", # required
2941
+ # },
2942
+ # },
2943
+ # },
2944
+ # additional_model_request_fields: {
2945
+ # },
2862
2946
  # },
2863
2947
  # },
2864
2948
  # })
@@ -3033,11 +3117,15 @@ module Aws::BedrockRuntime
3033
3117
  # @option params [String] :performance_config_latency
3034
3118
  # Model performance settings for the request.
3035
3119
  #
3120
+ # @option params [String] :service_tier
3121
+ # Specifies the processing tier type used for serving the request.
3122
+ #
3036
3123
  # @return [Types::InvokeModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3037
3124
  #
3038
3125
  # * {Types::InvokeModelResponse#body #body} => String
3039
3126
  # * {Types::InvokeModelResponse#content_type #content_type} => String
3040
3127
  # * {Types::InvokeModelResponse#performance_config_latency #performance_config_latency} => String
3128
+ # * {Types::InvokeModelResponse#service_tier #service_tier} => String
3041
3129
  #
3042
3130
  # @example Request syntax with placeholder values
3043
3131
  #
@@ -3050,6 +3138,7 @@ module Aws::BedrockRuntime
3050
3138
  # guardrail_identifier: "GuardrailIdentifier",
3051
3139
  # guardrail_version: "GuardrailVersion",
3052
3140
  # performance_config_latency: "standard", # accepts standard, optimized
3141
+ # service_tier: "priority", # accepts priority, default, flex
3053
3142
  # })
3054
3143
  #
3055
3144
  # @example Response structure
@@ -3057,6 +3146,7 @@ module Aws::BedrockRuntime
3057
3146
  # resp.body #=> String
3058
3147
  # resp.content_type #=> String
3059
3148
  # resp.performance_config_latency #=> String, one of "standard", "optimized"
3149
+ # resp.service_tier #=> String, one of "priority", "default", "flex"
3060
3150
  #
3061
3151
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/InvokeModel AWS API Documentation
3062
3152
  #
@@ -3187,11 +3277,15 @@ module Aws::BedrockRuntime
3187
3277
  # @option params [String] :performance_config_latency
3188
3278
  # Model performance settings for the request.
3189
3279
  #
3280
+ # @option params [String] :service_tier
3281
+ # Specifies the processing tier type used for serving the request.
3282
+ #
3190
3283
  # @return [Types::InvokeModelWithResponseStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3191
3284
  #
3192
3285
  # * {Types::InvokeModelWithResponseStreamResponse#body #body} => Types::ResponseStream
3193
3286
  # * {Types::InvokeModelWithResponseStreamResponse#content_type #content_type} => String
3194
3287
  # * {Types::InvokeModelWithResponseStreamResponse#performance_config_latency #performance_config_latency} => String
3288
+ # * {Types::InvokeModelWithResponseStreamResponse#service_tier #service_tier} => String
3195
3289
  #
3196
3290
  # @example EventStream Operation Example
3197
3291
  #
@@ -3347,6 +3441,7 @@ module Aws::BedrockRuntime
3347
3441
  # guardrail_identifier: "GuardrailIdentifier",
3348
3442
  # guardrail_version: "GuardrailVersion",
3349
3443
  # performance_config_latency: "standard", # accepts standard, optimized
3444
+ # service_tier: "priority", # accepts priority, default, flex
3350
3445
  # })
3351
3446
  #
3352
3447
  # @example Response structure
@@ -3380,6 +3475,7 @@ module Aws::BedrockRuntime
3380
3475
  #
3381
3476
  # resp.content_type #=> String
3382
3477
  # resp.performance_config_latency #=> String, one of "standard", "optimized"
3478
+ # resp.service_tier #=> String, one of "priority", "default", "flex"
3383
3479
  #
3384
3480
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/InvokeModelWithResponseStream AWS API Documentation
3385
3481
  #
@@ -3574,7 +3670,7 @@ module Aws::BedrockRuntime
3574
3670
  tracer: tracer
3575
3671
  )
3576
3672
  context[:gem_name] = 'aws-sdk-bedrockruntime'
3577
- context[:gem_version] = '1.62.0'
3673
+ context[:gem_version] = '1.64.0'
3578
3674
  Seahorse::Client::Request.new(handlers, context)
3579
3675
  end
3580
3676
 
@@ -274,6 +274,8 @@ module Aws::BedrockRuntime
274
274
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
275
275
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
276
276
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
277
+ ServiceTier = Shapes::StructureShape.new(name: 'ServiceTier')
278
+ ServiceTierType = Shapes::StringShape.new(name: 'ServiceTierType')
277
279
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
278
280
  SortAsyncInvocationBy = Shapes::StringShape.new(name: 'SortAsyncInvocationBy')
279
281
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
@@ -285,6 +287,7 @@ module Aws::BedrockRuntime
285
287
  String = Shapes::StringShape.new(name: 'String')
286
288
  SystemContentBlock = Shapes::UnionShape.new(name: 'SystemContentBlock')
287
289
  SystemContentBlocks = Shapes::ListShape.new(name: 'SystemContentBlocks')
290
+ SystemTool = Shapes::StructureShape.new(name: 'SystemTool')
288
291
  Tag = Shapes::StructureShape.new(name: 'Tag')
289
292
  TagKey = Shapes::StringShape.new(name: 'TagKey')
290
293
  TagList = Shapes::ListShape.new(name: 'TagList')
@@ -306,6 +309,9 @@ module Aws::BedrockRuntime
306
309
  ToolInputSchema = Shapes::UnionShape.new(name: 'ToolInputSchema')
307
310
  ToolName = Shapes::StringShape.new(name: 'ToolName')
308
311
  ToolResultBlock = Shapes::StructureShape.new(name: 'ToolResultBlock')
312
+ ToolResultBlockDelta = Shapes::UnionShape.new(name: 'ToolResultBlockDelta')
313
+ ToolResultBlockStart = Shapes::StructureShape.new(name: 'ToolResultBlockStart')
314
+ ToolResultBlocksDelta = Shapes::ListShape.new(name: 'ToolResultBlocksDelta')
309
315
  ToolResultContentBlock = Shapes::UnionShape.new(name: 'ToolResultContentBlock')
310
316
  ToolResultContentBlocks = Shapes::ListShape.new(name: 'ToolResultContentBlocks')
311
317
  ToolResultStatus = Shapes::StringShape.new(name: 'ToolResultStatus')
@@ -314,12 +320,14 @@ module Aws::BedrockRuntime
314
320
  ToolUseBlockDelta = Shapes::StructureShape.new(name: 'ToolUseBlockDelta')
315
321
  ToolUseBlockStart = Shapes::StructureShape.new(name: 'ToolUseBlockStart')
316
322
  ToolUseId = Shapes::StringShape.new(name: 'ToolUseId')
323
+ ToolUseType = Shapes::StringShape.new(name: 'ToolUseType')
317
324
  Trace = Shapes::StringShape.new(name: 'Trace')
318
325
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
319
326
  VideoBlock = Shapes::StructureShape.new(name: 'VideoBlock')
320
327
  VideoFormat = Shapes::StringShape.new(name: 'VideoFormat')
321
328
  VideoSource = Shapes::UnionShape.new(name: 'VideoSource')
322
329
  VideoSourceBytesBlob = Shapes::BlobShape.new(name: 'VideoSourceBytesBlob')
330
+ WebLocation = Shapes::StructureShape.new(name: 'WebLocation')
323
331
 
324
332
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
325
333
  AccessDeniedException.struct_class = Types::AccessDeniedException
@@ -389,10 +397,12 @@ module Aws::BedrockRuntime
389
397
 
390
398
  CitationGeneratedContentList.member = Shapes::ShapeRef.new(shape: CitationGeneratedContent)
391
399
 
400
+ CitationLocation.add_member(:web, Shapes::ShapeRef.new(shape: WebLocation, location_name: "web"))
392
401
  CitationLocation.add_member(:document_char, Shapes::ShapeRef.new(shape: DocumentCharLocation, location_name: "documentChar"))
393
402
  CitationLocation.add_member(:document_page, Shapes::ShapeRef.new(shape: DocumentPageLocation, location_name: "documentPage"))
394
403
  CitationLocation.add_member(:document_chunk, Shapes::ShapeRef.new(shape: DocumentChunkLocation, location_name: "documentChunk"))
395
404
  CitationLocation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
405
+ CitationLocation.add_member_subclass(:web, Types::CitationLocation::Web)
396
406
  CitationLocation.add_member_subclass(:document_char, Types::CitationLocation::DocumentChar)
397
407
  CitationLocation.add_member_subclass(:document_page, Types::CitationLocation::DocumentPage)
398
408
  CitationLocation.add_member_subclass(:document_chunk, Types::CitationLocation::DocumentChunk)
@@ -455,11 +465,13 @@ module Aws::BedrockRuntime
455
465
 
456
466
  ContentBlockDelta.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
457
467
  ContentBlockDelta.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlockDelta, location_name: "toolUse"))
468
+ ContentBlockDelta.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlocksDelta, location_name: "toolResult"))
458
469
  ContentBlockDelta.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlockDelta, location_name: "reasoningContent"))
459
470
  ContentBlockDelta.add_member(:citation, Shapes::ShapeRef.new(shape: CitationsDelta, location_name: "citation"))
460
471
  ContentBlockDelta.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
461
472
  ContentBlockDelta.add_member_subclass(:text, Types::ContentBlockDelta::Text)
462
473
  ContentBlockDelta.add_member_subclass(:tool_use, Types::ContentBlockDelta::ToolUse)
474
+ ContentBlockDelta.add_member_subclass(:tool_result, Types::ContentBlockDelta::ToolResult)
463
475
  ContentBlockDelta.add_member_subclass(:reasoning_content, Types::ContentBlockDelta::ReasoningContent)
464
476
  ContentBlockDelta.add_member_subclass(:citation, Types::ContentBlockDelta::Citation)
465
477
  ContentBlockDelta.add_member_subclass(:unknown, Types::ContentBlockDelta::Unknown)
@@ -470,8 +482,10 @@ module Aws::BedrockRuntime
470
482
  ContentBlockDeltaEvent.struct_class = Types::ContentBlockDeltaEvent
471
483
 
472
484
  ContentBlockStart.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlockStart, location_name: "toolUse"))
485
+ ContentBlockStart.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlockStart, location_name: "toolResult"))
473
486
  ContentBlockStart.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
474
487
  ContentBlockStart.add_member_subclass(:tool_use, Types::ContentBlockStart::ToolUse)
488
+ ContentBlockStart.add_member_subclass(:tool_result, Types::ContentBlockStart::ToolResult)
475
489
  ContentBlockStart.add_member_subclass(:unknown, Types::ContentBlockStart::Unknown)
476
490
  ContentBlockStart.struct_class = Types::ContentBlockStart
477
491
 
@@ -504,6 +518,7 @@ module Aws::BedrockRuntime
504
518
  ConverseRequest.add_member(:additional_model_response_field_paths, Shapes::ShapeRef.new(shape: ConverseRequestAdditionalModelResponseFieldPathsList, location_name: "additionalModelResponseFieldPaths"))
505
519
  ConverseRequest.add_member(:request_metadata, Shapes::ShapeRef.new(shape: RequestMetadata, location_name: "requestMetadata"))
506
520
  ConverseRequest.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
521
+ ConverseRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
507
522
  ConverseRequest.struct_class = Types::ConverseRequest
508
523
 
509
524
  ConverseRequestAdditionalModelResponseFieldPathsList.member = Shapes::ShapeRef.new(shape: ConverseRequestAdditionalModelResponseFieldPathsListMemberString)
@@ -515,12 +530,14 @@ module Aws::BedrockRuntime
515
530
  ConverseResponse.add_member(:additional_model_response_fields, Shapes::ShapeRef.new(shape: Document, location_name: "additionalModelResponseFields"))
516
531
  ConverseResponse.add_member(:trace, Shapes::ShapeRef.new(shape: ConverseTrace, location_name: "trace"))
517
532
  ConverseResponse.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
533
+ ConverseResponse.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
518
534
  ConverseResponse.struct_class = Types::ConverseResponse
519
535
 
520
536
  ConverseStreamMetadataEvent.add_member(:usage, Shapes::ShapeRef.new(shape: TokenUsage, required: true, location_name: "usage"))
521
537
  ConverseStreamMetadataEvent.add_member(:metrics, Shapes::ShapeRef.new(shape: ConverseStreamMetrics, required: true, location_name: "metrics"))
522
538
  ConverseStreamMetadataEvent.add_member(:trace, Shapes::ShapeRef.new(shape: ConverseStreamTrace, location_name: "trace"))
523
539
  ConverseStreamMetadataEvent.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
540
+ ConverseStreamMetadataEvent.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
524
541
  ConverseStreamMetadataEvent.struct_class = Types::ConverseStreamMetadataEvent
525
542
 
526
543
  ConverseStreamMetrics.add_member(:latency_ms, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "latencyMs"))
@@ -550,6 +567,7 @@ module Aws::BedrockRuntime
550
567
  ConverseStreamRequest.add_member(:additional_model_response_field_paths, Shapes::ShapeRef.new(shape: ConverseStreamRequestAdditionalModelResponseFieldPathsList, location_name: "additionalModelResponseFieldPaths"))
551
568
  ConverseStreamRequest.add_member(:request_metadata, Shapes::ShapeRef.new(shape: RequestMetadata, location_name: "requestMetadata"))
552
569
  ConverseStreamRequest.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
570
+ ConverseStreamRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
553
571
  ConverseStreamRequest.struct_class = Types::ConverseStreamRequest
554
572
 
555
573
  ConverseStreamRequestAdditionalModelResponseFieldPathsList.member = Shapes::ShapeRef.new(shape: ConverseStreamRequestAdditionalModelResponseFieldPathsListMemberString)
@@ -565,6 +583,8 @@ module Aws::BedrockRuntime
565
583
 
566
584
  ConverseTokensRequest.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
567
585
  ConverseTokensRequest.add_member(:system, Shapes::ShapeRef.new(shape: SystemContentBlocks, location_name: "system"))
586
+ ConverseTokensRequest.add_member(:tool_config, Shapes::ShapeRef.new(shape: ToolConfiguration, location_name: "toolConfig"))
587
+ ConverseTokensRequest.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: Document, location_name: "additionalModelRequestFields"))
568
588
  ConverseTokensRequest.struct_class = Types::ConverseTokensRequest
569
589
 
570
590
  ConverseTrace.add_member(:guardrail, Shapes::ShapeRef.new(shape: GuardrailTraceAssessment, location_name: "guardrail"))
@@ -959,6 +979,7 @@ module Aws::BedrockRuntime
959
979
  InvokeModelRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, location: "header", location_name: "X-Amzn-Bedrock-GuardrailIdentifier"))
960
980
  InvokeModelRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location: "header", location_name: "X-Amzn-Bedrock-GuardrailVersion"))
961
981
  InvokeModelRequest.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
982
+ InvokeModelRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
962
983
  InvokeModelRequest.struct_class = Types::InvokeModelRequest
963
984
  InvokeModelRequest[:payload] = :body
964
985
  InvokeModelRequest[:payload_member] = InvokeModelRequest.member(:body)
@@ -966,6 +987,7 @@ module Aws::BedrockRuntime
966
987
  InvokeModelResponse.add_member(:body, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "body"))
967
988
  InvokeModelResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location: "header", location_name: "Content-Type"))
968
989
  InvokeModelResponse.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
990
+ InvokeModelResponse.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
969
991
  InvokeModelResponse.struct_class = Types::InvokeModelResponse
970
992
  InvokeModelResponse[:payload] = :body
971
993
  InvokeModelResponse[:payload_member] = InvokeModelResponse.member(:body)
@@ -1004,6 +1026,7 @@ module Aws::BedrockRuntime
1004
1026
  InvokeModelWithResponseStreamRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, location: "header", location_name: "X-Amzn-Bedrock-GuardrailIdentifier"))
1005
1027
  InvokeModelWithResponseStreamRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location: "header", location_name: "X-Amzn-Bedrock-GuardrailVersion"))
1006
1028
  InvokeModelWithResponseStreamRequest.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
1029
+ InvokeModelWithResponseStreamRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
1007
1030
  InvokeModelWithResponseStreamRequest.struct_class = Types::InvokeModelWithResponseStreamRequest
1008
1031
  InvokeModelWithResponseStreamRequest[:payload] = :body
1009
1032
  InvokeModelWithResponseStreamRequest[:payload_member] = InvokeModelWithResponseStreamRequest.member(:body)
@@ -1011,6 +1034,7 @@ module Aws::BedrockRuntime
1011
1034
  InvokeModelWithResponseStreamResponse.add_member(:body, Shapes::ShapeRef.new(shape: ResponseStream, required: true, eventstream: true, location_name: "body"))
1012
1035
  InvokeModelWithResponseStreamResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location: "header", location_name: "X-Amzn-Bedrock-Content-Type"))
1013
1036
  InvokeModelWithResponseStreamResponse.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
1037
+ InvokeModelWithResponseStreamResponse.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
1014
1038
  InvokeModelWithResponseStreamResponse.struct_class = Types::InvokeModelWithResponseStreamResponse
1015
1039
  InvokeModelWithResponseStreamResponse[:payload] = :body
1016
1040
  InvokeModelWithResponseStreamResponse[:payload_member] = InvokeModelWithResponseStreamResponse.member(:body)
@@ -1121,6 +1145,9 @@ module Aws::BedrockRuntime
1121
1145
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1122
1146
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1123
1147
 
1148
+ ServiceTier.add_member(:type, Shapes::ShapeRef.new(shape: ServiceTierType, required: true, location_name: "type"))
1149
+ ServiceTier.struct_class = Types::ServiceTier
1150
+
1124
1151
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1125
1152
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
1126
1153
 
@@ -1149,6 +1176,9 @@ module Aws::BedrockRuntime
1149
1176
 
1150
1177
  SystemContentBlocks.member = Shapes::ShapeRef.new(shape: SystemContentBlock)
1151
1178
 
1179
+ SystemTool.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
1180
+ SystemTool.struct_class = Types::SystemTool
1181
+
1152
1182
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "key"))
1153
1183
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "value"))
1154
1184
  Tag.struct_class = Types::Tag
@@ -1166,9 +1196,11 @@ module Aws::BedrockRuntime
1166
1196
  TokenUsage.struct_class = Types::TokenUsage
1167
1197
 
1168
1198
  Tool.add_member(:tool_spec, Shapes::ShapeRef.new(shape: ToolSpecification, location_name: "toolSpec"))
1199
+ Tool.add_member(:system_tool, Shapes::ShapeRef.new(shape: SystemTool, location_name: "systemTool"))
1169
1200
  Tool.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
1170
1201
  Tool.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1171
1202
  Tool.add_member_subclass(:tool_spec, Types::Tool::ToolSpec)
1203
+ Tool.add_member_subclass(:system_tool, Types::Tool::SystemTool)
1172
1204
  Tool.add_member_subclass(:cache_point, Types::Tool::CachePoint)
1173
1205
  Tool.add_member_subclass(:unknown, Types::Tool::Unknown)
1174
1206
  Tool.struct_class = Types::Tool
@@ -1198,8 +1230,22 @@ module Aws::BedrockRuntime
1198
1230
  ToolResultBlock.add_member(:tool_use_id, Shapes::ShapeRef.new(shape: ToolUseId, required: true, location_name: "toolUseId"))
1199
1231
  ToolResultBlock.add_member(:content, Shapes::ShapeRef.new(shape: ToolResultContentBlocks, required: true, location_name: "content"))
1200
1232
  ToolResultBlock.add_member(:status, Shapes::ShapeRef.new(shape: ToolResultStatus, location_name: "status"))
1233
+ ToolResultBlock.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
1201
1234
  ToolResultBlock.struct_class = Types::ToolResultBlock
1202
1235
 
1236
+ ToolResultBlockDelta.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
1237
+ ToolResultBlockDelta.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1238
+ ToolResultBlockDelta.add_member_subclass(:text, Types::ToolResultBlockDelta::Text)
1239
+ ToolResultBlockDelta.add_member_subclass(:unknown, Types::ToolResultBlockDelta::Unknown)
1240
+ ToolResultBlockDelta.struct_class = Types::ToolResultBlockDelta
1241
+
1242
+ ToolResultBlockStart.add_member(:tool_use_id, Shapes::ShapeRef.new(shape: ToolUseId, required: true, location_name: "toolUseId"))
1243
+ ToolResultBlockStart.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
1244
+ ToolResultBlockStart.add_member(:status, Shapes::ShapeRef.new(shape: ToolResultStatus, location_name: "status"))
1245
+ ToolResultBlockStart.struct_class = Types::ToolResultBlockStart
1246
+
1247
+ ToolResultBlocksDelta.member = Shapes::ShapeRef.new(shape: ToolResultBlockDelta)
1248
+
1203
1249
  ToolResultContentBlock.add_member(:json, Shapes::ShapeRef.new(shape: Document, location_name: "json"))
1204
1250
  ToolResultContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
1205
1251
  ToolResultContentBlock.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlock, location_name: "image"))
@@ -1224,6 +1270,7 @@ module Aws::BedrockRuntime
1224
1270
  ToolUseBlock.add_member(:tool_use_id, Shapes::ShapeRef.new(shape: ToolUseId, required: true, location_name: "toolUseId"))
1225
1271
  ToolUseBlock.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
1226
1272
  ToolUseBlock.add_member(:input, Shapes::ShapeRef.new(shape: Document, required: true, location_name: "input"))
1273
+ ToolUseBlock.add_member(:type, Shapes::ShapeRef.new(shape: ToolUseType, location_name: "type"))
1227
1274
  ToolUseBlock.struct_class = Types::ToolUseBlock
1228
1275
 
1229
1276
  ToolUseBlockDelta.add_member(:input, Shapes::ShapeRef.new(shape: String, required: true, location_name: "input"))
@@ -1231,6 +1278,7 @@ module Aws::BedrockRuntime
1231
1278
 
1232
1279
  ToolUseBlockStart.add_member(:tool_use_id, Shapes::ShapeRef.new(shape: ToolUseId, required: true, location_name: "toolUseId"))
1233
1280
  ToolUseBlockStart.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
1281
+ ToolUseBlockStart.add_member(:type, Shapes::ShapeRef.new(shape: ToolUseType, location_name: "type"))
1234
1282
  ToolUseBlockStart.struct_class = Types::ToolUseBlockStart
1235
1283
 
1236
1284
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
@@ -1248,6 +1296,10 @@ module Aws::BedrockRuntime
1248
1296
  VideoSource.add_member_subclass(:unknown, Types::VideoSource::Unknown)
1249
1297
  VideoSource.struct_class = Types::VideoSource
1250
1298
 
1299
+ WebLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
1300
+ WebLocation.add_member(:domain, Shapes::ShapeRef.new(shape: String, location_name: "domain"))
1301
+ WebLocation.struct_class = Types::WebLocation
1302
+
1251
1303
 
1252
1304
  # @api private
1253
1305
  API = Seahorse::Model::Api.new.tap do |api|