aws-sdk-bedrockruntime 1.63.0 → 1.65.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: 1fe16e2649f933ef98cdc035603ca5f167ae32c71e88136a677aa824cd284e1c
4
- data.tar.gz: '0289147ef1de7850c00b77fbe2fd98a739607bbb39223a3f0f134321cc691fa4'
3
+ metadata.gz: 4d4560a426f4480cf91ac31c5745217e8e56b7e5ec53aae068754972eec3a114
4
+ data.tar.gz: 2eaff731137901efa24c5d4183166fc4367cad2e2432d5353c74afba430ea513
5
5
  SHA512:
6
- metadata.gz: 3c5cfdc5e1e81b0c6a5e2a6ada0bc3d497e1f5d0a63177eef3570f36cb641eaa700ceec9e8d043044f80f5cf2026ab6536b3a54ef66c5ea102ca0eaaa1d16836
7
- data.tar.gz: 94521450d807e8516e97de7e68d0a62de0a622b8f929d1b9aa394ca59a2f11318fd01adc8e7d1379cba1fc00e208b8c4d0ec58c4c3370113deebd81a9a8a47f9
6
+ metadata.gz: 3451efa41ab234c99efe1756de3fddf70d471605878f69100b61cf98a6a8e5f1413b90f5f4d06df8ad0182535c3194c2134cc183224846353ad9db7698a18b2f
7
+ data.tar.gz: 158a8fef12824914ac57ed8bcc34cb53a60bebfb7e256fb56089d78c753bfb55cd9ceee221b328c0d262517597f5c0a9955574a48a34e6219ea04cab97b2dce2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.65.0 (2025-11-19)
5
+ ------------------
6
+
7
+ * Feature - This release includes support for Search Results.
8
+
9
+ 1.64.0 (2025-11-18)
10
+ ------------------
11
+
12
+ * Feature - Amazon Bedrock Runtime Service Tier Support Launch
13
+
4
14
  1.63.0 (2025-10-29)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.63.0
1
+ 1.65.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.63.0'
624
+ context[:gem_version] = '1.65.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
  #
@@ -1030,6 +1035,18 @@ module Aws::BedrockRuntime
1030
1035
  # },
1031
1036
  # },
1032
1037
  # },
1038
+ # search_result: {
1039
+ # source: "String", # required
1040
+ # title: "String", # required
1041
+ # content: [ # required
1042
+ # {
1043
+ # text: "String", # required
1044
+ # },
1045
+ # ],
1046
+ # citations: {
1047
+ # enabled: false, # required
1048
+ # },
1049
+ # },
1033
1050
  # },
1034
1051
  # ],
1035
1052
  # status: "success", # accepts success, error
@@ -1066,6 +1083,7 @@ module Aws::BedrockRuntime
1066
1083
  # citations: [
1067
1084
  # {
1068
1085
  # title: "String",
1086
+ # source: "String",
1069
1087
  # source_content: [
1070
1088
  # {
1071
1089
  # text: "String",
@@ -1091,10 +1109,27 @@ module Aws::BedrockRuntime
1091
1109
  # start: 1,
1092
1110
  # end: 1,
1093
1111
  # },
1112
+ # search_result_location: {
1113
+ # search_result_index: 1,
1114
+ # start: 1,
1115
+ # end: 1,
1116
+ # },
1094
1117
  # },
1095
1118
  # },
1096
1119
  # ],
1097
1120
  # },
1121
+ # search_result: {
1122
+ # source: "String", # required
1123
+ # title: "String", # required
1124
+ # content: [ # required
1125
+ # {
1126
+ # text: "String", # required
1127
+ # },
1128
+ # ],
1129
+ # citations: {
1130
+ # enabled: false, # required
1131
+ # },
1132
+ # },
1098
1133
  # },
1099
1134
  # ],
1100
1135
  # },
@@ -1173,6 +1208,9 @@ module Aws::BedrockRuntime
1173
1208
  # performance_config: {
1174
1209
  # latency: "standard", # accepts standard, optimized
1175
1210
  # },
1211
+ # service_tier: {
1212
+ # type: "priority", # required, accepts priority, default, flex
1213
+ # },
1176
1214
  # })
1177
1215
  #
1178
1216
  # @example Response structure
@@ -1222,6 +1260,11 @@ module Aws::BedrockRuntime
1222
1260
  # resp.output.message.content[0].tool_result.content[0].video.source.bytes #=> String
1223
1261
  # resp.output.message.content[0].tool_result.content[0].video.source.s3_location.uri #=> String
1224
1262
  # resp.output.message.content[0].tool_result.content[0].video.source.s3_location.bucket_owner #=> String
1263
+ # resp.output.message.content[0].tool_result.content[0].search_result.source #=> String
1264
+ # resp.output.message.content[0].tool_result.content[0].search_result.title #=> String
1265
+ # resp.output.message.content[0].tool_result.content[0].search_result.content #=> Array
1266
+ # resp.output.message.content[0].tool_result.content[0].search_result.content[0].text #=> String
1267
+ # resp.output.message.content[0].tool_result.content[0].search_result.citations.enabled #=> Boolean
1225
1268
  # resp.output.message.content[0].tool_result.status #=> String, one of "success", "error"
1226
1269
  # resp.output.message.content[0].tool_result.type #=> String
1227
1270
  # resp.output.message.content[0].guard_content.text.text #=> String
@@ -1237,6 +1280,7 @@ module Aws::BedrockRuntime
1237
1280
  # resp.output.message.content[0].citations_content.content[0].text #=> String
1238
1281
  # resp.output.message.content[0].citations_content.citations #=> Array
1239
1282
  # resp.output.message.content[0].citations_content.citations[0].title #=> String
1283
+ # resp.output.message.content[0].citations_content.citations[0].source #=> String
1240
1284
  # resp.output.message.content[0].citations_content.citations[0].source_content #=> Array
1241
1285
  # resp.output.message.content[0].citations_content.citations[0].source_content[0].text #=> String
1242
1286
  # resp.output.message.content[0].citations_content.citations[0].location.web.url #=> String
@@ -1250,6 +1294,14 @@ module Aws::BedrockRuntime
1250
1294
  # resp.output.message.content[0].citations_content.citations[0].location.document_chunk.document_index #=> Integer
1251
1295
  # resp.output.message.content[0].citations_content.citations[0].location.document_chunk.start #=> Integer
1252
1296
  # resp.output.message.content[0].citations_content.citations[0].location.document_chunk.end #=> Integer
1297
+ # resp.output.message.content[0].citations_content.citations[0].location.search_result_location.search_result_index #=> Integer
1298
+ # resp.output.message.content[0].citations_content.citations[0].location.search_result_location.start #=> Integer
1299
+ # resp.output.message.content[0].citations_content.citations[0].location.search_result_location.end #=> Integer
1300
+ # resp.output.message.content[0].search_result.source #=> String
1301
+ # resp.output.message.content[0].search_result.title #=> String
1302
+ # resp.output.message.content[0].search_result.content #=> Array
1303
+ # resp.output.message.content[0].search_result.content[0].text #=> String
1304
+ # resp.output.message.content[0].search_result.citations.enabled #=> Boolean
1253
1305
  # resp.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered", "model_context_window_exceeded"
1254
1306
  # resp.usage.input_tokens #=> Integer
1255
1307
  # resp.usage.output_tokens #=> Integer
@@ -1583,6 +1635,7 @@ module Aws::BedrockRuntime
1583
1635
  # resp.trace.guardrail.action_reason #=> String
1584
1636
  # resp.trace.prompt_router.invoked_model_id #=> String
1585
1637
  # resp.performance_config.latency #=> String, one of "standard", "optimized"
1638
+ # resp.service_tier.type #=> String, one of "priority", "default", "flex"
1586
1639
  #
1587
1640
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/Converse AWS API Documentation
1588
1641
  #
@@ -1776,6 +1829,10 @@ module Aws::BedrockRuntime
1776
1829
  # @option params [Types::PerformanceConfiguration] :performance_config
1777
1830
  # Model performance settings for the request.
1778
1831
  #
1832
+ # @option params [Types::ServiceTier] :service_tier
1833
+ # Specifies the processing tier configuration used for serving the
1834
+ # request.
1835
+ #
1779
1836
  # @return [Types::ConverseStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1780
1837
  #
1781
1838
  # * {Types::ConverseStreamResponse#stream #stream} => Types::ConverseStreamOutput
@@ -2065,6 +2122,18 @@ module Aws::BedrockRuntime
2065
2122
  # },
2066
2123
  # },
2067
2124
  # },
2125
+ # search_result: {
2126
+ # source: "String", # required
2127
+ # title: "String", # required
2128
+ # content: [ # required
2129
+ # {
2130
+ # text: "String", # required
2131
+ # },
2132
+ # ],
2133
+ # citations: {
2134
+ # enabled: false, # required
2135
+ # },
2136
+ # },
2068
2137
  # },
2069
2138
  # ],
2070
2139
  # status: "success", # accepts success, error
@@ -2101,6 +2170,7 @@ module Aws::BedrockRuntime
2101
2170
  # citations: [
2102
2171
  # {
2103
2172
  # title: "String",
2173
+ # source: "String",
2104
2174
  # source_content: [
2105
2175
  # {
2106
2176
  # text: "String",
@@ -2126,10 +2196,27 @@ module Aws::BedrockRuntime
2126
2196
  # start: 1,
2127
2197
  # end: 1,
2128
2198
  # },
2199
+ # search_result_location: {
2200
+ # search_result_index: 1,
2201
+ # start: 1,
2202
+ # end: 1,
2203
+ # },
2129
2204
  # },
2130
2205
  # },
2131
2206
  # ],
2132
2207
  # },
2208
+ # search_result: {
2209
+ # source: "String", # required
2210
+ # title: "String", # required
2211
+ # content: [ # required
2212
+ # {
2213
+ # text: "String", # required
2214
+ # },
2215
+ # ],
2216
+ # citations: {
2217
+ # enabled: false, # required
2218
+ # },
2219
+ # },
2133
2220
  # },
2134
2221
  # ],
2135
2222
  # },
@@ -2209,6 +2296,9 @@ module Aws::BedrockRuntime
2209
2296
  # performance_config: {
2210
2297
  # latency: "standard", # accepts standard, optimized
2211
2298
  # },
2299
+ # service_tier: {
2300
+ # type: "priority", # required, accepts priority, default, flex
2301
+ # },
2212
2302
  # })
2213
2303
  #
2214
2304
  # @example Response structure
@@ -2238,6 +2328,7 @@ module Aws::BedrockRuntime
2238
2328
  # event.delta.reasoning_content.redacted_content #=> String
2239
2329
  # event.delta.reasoning_content.signature #=> String
2240
2330
  # event.delta.citation.title #=> String
2331
+ # event.delta.citation.source #=> String
2241
2332
  # event.delta.citation.source_content #=> Array
2242
2333
  # event.delta.citation.source_content[0].text #=> String
2243
2334
  # event.delta.citation.location.web.url #=> String
@@ -2251,6 +2342,9 @@ module Aws::BedrockRuntime
2251
2342
  # event.delta.citation.location.document_chunk.document_index #=> Integer
2252
2343
  # event.delta.citation.location.document_chunk.start #=> Integer
2253
2344
  # event.delta.citation.location.document_chunk.end #=> Integer
2345
+ # event.delta.citation.location.search_result_location.search_result_index #=> Integer
2346
+ # event.delta.citation.location.search_result_location.start #=> Integer
2347
+ # event.delta.citation.location.search_result_location.end #=> Integer
2254
2348
  # event.content_block_index #=> Integer
2255
2349
  #
2256
2350
  # # For :content_block_stop event available at #on_content_block_stop_event callback and response eventstream enumerator:
@@ -2592,6 +2686,7 @@ module Aws::BedrockRuntime
2592
2686
  # event.trace.guardrail.action_reason #=> String
2593
2687
  # event.trace.prompt_router.invoked_model_id #=> String
2594
2688
  # event.performance_config.latency #=> String, one of "standard", "optimized"
2689
+ # event.service_tier.type #=> String, one of "priority", "default", "flex"
2595
2690
  #
2596
2691
  # # For :internal_server_exception event available at #on_internal_server_exception_event callback and response eventstream enumerator:
2597
2692
  # event.message #=> String
@@ -2806,6 +2901,18 @@ module Aws::BedrockRuntime
2806
2901
  # },
2807
2902
  # },
2808
2903
  # },
2904
+ # search_result: {
2905
+ # source: "String", # required
2906
+ # title: "String", # required
2907
+ # content: [ # required
2908
+ # {
2909
+ # text: "String", # required
2910
+ # },
2911
+ # ],
2912
+ # citations: {
2913
+ # enabled: false, # required
2914
+ # },
2915
+ # },
2809
2916
  # },
2810
2917
  # ],
2811
2918
  # status: "success", # accepts success, error
@@ -2842,6 +2949,7 @@ module Aws::BedrockRuntime
2842
2949
  # citations: [
2843
2950
  # {
2844
2951
  # title: "String",
2952
+ # source: "String",
2845
2953
  # source_content: [
2846
2954
  # {
2847
2955
  # text: "String",
@@ -2867,10 +2975,27 @@ module Aws::BedrockRuntime
2867
2975
  # start: 1,
2868
2976
  # end: 1,
2869
2977
  # },
2978
+ # search_result_location: {
2979
+ # search_result_index: 1,
2980
+ # start: 1,
2981
+ # end: 1,
2982
+ # },
2870
2983
  # },
2871
2984
  # },
2872
2985
  # ],
2873
2986
  # },
2987
+ # search_result: {
2988
+ # source: "String", # required
2989
+ # title: "String", # required
2990
+ # content: [ # required
2991
+ # {
2992
+ # text: "String", # required
2993
+ # },
2994
+ # ],
2995
+ # citations: {
2996
+ # enabled: false, # required
2997
+ # },
2998
+ # },
2874
2999
  # },
2875
3000
  # ],
2876
3001
  # },
@@ -2895,6 +3020,37 @@ module Aws::BedrockRuntime
2895
3020
  # },
2896
3021
  # },
2897
3022
  # ],
3023
+ # tool_config: {
3024
+ # tools: [ # required
3025
+ # {
3026
+ # tool_spec: {
3027
+ # name: "ToolName", # required
3028
+ # description: "NonEmptyString",
3029
+ # input_schema: { # required
3030
+ # json: {
3031
+ # },
3032
+ # },
3033
+ # },
3034
+ # system_tool: {
3035
+ # name: "ToolName", # required
3036
+ # },
3037
+ # cache_point: {
3038
+ # type: "default", # required, accepts default
3039
+ # },
3040
+ # },
3041
+ # ],
3042
+ # tool_choice: {
3043
+ # auto: {
3044
+ # },
3045
+ # any: {
3046
+ # },
3047
+ # tool: {
3048
+ # name: "ToolName", # required
3049
+ # },
3050
+ # },
3051
+ # },
3052
+ # additional_model_request_fields: {
3053
+ # },
2898
3054
  # },
2899
3055
  # },
2900
3056
  # })
@@ -3069,11 +3225,15 @@ module Aws::BedrockRuntime
3069
3225
  # @option params [String] :performance_config_latency
3070
3226
  # Model performance settings for the request.
3071
3227
  #
3228
+ # @option params [String] :service_tier
3229
+ # Specifies the processing tier type used for serving the request.
3230
+ #
3072
3231
  # @return [Types::InvokeModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3073
3232
  #
3074
3233
  # * {Types::InvokeModelResponse#body #body} => String
3075
3234
  # * {Types::InvokeModelResponse#content_type #content_type} => String
3076
3235
  # * {Types::InvokeModelResponse#performance_config_latency #performance_config_latency} => String
3236
+ # * {Types::InvokeModelResponse#service_tier #service_tier} => String
3077
3237
  #
3078
3238
  # @example Request syntax with placeholder values
3079
3239
  #
@@ -3086,6 +3246,7 @@ module Aws::BedrockRuntime
3086
3246
  # guardrail_identifier: "GuardrailIdentifier",
3087
3247
  # guardrail_version: "GuardrailVersion",
3088
3248
  # performance_config_latency: "standard", # accepts standard, optimized
3249
+ # service_tier: "priority", # accepts priority, default, flex
3089
3250
  # })
3090
3251
  #
3091
3252
  # @example Response structure
@@ -3093,6 +3254,7 @@ module Aws::BedrockRuntime
3093
3254
  # resp.body #=> String
3094
3255
  # resp.content_type #=> String
3095
3256
  # resp.performance_config_latency #=> String, one of "standard", "optimized"
3257
+ # resp.service_tier #=> String, one of "priority", "default", "flex"
3096
3258
  #
3097
3259
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/InvokeModel AWS API Documentation
3098
3260
  #
@@ -3223,11 +3385,15 @@ module Aws::BedrockRuntime
3223
3385
  # @option params [String] :performance_config_latency
3224
3386
  # Model performance settings for the request.
3225
3387
  #
3388
+ # @option params [String] :service_tier
3389
+ # Specifies the processing tier type used for serving the request.
3390
+ #
3226
3391
  # @return [Types::InvokeModelWithResponseStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3227
3392
  #
3228
3393
  # * {Types::InvokeModelWithResponseStreamResponse#body #body} => Types::ResponseStream
3229
3394
  # * {Types::InvokeModelWithResponseStreamResponse#content_type #content_type} => String
3230
3395
  # * {Types::InvokeModelWithResponseStreamResponse#performance_config_latency #performance_config_latency} => String
3396
+ # * {Types::InvokeModelWithResponseStreamResponse#service_tier #service_tier} => String
3231
3397
  #
3232
3398
  # @example EventStream Operation Example
3233
3399
  #
@@ -3383,6 +3549,7 @@ module Aws::BedrockRuntime
3383
3549
  # guardrail_identifier: "GuardrailIdentifier",
3384
3550
  # guardrail_version: "GuardrailVersion",
3385
3551
  # performance_config_latency: "standard", # accepts standard, optimized
3552
+ # service_tier: "priority", # accepts priority, default, flex
3386
3553
  # })
3387
3554
  #
3388
3555
  # @example Response structure
@@ -3416,6 +3583,7 @@ module Aws::BedrockRuntime
3416
3583
  #
3417
3584
  # resp.content_type #=> String
3418
3585
  # resp.performance_config_latency #=> String, one of "standard", "optimized"
3586
+ # resp.service_tier #=> String, one of "priority", "default", "flex"
3419
3587
  #
3420
3588
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/InvokeModelWithResponseStream AWS API Documentation
3421
3589
  #
@@ -3610,7 +3778,7 @@ module Aws::BedrockRuntime
3610
3778
  tracer: tracer
3611
3779
  )
3612
3780
  context[:gem_name] = 'aws-sdk-bedrockruntime'
3613
- context[:gem_version] = '1.63.0'
3781
+ context[:gem_version] = '1.65.0'
3614
3782
  Seahorse::Client::Request.new(handlers, context)
3615
3783
  end
3616
3784
 
@@ -273,7 +273,16 @@ module Aws::BedrockRuntime
273
273
  ResponseStream = Shapes::StructureShape.new(name: 'ResponseStream')
274
274
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
275
275
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
276
+ SearchResultBlock = Shapes::StructureShape.new(name: 'SearchResultBlock')
277
+ SearchResultContentBlock = Shapes::StructureShape.new(name: 'SearchResultContentBlock')
278
+ SearchResultContentBlocks = Shapes::ListShape.new(name: 'SearchResultContentBlocks')
279
+ SearchResultLocation = Shapes::StructureShape.new(name: 'SearchResultLocation')
280
+ SearchResultLocationEndInteger = Shapes::IntegerShape.new(name: 'SearchResultLocationEndInteger')
281
+ SearchResultLocationSearchResultIndexInteger = Shapes::IntegerShape.new(name: 'SearchResultLocationSearchResultIndexInteger')
282
+ SearchResultLocationStartInteger = Shapes::IntegerShape.new(name: 'SearchResultLocationStartInteger')
276
283
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
284
+ ServiceTier = Shapes::StructureShape.new(name: 'ServiceTier')
285
+ ServiceTierType = Shapes::StringShape.new(name: 'ServiceTierType')
277
286
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
278
287
  SortAsyncInvocationBy = Shapes::StringShape.new(name: 'SortAsyncInvocationBy')
279
288
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
@@ -383,6 +392,7 @@ module Aws::BedrockRuntime
383
392
  CachePointBlock.struct_class = Types::CachePointBlock
384
393
 
385
394
  Citation.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
395
+ Citation.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "source"))
386
396
  Citation.add_member(:source_content, Shapes::ShapeRef.new(shape: CitationSourceContentList, location_name: "sourceContent"))
387
397
  Citation.add_member(:location, Shapes::ShapeRef.new(shape: CitationLocation, location_name: "location"))
388
398
  Citation.struct_class = Types::Citation
@@ -399,11 +409,13 @@ module Aws::BedrockRuntime
399
409
  CitationLocation.add_member(:document_char, Shapes::ShapeRef.new(shape: DocumentCharLocation, location_name: "documentChar"))
400
410
  CitationLocation.add_member(:document_page, Shapes::ShapeRef.new(shape: DocumentPageLocation, location_name: "documentPage"))
401
411
  CitationLocation.add_member(:document_chunk, Shapes::ShapeRef.new(shape: DocumentChunkLocation, location_name: "documentChunk"))
412
+ CitationLocation.add_member(:search_result_location, Shapes::ShapeRef.new(shape: SearchResultLocation, location_name: "searchResultLocation"))
402
413
  CitationLocation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
403
414
  CitationLocation.add_member_subclass(:web, Types::CitationLocation::Web)
404
415
  CitationLocation.add_member_subclass(:document_char, Types::CitationLocation::DocumentChar)
405
416
  CitationLocation.add_member_subclass(:document_page, Types::CitationLocation::DocumentPage)
406
417
  CitationLocation.add_member_subclass(:document_chunk, Types::CitationLocation::DocumentChunk)
418
+ CitationLocation.add_member_subclass(:search_result_location, Types::CitationLocation::SearchResultLocation)
407
419
  CitationLocation.add_member_subclass(:unknown, Types::CitationLocation::Unknown)
408
420
  CitationLocation.struct_class = Types::CitationLocation
409
421
 
@@ -430,6 +442,7 @@ module Aws::BedrockRuntime
430
442
  CitationsContentBlock.struct_class = Types::CitationsContentBlock
431
443
 
432
444
  CitationsDelta.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
445
+ CitationsDelta.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "source"))
433
446
  CitationsDelta.add_member(:source_content, Shapes::ShapeRef.new(shape: CitationSourceContentListDelta, location_name: "sourceContent"))
434
447
  CitationsDelta.add_member(:location, Shapes::ShapeRef.new(shape: CitationLocation, location_name: "location"))
435
448
  CitationsDelta.struct_class = Types::CitationsDelta
@@ -447,6 +460,7 @@ module Aws::BedrockRuntime
447
460
  ContentBlock.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
448
461
  ContentBlock.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlock, location_name: "reasoningContent"))
449
462
  ContentBlock.add_member(:citations_content, Shapes::ShapeRef.new(shape: CitationsContentBlock, location_name: "citationsContent"))
463
+ ContentBlock.add_member(:search_result, Shapes::ShapeRef.new(shape: SearchResultBlock, location_name: "searchResult"))
450
464
  ContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
451
465
  ContentBlock.add_member_subclass(:text, Types::ContentBlock::Text)
452
466
  ContentBlock.add_member_subclass(:image, Types::ContentBlock::Image)
@@ -458,6 +472,7 @@ module Aws::BedrockRuntime
458
472
  ContentBlock.add_member_subclass(:cache_point, Types::ContentBlock::CachePoint)
459
473
  ContentBlock.add_member_subclass(:reasoning_content, Types::ContentBlock::ReasoningContent)
460
474
  ContentBlock.add_member_subclass(:citations_content, Types::ContentBlock::CitationsContent)
475
+ ContentBlock.add_member_subclass(:search_result, Types::ContentBlock::SearchResult)
461
476
  ContentBlock.add_member_subclass(:unknown, Types::ContentBlock::Unknown)
462
477
  ContentBlock.struct_class = Types::ContentBlock
463
478
 
@@ -516,6 +531,7 @@ module Aws::BedrockRuntime
516
531
  ConverseRequest.add_member(:additional_model_response_field_paths, Shapes::ShapeRef.new(shape: ConverseRequestAdditionalModelResponseFieldPathsList, location_name: "additionalModelResponseFieldPaths"))
517
532
  ConverseRequest.add_member(:request_metadata, Shapes::ShapeRef.new(shape: RequestMetadata, location_name: "requestMetadata"))
518
533
  ConverseRequest.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
534
+ ConverseRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
519
535
  ConverseRequest.struct_class = Types::ConverseRequest
520
536
 
521
537
  ConverseRequestAdditionalModelResponseFieldPathsList.member = Shapes::ShapeRef.new(shape: ConverseRequestAdditionalModelResponseFieldPathsListMemberString)
@@ -527,12 +543,14 @@ module Aws::BedrockRuntime
527
543
  ConverseResponse.add_member(:additional_model_response_fields, Shapes::ShapeRef.new(shape: Document, location_name: "additionalModelResponseFields"))
528
544
  ConverseResponse.add_member(:trace, Shapes::ShapeRef.new(shape: ConverseTrace, location_name: "trace"))
529
545
  ConverseResponse.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
546
+ ConverseResponse.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
530
547
  ConverseResponse.struct_class = Types::ConverseResponse
531
548
 
532
549
  ConverseStreamMetadataEvent.add_member(:usage, Shapes::ShapeRef.new(shape: TokenUsage, required: true, location_name: "usage"))
533
550
  ConverseStreamMetadataEvent.add_member(:metrics, Shapes::ShapeRef.new(shape: ConverseStreamMetrics, required: true, location_name: "metrics"))
534
551
  ConverseStreamMetadataEvent.add_member(:trace, Shapes::ShapeRef.new(shape: ConverseStreamTrace, location_name: "trace"))
535
552
  ConverseStreamMetadataEvent.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
553
+ ConverseStreamMetadataEvent.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
536
554
  ConverseStreamMetadataEvent.struct_class = Types::ConverseStreamMetadataEvent
537
555
 
538
556
  ConverseStreamMetrics.add_member(:latency_ms, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "latencyMs"))
@@ -562,6 +580,7 @@ module Aws::BedrockRuntime
562
580
  ConverseStreamRequest.add_member(:additional_model_response_field_paths, Shapes::ShapeRef.new(shape: ConverseStreamRequestAdditionalModelResponseFieldPathsList, location_name: "additionalModelResponseFieldPaths"))
563
581
  ConverseStreamRequest.add_member(:request_metadata, Shapes::ShapeRef.new(shape: RequestMetadata, location_name: "requestMetadata"))
564
582
  ConverseStreamRequest.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
583
+ ConverseStreamRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
565
584
  ConverseStreamRequest.struct_class = Types::ConverseStreamRequest
566
585
 
567
586
  ConverseStreamRequestAdditionalModelResponseFieldPathsList.member = Shapes::ShapeRef.new(shape: ConverseStreamRequestAdditionalModelResponseFieldPathsListMemberString)
@@ -577,6 +596,8 @@ module Aws::BedrockRuntime
577
596
 
578
597
  ConverseTokensRequest.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
579
598
  ConverseTokensRequest.add_member(:system, Shapes::ShapeRef.new(shape: SystemContentBlocks, location_name: "system"))
599
+ ConverseTokensRequest.add_member(:tool_config, Shapes::ShapeRef.new(shape: ToolConfiguration, location_name: "toolConfig"))
600
+ ConverseTokensRequest.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: Document, location_name: "additionalModelRequestFields"))
580
601
  ConverseTokensRequest.struct_class = Types::ConverseTokensRequest
581
602
 
582
603
  ConverseTrace.add_member(:guardrail, Shapes::ShapeRef.new(shape: GuardrailTraceAssessment, location_name: "guardrail"))
@@ -971,6 +992,7 @@ module Aws::BedrockRuntime
971
992
  InvokeModelRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, location: "header", location_name: "X-Amzn-Bedrock-GuardrailIdentifier"))
972
993
  InvokeModelRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location: "header", location_name: "X-Amzn-Bedrock-GuardrailVersion"))
973
994
  InvokeModelRequest.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
995
+ InvokeModelRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
974
996
  InvokeModelRequest.struct_class = Types::InvokeModelRequest
975
997
  InvokeModelRequest[:payload] = :body
976
998
  InvokeModelRequest[:payload_member] = InvokeModelRequest.member(:body)
@@ -978,6 +1000,7 @@ module Aws::BedrockRuntime
978
1000
  InvokeModelResponse.add_member(:body, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "body"))
979
1001
  InvokeModelResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location: "header", location_name: "Content-Type"))
980
1002
  InvokeModelResponse.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
1003
+ InvokeModelResponse.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
981
1004
  InvokeModelResponse.struct_class = Types::InvokeModelResponse
982
1005
  InvokeModelResponse[:payload] = :body
983
1006
  InvokeModelResponse[:payload_member] = InvokeModelResponse.member(:body)
@@ -1016,6 +1039,7 @@ module Aws::BedrockRuntime
1016
1039
  InvokeModelWithResponseStreamRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, location: "header", location_name: "X-Amzn-Bedrock-GuardrailIdentifier"))
1017
1040
  InvokeModelWithResponseStreamRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location: "header", location_name: "X-Amzn-Bedrock-GuardrailVersion"))
1018
1041
  InvokeModelWithResponseStreamRequest.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
1042
+ InvokeModelWithResponseStreamRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
1019
1043
  InvokeModelWithResponseStreamRequest.struct_class = Types::InvokeModelWithResponseStreamRequest
1020
1044
  InvokeModelWithResponseStreamRequest[:payload] = :body
1021
1045
  InvokeModelWithResponseStreamRequest[:payload_member] = InvokeModelWithResponseStreamRequest.member(:body)
@@ -1023,6 +1047,7 @@ module Aws::BedrockRuntime
1023
1047
  InvokeModelWithResponseStreamResponse.add_member(:body, Shapes::ShapeRef.new(shape: ResponseStream, required: true, eventstream: true, location_name: "body"))
1024
1048
  InvokeModelWithResponseStreamResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location: "header", location_name: "X-Amzn-Bedrock-Content-Type"))
1025
1049
  InvokeModelWithResponseStreamResponse.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
1050
+ InvokeModelWithResponseStreamResponse.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
1026
1051
  InvokeModelWithResponseStreamResponse.struct_class = Types::InvokeModelWithResponseStreamResponse
1027
1052
  InvokeModelWithResponseStreamResponse[:payload] = :body
1028
1053
  InvokeModelWithResponseStreamResponse[:payload_member] = InvokeModelWithResponseStreamResponse.member(:body)
@@ -1130,9 +1155,28 @@ module Aws::BedrockRuntime
1130
1155
  S3Location.add_member(:bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "bucketOwner"))
1131
1156
  S3Location.struct_class = Types::S3Location
1132
1157
 
1158
+ SearchResultBlock.add_member(:source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "source"))
1159
+ SearchResultBlock.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "title"))
1160
+ SearchResultBlock.add_member(:content, Shapes::ShapeRef.new(shape: SearchResultContentBlocks, required: true, location_name: "content"))
1161
+ SearchResultBlock.add_member(:citations, Shapes::ShapeRef.new(shape: CitationsConfig, location_name: "citations"))
1162
+ SearchResultBlock.struct_class = Types::SearchResultBlock
1163
+
1164
+ SearchResultContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "text"))
1165
+ SearchResultContentBlock.struct_class = Types::SearchResultContentBlock
1166
+
1167
+ SearchResultContentBlocks.member = Shapes::ShapeRef.new(shape: SearchResultContentBlock)
1168
+
1169
+ SearchResultLocation.add_member(:search_result_index, Shapes::ShapeRef.new(shape: SearchResultLocationSearchResultIndexInteger, location_name: "searchResultIndex"))
1170
+ SearchResultLocation.add_member(:start, Shapes::ShapeRef.new(shape: SearchResultLocationStartInteger, location_name: "start"))
1171
+ SearchResultLocation.add_member(:end, Shapes::ShapeRef.new(shape: SearchResultLocationEndInteger, location_name: "end"))
1172
+ SearchResultLocation.struct_class = Types::SearchResultLocation
1173
+
1133
1174
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1134
1175
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1135
1176
 
1177
+ ServiceTier.add_member(:type, Shapes::ShapeRef.new(shape: ServiceTierType, required: true, location_name: "type"))
1178
+ ServiceTier.struct_class = Types::ServiceTier
1179
+
1136
1180
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1137
1181
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
1138
1182
 
@@ -1236,12 +1280,14 @@ module Aws::BedrockRuntime
1236
1280
  ToolResultContentBlock.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlock, location_name: "image"))
1237
1281
  ToolResultContentBlock.add_member(:document, Shapes::ShapeRef.new(shape: DocumentBlock, location_name: "document"))
1238
1282
  ToolResultContentBlock.add_member(:video, Shapes::ShapeRef.new(shape: VideoBlock, location_name: "video"))
1283
+ ToolResultContentBlock.add_member(:search_result, Shapes::ShapeRef.new(shape: SearchResultBlock, location_name: "searchResult"))
1239
1284
  ToolResultContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1240
1285
  ToolResultContentBlock.add_member_subclass(:json, Types::ToolResultContentBlock::Json)
1241
1286
  ToolResultContentBlock.add_member_subclass(:text, Types::ToolResultContentBlock::Text)
1242
1287
  ToolResultContentBlock.add_member_subclass(:image, Types::ToolResultContentBlock::Image)
1243
1288
  ToolResultContentBlock.add_member_subclass(:document, Types::ToolResultContentBlock::Document)
1244
1289
  ToolResultContentBlock.add_member_subclass(:video, Types::ToolResultContentBlock::Video)
1290
+ ToolResultContentBlock.add_member_subclass(:search_result, Types::ToolResultContentBlock::SearchResult)
1245
1291
  ToolResultContentBlock.add_member_subclass(:unknown, Types::ToolResultContentBlock::Unknown)
1246
1292
  ToolResultContentBlock.struct_class = Types::ToolResultContentBlock
1247
1293