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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockruntime/async_client.rb +1 -1
- data/lib/aws-sdk-bedrockruntime/client.rb +169 -1
- data/lib/aws-sdk-bedrockruntime/client_api.rb +46 -0
- data/lib/aws-sdk-bedrockruntime/types.rb +191 -8
- data/lib/aws-sdk-bedrockruntime.rb +1 -1
- data/sig/client.rbs +135 -3
- data/sig/types.rbs +46 -0
- metadata +1 -1
data/sig/types.rbs
CHANGED
|
@@ -88,6 +88,7 @@ module Aws::BedrockRuntime
|
|
|
88
88
|
|
|
89
89
|
class Citation
|
|
90
90
|
attr_accessor title: ::String
|
|
91
|
+
attr_accessor source: ::String
|
|
91
92
|
attr_accessor source_content: ::Array[Types::CitationSourceContent]
|
|
92
93
|
attr_accessor location: Types::CitationLocation
|
|
93
94
|
SENSITIVE: []
|
|
@@ -109,6 +110,7 @@ module Aws::BedrockRuntime
|
|
|
109
110
|
attr_accessor document_char: Types::DocumentCharLocation
|
|
110
111
|
attr_accessor document_page: Types::DocumentPageLocation
|
|
111
112
|
attr_accessor document_chunk: Types::DocumentChunkLocation
|
|
113
|
+
attr_accessor search_result_location: Types::SearchResultLocation
|
|
112
114
|
attr_accessor unknown: untyped
|
|
113
115
|
SENSITIVE: []
|
|
114
116
|
|
|
@@ -120,6 +122,8 @@ module Aws::BedrockRuntime
|
|
|
120
122
|
end
|
|
121
123
|
class DocumentChunk < CitationLocation
|
|
122
124
|
end
|
|
125
|
+
class SearchResultLocation < CitationLocation
|
|
126
|
+
end
|
|
123
127
|
class Unknown < CitationLocation
|
|
124
128
|
end
|
|
125
129
|
end
|
|
@@ -153,6 +157,7 @@ module Aws::BedrockRuntime
|
|
|
153
157
|
|
|
154
158
|
class CitationsDelta
|
|
155
159
|
attr_accessor title: ::String
|
|
160
|
+
attr_accessor source: ::String
|
|
156
161
|
attr_accessor source_content: ::Array[Types::CitationSourceContentDelta]
|
|
157
162
|
attr_accessor location: Types::CitationLocation
|
|
158
163
|
SENSITIVE: []
|
|
@@ -174,6 +179,7 @@ module Aws::BedrockRuntime
|
|
|
174
179
|
attr_accessor cache_point: Types::CachePointBlock
|
|
175
180
|
attr_accessor reasoning_content: Types::ReasoningContentBlock
|
|
176
181
|
attr_accessor citations_content: Types::CitationsContentBlock
|
|
182
|
+
attr_accessor search_result: Types::SearchResultBlock
|
|
177
183
|
attr_accessor unknown: untyped
|
|
178
184
|
SENSITIVE: [:reasoning_content]
|
|
179
185
|
|
|
@@ -197,6 +203,8 @@ module Aws::BedrockRuntime
|
|
|
197
203
|
end
|
|
198
204
|
class CitationsContent < ContentBlock
|
|
199
205
|
end
|
|
206
|
+
class SearchResult < ContentBlock
|
|
207
|
+
end
|
|
200
208
|
class Unknown < ContentBlock
|
|
201
209
|
end
|
|
202
210
|
end
|
|
@@ -286,6 +294,7 @@ module Aws::BedrockRuntime
|
|
|
286
294
|
attr_accessor additional_model_response_field_paths: ::Array[::String]
|
|
287
295
|
attr_accessor request_metadata: ::Hash[::String, ::String]
|
|
288
296
|
attr_accessor performance_config: Types::PerformanceConfiguration
|
|
297
|
+
attr_accessor service_tier: Types::ServiceTier
|
|
289
298
|
SENSITIVE: [:prompt_variables, :request_metadata]
|
|
290
299
|
end
|
|
291
300
|
|
|
@@ -297,6 +306,7 @@ module Aws::BedrockRuntime
|
|
|
297
306
|
attr_accessor additional_model_response_fields: untyped
|
|
298
307
|
attr_accessor trace: Types::ConverseTrace
|
|
299
308
|
attr_accessor performance_config: Types::PerformanceConfiguration
|
|
309
|
+
attr_accessor service_tier: Types::ServiceTier
|
|
300
310
|
SENSITIVE: []
|
|
301
311
|
end
|
|
302
312
|
|
|
@@ -305,6 +315,7 @@ module Aws::BedrockRuntime
|
|
|
305
315
|
attr_accessor metrics: Types::ConverseStreamMetrics
|
|
306
316
|
attr_accessor trace: Types::ConverseStreamTrace
|
|
307
317
|
attr_accessor performance_config: Types::PerformanceConfiguration
|
|
318
|
+
attr_accessor service_tier: Types::ServiceTier
|
|
308
319
|
attr_accessor event_type: untyped
|
|
309
320
|
SENSITIVE: []
|
|
310
321
|
end
|
|
@@ -326,6 +337,7 @@ module Aws::BedrockRuntime
|
|
|
326
337
|
attr_accessor additional_model_response_field_paths: ::Array[::String]
|
|
327
338
|
attr_accessor request_metadata: ::Hash[::String, ::String]
|
|
328
339
|
attr_accessor performance_config: Types::PerformanceConfiguration
|
|
340
|
+
attr_accessor service_tier: Types::ServiceTier
|
|
329
341
|
SENSITIVE: [:prompt_variables, :request_metadata]
|
|
330
342
|
end
|
|
331
343
|
|
|
@@ -343,6 +355,8 @@ module Aws::BedrockRuntime
|
|
|
343
355
|
class ConverseTokensRequest
|
|
344
356
|
attr_accessor messages: ::Array[Types::Message]
|
|
345
357
|
attr_accessor system: ::Array[Types::SystemContentBlock]
|
|
358
|
+
attr_accessor tool_config: Types::ToolConfiguration
|
|
359
|
+
attr_accessor additional_model_request_fields: untyped
|
|
346
360
|
SENSITIVE: []
|
|
347
361
|
end
|
|
348
362
|
|
|
@@ -854,6 +868,7 @@ module Aws::BedrockRuntime
|
|
|
854
868
|
attr_accessor guardrail_identifier: ::String
|
|
855
869
|
attr_accessor guardrail_version: ::String
|
|
856
870
|
attr_accessor performance_config_latency: ("standard" | "optimized")
|
|
871
|
+
attr_accessor service_tier: ("priority" | "default" | "flex")
|
|
857
872
|
SENSITIVE: [:body]
|
|
858
873
|
end
|
|
859
874
|
|
|
@@ -861,6 +876,7 @@ module Aws::BedrockRuntime
|
|
|
861
876
|
attr_accessor body: ::String
|
|
862
877
|
attr_accessor content_type: ::String
|
|
863
878
|
attr_accessor performance_config_latency: ("standard" | "optimized")
|
|
879
|
+
attr_accessor service_tier: ("priority" | "default" | "flex")
|
|
864
880
|
SENSITIVE: [:body]
|
|
865
881
|
end
|
|
866
882
|
|
|
@@ -889,6 +905,7 @@ module Aws::BedrockRuntime
|
|
|
889
905
|
attr_accessor guardrail_identifier: ::String
|
|
890
906
|
attr_accessor guardrail_version: ::String
|
|
891
907
|
attr_accessor performance_config_latency: ("standard" | "optimized")
|
|
908
|
+
attr_accessor service_tier: ("priority" | "default" | "flex")
|
|
892
909
|
SENSITIVE: [:body]
|
|
893
910
|
end
|
|
894
911
|
|
|
@@ -896,6 +913,7 @@ module Aws::BedrockRuntime
|
|
|
896
913
|
attr_accessor body: Types::ResponseStream
|
|
897
914
|
attr_accessor content_type: ::String
|
|
898
915
|
attr_accessor performance_config_latency: ("standard" | "optimized")
|
|
916
|
+
attr_accessor service_tier: ("priority" | "default" | "flex")
|
|
899
917
|
SENSITIVE: []
|
|
900
918
|
end
|
|
901
919
|
|
|
@@ -1036,11 +1054,36 @@ module Aws::BedrockRuntime
|
|
|
1036
1054
|
SENSITIVE: []
|
|
1037
1055
|
end
|
|
1038
1056
|
|
|
1057
|
+
class SearchResultBlock
|
|
1058
|
+
attr_accessor source: ::String
|
|
1059
|
+
attr_accessor title: ::String
|
|
1060
|
+
attr_accessor content: ::Array[Types::SearchResultContentBlock]
|
|
1061
|
+
attr_accessor citations: Types::CitationsConfig
|
|
1062
|
+
SENSITIVE: []
|
|
1063
|
+
end
|
|
1064
|
+
|
|
1065
|
+
class SearchResultContentBlock
|
|
1066
|
+
attr_accessor text: ::String
|
|
1067
|
+
SENSITIVE: []
|
|
1068
|
+
end
|
|
1069
|
+
|
|
1070
|
+
class SearchResultLocation
|
|
1071
|
+
attr_accessor search_result_index: ::Integer
|
|
1072
|
+
attr_accessor start: ::Integer
|
|
1073
|
+
attr_accessor end: ::Integer
|
|
1074
|
+
SENSITIVE: []
|
|
1075
|
+
end
|
|
1076
|
+
|
|
1039
1077
|
class ServiceQuotaExceededException
|
|
1040
1078
|
attr_accessor message: ::String
|
|
1041
1079
|
SENSITIVE: []
|
|
1042
1080
|
end
|
|
1043
1081
|
|
|
1082
|
+
class ServiceTier
|
|
1083
|
+
attr_accessor type: ("priority" | "default" | "flex")
|
|
1084
|
+
SENSITIVE: []
|
|
1085
|
+
end
|
|
1086
|
+
|
|
1044
1087
|
class ServiceUnavailableException
|
|
1045
1088
|
attr_accessor message: ::String
|
|
1046
1089
|
attr_accessor event_type: untyped
|
|
@@ -1192,6 +1235,7 @@ module Aws::BedrockRuntime
|
|
|
1192
1235
|
attr_accessor image: Types::ImageBlock
|
|
1193
1236
|
attr_accessor document: Types::DocumentBlock
|
|
1194
1237
|
attr_accessor video: Types::VideoBlock
|
|
1238
|
+
attr_accessor search_result: Types::SearchResultBlock
|
|
1195
1239
|
attr_accessor unknown: untyped
|
|
1196
1240
|
SENSITIVE: []
|
|
1197
1241
|
|
|
@@ -1205,6 +1249,8 @@ module Aws::BedrockRuntime
|
|
|
1205
1249
|
end
|
|
1206
1250
|
class Video < ToolResultContentBlock
|
|
1207
1251
|
end
|
|
1252
|
+
class SearchResult < ToolResultContentBlock
|
|
1253
|
+
end
|
|
1208
1254
|
class Unknown < ToolResultContentBlock
|
|
1209
1255
|
end
|
|
1210
1256
|
end
|