aws-sdk-bedrockagentruntime 1.15.0 → 1.17.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +536 -10
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +272 -0
- data/lib/aws-sdk-bedrockagentruntime/endpoints.rb +42 -0
- data/lib/aws-sdk-bedrockagentruntime/event_streams.rb +89 -0
- data/lib/aws-sdk-bedrockagentruntime/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +763 -15
- data/lib/aws-sdk-bedrockagentruntime.rb +2 -2
- data/sig/client.rbs +145 -0
- data/sig/types.rbs +209 -3
- metadata +2 -2
@@ -33,7 +33,7 @@ require_relative 'aws-sdk-bedrockagentruntime/event_streams'
|
|
33
33
|
# structure.
|
34
34
|
#
|
35
35
|
# bedrock_agent_runtime = Aws::BedrockAgentRuntime::Client.new
|
36
|
-
# resp = bedrock_agent_runtime.
|
36
|
+
# resp = bedrock_agent_runtime.delete_agent_memory(params)
|
37
37
|
#
|
38
38
|
# See {Client} for more information.
|
39
39
|
#
|
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-bedrockagentruntime/event_streams'
|
|
53
53
|
# @!group service
|
54
54
|
module Aws::BedrockAgentRuntime
|
55
55
|
|
56
|
-
GEM_VERSION = '1.
|
56
|
+
GEM_VERSION = '1.17.0'
|
57
57
|
|
58
58
|
end
|
data/sig/client.rbs
CHANGED
@@ -76,10 +76,38 @@ module Aws
|
|
76
76
|
| (?Hash[Symbol, untyped]) -> instance
|
77
77
|
|
78
78
|
|
79
|
+
interface _DeleteAgentMemoryResponseSuccess
|
80
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentMemoryResponse]
|
81
|
+
end
|
82
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#delete_agent_memory-instance_method
|
83
|
+
def delete_agent_memory: (
|
84
|
+
agent_alias_id: ::String,
|
85
|
+
agent_id: ::String,
|
86
|
+
?memory_id: ::String
|
87
|
+
) -> _DeleteAgentMemoryResponseSuccess
|
88
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentMemoryResponseSuccess
|
89
|
+
|
90
|
+
interface _GetAgentMemoryResponseSuccess
|
91
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetAgentMemoryResponse]
|
92
|
+
def memory_contents: () -> ::Array[Types::Memory]
|
93
|
+
def next_token: () -> ::String
|
94
|
+
end
|
95
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#get_agent_memory-instance_method
|
96
|
+
def get_agent_memory: (
|
97
|
+
agent_alias_id: ::String,
|
98
|
+
agent_id: ::String,
|
99
|
+
?max_items: ::Integer,
|
100
|
+
memory_id: ::String,
|
101
|
+
memory_type: ("SESSION_SUMMARY"),
|
102
|
+
?next_token: ::String
|
103
|
+
) -> _GetAgentMemoryResponseSuccess
|
104
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAgentMemoryResponseSuccess
|
105
|
+
|
79
106
|
interface _InvokeAgentResponseSuccess
|
80
107
|
include ::Seahorse::Client::_ResponseSuccess[Types::InvokeAgentResponse]
|
81
108
|
def completion: () -> Types::ResponseStream
|
82
109
|
def content_type: () -> ::String
|
110
|
+
def memory_id: () -> ::String
|
83
111
|
def session_id: () -> ::String
|
84
112
|
end
|
85
113
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#invoke_agent-instance_method
|
@@ -89,9 +117,100 @@ module Aws
|
|
89
117
|
?enable_trace: bool,
|
90
118
|
?end_session: bool,
|
91
119
|
?input_text: ::String,
|
120
|
+
?memory_id: ::String,
|
92
121
|
session_id: ::String,
|
93
122
|
?session_state: {
|
123
|
+
files: Array[
|
124
|
+
{
|
125
|
+
name: ::String,
|
126
|
+
source: {
|
127
|
+
byte_content: {
|
128
|
+
data: ::String,
|
129
|
+
media_type: ::String
|
130
|
+
}?,
|
131
|
+
s3_location: {
|
132
|
+
uri: ::String
|
133
|
+
}?,
|
134
|
+
source_type: ("S3" | "BYTE_CONTENT")
|
135
|
+
},
|
136
|
+
use_case: ("CODE_INTERPRETER" | "CHAT")
|
137
|
+
},
|
138
|
+
]?,
|
94
139
|
invocation_id: ::String?,
|
140
|
+
knowledge_base_configurations: Array[
|
141
|
+
{
|
142
|
+
knowledge_base_id: ::String,
|
143
|
+
retrieval_configuration: {
|
144
|
+
vector_search_configuration: {
|
145
|
+
filter: {
|
146
|
+
and_all: Array[
|
147
|
+
untyped,
|
148
|
+
]?,
|
149
|
+
equals: {
|
150
|
+
key: ::String,
|
151
|
+
value: {
|
152
|
+
}
|
153
|
+
}?,
|
154
|
+
greater_than: {
|
155
|
+
key: ::String,
|
156
|
+
value: {
|
157
|
+
}
|
158
|
+
}?,
|
159
|
+
greater_than_or_equals: {
|
160
|
+
key: ::String,
|
161
|
+
value: {
|
162
|
+
}
|
163
|
+
}?,
|
164
|
+
in: {
|
165
|
+
key: ::String,
|
166
|
+
value: {
|
167
|
+
}
|
168
|
+
}?,
|
169
|
+
less_than: {
|
170
|
+
key: ::String,
|
171
|
+
value: {
|
172
|
+
}
|
173
|
+
}?,
|
174
|
+
less_than_or_equals: {
|
175
|
+
key: ::String,
|
176
|
+
value: {
|
177
|
+
}
|
178
|
+
}?,
|
179
|
+
list_contains: {
|
180
|
+
key: ::String,
|
181
|
+
value: {
|
182
|
+
}
|
183
|
+
}?,
|
184
|
+
not_equals: {
|
185
|
+
key: ::String,
|
186
|
+
value: {
|
187
|
+
}
|
188
|
+
}?,
|
189
|
+
not_in: {
|
190
|
+
key: ::String,
|
191
|
+
value: {
|
192
|
+
}
|
193
|
+
}?,
|
194
|
+
or_all: Array[
|
195
|
+
untyped,
|
196
|
+
]?,
|
197
|
+
starts_with: {
|
198
|
+
key: ::String,
|
199
|
+
value: {
|
200
|
+
}
|
201
|
+
}?,
|
202
|
+
string_contains: {
|
203
|
+
key: ::String,
|
204
|
+
value: {
|
205
|
+
}
|
206
|
+
}?
|
207
|
+
}?,
|
208
|
+
number_of_results: ::Integer?,
|
209
|
+
override_search_type: ("HYBRID" | "SEMANTIC")?
|
210
|
+
}
|
211
|
+
}
|
212
|
+
},
|
213
|
+
]?,
|
95
214
|
prompt_session_attributes: Hash[::String, ::String]?,
|
96
215
|
return_control_invocation_results: Array[
|
97
216
|
{
|
@@ -120,6 +239,27 @@ module Aws
|
|
120
239
|
) ?{ (*untyped) -> void } -> _InvokeAgentResponseSuccess
|
121
240
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeAgentResponseSuccess
|
122
241
|
|
242
|
+
interface _InvokeFlowResponseSuccess
|
243
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::InvokeFlowResponse]
|
244
|
+
def response_stream: () -> Types::FlowResponseStream
|
245
|
+
end
|
246
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentRuntime/Client.html#invoke_flow-instance_method
|
247
|
+
def invoke_flow: (
|
248
|
+
flow_alias_identifier: ::String,
|
249
|
+
flow_identifier: ::String,
|
250
|
+
inputs: Array[
|
251
|
+
{
|
252
|
+
content: {
|
253
|
+
document: {
|
254
|
+
}?
|
255
|
+
},
|
256
|
+
node_name: ::String,
|
257
|
+
node_output_name: ::String
|
258
|
+
},
|
259
|
+
]
|
260
|
+
) ?{ (*untyped) -> void } -> _InvokeFlowResponseSuccess
|
261
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeFlowResponseSuccess
|
262
|
+
|
123
263
|
interface _RetrieveResponseSuccess
|
124
264
|
include ::Seahorse::Client::_ResponseSuccess[Types::RetrieveResponse]
|
125
265
|
def next_token: () -> ::String
|
@@ -274,6 +414,11 @@ module Aws
|
|
274
414
|
}?,
|
275
415
|
knowledge_base_id: ::String,
|
276
416
|
model_arn: ::String,
|
417
|
+
orchestration_configuration: {
|
418
|
+
query_transformation_configuration: {
|
419
|
+
type: ("QUERY_DECOMPOSITION")
|
420
|
+
}
|
421
|
+
}?,
|
277
422
|
retrieval_configuration: {
|
278
423
|
vector_search_configuration: {
|
279
424
|
filter: {
|
data/sig/types.rbs
CHANGED
@@ -17,7 +17,9 @@ module Aws::BedrockAgentRuntime
|
|
17
17
|
class ActionGroupInvocationInput
|
18
18
|
attr_accessor action_group_name: ::String
|
19
19
|
attr_accessor api_path: ::String
|
20
|
+
attr_accessor execution_type: ("LAMBDA" | "RETURN_CONTROL")
|
20
21
|
attr_accessor function: ::String
|
22
|
+
attr_accessor invocation_id: ::String
|
21
23
|
attr_accessor parameters: ::Array[Types::Parameter]
|
22
24
|
attr_accessor request_body: Types::RequestBody
|
23
25
|
attr_accessor verb: ::String
|
@@ -79,12 +81,32 @@ module Aws::BedrockAgentRuntime
|
|
79
81
|
SENSITIVE: [:data, :identifier]
|
80
82
|
end
|
81
83
|
|
84
|
+
class ByteContentFile
|
85
|
+
attr_accessor data: ::String
|
86
|
+
attr_accessor media_type: ::String
|
87
|
+
SENSITIVE: [:data]
|
88
|
+
end
|
89
|
+
|
82
90
|
class Citation
|
83
91
|
attr_accessor generated_response_part: Types::GeneratedResponsePart
|
84
92
|
attr_accessor retrieved_references: ::Array[Types::RetrievedReference]
|
85
93
|
SENSITIVE: []
|
86
94
|
end
|
87
95
|
|
96
|
+
class CodeInterpreterInvocationInput
|
97
|
+
attr_accessor code: ::String
|
98
|
+
attr_accessor files: ::Array[::String]
|
99
|
+
SENSITIVE: []
|
100
|
+
end
|
101
|
+
|
102
|
+
class CodeInterpreterInvocationOutput
|
103
|
+
attr_accessor execution_error: ::String
|
104
|
+
attr_accessor execution_output: ::String
|
105
|
+
attr_accessor execution_timeout: bool
|
106
|
+
attr_accessor files: ::Array[::String]
|
107
|
+
SENSITIVE: []
|
108
|
+
end
|
109
|
+
|
88
110
|
class ConflictException
|
89
111
|
attr_accessor message: ::String
|
90
112
|
attr_accessor event_type: untyped
|
@@ -96,6 +118,16 @@ module Aws::BedrockAgentRuntime
|
|
96
118
|
SENSITIVE: []
|
97
119
|
end
|
98
120
|
|
121
|
+
class DeleteAgentMemoryRequest
|
122
|
+
attr_accessor agent_alias_id: ::String
|
123
|
+
attr_accessor agent_id: ::String
|
124
|
+
attr_accessor memory_id: ::String
|
125
|
+
SENSITIVE: []
|
126
|
+
end
|
127
|
+
|
128
|
+
class DeleteAgentMemoryResponse < Aws::EmptyStructure
|
129
|
+
end
|
130
|
+
|
99
131
|
class DependencyFailedException
|
100
132
|
attr_accessor message: ::String
|
101
133
|
attr_accessor resource_name: ::String
|
@@ -131,6 +163,19 @@ module Aws::BedrockAgentRuntime
|
|
131
163
|
SENSITIVE: [:failure_reason]
|
132
164
|
end
|
133
165
|
|
166
|
+
class FilePart
|
167
|
+
attr_accessor files: ::Array[Types::OutputFile]
|
168
|
+
attr_accessor event_type: untyped
|
169
|
+
SENSITIVE: []
|
170
|
+
end
|
171
|
+
|
172
|
+
class FileSource
|
173
|
+
attr_accessor byte_content: Types::ByteContentFile
|
174
|
+
attr_accessor s3_location: Types::S3ObjectFile
|
175
|
+
attr_accessor source_type: ("S3" | "BYTE_CONTENT")
|
176
|
+
SENSITIVE: []
|
177
|
+
end
|
178
|
+
|
134
179
|
class FilterAttribute
|
135
180
|
attr_accessor key: ::String
|
136
181
|
attr_accessor value: untyped
|
@@ -142,6 +187,49 @@ module Aws::BedrockAgentRuntime
|
|
142
187
|
SENSITIVE: [:text]
|
143
188
|
end
|
144
189
|
|
190
|
+
class FlowCompletionEvent
|
191
|
+
attr_accessor completion_reason: ("SUCCESS")
|
192
|
+
attr_accessor event_type: untyped
|
193
|
+
SENSITIVE: []
|
194
|
+
end
|
195
|
+
|
196
|
+
class FlowInput
|
197
|
+
attr_accessor content: Types::FlowInputContent
|
198
|
+
attr_accessor node_name: ::String
|
199
|
+
attr_accessor node_output_name: ::String
|
200
|
+
SENSITIVE: [:content]
|
201
|
+
end
|
202
|
+
|
203
|
+
class FlowInputContent
|
204
|
+
attr_accessor document: untyped
|
205
|
+
attr_accessor unknown: untyped
|
206
|
+
SENSITIVE: []
|
207
|
+
|
208
|
+
class Document < FlowInputContent
|
209
|
+
end
|
210
|
+
class Unknown < FlowInputContent
|
211
|
+
end
|
212
|
+
end
|
213
|
+
|
214
|
+
class FlowOutputContent
|
215
|
+
attr_accessor document: untyped
|
216
|
+
attr_accessor unknown: untyped
|
217
|
+
SENSITIVE: []
|
218
|
+
|
219
|
+
class Document < FlowOutputContent
|
220
|
+
end
|
221
|
+
class Unknown < FlowOutputContent
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
225
|
+
class FlowOutputEvent
|
226
|
+
attr_accessor content: Types::FlowOutputContent
|
227
|
+
attr_accessor node_name: ::String
|
228
|
+
attr_accessor node_type: ("FlowInputNode" | "FlowOutputNode" | "LambdaFunctionNode" | "KnowledgeBaseNode" | "PromptNode" | "ConditionNode" | "LexNode")
|
229
|
+
attr_accessor event_type: untyped
|
230
|
+
SENSITIVE: []
|
231
|
+
end
|
232
|
+
|
145
233
|
class FunctionInvocationInput
|
146
234
|
attr_accessor action_group: ::String
|
147
235
|
attr_accessor function: ::String
|
@@ -177,6 +265,22 @@ module Aws::BedrockAgentRuntime
|
|
177
265
|
SENSITIVE: []
|
178
266
|
end
|
179
267
|
|
268
|
+
class GetAgentMemoryRequest
|
269
|
+
attr_accessor agent_alias_id: ::String
|
270
|
+
attr_accessor agent_id: ::String
|
271
|
+
attr_accessor max_items: ::Integer
|
272
|
+
attr_accessor memory_id: ::String
|
273
|
+
attr_accessor memory_type: ("SESSION_SUMMARY")
|
274
|
+
attr_accessor next_token: ::String
|
275
|
+
SENSITIVE: []
|
276
|
+
end
|
277
|
+
|
278
|
+
class GetAgentMemoryResponse
|
279
|
+
attr_accessor memory_contents: ::Array[Types::Memory]
|
280
|
+
attr_accessor next_token: ::String
|
281
|
+
SENSITIVE: []
|
282
|
+
end
|
283
|
+
|
180
284
|
class GuardrailAssessment
|
181
285
|
attr_accessor content_policy: Types::GuardrailContentPolicyAssessment
|
182
286
|
attr_accessor sensitive_information_policy: Types::GuardrailSensitiveInformationPolicyAssessment
|
@@ -277,6 +381,13 @@ module Aws::BedrockAgentRuntime
|
|
277
381
|
SENSITIVE: []
|
278
382
|
end
|
279
383
|
|
384
|
+
class InputFile
|
385
|
+
attr_accessor name: ::String
|
386
|
+
attr_accessor source: Types::FileSource
|
387
|
+
attr_accessor use_case: ("CODE_INTERPRETER" | "CHAT")
|
388
|
+
SENSITIVE: []
|
389
|
+
end
|
390
|
+
|
280
391
|
class InternalServerException
|
281
392
|
attr_accessor message: ::String
|
282
393
|
attr_accessor event_type: untyped
|
@@ -285,7 +396,8 @@ module Aws::BedrockAgentRuntime
|
|
285
396
|
|
286
397
|
class InvocationInput
|
287
398
|
attr_accessor action_group_invocation_input: Types::ActionGroupInvocationInput
|
288
|
-
attr_accessor
|
399
|
+
attr_accessor code_interpreter_invocation_input: Types::CodeInterpreterInvocationInput
|
400
|
+
attr_accessor invocation_type: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "FINISH" | "ACTION_GROUP_CODE_INTERPRETER")
|
289
401
|
attr_accessor knowledge_base_lookup_input: Types::KnowledgeBaseLookupInput
|
290
402
|
attr_accessor trace_id: ::String
|
291
403
|
SENSITIVE: []
|
@@ -325,6 +437,7 @@ module Aws::BedrockAgentRuntime
|
|
325
437
|
attr_accessor enable_trace: bool
|
326
438
|
attr_accessor end_session: bool
|
327
439
|
attr_accessor input_text: ::String
|
440
|
+
attr_accessor memory_id: ::String
|
328
441
|
attr_accessor session_id: ::String
|
329
442
|
attr_accessor session_state: Types::SessionState
|
330
443
|
SENSITIVE: [:input_text]
|
@@ -333,10 +446,29 @@ module Aws::BedrockAgentRuntime
|
|
333
446
|
class InvokeAgentResponse
|
334
447
|
attr_accessor completion: Types::ResponseStream
|
335
448
|
attr_accessor content_type: ::String
|
449
|
+
attr_accessor memory_id: ::String
|
336
450
|
attr_accessor session_id: ::String
|
337
451
|
SENSITIVE: []
|
338
452
|
end
|
339
453
|
|
454
|
+
class InvokeFlowRequest
|
455
|
+
attr_accessor flow_alias_identifier: ::String
|
456
|
+
attr_accessor flow_identifier: ::String
|
457
|
+
attr_accessor inputs: ::Array[Types::FlowInput]
|
458
|
+
SENSITIVE: []
|
459
|
+
end
|
460
|
+
|
461
|
+
class InvokeFlowResponse
|
462
|
+
attr_accessor response_stream: Types::FlowResponseStream
|
463
|
+
SENSITIVE: []
|
464
|
+
end
|
465
|
+
|
466
|
+
class KnowledgeBaseConfiguration
|
467
|
+
attr_accessor knowledge_base_id: ::String
|
468
|
+
attr_accessor retrieval_configuration: Types::KnowledgeBaseRetrievalConfiguration
|
469
|
+
SENSITIVE: []
|
470
|
+
end
|
471
|
+
|
340
472
|
class KnowledgeBaseLookupInput
|
341
473
|
attr_accessor knowledge_base_id: ::String
|
342
474
|
attr_accessor text: ::String
|
@@ -370,6 +502,7 @@ module Aws::BedrockAgentRuntime
|
|
370
502
|
attr_accessor generation_configuration: Types::GenerationConfiguration
|
371
503
|
attr_accessor knowledge_base_id: ::String
|
372
504
|
attr_accessor model_arn: ::String
|
505
|
+
attr_accessor orchestration_configuration: Types::OrchestrationConfiguration
|
373
506
|
attr_accessor retrieval_configuration: Types::KnowledgeBaseRetrievalConfiguration
|
374
507
|
SENSITIVE: []
|
375
508
|
end
|
@@ -381,6 +514,26 @@ module Aws::BedrockAgentRuntime
|
|
381
514
|
SENSITIVE: [:filter]
|
382
515
|
end
|
383
516
|
|
517
|
+
class Memory
|
518
|
+
attr_accessor session_summary: Types::MemorySessionSummary
|
519
|
+
attr_accessor unknown: untyped
|
520
|
+
SENSITIVE: []
|
521
|
+
|
522
|
+
class SessionSummary < Memory
|
523
|
+
end
|
524
|
+
class Unknown < Memory
|
525
|
+
end
|
526
|
+
end
|
527
|
+
|
528
|
+
class MemorySessionSummary
|
529
|
+
attr_accessor memory_id: ::String
|
530
|
+
attr_accessor session_expiry_time: ::Time
|
531
|
+
attr_accessor session_id: ::String
|
532
|
+
attr_accessor session_start_time: ::Time
|
533
|
+
attr_accessor summary_text: ::String
|
534
|
+
SENSITIVE: []
|
535
|
+
end
|
536
|
+
|
384
537
|
class ModelInvocationInput
|
385
538
|
attr_accessor inference_configuration: Types::InferenceConfiguration
|
386
539
|
attr_accessor override_lambda: ::String
|
@@ -394,6 +547,7 @@ module Aws::BedrockAgentRuntime
|
|
394
547
|
|
395
548
|
class Observation
|
396
549
|
attr_accessor action_group_invocation_output: Types::ActionGroupInvocationOutput
|
550
|
+
attr_accessor code_interpreter_invocation_output: Types::CodeInterpreterInvocationOutput
|
397
551
|
attr_accessor final_response: Types::FinalResponse
|
398
552
|
attr_accessor knowledge_base_lookup_output: Types::KnowledgeBaseLookupOutput
|
399
553
|
attr_accessor reprompt_response: Types::RepromptResponse
|
@@ -402,6 +556,11 @@ module Aws::BedrockAgentRuntime
|
|
402
556
|
SENSITIVE: [:reprompt_response]
|
403
557
|
end
|
404
558
|
|
559
|
+
class OrchestrationConfiguration
|
560
|
+
attr_accessor query_transformation_configuration: Types::QueryTransformationConfiguration
|
561
|
+
SENSITIVE: []
|
562
|
+
end
|
563
|
+
|
405
564
|
class OrchestrationTrace
|
406
565
|
attr_accessor invocation_input: Types::InvocationInput
|
407
566
|
attr_accessor model_invocation_input: Types::ModelInvocationInput
|
@@ -422,6 +581,13 @@ module Aws::BedrockAgentRuntime
|
|
422
581
|
end
|
423
582
|
end
|
424
583
|
|
584
|
+
class OutputFile
|
585
|
+
attr_accessor bytes: ::String
|
586
|
+
attr_accessor name: ::String
|
587
|
+
attr_accessor type: ::String
|
588
|
+
SENSITIVE: [:bytes]
|
589
|
+
end
|
590
|
+
|
425
591
|
class Parameter
|
426
592
|
attr_accessor name: ::String
|
427
593
|
attr_accessor type: ::String
|
@@ -497,6 +663,11 @@ module Aws::BedrockAgentRuntime
|
|
497
663
|
SENSITIVE: []
|
498
664
|
end
|
499
665
|
|
666
|
+
class QueryTransformationConfiguration
|
667
|
+
attr_accessor type: ("QUERY_DECOMPOSITION")
|
668
|
+
SENSITIVE: []
|
669
|
+
end
|
670
|
+
|
500
671
|
class Rationale
|
501
672
|
attr_accessor text: ::String
|
502
673
|
attr_accessor trace_id: ::String
|
@@ -567,14 +738,23 @@ module Aws::BedrockAgentRuntime
|
|
567
738
|
end
|
568
739
|
end
|
569
740
|
|
741
|
+
class RetrievalResultConfluenceLocation
|
742
|
+
attr_accessor url: ::String
|
743
|
+
SENSITIVE: []
|
744
|
+
end
|
745
|
+
|
570
746
|
class RetrievalResultContent
|
571
747
|
attr_accessor text: ::String
|
572
748
|
SENSITIVE: []
|
573
749
|
end
|
574
750
|
|
575
751
|
class RetrievalResultLocation
|
752
|
+
attr_accessor confluence_location: Types::RetrievalResultConfluenceLocation
|
576
753
|
attr_accessor s3_location: Types::RetrievalResultS3Location
|
577
|
-
attr_accessor
|
754
|
+
attr_accessor salesforce_location: Types::RetrievalResultSalesforceLocation
|
755
|
+
attr_accessor share_point_location: Types::RetrievalResultSharePointLocation
|
756
|
+
attr_accessor type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT")
|
757
|
+
attr_accessor web_location: Types::RetrievalResultWebLocation
|
578
758
|
SENSITIVE: []
|
579
759
|
end
|
580
760
|
|
@@ -583,6 +763,21 @@ module Aws::BedrockAgentRuntime
|
|
583
763
|
SENSITIVE: []
|
584
764
|
end
|
585
765
|
|
766
|
+
class RetrievalResultSalesforceLocation
|
767
|
+
attr_accessor url: ::String
|
768
|
+
SENSITIVE: []
|
769
|
+
end
|
770
|
+
|
771
|
+
class RetrievalResultSharePointLocation
|
772
|
+
attr_accessor url: ::String
|
773
|
+
SENSITIVE: []
|
774
|
+
end
|
775
|
+
|
776
|
+
class RetrievalResultWebLocation
|
777
|
+
attr_accessor url: ::String
|
778
|
+
SENSITIVE: []
|
779
|
+
end
|
780
|
+
|
586
781
|
class RetrieveAndGenerateConfiguration
|
587
782
|
attr_accessor external_sources_configuration: Types::ExternalSourcesRetrieveAndGenerateConfiguration
|
588
783
|
attr_accessor knowledge_base_configuration: Types::KnowledgeBaseRetrieveAndGenerateConfiguration
|
@@ -654,6 +849,11 @@ module Aws::BedrockAgentRuntime
|
|
654
849
|
SENSITIVE: []
|
655
850
|
end
|
656
851
|
|
852
|
+
class S3ObjectFile
|
853
|
+
attr_accessor uri: ::String
|
854
|
+
SENSITIVE: []
|
855
|
+
end
|
856
|
+
|
657
857
|
class ServiceQuotaExceededException
|
658
858
|
attr_accessor message: ::String
|
659
859
|
attr_accessor event_type: untyped
|
@@ -661,7 +861,9 @@ module Aws::BedrockAgentRuntime
|
|
661
861
|
end
|
662
862
|
|
663
863
|
class SessionState
|
864
|
+
attr_accessor files: ::Array[Types::InputFile]
|
664
865
|
attr_accessor invocation_id: ::String
|
866
|
+
attr_accessor knowledge_base_configurations: ::Array[Types::KnowledgeBaseConfiguration]
|
665
867
|
attr_accessor prompt_session_attributes: ::Hash[::String, ::String]
|
666
868
|
attr_accessor return_control_invocation_results: ::Array[Types::InvocationResultMember]
|
667
869
|
attr_accessor session_attributes: ::Hash[::String, ::String]
|
@@ -733,8 +935,12 @@ module Aws::BedrockAgentRuntime
|
|
733
935
|
SENSITIVE: []
|
734
936
|
end
|
735
937
|
|
938
|
+
class FlowResponseStream < Enumerator[untyped, untyped]
|
939
|
+
def event_types: () -> [:access_denied_exception, :bad_gateway_exception, :conflict_exception, :dependency_failed_exception, :flow_completion_event, :flow_output_event, :internal_server_exception, :resource_not_found_exception, :service_quota_exceeded_exception, :throttling_exception, :validation_exception]
|
940
|
+
end
|
941
|
+
|
736
942
|
class ResponseStream < Enumerator[untyped, untyped]
|
737
|
-
def event_types: () -> [:access_denied_exception, :bad_gateway_exception, :chunk, :conflict_exception, :dependency_failed_exception, :internal_server_exception, :resource_not_found_exception, :return_control, :service_quota_exceeded_exception, :throttling_exception, :trace, :validation_exception]
|
943
|
+
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]
|
738
944
|
end
|
739
945
|
end
|
740
946
|
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.
|
4
|
+
version: 1.17.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-07-
|
11
|
+
date: 2024-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|