aws-sdk-bedrockagentruntime 1.35.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +370 -5
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +101 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +332 -4
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +17 -0
- data/sig/types.rbs +116 -6
- metadata +2 -2
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
|
@@ -145,6 +176,17 @@ module Aws::BedrockAgentRuntime
|
|
145
176
|
SENSITIVE: [:data]
|
146
177
|
end
|
147
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
|
+
|
148
190
|
class Citation
|
149
191
|
attr_accessor generated_response_part: Types::GeneratedResponsePart
|
150
192
|
attr_accessor retrieved_references: ::Array[Types::RetrievedReference]
|
@@ -177,11 +219,27 @@ module Aws::BedrockAgentRuntime
|
|
177
219
|
SENSITIVE: []
|
178
220
|
end
|
179
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
|
+
|
180
233
|
class ContentBody
|
181
234
|
attr_accessor body: ::String
|
182
235
|
SENSITIVE: []
|
183
236
|
end
|
184
237
|
|
238
|
+
class ConversationHistory
|
239
|
+
attr_accessor messages: ::Array[Types::Message]
|
240
|
+
SENSITIVE: []
|
241
|
+
end
|
242
|
+
|
185
243
|
class CustomOrchestrationTrace
|
186
244
|
attr_accessor event: Types::CustomOrchestrationTraceEvent
|
187
245
|
attr_accessor trace_id: ::String
|
@@ -404,9 +462,11 @@ module Aws::BedrockAgentRuntime
|
|
404
462
|
class FunctionInvocationInput
|
405
463
|
attr_accessor action_group: ::String
|
406
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
|
407
467
|
attr_accessor function: ::String
|
408
468
|
attr_accessor parameters: ::Array[Types::FunctionParameter]
|
409
|
-
SENSITIVE: []
|
469
|
+
SENSITIVE: [:collaborator_name]
|
410
470
|
end
|
411
471
|
|
412
472
|
class FunctionParameter
|
@@ -418,6 +478,7 @@ module Aws::BedrockAgentRuntime
|
|
418
478
|
|
419
479
|
class FunctionResult
|
420
480
|
attr_accessor action_group: ::String
|
481
|
+
attr_accessor agent_id: ::String
|
421
482
|
attr_accessor confirmation_state: ("CONFIRM" | "DENY")
|
422
483
|
attr_accessor function: ::String
|
423
484
|
attr_accessor response_body: ::Hash[::String, Types::ContentBody]
|
@@ -645,8 +706,9 @@ module Aws::BedrockAgentRuntime
|
|
645
706
|
|
646
707
|
class InvocationInput
|
647
708
|
attr_accessor action_group_invocation_input: Types::ActionGroupInvocationInput
|
709
|
+
attr_accessor agent_collaborator_invocation_input: Types::AgentCollaboratorInvocationInput
|
648
710
|
attr_accessor code_interpreter_invocation_input: Types::CodeInterpreterInvocationInput
|
649
|
-
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")
|
650
712
|
attr_accessor knowledge_base_lookup_input: Types::KnowledgeBaseLookupInput
|
651
713
|
attr_accessor trace_id: ::String
|
652
714
|
SENSITIVE: []
|
@@ -689,6 +751,7 @@ module Aws::BedrockAgentRuntime
|
|
689
751
|
attr_accessor memory_id: ::String
|
690
752
|
attr_accessor session_id: ::String
|
691
753
|
attr_accessor session_state: Types::SessionState
|
754
|
+
attr_accessor source_arn: ::String
|
692
755
|
attr_accessor streaming_configurations: Types::StreamingConfigurations
|
693
756
|
SENSITIVE: [:input_text]
|
694
757
|
end
|
@@ -818,6 +881,12 @@ module Aws::BedrockAgentRuntime
|
|
818
881
|
SENSITIVE: []
|
819
882
|
end
|
820
883
|
|
884
|
+
class Message
|
885
|
+
attr_accessor content: ::Array[Types::ContentBlock]
|
886
|
+
attr_accessor role: ("user" | "assistant")
|
887
|
+
SENSITIVE: []
|
888
|
+
end
|
889
|
+
|
821
890
|
class Metadata
|
822
891
|
attr_accessor usage: Types::Usage
|
823
892
|
SENSITIVE: [:usage]
|
@@ -837,6 +906,7 @@ module Aws::BedrockAgentRuntime
|
|
837
906
|
end
|
838
907
|
|
839
908
|
class ModelInvocationInput
|
909
|
+
attr_accessor foundation_model: ::String
|
840
910
|
attr_accessor inference_configuration: Types::InferenceConfiguration
|
841
911
|
attr_accessor override_lambda: ::String
|
842
912
|
attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
|
@@ -849,12 +919,13 @@ module Aws::BedrockAgentRuntime
|
|
849
919
|
|
850
920
|
class Observation
|
851
921
|
attr_accessor action_group_invocation_output: Types::ActionGroupInvocationOutput
|
922
|
+
attr_accessor agent_collaborator_invocation_output: Types::AgentCollaboratorInvocationOutput
|
852
923
|
attr_accessor code_interpreter_invocation_output: Types::CodeInterpreterInvocationOutput
|
853
924
|
attr_accessor final_response: Types::FinalResponse
|
854
925
|
attr_accessor knowledge_base_lookup_output: Types::KnowledgeBaseLookupOutput
|
855
926
|
attr_accessor reprompt_response: Types::RepromptResponse
|
856
927
|
attr_accessor trace_id: ::String
|
857
|
-
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")
|
858
929
|
SENSITIVE: [:reprompt_response]
|
859
930
|
end
|
860
931
|
|
@@ -1312,6 +1383,39 @@ module Aws::BedrockAgentRuntime
|
|
1312
1383
|
SENSITIVE: []
|
1313
1384
|
end
|
1314
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
|
+
|
1315
1419
|
class S3Identifier
|
1316
1420
|
attr_accessor s3_bucket_name: ::String
|
1317
1421
|
attr_accessor s3_object_key: ::String
|
@@ -1335,6 +1439,7 @@ module Aws::BedrockAgentRuntime
|
|
1335
1439
|
end
|
1336
1440
|
|
1337
1441
|
class SessionState
|
1442
|
+
attr_accessor conversation_history: Types::ConversationHistory
|
1338
1443
|
attr_accessor files: ::Array[Types::InputFile]
|
1339
1444
|
attr_accessor invocation_id: ::String
|
1340
1445
|
attr_accessor knowledge_base_configurations: ::Array[Types::KnowledgeBaseConfiguration]
|
@@ -1388,8 +1493,9 @@ module Aws::BedrockAgentRuntime
|
|
1388
1493
|
attr_accessor orchestration_trace: Types::OrchestrationTrace
|
1389
1494
|
attr_accessor post_processing_trace: Types::PostProcessingTrace
|
1390
1495
|
attr_accessor pre_processing_trace: Types::PreProcessingTrace
|
1496
|
+
attr_accessor routing_classifier_trace: Types::RoutingClassifierTrace
|
1391
1497
|
attr_accessor unknown: untyped
|
1392
|
-
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]
|
1393
1499
|
|
1394
1500
|
class CustomOrchestrationTrace < Trace
|
1395
1501
|
end
|
@@ -1403,6 +1509,8 @@ module Aws::BedrockAgentRuntime
|
|
1403
1509
|
end
|
1404
1510
|
class PreProcessingTrace < Trace
|
1405
1511
|
end
|
1512
|
+
class RoutingClassifierTrace < Trace
|
1513
|
+
end
|
1406
1514
|
class Unknown < Trace
|
1407
1515
|
end
|
1408
1516
|
end
|
@@ -1411,10 +1519,12 @@ module Aws::BedrockAgentRuntime
|
|
1411
1519
|
attr_accessor agent_alias_id: ::String
|
1412
1520
|
attr_accessor agent_id: ::String
|
1413
1521
|
attr_accessor agent_version: ::String
|
1522
|
+
attr_accessor caller_chain: ::Array[Types::Caller]
|
1523
|
+
attr_accessor collaborator_name: ::String
|
1414
1524
|
attr_accessor session_id: ::String
|
1415
1525
|
attr_accessor trace: Types::Trace
|
1416
1526
|
attr_accessor event_type: untyped
|
1417
|
-
SENSITIVE: [:trace]
|
1527
|
+
SENSITIVE: [:collaborator_name, :trace]
|
1418
1528
|
end
|
1419
1529
|
|
1420
1530
|
class Usage
|
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.
|
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-12-
|
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
|