aws-sdk-bedrockagentruntime 1.34.0 → 1.36.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.
data/sig/types.rbs CHANGED
@@ -69,6 +69,34 @@ module Aws::BedrockAgentRuntime
69
69
  SENSITIVE: [:action_group_name, :description]
70
70
  end
71
71
 
72
+ class AgentCollaboratorInputPayload
73
+ attr_accessor return_control_results: Types::ReturnControlResults
74
+ attr_accessor text: ::String
75
+ attr_accessor type: ("TEXT" | "RETURN_CONTROL")
76
+ SENSITIVE: [:text]
77
+ end
78
+
79
+ class AgentCollaboratorInvocationInput
80
+ attr_accessor agent_collaborator_alias_arn: ::String
81
+ attr_accessor agent_collaborator_name: ::String
82
+ attr_accessor input: Types::AgentCollaboratorInputPayload
83
+ SENSITIVE: []
84
+ end
85
+
86
+ class AgentCollaboratorInvocationOutput
87
+ attr_accessor agent_collaborator_alias_arn: ::String
88
+ attr_accessor agent_collaborator_name: ::String
89
+ attr_accessor output: Types::AgentCollaboratorOutputPayload
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class AgentCollaboratorOutputPayload
94
+ attr_accessor return_control_payload: Types::ReturnControlPayload
95
+ attr_accessor text: ::String
96
+ attr_accessor type: ("TEXT" | "RETURN_CONTROL")
97
+ SENSITIVE: [:return_control_payload, :text]
98
+ end
99
+
72
100
  class AnalyzePromptEvent
73
101
  attr_accessor message: ::String
74
102
  attr_accessor event_type: untyped
@@ -78,11 +106,13 @@ module Aws::BedrockAgentRuntime
78
106
  class ApiInvocationInput
79
107
  attr_accessor action_group: ::String
80
108
  attr_accessor action_invocation_type: ("RESULT" | "USER_CONFIRMATION" | "USER_CONFIRMATION_AND_RESULT")
109
+ attr_accessor agent_id: ::String
81
110
  attr_accessor api_path: ::String
111
+ attr_accessor collaborator_name: ::String
82
112
  attr_accessor http_method: ::String
83
113
  attr_accessor parameters: ::Array[Types::ApiParameter]
84
114
  attr_accessor request_body: Types::ApiRequestBody
85
- SENSITIVE: [:api_path]
115
+ SENSITIVE: [:api_path, :collaborator_name]
86
116
  end
87
117
 
88
118
  class ApiParameter
@@ -99,6 +129,7 @@ module Aws::BedrockAgentRuntime
99
129
 
100
130
  class ApiResult
101
131
  attr_accessor action_group: ::String
132
+ attr_accessor agent_id: ::String
102
133
  attr_accessor api_path: ::String
103
134
  attr_accessor confirmation_state: ("CONFIRM" | "DENY")
104
135
  attr_accessor http_method: ::String
@@ -120,6 +151,18 @@ module Aws::BedrockAgentRuntime
120
151
  SENSITIVE: []
121
152
  end
122
153
 
154
+ class BedrockRerankingConfiguration
155
+ attr_accessor model_configuration: Types::BedrockRerankingModelConfiguration
156
+ attr_accessor number_of_results: ::Integer
157
+ SENSITIVE: []
158
+ end
159
+
160
+ class BedrockRerankingModelConfiguration
161
+ attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
162
+ attr_accessor model_arn: ::String
163
+ SENSITIVE: []
164
+ end
165
+
123
166
  class ByteContentDoc
124
167
  attr_accessor content_type: ::String
125
168
  attr_accessor data: ::String
@@ -133,12 +176,29 @@ module Aws::BedrockAgentRuntime
133
176
  SENSITIVE: [:data]
134
177
  end
135
178
 
179
+ class Caller
180
+ attr_accessor agent_alias_arn: ::String
181
+ attr_accessor unknown: untyped
182
+ SENSITIVE: []
183
+
184
+ class AgentAliasArn < Caller
185
+ end
186
+ class Unknown < Caller
187
+ end
188
+ end
189
+
136
190
  class Citation
137
191
  attr_accessor generated_response_part: Types::GeneratedResponsePart
138
192
  attr_accessor retrieved_references: ::Array[Types::RetrievedReference]
139
193
  SENSITIVE: []
140
194
  end
141
195
 
196
+ class CitationEvent
197
+ attr_accessor citation: Types::Citation
198
+ attr_accessor event_type: untyped
199
+ SENSITIVE: []
200
+ end
201
+
142
202
  class CodeInterpreterInvocationInput
143
203
  attr_accessor code: ::String
144
204
  attr_accessor files: ::Array[::String]
@@ -159,11 +219,27 @@ module Aws::BedrockAgentRuntime
159
219
  SENSITIVE: []
160
220
  end
161
221
 
222
+ class ContentBlock
223
+ attr_accessor text: ::String
224
+ attr_accessor unknown: untyped
225
+ SENSITIVE: []
226
+
227
+ class Text < ContentBlock
228
+ end
229
+ class Unknown < ContentBlock
230
+ end
231
+ end
232
+
162
233
  class ContentBody
163
234
  attr_accessor body: ::String
164
235
  SENSITIVE: []
165
236
  end
166
237
 
238
+ class ConversationHistory
239
+ attr_accessor messages: ::Array[Types::Message]
240
+ SENSITIVE: []
241
+ end
242
+
167
243
  class CustomOrchestrationTrace
168
244
  attr_accessor event: Types::CustomOrchestrationTraceEvent
169
245
  attr_accessor trace_id: ::String
@@ -220,6 +296,11 @@ module Aws::BedrockAgentRuntime
220
296
  SENSITIVE: [:failure_reason]
221
297
  end
222
298
 
299
+ class FieldForReranking
300
+ attr_accessor field_name: ::String
301
+ SENSITIVE: []
302
+ end
303
+
223
304
  class FilePart
224
305
  attr_accessor files: ::Array[Types::OutputFile]
225
306
  attr_accessor event_type: untyped
@@ -381,9 +462,11 @@ module Aws::BedrockAgentRuntime
381
462
  class FunctionInvocationInput
382
463
  attr_accessor action_group: ::String
383
464
  attr_accessor action_invocation_type: ("RESULT" | "USER_CONFIRMATION" | "USER_CONFIRMATION_AND_RESULT")
465
+ attr_accessor agent_id: ::String
466
+ attr_accessor collaborator_name: ::String
384
467
  attr_accessor function: ::String
385
468
  attr_accessor parameters: ::Array[Types::FunctionParameter]
386
- SENSITIVE: []
469
+ SENSITIVE: [:collaborator_name]
387
470
  end
388
471
 
389
472
  class FunctionParameter
@@ -395,6 +478,7 @@ module Aws::BedrockAgentRuntime
395
478
 
396
479
  class FunctionResult
397
480
  attr_accessor action_group: ::String
481
+ attr_accessor agent_id: ::String
398
482
  attr_accessor confirmation_state: ("CONFIRM" | "DENY")
399
483
  attr_accessor function: ::String
400
484
  attr_accessor response_body: ::Hash[::String, Types::ContentBody]
@@ -480,6 +564,12 @@ module Aws::BedrockAgentRuntime
480
564
  SENSITIVE: []
481
565
  end
482
566
 
567
+ class GuardrailEvent
568
+ attr_accessor action: ("INTERVENED" | "NONE")
569
+ attr_accessor event_type: untyped
570
+ SENSITIVE: []
571
+ end
572
+
483
573
  class GuardrailManagedWord
484
574
  attr_accessor action: ("BLOCKED")
485
575
  attr_accessor match: ::String
@@ -534,6 +624,12 @@ module Aws::BedrockAgentRuntime
534
624
  SENSITIVE: [:custom_words, :managed_word_lists]
535
625
  end
536
626
 
627
+ class ImplicitFilterConfiguration
628
+ attr_accessor metadata_attributes: ::Array[Types::MetadataAttributeSchema]
629
+ attr_accessor model_arn: ::String
630
+ SENSITIVE: []
631
+ end
632
+
537
633
  class InferenceConfig
538
634
  attr_accessor text_inference_config: Types::TextInferenceConfig
539
635
  SENSITIVE: []
@@ -610,8 +706,9 @@ module Aws::BedrockAgentRuntime
610
706
 
611
707
  class InvocationInput
612
708
  attr_accessor action_group_invocation_input: Types::ActionGroupInvocationInput
709
+ attr_accessor agent_collaborator_invocation_input: Types::AgentCollaboratorInvocationInput
613
710
  attr_accessor code_interpreter_invocation_input: Types::CodeInterpreterInvocationInput
614
- attr_accessor invocation_type: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "FINISH" | "ACTION_GROUP_CODE_INTERPRETER")
711
+ attr_accessor invocation_type: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "FINISH" | "ACTION_GROUP_CODE_INTERPRETER" | "AGENT_COLLABORATOR")
615
712
  attr_accessor knowledge_base_lookup_input: Types::KnowledgeBaseLookupInput
616
713
  attr_accessor trace_id: ::String
617
714
  SENSITIVE: []
@@ -654,6 +751,7 @@ module Aws::BedrockAgentRuntime
654
751
  attr_accessor memory_id: ::String
655
752
  attr_accessor session_id: ::String
656
753
  attr_accessor session_state: Types::SessionState
754
+ attr_accessor source_arn: ::String
657
755
  attr_accessor streaming_configurations: Types::StreamingConfigurations
658
756
  SENSITIVE: [:input_text]
659
757
  end
@@ -756,8 +854,10 @@ module Aws::BedrockAgentRuntime
756
854
 
757
855
  class KnowledgeBaseVectorSearchConfiguration
758
856
  attr_accessor filter: Types::RetrievalFilter
857
+ attr_accessor implicit_filter_configuration: Types::ImplicitFilterConfiguration
759
858
  attr_accessor number_of_results: ::Integer
760
859
  attr_accessor override_search_type: ("HYBRID" | "SEMANTIC")
860
+ attr_accessor reranking_configuration: Types::VectorSearchRerankingConfiguration
761
861
  SENSITIVE: [:filter]
762
862
  end
763
863
 
@@ -781,12 +881,32 @@ module Aws::BedrockAgentRuntime
781
881
  SENSITIVE: []
782
882
  end
783
883
 
884
+ class Message
885
+ attr_accessor content: ::Array[Types::ContentBlock]
886
+ attr_accessor role: ("user" | "assistant")
887
+ SENSITIVE: []
888
+ end
889
+
784
890
  class Metadata
785
891
  attr_accessor usage: Types::Usage
786
892
  SENSITIVE: [:usage]
787
893
  end
788
894
 
895
+ class MetadataAttributeSchema
896
+ attr_accessor description: ::String
897
+ attr_accessor key: ::String
898
+ attr_accessor type: ("STRING" | "NUMBER" | "BOOLEAN" | "STRING_LIST")
899
+ SENSITIVE: []
900
+ end
901
+
902
+ class MetadataConfigurationForReranking
903
+ attr_accessor selection_mode: ("SELECTIVE" | "ALL")
904
+ attr_accessor selective_mode_configuration: Types::RerankingMetadataSelectiveModeConfiguration
905
+ SENSITIVE: []
906
+ end
907
+
789
908
  class ModelInvocationInput
909
+ attr_accessor foundation_model: ::String
790
910
  attr_accessor inference_configuration: Types::InferenceConfiguration
791
911
  attr_accessor override_lambda: ::String
792
912
  attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
@@ -799,12 +919,13 @@ module Aws::BedrockAgentRuntime
799
919
 
800
920
  class Observation
801
921
  attr_accessor action_group_invocation_output: Types::ActionGroupInvocationOutput
922
+ attr_accessor agent_collaborator_invocation_output: Types::AgentCollaboratorInvocationOutput
802
923
  attr_accessor code_interpreter_invocation_output: Types::CodeInterpreterInvocationOutput
803
924
  attr_accessor final_response: Types::FinalResponse
804
925
  attr_accessor knowledge_base_lookup_output: Types::KnowledgeBaseLookupOutput
805
926
  attr_accessor reprompt_response: Types::RepromptResponse
806
927
  attr_accessor trace_id: ::String
807
- attr_accessor type: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "FINISH" | "ASK_USER" | "REPROMPT")
928
+ attr_accessor type: ("ACTION_GROUP" | "AGENT_COLLABORATOR" | "KNOWLEDGE_BASE" | "FINISH" | "ASK_USER" | "REPROMPT")
808
929
  SENSITIVE: [:reprompt_response]
809
930
  end
810
931
 
@@ -1010,6 +1131,71 @@ module Aws::BedrockAgentRuntime
1010
1131
  SENSITIVE: []
1011
1132
  end
1012
1133
 
1134
+ class RerankDocument
1135
+ attr_accessor json_document: untyped
1136
+ attr_accessor text_document: Types::RerankTextDocument
1137
+ attr_accessor type: ("TEXT" | "JSON")
1138
+ SENSITIVE: [:text_document]
1139
+ end
1140
+
1141
+ class RerankQuery
1142
+ attr_accessor text_query: Types::RerankTextDocument
1143
+ attr_accessor type: ("TEXT")
1144
+ SENSITIVE: [:text_query]
1145
+ end
1146
+
1147
+ class RerankRequest
1148
+ attr_accessor next_token: ::String
1149
+ attr_accessor queries: ::Array[Types::RerankQuery]
1150
+ attr_accessor reranking_configuration: Types::RerankingConfiguration
1151
+ attr_accessor sources: ::Array[Types::RerankSource]
1152
+ SENSITIVE: [:queries, :sources]
1153
+ end
1154
+
1155
+ class RerankResponse
1156
+ attr_accessor next_token: ::String
1157
+ attr_accessor results: ::Array[Types::RerankResult]
1158
+ SENSITIVE: []
1159
+ end
1160
+
1161
+ class RerankResult
1162
+ attr_accessor document: Types::RerankDocument
1163
+ attr_accessor index: ::Integer
1164
+ attr_accessor relevance_score: ::Float
1165
+ SENSITIVE: [:document]
1166
+ end
1167
+
1168
+ class RerankSource
1169
+ attr_accessor inline_document_source: Types::RerankDocument
1170
+ attr_accessor type: ("INLINE")
1171
+ SENSITIVE: [:inline_document_source]
1172
+ end
1173
+
1174
+ class RerankTextDocument
1175
+ attr_accessor text: ::String
1176
+ SENSITIVE: []
1177
+ end
1178
+
1179
+ class RerankingConfiguration
1180
+ attr_accessor bedrock_reranking_configuration: Types::BedrockRerankingConfiguration
1181
+ attr_accessor type: ("BEDROCK_RERANKING_MODEL")
1182
+ SENSITIVE: []
1183
+ end
1184
+
1185
+ class RerankingMetadataSelectiveModeConfiguration
1186
+ attr_accessor fields_to_exclude: ::Array[Types::FieldForReranking]
1187
+ attr_accessor fields_to_include: ::Array[Types::FieldForReranking]
1188
+ attr_accessor unknown: untyped
1189
+ SENSITIVE: [:fields_to_exclude, :fields_to_include]
1190
+
1191
+ class FieldsToExclude < RerankingMetadataSelectiveModeConfiguration
1192
+ end
1193
+ class FieldsToInclude < RerankingMetadataSelectiveModeConfiguration
1194
+ end
1195
+ class Unknown < RerankingMetadataSelectiveModeConfiguration
1196
+ end
1197
+ end
1198
+
1013
1199
  class ResourceNotFoundException
1014
1200
  attr_accessor message: ::String
1015
1201
  attr_accessor event_type: untyped
@@ -1073,12 +1259,18 @@ module Aws::BedrockAgentRuntime
1073
1259
  SENSITIVE: []
1074
1260
  end
1075
1261
 
1262
+ class RetrievalResultCustomDocumentLocation
1263
+ attr_accessor id: ::String
1264
+ SENSITIVE: []
1265
+ end
1266
+
1076
1267
  class RetrievalResultLocation
1077
1268
  attr_accessor confluence_location: Types::RetrievalResultConfluenceLocation
1269
+ attr_accessor custom_document_location: Types::RetrievalResultCustomDocumentLocation
1078
1270
  attr_accessor s3_location: Types::RetrievalResultS3Location
1079
1271
  attr_accessor salesforce_location: Types::RetrievalResultSalesforceLocation
1080
1272
  attr_accessor share_point_location: Types::RetrievalResultSharePointLocation
1081
- attr_accessor type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT")
1273
+ attr_accessor type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM")
1082
1274
  attr_accessor web_location: Types::RetrievalResultWebLocation
1083
1275
  SENSITIVE: []
1084
1276
  end
@@ -1120,6 +1312,12 @@ module Aws::BedrockAgentRuntime
1120
1312
  SENSITIVE: []
1121
1313
  end
1122
1314
 
1315
+ class RetrieveAndGenerateOutputEvent
1316
+ attr_accessor text: ::String
1317
+ attr_accessor event_type: untyped
1318
+ SENSITIVE: []
1319
+ end
1320
+
1123
1321
  class RetrieveAndGenerateRequest
1124
1322
  attr_accessor input: Types::RetrieveAndGenerateInput
1125
1323
  attr_accessor retrieve_and_generate_configuration: Types::RetrieveAndGenerateConfiguration
@@ -1141,7 +1339,22 @@ module Aws::BedrockAgentRuntime
1141
1339
  SENSITIVE: []
1142
1340
  end
1143
1341
 
1342
+ class RetrieveAndGenerateStreamRequest
1343
+ attr_accessor input: Types::RetrieveAndGenerateInput
1344
+ attr_accessor retrieve_and_generate_configuration: Types::RetrieveAndGenerateConfiguration
1345
+ attr_accessor session_configuration: Types::RetrieveAndGenerateSessionConfiguration
1346
+ attr_accessor session_id: ::String
1347
+ SENSITIVE: [:input]
1348
+ end
1349
+
1350
+ class RetrieveAndGenerateStreamResponse
1351
+ attr_accessor session_id: ::String
1352
+ attr_accessor stream: Types::RetrieveAndGenerateStreamResponseOutput
1353
+ SENSITIVE: []
1354
+ end
1355
+
1144
1356
  class RetrieveRequest
1357
+ attr_accessor guardrail_configuration: Types::GuardrailConfiguration
1145
1358
  attr_accessor knowledge_base_id: ::String
1146
1359
  attr_accessor next_token: ::String
1147
1360
  attr_accessor retrieval_configuration: Types::KnowledgeBaseRetrievalConfiguration
@@ -1150,6 +1363,7 @@ module Aws::BedrockAgentRuntime
1150
1363
  end
1151
1364
 
1152
1365
  class RetrieveResponse
1366
+ attr_accessor guardrail_action: ("INTERVENED" | "NONE")
1153
1367
  attr_accessor next_token: ::String
1154
1368
  attr_accessor retrieval_results: ::Array[Types::KnowledgeBaseRetrievalResult]
1155
1369
  SENSITIVE: [:retrieval_results]
@@ -1169,6 +1383,39 @@ module Aws::BedrockAgentRuntime
1169
1383
  SENSITIVE: []
1170
1384
  end
1171
1385
 
1386
+ class ReturnControlResults
1387
+ attr_accessor invocation_id: ::String
1388
+ attr_accessor return_control_invocation_results: ::Array[Types::InvocationResultMember]
1389
+ SENSITIVE: []
1390
+ end
1391
+
1392
+ class RoutingClassifierModelInvocationOutput
1393
+ attr_accessor metadata: Types::Metadata
1394
+ attr_accessor raw_response: Types::RawResponse
1395
+ attr_accessor trace_id: ::String
1396
+ SENSITIVE: [:metadata, :raw_response]
1397
+ end
1398
+
1399
+ class RoutingClassifierTrace
1400
+ attr_accessor invocation_input: Types::InvocationInput
1401
+ attr_accessor model_invocation_input: Types::ModelInvocationInput
1402
+ attr_accessor model_invocation_output: Types::RoutingClassifierModelInvocationOutput
1403
+ attr_accessor observation: Types::Observation
1404
+ attr_accessor unknown: untyped
1405
+ SENSITIVE: [:invocation_input, :model_invocation_input, :model_invocation_output, :observation]
1406
+
1407
+ class InvocationInput < RoutingClassifierTrace
1408
+ end
1409
+ class ModelInvocationInput < RoutingClassifierTrace
1410
+ end
1411
+ class ModelInvocationOutput < RoutingClassifierTrace
1412
+ end
1413
+ class Observation < RoutingClassifierTrace
1414
+ end
1415
+ class Unknown < RoutingClassifierTrace
1416
+ end
1417
+ end
1418
+
1172
1419
  class S3Identifier
1173
1420
  attr_accessor s3_bucket_name: ::String
1174
1421
  attr_accessor s3_object_key: ::String
@@ -1192,6 +1439,7 @@ module Aws::BedrockAgentRuntime
1192
1439
  end
1193
1440
 
1194
1441
  class SessionState
1442
+ attr_accessor conversation_history: Types::ConversationHistory
1195
1443
  attr_accessor files: ::Array[Types::InputFile]
1196
1444
  attr_accessor invocation_id: ::String
1197
1445
  attr_accessor knowledge_base_configurations: ::Array[Types::KnowledgeBaseConfiguration]
@@ -1245,8 +1493,9 @@ module Aws::BedrockAgentRuntime
1245
1493
  attr_accessor orchestration_trace: Types::OrchestrationTrace
1246
1494
  attr_accessor post_processing_trace: Types::PostProcessingTrace
1247
1495
  attr_accessor pre_processing_trace: Types::PreProcessingTrace
1496
+ attr_accessor routing_classifier_trace: Types::RoutingClassifierTrace
1248
1497
  attr_accessor unknown: untyped
1249
- SENSITIVE: [:custom_orchestration_trace, :failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace]
1498
+ SENSITIVE: [:custom_orchestration_trace, :failure_trace, :guardrail_trace, :orchestration_trace, :post_processing_trace, :pre_processing_trace, :routing_classifier_trace]
1250
1499
 
1251
1500
  class CustomOrchestrationTrace < Trace
1252
1501
  end
@@ -1260,6 +1509,8 @@ module Aws::BedrockAgentRuntime
1260
1509
  end
1261
1510
  class PreProcessingTrace < Trace
1262
1511
  end
1512
+ class RoutingClassifierTrace < Trace
1513
+ end
1263
1514
  class Unknown < Trace
1264
1515
  end
1265
1516
  end
@@ -1268,10 +1519,12 @@ module Aws::BedrockAgentRuntime
1268
1519
  attr_accessor agent_alias_id: ::String
1269
1520
  attr_accessor agent_id: ::String
1270
1521
  attr_accessor agent_version: ::String
1522
+ attr_accessor caller_chain: ::Array[Types::Caller]
1523
+ attr_accessor collaborator_name: ::String
1271
1524
  attr_accessor session_id: ::String
1272
1525
  attr_accessor trace: Types::Trace
1273
1526
  attr_accessor event_type: untyped
1274
- SENSITIVE: [:trace]
1527
+ SENSITIVE: [:collaborator_name, :trace]
1275
1528
  end
1276
1529
 
1277
1530
  class Usage
@@ -1286,6 +1539,25 @@ module Aws::BedrockAgentRuntime
1286
1539
  SENSITIVE: []
1287
1540
  end
1288
1541
 
1542
+ class VectorSearchBedrockRerankingConfiguration
1543
+ attr_accessor metadata_configuration: Types::MetadataConfigurationForReranking
1544
+ attr_accessor model_configuration: Types::VectorSearchBedrockRerankingModelConfiguration
1545
+ attr_accessor number_of_reranked_results: ::Integer
1546
+ SENSITIVE: []
1547
+ end
1548
+
1549
+ class VectorSearchBedrockRerankingModelConfiguration
1550
+ attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
1551
+ attr_accessor model_arn: ::String
1552
+ SENSITIVE: []
1553
+ end
1554
+
1555
+ class VectorSearchRerankingConfiguration
1556
+ attr_accessor bedrock_reranking_configuration: Types::VectorSearchBedrockRerankingConfiguration
1557
+ attr_accessor type: ("BEDROCK_RERANKING_MODEL")
1558
+ SENSITIVE: []
1559
+ end
1560
+
1289
1561
  class FlowResponseStream < Enumerator[untyped, untyped]
1290
1562
  def event_types: () -> [:access_denied_exception, :bad_gateway_exception, :conflict_exception, :dependency_failed_exception, :flow_completion_event, :flow_output_event, :flow_trace_event, :internal_server_exception, :resource_not_found_exception, :service_quota_exceeded_exception, :throttling_exception, :validation_exception]
1291
1563
  end
@@ -1301,5 +1573,9 @@ module Aws::BedrockAgentRuntime
1301
1573
  class ResponseStream < Enumerator[untyped, untyped]
1302
1574
  def event_types: () -> [:access_denied_exception, :bad_gateway_exception, :chunk, :conflict_exception, :dependency_failed_exception, :files, :internal_server_exception, :resource_not_found_exception, :return_control, :service_quota_exceeded_exception, :throttling_exception, :trace, :validation_exception]
1303
1575
  end
1576
+
1577
+ class RetrieveAndGenerateStreamResponseOutput < Enumerator[untyped, untyped]
1578
+ def event_types: () -> [:access_denied_exception, :bad_gateway_exception, :citation, :conflict_exception, :dependency_failed_exception, :guardrail, :internal_server_exception, :output, :resource_not_found_exception, :service_quota_exceeded_exception, :throttling_exception, :validation_exception]
1579
+ end
1304
1580
  end
1305
1581
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.34.0
4
+ version: 1.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-26 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core