aws-sdk-bedrockagentruntime 1.63.0 → 1.64.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +3251 -2274
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +470 -360
- data/lib/aws-sdk-bedrockagentruntime/event_streams.rb +140 -140
- data/lib/aws-sdk-bedrockagentruntime/types.rb +2242 -1883
- data/lib/aws-sdk-bedrockagentruntime/waiters.rb +15 -0
- data/lib/aws-sdk-bedrockagentruntime.rb +2 -1
- data/sig/client.rbs +817 -817
- data/sig/types.rbs +480 -370
- metadata +2 -1
data/sig/types.rbs
CHANGED
@@ -9,15 +9,15 @@ module Aws::BedrockAgentRuntime
|
|
9
9
|
module Types
|
10
10
|
|
11
11
|
class APISchema
|
12
|
-
attr_accessor payload: ::String
|
13
12
|
attr_accessor s3: Types::S3Identifier
|
13
|
+
attr_accessor payload: ::String
|
14
14
|
attr_accessor unknown: untyped
|
15
15
|
SENSITIVE: [:payload]
|
16
16
|
|
17
|
-
class Payload < APISchema
|
18
|
-
end
|
19
17
|
class S3 < APISchema
|
20
18
|
end
|
19
|
+
class Payload < APISchema
|
20
|
+
end
|
21
21
|
class Unknown < APISchema
|
22
22
|
end
|
23
23
|
end
|
@@ -29,75 +29,75 @@ module Aws::BedrockAgentRuntime
|
|
29
29
|
end
|
30
30
|
|
31
31
|
class ActionGroupExecutor
|
32
|
-
attr_accessor custom_control: ("RETURN_CONTROL")
|
33
32
|
attr_accessor lambda: ::String
|
33
|
+
attr_accessor custom_control: ("RETURN_CONTROL")
|
34
34
|
attr_accessor unknown: untyped
|
35
35
|
SENSITIVE: []
|
36
36
|
|
37
|
-
class CustomControl < ActionGroupExecutor
|
38
|
-
end
|
39
37
|
class Lambda < ActionGroupExecutor
|
40
38
|
end
|
39
|
+
class CustomControl < ActionGroupExecutor
|
40
|
+
end
|
41
41
|
class Unknown < ActionGroupExecutor
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
45
|
class ActionGroupInvocationInput
|
46
46
|
attr_accessor action_group_name: ::String
|
47
|
+
attr_accessor verb: ::String
|
47
48
|
attr_accessor api_path: ::String
|
48
|
-
attr_accessor execution_type: ("LAMBDA" | "RETURN_CONTROL")
|
49
|
-
attr_accessor function: ::String
|
50
|
-
attr_accessor invocation_id: ::String
|
51
49
|
attr_accessor parameters: ::Array[Types::Parameter]
|
52
50
|
attr_accessor request_body: Types::RequestBody
|
53
|
-
attr_accessor
|
54
|
-
|
51
|
+
attr_accessor function: ::String
|
52
|
+
attr_accessor execution_type: ("LAMBDA" | "RETURN_CONTROL")
|
53
|
+
attr_accessor invocation_id: ::String
|
54
|
+
SENSITIVE: [:action_group_name, :verb, :api_path, :function]
|
55
55
|
end
|
56
56
|
|
57
57
|
class ActionGroupInvocationOutput
|
58
|
-
attr_accessor metadata: Types::Metadata
|
59
58
|
attr_accessor text: ::String
|
60
|
-
|
59
|
+
attr_accessor metadata: Types::Metadata
|
60
|
+
SENSITIVE: [:text, :metadata]
|
61
61
|
end
|
62
62
|
|
63
63
|
class AgentActionGroup
|
64
|
-
attr_accessor action_group_executor: Types::ActionGroupExecutor
|
65
64
|
attr_accessor action_group_name: ::String
|
66
|
-
attr_accessor api_schema: Types::APISchema
|
67
65
|
attr_accessor description: ::String
|
68
|
-
attr_accessor function_schema: Types::FunctionSchema
|
69
66
|
attr_accessor parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter" | "ANTHROPIC.Computer" | "ANTHROPIC.Bash" | "ANTHROPIC.TextEditor")
|
67
|
+
attr_accessor action_group_executor: Types::ActionGroupExecutor
|
68
|
+
attr_accessor api_schema: Types::APISchema
|
69
|
+
attr_accessor function_schema: Types::FunctionSchema
|
70
70
|
attr_accessor parent_action_group_signature_params: ::Hash[::String, ::String]
|
71
71
|
SENSITIVE: [:action_group_name, :description]
|
72
72
|
end
|
73
73
|
|
74
74
|
class AgentCollaboratorInputPayload
|
75
|
-
attr_accessor return_control_results: Types::ReturnControlResults
|
76
|
-
attr_accessor text: ::String
|
77
75
|
attr_accessor type: ("TEXT" | "RETURN_CONTROL")
|
76
|
+
attr_accessor text: ::String
|
77
|
+
attr_accessor return_control_results: Types::ReturnControlResults
|
78
78
|
SENSITIVE: [:text]
|
79
79
|
end
|
80
80
|
|
81
81
|
class AgentCollaboratorInvocationInput
|
82
|
-
attr_accessor agent_collaborator_alias_arn: ::String
|
83
82
|
attr_accessor agent_collaborator_name: ::String
|
83
|
+
attr_accessor agent_collaborator_alias_arn: ::String
|
84
84
|
attr_accessor input: Types::AgentCollaboratorInputPayload
|
85
85
|
SENSITIVE: []
|
86
86
|
end
|
87
87
|
|
88
88
|
class AgentCollaboratorInvocationOutput
|
89
|
-
attr_accessor agent_collaborator_alias_arn: ::String
|
90
89
|
attr_accessor agent_collaborator_name: ::String
|
91
|
-
attr_accessor
|
90
|
+
attr_accessor agent_collaborator_alias_arn: ::String
|
92
91
|
attr_accessor output: Types::AgentCollaboratorOutputPayload
|
92
|
+
attr_accessor metadata: Types::Metadata
|
93
93
|
SENSITIVE: [:metadata]
|
94
94
|
end
|
95
95
|
|
96
96
|
class AgentCollaboratorOutputPayload
|
97
|
-
attr_accessor return_control_payload: Types::ReturnControlPayload
|
98
|
-
attr_accessor text: ::String
|
99
97
|
attr_accessor type: ("TEXT" | "RETURN_CONTROL")
|
100
|
-
|
98
|
+
attr_accessor text: ::String
|
99
|
+
attr_accessor return_control_payload: Types::ReturnControlPayload
|
100
|
+
SENSITIVE: [:text, :return_control_payload]
|
101
101
|
end
|
102
102
|
|
103
103
|
class AnalyzePromptEvent
|
@@ -108,13 +108,13 @@ module Aws::BedrockAgentRuntime
|
|
108
108
|
|
109
109
|
class ApiInvocationInput
|
110
110
|
attr_accessor action_group: ::String
|
111
|
-
attr_accessor action_invocation_type: ("RESULT" | "USER_CONFIRMATION" | "USER_CONFIRMATION_AND_RESULT")
|
112
|
-
attr_accessor agent_id: ::String
|
113
|
-
attr_accessor api_path: ::String
|
114
|
-
attr_accessor collaborator_name: ::String
|
115
111
|
attr_accessor http_method: ::String
|
112
|
+
attr_accessor api_path: ::String
|
116
113
|
attr_accessor parameters: ::Array[Types::ApiParameter]
|
117
114
|
attr_accessor request_body: Types::ApiRequestBody
|
115
|
+
attr_accessor action_invocation_type: ("RESULT" | "USER_CONFIRMATION" | "USER_CONFIRMATION_AND_RESULT")
|
116
|
+
attr_accessor agent_id: ::String
|
117
|
+
attr_accessor collaborator_name: ::String
|
118
118
|
SENSITIVE: [:api_path, :collaborator_name]
|
119
119
|
end
|
120
120
|
|
@@ -132,13 +132,13 @@ module Aws::BedrockAgentRuntime
|
|
132
132
|
|
133
133
|
class ApiResult
|
134
134
|
attr_accessor action_group: ::String
|
135
|
-
attr_accessor
|
135
|
+
attr_accessor http_method: ::String
|
136
136
|
attr_accessor api_path: ::String
|
137
137
|
attr_accessor confirmation_state: ("CONFIRM" | "DENY")
|
138
|
-
attr_accessor
|
138
|
+
attr_accessor response_state: ("FAILURE" | "REPROMPT")
|
139
139
|
attr_accessor http_status_code: ::Integer
|
140
140
|
attr_accessor response_body: ::Hash[::String, Types::ContentBody]
|
141
|
-
attr_accessor
|
141
|
+
attr_accessor agent_id: ::String
|
142
142
|
SENSITIVE: [:api_path]
|
143
143
|
end
|
144
144
|
|
@@ -160,41 +160,41 @@ module Aws::BedrockAgentRuntime
|
|
160
160
|
end
|
161
161
|
|
162
162
|
class BedrockRerankingConfiguration
|
163
|
-
attr_accessor model_configuration: Types::BedrockRerankingModelConfiguration
|
164
163
|
attr_accessor number_of_results: ::Integer
|
164
|
+
attr_accessor model_configuration: Types::BedrockRerankingModelConfiguration
|
165
165
|
SENSITIVE: []
|
166
166
|
end
|
167
167
|
|
168
168
|
class BedrockRerankingModelConfiguration
|
169
|
-
attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
|
170
169
|
attr_accessor model_arn: ::String
|
170
|
+
attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
|
171
171
|
SENSITIVE: []
|
172
172
|
end
|
173
173
|
|
174
174
|
class BedrockSessionContentBlock
|
175
|
-
attr_accessor image: Types::ImageBlock
|
176
175
|
attr_accessor text: ::String
|
176
|
+
attr_accessor image: Types::ImageBlock
|
177
177
|
attr_accessor unknown: untyped
|
178
178
|
SENSITIVE: []
|
179
179
|
|
180
|
-
class Image < BedrockSessionContentBlock
|
181
|
-
end
|
182
180
|
class Text < BedrockSessionContentBlock
|
183
181
|
end
|
182
|
+
class Image < BedrockSessionContentBlock
|
183
|
+
end
|
184
184
|
class Unknown < BedrockSessionContentBlock
|
185
185
|
end
|
186
186
|
end
|
187
187
|
|
188
188
|
class ByteContentDoc
|
189
|
+
attr_accessor identifier: ::String
|
189
190
|
attr_accessor content_type: ::String
|
190
191
|
attr_accessor data: ::String
|
191
|
-
|
192
|
-
SENSITIVE: [:data, :identifier]
|
192
|
+
SENSITIVE: [:identifier, :data]
|
193
193
|
end
|
194
194
|
|
195
195
|
class ByteContentFile
|
196
|
-
attr_accessor data: ::String
|
197
196
|
attr_accessor media_type: ::String
|
197
|
+
attr_accessor data: ::String
|
198
198
|
SENSITIVE: [:data]
|
199
199
|
end
|
200
200
|
|
@@ -230,41 +230,41 @@ module Aws::BedrockAgentRuntime
|
|
230
230
|
end
|
231
231
|
|
232
232
|
class CodeInterpreterInvocationOutput
|
233
|
-
attr_accessor execution_error: ::String
|
234
233
|
attr_accessor execution_output: ::String
|
235
|
-
attr_accessor
|
234
|
+
attr_accessor execution_error: ::String
|
236
235
|
attr_accessor files: ::Array[::String]
|
236
|
+
attr_accessor execution_timeout: bool
|
237
237
|
attr_accessor metadata: Types::Metadata
|
238
238
|
SENSITIVE: [:metadata]
|
239
239
|
end
|
240
240
|
|
241
241
|
class Collaborator
|
242
|
-
attr_accessor action_groups: ::Array[Types::AgentActionGroup]
|
243
|
-
attr_accessor agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED")
|
244
|
-
attr_accessor agent_name: ::String
|
245
|
-
attr_accessor collaborator_configurations: ::Array[Types::CollaboratorConfiguration]
|
246
242
|
attr_accessor customer_encryption_key_arn: ::String
|
247
243
|
attr_accessor foundation_model: ::String
|
248
|
-
attr_accessor guardrail_configuration: Types::GuardrailConfigurationWithArn
|
249
|
-
attr_accessor idle_session_ttl_in_seconds: ::Integer
|
250
244
|
attr_accessor instruction: ::String
|
245
|
+
attr_accessor idle_session_ttl_in_seconds: ::Integer
|
246
|
+
attr_accessor action_groups: ::Array[Types::AgentActionGroup]
|
251
247
|
attr_accessor knowledge_bases: ::Array[Types::KnowledgeBase]
|
248
|
+
attr_accessor guardrail_configuration: Types::GuardrailConfigurationWithArn
|
252
249
|
attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
|
253
|
-
|
250
|
+
attr_accessor agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED")
|
251
|
+
attr_accessor collaborator_configurations: ::Array[Types::CollaboratorConfiguration]
|
252
|
+
attr_accessor agent_name: ::String
|
253
|
+
SENSITIVE: [:instruction, :prompt_override_configuration, :agent_name]
|
254
254
|
end
|
255
255
|
|
256
256
|
class CollaboratorConfiguration
|
257
|
-
attr_accessor agent_alias_arn: ::String
|
258
|
-
attr_accessor collaborator_instruction: ::String
|
259
257
|
attr_accessor collaborator_name: ::String
|
258
|
+
attr_accessor collaborator_instruction: ::String
|
259
|
+
attr_accessor agent_alias_arn: ::String
|
260
260
|
attr_accessor relay_conversation_history: ("TO_COLLABORATOR" | "DISABLED")
|
261
|
-
SENSITIVE: [:
|
261
|
+
SENSITIVE: [:collaborator_name, :collaborator_instruction]
|
262
262
|
end
|
263
263
|
|
264
264
|
class ConditionResultEvent
|
265
265
|
attr_accessor node_name: ::String
|
266
|
-
attr_accessor satisfied_conditions: ::Array[Types::SatisfiedCondition]
|
267
266
|
attr_accessor timestamp: ::Time
|
267
|
+
attr_accessor satisfied_conditions: ::Array[Types::SatisfiedCondition]
|
268
268
|
SENSITIVE: []
|
269
269
|
end
|
270
270
|
|
@@ -297,31 +297,31 @@ module Aws::BedrockAgentRuntime
|
|
297
297
|
end
|
298
298
|
|
299
299
|
class CreateInvocationRequest
|
300
|
-
attr_accessor description: ::String
|
301
300
|
attr_accessor invocation_id: ::String
|
301
|
+
attr_accessor description: ::String
|
302
302
|
attr_accessor session_identifier: ::String
|
303
303
|
SENSITIVE: []
|
304
304
|
end
|
305
305
|
|
306
306
|
class CreateInvocationResponse
|
307
|
-
attr_accessor created_at: ::Time
|
308
|
-
attr_accessor invocation_id: ::String
|
309
307
|
attr_accessor session_id: ::String
|
308
|
+
attr_accessor invocation_id: ::String
|
309
|
+
attr_accessor created_at: ::Time
|
310
310
|
SENSITIVE: []
|
311
311
|
end
|
312
312
|
|
313
313
|
class CreateSessionRequest
|
314
|
-
attr_accessor encryption_key_arn: ::String
|
315
314
|
attr_accessor session_metadata: ::Hash[::String, ::String]
|
315
|
+
attr_accessor encryption_key_arn: ::String
|
316
316
|
attr_accessor tags: ::Hash[::String, ::String]
|
317
317
|
SENSITIVE: []
|
318
318
|
end
|
319
319
|
|
320
320
|
class CreateSessionResponse
|
321
|
-
attr_accessor created_at: ::Time
|
322
|
-
attr_accessor session_arn: ::String
|
323
321
|
attr_accessor session_id: ::String
|
322
|
+
attr_accessor session_arn: ::String
|
324
323
|
attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
|
324
|
+
attr_accessor created_at: ::Time
|
325
325
|
SENSITIVE: []
|
326
326
|
end
|
327
327
|
|
@@ -331,8 +331,8 @@ module Aws::BedrockAgentRuntime
|
|
331
331
|
end
|
332
332
|
|
333
333
|
class CustomOrchestrationTrace
|
334
|
-
attr_accessor event: Types::CustomOrchestrationTraceEvent
|
335
334
|
attr_accessor trace_id: ::String
|
335
|
+
attr_accessor event: Types::CustomOrchestrationTraceEvent
|
336
336
|
SENSITIVE: [:event]
|
337
337
|
end
|
338
338
|
|
@@ -342,8 +342,8 @@ module Aws::BedrockAgentRuntime
|
|
342
342
|
end
|
343
343
|
|
344
344
|
class DeleteAgentMemoryRequest
|
345
|
-
attr_accessor agent_alias_id: ::String
|
346
345
|
attr_accessor agent_id: ::String
|
346
|
+
attr_accessor agent_alias_id: ::String
|
347
347
|
attr_accessor memory_id: ::String
|
348
348
|
attr_accessor session_id: ::String
|
349
349
|
SENSITIVE: []
|
@@ -373,40 +373,40 @@ module Aws::BedrockAgentRuntime
|
|
373
373
|
end
|
374
374
|
|
375
375
|
class EndSessionResponse
|
376
|
-
attr_accessor session_arn: ::String
|
377
376
|
attr_accessor session_id: ::String
|
377
|
+
attr_accessor session_arn: ::String
|
378
378
|
attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
|
379
379
|
SENSITIVE: []
|
380
380
|
end
|
381
381
|
|
382
382
|
class ExternalSource
|
383
|
-
attr_accessor byte_content: Types::ByteContentDoc
|
384
|
-
attr_accessor s3_location: Types::S3ObjectDoc
|
385
383
|
attr_accessor source_type: ("S3" | "BYTE_CONTENT")
|
384
|
+
attr_accessor s3_location: Types::S3ObjectDoc
|
385
|
+
attr_accessor byte_content: Types::ByteContentDoc
|
386
386
|
SENSITIVE: []
|
387
387
|
end
|
388
388
|
|
389
389
|
class ExternalSourcesGenerationConfiguration
|
390
|
-
attr_accessor
|
390
|
+
attr_accessor prompt_template: Types::PromptTemplate
|
391
391
|
attr_accessor guardrail_configuration: Types::GuardrailConfiguration
|
392
392
|
attr_accessor inference_config: Types::InferenceConfig
|
393
|
+
attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
|
393
394
|
attr_accessor performance_config: Types::PerformanceConfiguration
|
394
|
-
attr_accessor prompt_template: Types::PromptTemplate
|
395
395
|
SENSITIVE: []
|
396
396
|
end
|
397
397
|
|
398
398
|
class ExternalSourcesRetrieveAndGenerateConfiguration
|
399
|
-
attr_accessor generation_configuration: Types::ExternalSourcesGenerationConfiguration
|
400
399
|
attr_accessor model_arn: ::String
|
401
400
|
attr_accessor sources: ::Array[Types::ExternalSource]
|
401
|
+
attr_accessor generation_configuration: Types::ExternalSourcesGenerationConfiguration
|
402
402
|
SENSITIVE: []
|
403
403
|
end
|
404
404
|
|
405
405
|
class FailureTrace
|
406
|
-
attr_accessor
|
406
|
+
attr_accessor trace_id: ::String
|
407
407
|
attr_accessor failure_reason: ::String
|
408
|
+
attr_accessor failure_code: ::Integer
|
408
409
|
attr_accessor metadata: Types::Metadata
|
409
|
-
attr_accessor trace_id: ::String
|
410
410
|
SENSITIVE: [:failure_reason, :metadata]
|
411
411
|
end
|
412
412
|
|
@@ -422,9 +422,9 @@ module Aws::BedrockAgentRuntime
|
|
422
422
|
end
|
423
423
|
|
424
424
|
class FileSource
|
425
|
-
attr_accessor byte_content: Types::ByteContentFile
|
426
|
-
attr_accessor s3_location: Types::S3ObjectFile
|
427
425
|
attr_accessor source_type: ("S3" | "BYTE_CONTENT")
|
426
|
+
attr_accessor s3_location: Types::S3ObjectFile
|
427
|
+
attr_accessor byte_content: Types::ByteContentFile
|
428
428
|
SENSITIVE: []
|
429
429
|
end
|
430
430
|
|
@@ -435,9 +435,9 @@ module Aws::BedrockAgentRuntime
|
|
435
435
|
end
|
436
436
|
|
437
437
|
class FinalResponse
|
438
|
-
attr_accessor metadata: Types::Metadata
|
439
438
|
attr_accessor text: ::String
|
440
|
-
|
439
|
+
attr_accessor metadata: Types::Metadata
|
440
|
+
SENSITIVE: [:text, :metadata]
|
441
441
|
end
|
442
442
|
|
443
443
|
class FlowCompletionEvent
|
@@ -458,78 +458,84 @@ module Aws::BedrockAgentRuntime
|
|
458
458
|
end
|
459
459
|
|
460
460
|
class FlowExecutionError
|
461
|
+
attr_accessor node_name: ::String
|
461
462
|
attr_accessor error: ("ExecutionTimedOut")
|
462
463
|
attr_accessor message: ::String
|
463
|
-
attr_accessor node_name: ::String
|
464
464
|
SENSITIVE: []
|
465
465
|
end
|
466
466
|
|
467
467
|
class FlowExecutionEvent
|
468
|
-
attr_accessor condition_result_event: Types::ConditionResultEvent
|
469
|
-
attr_accessor flow_failure_event: Types::FlowFailureEvent
|
470
468
|
attr_accessor flow_input_event: Types::FlowExecutionInputEvent
|
471
469
|
attr_accessor flow_output_event: Types::FlowExecutionOutputEvent
|
472
|
-
attr_accessor node_failure_event: Types::NodeFailureEvent
|
473
470
|
attr_accessor node_input_event: Types::NodeInputEvent
|
474
471
|
attr_accessor node_output_event: Types::NodeOutputEvent
|
472
|
+
attr_accessor condition_result_event: Types::ConditionResultEvent
|
473
|
+
attr_accessor node_failure_event: Types::NodeFailureEvent
|
474
|
+
attr_accessor flow_failure_event: Types::FlowFailureEvent
|
475
|
+
attr_accessor node_action_event: Types::NodeActionEvent
|
476
|
+
attr_accessor node_dependency_event: Types::NodeDependencyEvent
|
475
477
|
attr_accessor unknown: untyped
|
476
|
-
SENSITIVE: [:
|
478
|
+
SENSITIVE: [:flow_input_event, :flow_output_event, :node_input_event, :node_output_event, :condition_result_event, :node_failure_event, :flow_failure_event, :node_action_event, :node_dependency_event]
|
477
479
|
|
478
|
-
class ConditionResultEvent < FlowExecutionEvent
|
479
|
-
end
|
480
|
-
class FlowFailureEvent < FlowExecutionEvent
|
481
|
-
end
|
482
480
|
class FlowInputEvent < FlowExecutionEvent
|
483
481
|
end
|
484
482
|
class FlowOutputEvent < FlowExecutionEvent
|
485
483
|
end
|
486
|
-
class NodeFailureEvent < FlowExecutionEvent
|
487
|
-
end
|
488
484
|
class NodeInputEvent < FlowExecutionEvent
|
489
485
|
end
|
490
486
|
class NodeOutputEvent < FlowExecutionEvent
|
491
487
|
end
|
488
|
+
class ConditionResultEvent < FlowExecutionEvent
|
489
|
+
end
|
490
|
+
class NodeFailureEvent < FlowExecutionEvent
|
491
|
+
end
|
492
|
+
class FlowFailureEvent < FlowExecutionEvent
|
493
|
+
end
|
494
|
+
class NodeActionEvent < FlowExecutionEvent
|
495
|
+
end
|
496
|
+
class NodeDependencyEvent < FlowExecutionEvent
|
497
|
+
end
|
492
498
|
class Unknown < FlowExecutionEvent
|
493
499
|
end
|
494
500
|
end
|
495
501
|
|
496
502
|
class FlowExecutionInputEvent
|
497
|
-
attr_accessor fields: ::Array[Types::FlowInputField]
|
498
503
|
attr_accessor node_name: ::String
|
499
504
|
attr_accessor timestamp: ::Time
|
505
|
+
attr_accessor fields: ::Array[Types::FlowInputField]
|
500
506
|
SENSITIVE: []
|
501
507
|
end
|
502
508
|
|
503
509
|
class FlowExecutionOutputEvent
|
504
|
-
attr_accessor fields: ::Array[Types::FlowOutputField]
|
505
510
|
attr_accessor node_name: ::String
|
506
511
|
attr_accessor timestamp: ::Time
|
512
|
+
attr_accessor fields: ::Array[Types::FlowOutputField]
|
507
513
|
SENSITIVE: []
|
508
514
|
end
|
509
515
|
|
510
516
|
class FlowExecutionSummary
|
511
|
-
attr_accessor created_at: ::Time
|
512
|
-
attr_accessor ended_at: ::Time
|
513
517
|
attr_accessor execution_arn: ::String
|
514
518
|
attr_accessor flow_alias_identifier: ::String
|
515
519
|
attr_accessor flow_identifier: ::String
|
516
520
|
attr_accessor flow_version: ::String
|
517
521
|
attr_accessor status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Aborted")
|
522
|
+
attr_accessor created_at: ::Time
|
523
|
+
attr_accessor ended_at: ::Time
|
518
524
|
SENSITIVE: []
|
519
525
|
end
|
520
526
|
|
521
527
|
class FlowFailureEvent
|
528
|
+
attr_accessor timestamp: ::Time
|
522
529
|
attr_accessor error_code: ("VALIDATION" | "INTERNAL_SERVER" | "NODE_EXECUTION_FAILED")
|
523
530
|
attr_accessor error_message: ::String
|
524
|
-
attr_accessor timestamp: ::Time
|
525
531
|
SENSITIVE: []
|
526
532
|
end
|
527
533
|
|
528
534
|
class FlowInput
|
529
|
-
attr_accessor content: Types::FlowInputContent
|
530
|
-
attr_accessor node_input_name: ::String
|
531
535
|
attr_accessor node_name: ::String
|
532
536
|
attr_accessor node_output_name: ::String
|
537
|
+
attr_accessor content: Types::FlowInputContent
|
538
|
+
attr_accessor node_input_name: ::String
|
533
539
|
SENSITIVE: [:content]
|
534
540
|
end
|
535
541
|
|
@@ -545,8 +551,8 @@ module Aws::BedrockAgentRuntime
|
|
545
551
|
end
|
546
552
|
|
547
553
|
class FlowInputField
|
548
|
-
attr_accessor content: Types::FlowExecutionContent
|
549
554
|
attr_accessor name: ::String
|
555
|
+
attr_accessor content: Types::FlowExecutionContent
|
550
556
|
SENSITIVE: [:content]
|
551
557
|
end
|
552
558
|
|
@@ -562,9 +568,9 @@ module Aws::BedrockAgentRuntime
|
|
562
568
|
end
|
563
569
|
|
564
570
|
class FlowMultiTurnInputRequestEvent
|
565
|
-
attr_accessor content: Types::FlowMultiTurnInputContent
|
566
571
|
attr_accessor node_name: ::String
|
567
572
|
attr_accessor node_type: ("FlowInputNode" | "FlowOutputNode" | "LambdaFunctionNode" | "KnowledgeBaseNode" | "PromptNode" | "ConditionNode" | "LexNode")
|
573
|
+
attr_accessor content: Types::FlowMultiTurnInputContent
|
568
574
|
attr_accessor event_type: untyped
|
569
575
|
SENSITIVE: []
|
570
576
|
end
|
@@ -581,34 +587,37 @@ module Aws::BedrockAgentRuntime
|
|
581
587
|
end
|
582
588
|
|
583
589
|
class FlowOutputEvent
|
584
|
-
attr_accessor content: Types::FlowOutputContent
|
585
590
|
attr_accessor node_name: ::String
|
586
591
|
attr_accessor node_type: ("FlowInputNode" | "FlowOutputNode" | "LambdaFunctionNode" | "KnowledgeBaseNode" | "PromptNode" | "ConditionNode" | "LexNode")
|
592
|
+
attr_accessor content: Types::FlowOutputContent
|
587
593
|
attr_accessor event_type: untyped
|
588
594
|
SENSITIVE: []
|
589
595
|
end
|
590
596
|
|
591
597
|
class FlowOutputField
|
592
|
-
attr_accessor content: Types::FlowExecutionContent
|
593
598
|
attr_accessor name: ::String
|
599
|
+
attr_accessor content: Types::FlowExecutionContent
|
594
600
|
SENSITIVE: [:content]
|
595
601
|
end
|
596
602
|
|
597
603
|
class FlowTrace
|
598
|
-
attr_accessor condition_node_result_trace: Types::FlowTraceConditionNodeResultEvent
|
599
|
-
attr_accessor node_action_trace: Types::FlowTraceNodeActionEvent
|
600
604
|
attr_accessor node_input_trace: Types::FlowTraceNodeInputEvent
|
601
605
|
attr_accessor node_output_trace: Types::FlowTraceNodeOutputEvent
|
606
|
+
attr_accessor condition_node_result_trace: Types::FlowTraceConditionNodeResultEvent
|
607
|
+
attr_accessor node_action_trace: Types::FlowTraceNodeActionEvent
|
608
|
+
attr_accessor node_dependency_trace: Types::FlowTraceDependencyEvent
|
602
609
|
attr_accessor unknown: untyped
|
603
|
-
SENSITIVE: [:
|
610
|
+
SENSITIVE: [:node_input_trace, :node_output_trace, :condition_node_result_trace, :node_action_trace, :node_dependency_trace]
|
604
611
|
|
612
|
+
class NodeInputTrace < FlowTrace
|
613
|
+
end
|
614
|
+
class NodeOutputTrace < FlowTrace
|
615
|
+
end
|
605
616
|
class ConditionNodeResultTrace < FlowTrace
|
606
617
|
end
|
607
618
|
class NodeActionTrace < FlowTrace
|
608
619
|
end
|
609
|
-
class
|
610
|
-
end
|
611
|
-
class NodeOutputTrace < FlowTrace
|
620
|
+
class NodeDependencyTrace < FlowTrace
|
612
621
|
end
|
613
622
|
class Unknown < FlowTrace
|
614
623
|
end
|
@@ -621,11 +630,18 @@ module Aws::BedrockAgentRuntime
|
|
621
630
|
|
622
631
|
class FlowTraceConditionNodeResultEvent
|
623
632
|
attr_accessor node_name: ::String
|
624
|
-
attr_accessor satisfied_conditions: ::Array[Types::FlowTraceCondition]
|
625
633
|
attr_accessor timestamp: ::Time
|
634
|
+
attr_accessor satisfied_conditions: ::Array[Types::FlowTraceCondition]
|
626
635
|
SENSITIVE: []
|
627
636
|
end
|
628
637
|
|
638
|
+
class FlowTraceDependencyEvent
|
639
|
+
attr_accessor node_name: ::String
|
640
|
+
attr_accessor timestamp: ::Time
|
641
|
+
attr_accessor trace_elements: Types::TraceElements
|
642
|
+
SENSITIVE: [:trace_elements]
|
643
|
+
end
|
644
|
+
|
629
645
|
class FlowTraceEvent
|
630
646
|
attr_accessor trace: Types::FlowTrace
|
631
647
|
attr_accessor event_type: untyped
|
@@ -634,10 +650,12 @@ module Aws::BedrockAgentRuntime
|
|
634
650
|
|
635
651
|
class FlowTraceNodeActionEvent
|
636
652
|
attr_accessor node_name: ::String
|
637
|
-
attr_accessor
|
653
|
+
attr_accessor timestamp: ::Time
|
638
654
|
attr_accessor request_id: ::String
|
639
655
|
attr_accessor service_name: ::String
|
640
|
-
attr_accessor
|
656
|
+
attr_accessor operation_name: ::String
|
657
|
+
attr_accessor operation_request: untyped
|
658
|
+
attr_accessor operation_response: untyped
|
641
659
|
SENSITIVE: []
|
642
660
|
end
|
643
661
|
|
@@ -653,16 +671,34 @@ module Aws::BedrockAgentRuntime
|
|
653
671
|
end
|
654
672
|
|
655
673
|
class FlowTraceNodeInputEvent
|
656
|
-
attr_accessor fields: ::Array[Types::FlowTraceNodeInputField]
|
657
674
|
attr_accessor node_name: ::String
|
658
675
|
attr_accessor timestamp: ::Time
|
676
|
+
attr_accessor fields: ::Array[Types::FlowTraceNodeInputField]
|
677
|
+
SENSITIVE: []
|
678
|
+
end
|
679
|
+
|
680
|
+
class FlowTraceNodeInputExecutionChainItem
|
681
|
+
attr_accessor node_name: ::String
|
682
|
+
attr_accessor index: ::Integer
|
683
|
+
attr_accessor type: ("Iterator" | "Loop")
|
659
684
|
SENSITIVE: []
|
660
685
|
end
|
661
686
|
|
662
687
|
class FlowTraceNodeInputField
|
663
|
-
attr_accessor content: Types::FlowTraceNodeInputContent
|
664
688
|
attr_accessor node_input_name: ::String
|
665
|
-
|
689
|
+
attr_accessor content: Types::FlowTraceNodeInputContent
|
690
|
+
attr_accessor source: Types::FlowTraceNodeInputSource
|
691
|
+
attr_accessor type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
692
|
+
attr_accessor category: ("LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop")
|
693
|
+
attr_accessor execution_chain: ::Array[Types::FlowTraceNodeInputExecutionChainItem]
|
694
|
+
SENSITIVE: [:content, :source, :execution_chain]
|
695
|
+
end
|
696
|
+
|
697
|
+
class FlowTraceNodeInputSource
|
698
|
+
attr_accessor node_name: ::String
|
699
|
+
attr_accessor output_field_name: ::String
|
700
|
+
attr_accessor expression: ::String
|
701
|
+
SENSITIVE: [:expression]
|
666
702
|
end
|
667
703
|
|
668
704
|
class FlowTraceNodeOutputContent
|
@@ -677,21 +713,29 @@ module Aws::BedrockAgentRuntime
|
|
677
713
|
end
|
678
714
|
|
679
715
|
class FlowTraceNodeOutputEvent
|
680
|
-
attr_accessor fields: ::Array[Types::FlowTraceNodeOutputField]
|
681
716
|
attr_accessor node_name: ::String
|
682
717
|
attr_accessor timestamp: ::Time
|
718
|
+
attr_accessor fields: ::Array[Types::FlowTraceNodeOutputField]
|
683
719
|
SENSITIVE: []
|
684
720
|
end
|
685
721
|
|
686
722
|
class FlowTraceNodeOutputField
|
687
|
-
attr_accessor content: Types::FlowTraceNodeOutputContent
|
688
723
|
attr_accessor node_output_name: ::String
|
724
|
+
attr_accessor content: Types::FlowTraceNodeOutputContent
|
725
|
+
attr_accessor next: ::Array[Types::FlowTraceNodeOutputNext]
|
726
|
+
attr_accessor type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
727
|
+
SENSITIVE: []
|
728
|
+
end
|
729
|
+
|
730
|
+
class FlowTraceNodeOutputNext
|
731
|
+
attr_accessor node_name: ::String
|
732
|
+
attr_accessor input_field_name: ::String
|
689
733
|
SENSITIVE: []
|
690
734
|
end
|
691
735
|
|
692
736
|
class FunctionDefinition
|
693
|
-
attr_accessor description: ::String
|
694
737
|
attr_accessor name: ::String
|
738
|
+
attr_accessor description: ::String
|
695
739
|
attr_accessor parameters: ::Hash[::String, Types::ParameterDetail]
|
696
740
|
attr_accessor require_confirmation: ("ENABLED" | "DISABLED")
|
697
741
|
SENSITIVE: [:name]
|
@@ -699,11 +743,11 @@ module Aws::BedrockAgentRuntime
|
|
699
743
|
|
700
744
|
class FunctionInvocationInput
|
701
745
|
attr_accessor action_group: ::String
|
746
|
+
attr_accessor parameters: ::Array[Types::FunctionParameter]
|
747
|
+
attr_accessor function: ::String
|
702
748
|
attr_accessor action_invocation_type: ("RESULT" | "USER_CONFIRMATION" | "USER_CONFIRMATION_AND_RESULT")
|
703
749
|
attr_accessor agent_id: ::String
|
704
750
|
attr_accessor collaborator_name: ::String
|
705
|
-
attr_accessor function: ::String
|
706
|
-
attr_accessor parameters: ::Array[Types::FunctionParameter]
|
707
751
|
SENSITIVE: [:collaborator_name]
|
708
752
|
end
|
709
753
|
|
@@ -716,11 +760,11 @@ module Aws::BedrockAgentRuntime
|
|
716
760
|
|
717
761
|
class FunctionResult
|
718
762
|
attr_accessor action_group: ::String
|
719
|
-
attr_accessor agent_id: ::String
|
720
763
|
attr_accessor confirmation_state: ("CONFIRM" | "DENY")
|
721
764
|
attr_accessor function: ::String
|
722
765
|
attr_accessor response_body: ::Hash[::String, Types::ContentBody]
|
723
766
|
attr_accessor response_state: ("FAILURE" | "REPROMPT")
|
767
|
+
attr_accessor agent_id: ::String
|
724
768
|
SENSITIVE: []
|
725
769
|
end
|
726
770
|
|
@@ -747,8 +791,8 @@ module Aws::BedrockAgentRuntime
|
|
747
791
|
end
|
748
792
|
|
749
793
|
class GeneratedQuery
|
750
|
-
attr_accessor sql: ::String
|
751
794
|
attr_accessor type: ("REDSHIFT_SQL")
|
795
|
+
attr_accessor sql: ::String
|
752
796
|
SENSITIVE: []
|
753
797
|
end
|
754
798
|
|
@@ -758,63 +802,63 @@ module Aws::BedrockAgentRuntime
|
|
758
802
|
end
|
759
803
|
|
760
804
|
class GenerationConfiguration
|
761
|
-
attr_accessor
|
805
|
+
attr_accessor prompt_template: Types::PromptTemplate
|
762
806
|
attr_accessor guardrail_configuration: Types::GuardrailConfiguration
|
763
807
|
attr_accessor inference_config: Types::InferenceConfig
|
808
|
+
attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
|
764
809
|
attr_accessor performance_config: Types::PerformanceConfiguration
|
765
|
-
attr_accessor prompt_template: Types::PromptTemplate
|
766
810
|
SENSITIVE: []
|
767
811
|
end
|
768
812
|
|
769
813
|
class GetAgentMemoryRequest
|
770
|
-
attr_accessor
|
771
|
-
attr_accessor agent_id: ::String
|
814
|
+
attr_accessor next_token: ::String
|
772
815
|
attr_accessor max_items: ::Integer
|
773
|
-
attr_accessor
|
816
|
+
attr_accessor agent_id: ::String
|
817
|
+
attr_accessor agent_alias_id: ::String
|
774
818
|
attr_accessor memory_type: ("SESSION_SUMMARY")
|
775
|
-
attr_accessor
|
819
|
+
attr_accessor memory_id: ::String
|
776
820
|
SENSITIVE: []
|
777
821
|
end
|
778
822
|
|
779
823
|
class GetAgentMemoryResponse
|
780
|
-
attr_accessor memory_contents: ::Array[Types::Memory]
|
781
824
|
attr_accessor next_token: ::String
|
825
|
+
attr_accessor memory_contents: ::Array[Types::Memory]
|
782
826
|
SENSITIVE: []
|
783
827
|
end
|
784
828
|
|
785
829
|
class GetExecutionFlowSnapshotRequest
|
786
|
-
attr_accessor execution_identifier: ::String
|
787
|
-
attr_accessor flow_alias_identifier: ::String
|
788
830
|
attr_accessor flow_identifier: ::String
|
831
|
+
attr_accessor flow_alias_identifier: ::String
|
832
|
+
attr_accessor execution_identifier: ::String
|
789
833
|
SENSITIVE: []
|
790
834
|
end
|
791
835
|
|
792
836
|
class GetExecutionFlowSnapshotResponse
|
793
|
-
attr_accessor customer_encryption_key_arn: ::String
|
794
|
-
attr_accessor definition: ::String
|
795
|
-
attr_accessor execution_role_arn: ::String
|
796
|
-
attr_accessor flow_alias_identifier: ::String
|
797
837
|
attr_accessor flow_identifier: ::String
|
838
|
+
attr_accessor flow_alias_identifier: ::String
|
798
839
|
attr_accessor flow_version: ::String
|
840
|
+
attr_accessor execution_role_arn: ::String
|
841
|
+
attr_accessor definition: ::String
|
842
|
+
attr_accessor customer_encryption_key_arn: ::String
|
799
843
|
SENSITIVE: []
|
800
844
|
end
|
801
845
|
|
802
846
|
class GetFlowExecutionRequest
|
803
|
-
attr_accessor execution_identifier: ::String
|
804
|
-
attr_accessor flow_alias_identifier: ::String
|
805
847
|
attr_accessor flow_identifier: ::String
|
848
|
+
attr_accessor flow_alias_identifier: ::String
|
849
|
+
attr_accessor execution_identifier: ::String
|
806
850
|
SENSITIVE: []
|
807
851
|
end
|
808
852
|
|
809
853
|
class GetFlowExecutionResponse
|
854
|
+
attr_accessor execution_arn: ::String
|
855
|
+
attr_accessor status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Aborted")
|
856
|
+
attr_accessor started_at: ::Time
|
810
857
|
attr_accessor ended_at: ::Time
|
811
858
|
attr_accessor errors: ::Array[Types::FlowExecutionError]
|
812
|
-
attr_accessor execution_arn: ::String
|
813
859
|
attr_accessor flow_alias_identifier: ::String
|
814
860
|
attr_accessor flow_identifier: ::String
|
815
861
|
attr_accessor flow_version: ::String
|
816
|
-
attr_accessor started_at: ::Time
|
817
|
-
attr_accessor status: ("Running" | "Succeeded" | "Failed" | "TimedOut" | "Aborted")
|
818
862
|
SENSITIVE: []
|
819
863
|
end
|
820
864
|
|
@@ -836,22 +880,22 @@ module Aws::BedrockAgentRuntime
|
|
836
880
|
end
|
837
881
|
|
838
882
|
class GetSessionResponse
|
883
|
+
attr_accessor session_id: ::String
|
884
|
+
attr_accessor session_arn: ::String
|
885
|
+
attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
|
839
886
|
attr_accessor created_at: ::Time
|
840
|
-
attr_accessor encryption_key_arn: ::String
|
841
887
|
attr_accessor last_updated_at: ::Time
|
842
|
-
attr_accessor session_arn: ::String
|
843
|
-
attr_accessor session_id: ::String
|
844
888
|
attr_accessor session_metadata: ::Hash[::String, ::String]
|
845
|
-
attr_accessor
|
889
|
+
attr_accessor encryption_key_arn: ::String
|
846
890
|
SENSITIVE: []
|
847
891
|
end
|
848
892
|
|
849
893
|
class GuardrailAssessment
|
850
|
-
attr_accessor content_policy: Types::GuardrailContentPolicyAssessment
|
851
|
-
attr_accessor sensitive_information_policy: Types::GuardrailSensitiveInformationPolicyAssessment
|
852
894
|
attr_accessor topic_policy: Types::GuardrailTopicPolicyAssessment
|
895
|
+
attr_accessor content_policy: Types::GuardrailContentPolicyAssessment
|
853
896
|
attr_accessor word_policy: Types::GuardrailWordPolicyAssessment
|
854
|
-
|
897
|
+
attr_accessor sensitive_information_policy: Types::GuardrailSensitiveInformationPolicyAssessment
|
898
|
+
SENSITIVE: [:topic_policy, :content_policy, :word_policy, :sensitive_information_policy]
|
855
899
|
end
|
856
900
|
|
857
901
|
class GuardrailConfiguration
|
@@ -867,9 +911,9 @@ module Aws::BedrockAgentRuntime
|
|
867
911
|
end
|
868
912
|
|
869
913
|
class GuardrailContentFilter
|
870
|
-
attr_accessor action: ("BLOCKED")
|
871
|
-
attr_accessor confidence: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
|
872
914
|
attr_accessor type: ("INSULTS" | "HATE" | "SEXUAL" | "VIOLENCE" | "MISCONDUCT" | "PROMPT_ATTACK")
|
915
|
+
attr_accessor confidence: ("NONE" | "LOW" | "MEDIUM" | "HIGH")
|
916
|
+
attr_accessor action: ("BLOCKED")
|
873
917
|
SENSITIVE: []
|
874
918
|
end
|
875
919
|
|
@@ -879,8 +923,8 @@ module Aws::BedrockAgentRuntime
|
|
879
923
|
end
|
880
924
|
|
881
925
|
class GuardrailCustomWord
|
882
|
-
attr_accessor action: ("BLOCKED")
|
883
926
|
attr_accessor match: ::String
|
927
|
+
attr_accessor action: ("BLOCKED")
|
884
928
|
SENSITIVE: []
|
885
929
|
end
|
886
930
|
|
@@ -891,24 +935,24 @@ module Aws::BedrockAgentRuntime
|
|
891
935
|
end
|
892
936
|
|
893
937
|
class GuardrailManagedWord
|
894
|
-
attr_accessor action: ("BLOCKED")
|
895
938
|
attr_accessor match: ::String
|
896
939
|
attr_accessor type: ("PROFANITY")
|
940
|
+
attr_accessor action: ("BLOCKED")
|
897
941
|
SENSITIVE: []
|
898
942
|
end
|
899
943
|
|
900
944
|
class GuardrailPiiEntityFilter
|
901
|
-
attr_accessor action: ("BLOCKED" | "ANONYMIZED")
|
902
|
-
attr_accessor match: ::String
|
903
945
|
attr_accessor type: ("ADDRESS" | "AGE" | "AWS_ACCESS_KEY" | "AWS_SECRET_KEY" | "CA_HEALTH_NUMBER" | "CA_SOCIAL_INSURANCE_NUMBER" | "CREDIT_DEBIT_CARD_CVV" | "CREDIT_DEBIT_CARD_EXPIRY" | "CREDIT_DEBIT_CARD_NUMBER" | "DRIVER_ID" | "EMAIL" | "INTERNATIONAL_BANK_ACCOUNT_NUMBER" | "IP_ADDRESS" | "LICENSE_PLATE" | "MAC_ADDRESS" | "NAME" | "PASSWORD" | "PHONE" | "PIN" | "SWIFT_CODE" | "UK_NATIONAL_HEALTH_SERVICE_NUMBER" | "UK_NATIONAL_INSURANCE_NUMBER" | "UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER" | "URL" | "USERNAME" | "US_BANK_ACCOUNT_NUMBER" | "US_BANK_ROUTING_NUMBER" | "US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER" | "US_PASSPORT_NUMBER" | "US_SOCIAL_SECURITY_NUMBER" | "VEHICLE_IDENTIFICATION_NUMBER")
|
946
|
+
attr_accessor match: ::String
|
947
|
+
attr_accessor action: ("BLOCKED" | "ANONYMIZED")
|
904
948
|
SENSITIVE: []
|
905
949
|
end
|
906
950
|
|
907
951
|
class GuardrailRegexFilter
|
908
|
-
attr_accessor action: ("BLOCKED" | "ANONYMIZED")
|
909
|
-
attr_accessor match: ::String
|
910
952
|
attr_accessor name: ::String
|
911
953
|
attr_accessor regex: ::String
|
954
|
+
attr_accessor match: ::String
|
955
|
+
attr_accessor action: ("BLOCKED" | "ANONYMIZED")
|
912
956
|
SENSITIVE: []
|
913
957
|
end
|
914
958
|
|
@@ -919,9 +963,9 @@ module Aws::BedrockAgentRuntime
|
|
919
963
|
end
|
920
964
|
|
921
965
|
class GuardrailTopic
|
922
|
-
attr_accessor action: ("BLOCKED")
|
923
966
|
attr_accessor name: ::String
|
924
967
|
attr_accessor type: ("DENY")
|
968
|
+
attr_accessor action: ("BLOCKED")
|
925
969
|
SENSITIVE: []
|
926
970
|
end
|
927
971
|
|
@@ -932,10 +976,10 @@ module Aws::BedrockAgentRuntime
|
|
932
976
|
|
933
977
|
class GuardrailTrace
|
934
978
|
attr_accessor action: ("INTERVENED" | "NONE")
|
979
|
+
attr_accessor trace_id: ::String
|
935
980
|
attr_accessor input_assessments: ::Array[Types::GuardrailAssessment]
|
936
|
-
attr_accessor metadata: Types::Metadata
|
937
981
|
attr_accessor output_assessments: ::Array[Types::GuardrailAssessment]
|
938
|
-
attr_accessor
|
982
|
+
attr_accessor metadata: Types::Metadata
|
939
983
|
SENSITIVE: [:metadata]
|
940
984
|
end
|
941
985
|
|
@@ -994,11 +1038,11 @@ module Aws::BedrockAgentRuntime
|
|
994
1038
|
end
|
995
1039
|
|
996
1040
|
class InferenceConfiguration
|
997
|
-
attr_accessor maximum_length: ::Integer
|
998
|
-
attr_accessor stop_sequences: ::Array[::String]
|
999
1041
|
attr_accessor temperature: ::Float
|
1000
|
-
attr_accessor top_k: ::Integer
|
1001
1042
|
attr_accessor top_p: ::Float
|
1043
|
+
attr_accessor top_k: ::Integer
|
1044
|
+
attr_accessor maximum_length: ::Integer
|
1045
|
+
attr_accessor stop_sequences: ::Array[::String]
|
1002
1046
|
SENSITIVE: []
|
1003
1047
|
end
|
1004
1048
|
|
@@ -1009,27 +1053,27 @@ module Aws::BedrockAgentRuntime
|
|
1009
1053
|
end
|
1010
1054
|
|
1011
1055
|
class InlineAgentPayloadPart
|
1012
|
-
attr_accessor attribution: Types::Attribution
|
1013
1056
|
attr_accessor bytes: ::String
|
1057
|
+
attr_accessor attribution: Types::Attribution
|
1014
1058
|
attr_accessor event_type: untyped
|
1015
1059
|
SENSITIVE: [:bytes]
|
1016
1060
|
end
|
1017
1061
|
|
1018
1062
|
class InlineAgentReturnControlPayload
|
1019
|
-
attr_accessor invocation_id: ::String
|
1020
1063
|
attr_accessor invocation_inputs: ::Array[Types::InvocationInputMember]
|
1064
|
+
attr_accessor invocation_id: ::String
|
1021
1065
|
attr_accessor event_type: untyped
|
1022
1066
|
SENSITIVE: []
|
1023
1067
|
end
|
1024
1068
|
|
1025
1069
|
class InlineAgentTracePart
|
1026
|
-
attr_accessor caller_chain: ::Array[Types::Caller]
|
1027
|
-
attr_accessor collaborator_name: ::String
|
1028
|
-
attr_accessor event_time: ::Time
|
1029
1070
|
attr_accessor session_id: ::String
|
1030
1071
|
attr_accessor trace: Types::Trace
|
1072
|
+
attr_accessor caller_chain: ::Array[Types::Caller]
|
1073
|
+
attr_accessor event_time: ::Time
|
1074
|
+
attr_accessor collaborator_name: ::String
|
1031
1075
|
attr_accessor event_type: untyped
|
1032
|
-
SENSITIVE: [:
|
1076
|
+
SENSITIVE: [:trace, :collaborator_name]
|
1033
1077
|
end
|
1034
1078
|
|
1035
1079
|
class InlineBedrockModelConfigurations
|
@@ -1038,12 +1082,12 @@ module Aws::BedrockAgentRuntime
|
|
1038
1082
|
end
|
1039
1083
|
|
1040
1084
|
class InlineSessionState
|
1041
|
-
attr_accessor
|
1042
|
-
attr_accessor files: ::Array[Types::InputFile]
|
1043
|
-
attr_accessor invocation_id: ::String
|
1085
|
+
attr_accessor session_attributes: ::Hash[::String, ::String]
|
1044
1086
|
attr_accessor prompt_session_attributes: ::Hash[::String, ::String]
|
1045
1087
|
attr_accessor return_control_invocation_results: ::Array[Types::InvocationResultMember]
|
1046
|
-
attr_accessor
|
1088
|
+
attr_accessor invocation_id: ::String
|
1089
|
+
attr_accessor files: ::Array[Types::InputFile]
|
1090
|
+
attr_accessor conversation_history: Types::ConversationHistory
|
1047
1091
|
SENSITIVE: []
|
1048
1092
|
end
|
1049
1093
|
|
@@ -1073,12 +1117,12 @@ module Aws::BedrockAgentRuntime
|
|
1073
1117
|
end
|
1074
1118
|
|
1075
1119
|
class InvocationInput
|
1076
|
-
attr_accessor
|
1077
|
-
attr_accessor agent_collaborator_invocation_input: Types::AgentCollaboratorInvocationInput
|
1078
|
-
attr_accessor code_interpreter_invocation_input: Types::CodeInterpreterInvocationInput
|
1120
|
+
attr_accessor trace_id: ::String
|
1079
1121
|
attr_accessor invocation_type: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "FINISH" | "ACTION_GROUP_CODE_INTERPRETER" | "AGENT_COLLABORATOR")
|
1122
|
+
attr_accessor action_group_invocation_input: Types::ActionGroupInvocationInput
|
1080
1123
|
attr_accessor knowledge_base_lookup_input: Types::KnowledgeBaseLookupInput
|
1081
|
-
attr_accessor
|
1124
|
+
attr_accessor code_interpreter_invocation_input: Types::CodeInterpreterInvocationInput
|
1125
|
+
attr_accessor agent_collaborator_invocation_input: Types::AgentCollaboratorInvocationInput
|
1082
1126
|
SENSITIVE: []
|
1083
1127
|
end
|
1084
1128
|
|
@@ -1111,11 +1155,11 @@ module Aws::BedrockAgentRuntime
|
|
1111
1155
|
end
|
1112
1156
|
|
1113
1157
|
class InvocationStep
|
1158
|
+
attr_accessor session_id: ::String
|
1114
1159
|
attr_accessor invocation_id: ::String
|
1115
1160
|
attr_accessor invocation_step_id: ::String
|
1116
1161
|
attr_accessor invocation_step_time: ::Time
|
1117
1162
|
attr_accessor payload: Types::InvocationStepPayload
|
1118
|
-
attr_accessor session_id: ::String
|
1119
1163
|
SENSITIVE: []
|
1120
1164
|
end
|
1121
1165
|
|
@@ -1131,84 +1175,84 @@ module Aws::BedrockAgentRuntime
|
|
1131
1175
|
end
|
1132
1176
|
|
1133
1177
|
class InvocationStepSummary
|
1178
|
+
attr_accessor session_id: ::String
|
1134
1179
|
attr_accessor invocation_id: ::String
|
1135
1180
|
attr_accessor invocation_step_id: ::String
|
1136
1181
|
attr_accessor invocation_step_time: ::Time
|
1137
|
-
attr_accessor session_id: ::String
|
1138
1182
|
SENSITIVE: []
|
1139
1183
|
end
|
1140
1184
|
|
1141
1185
|
class InvocationSummary
|
1142
|
-
attr_accessor created_at: ::Time
|
1143
|
-
attr_accessor invocation_id: ::String
|
1144
1186
|
attr_accessor session_id: ::String
|
1187
|
+
attr_accessor invocation_id: ::String
|
1188
|
+
attr_accessor created_at: ::Time
|
1145
1189
|
SENSITIVE: []
|
1146
1190
|
end
|
1147
1191
|
|
1148
1192
|
class InvokeAgentRequest
|
1149
|
-
attr_accessor
|
1193
|
+
attr_accessor session_state: Types::SessionState
|
1150
1194
|
attr_accessor agent_id: ::String
|
1151
|
-
attr_accessor
|
1152
|
-
attr_accessor
|
1195
|
+
attr_accessor agent_alias_id: ::String
|
1196
|
+
attr_accessor session_id: ::String
|
1153
1197
|
attr_accessor end_session: bool
|
1198
|
+
attr_accessor enable_trace: bool
|
1154
1199
|
attr_accessor input_text: ::String
|
1155
1200
|
attr_accessor memory_id: ::String
|
1201
|
+
attr_accessor bedrock_model_configurations: Types::BedrockModelConfigurations
|
1202
|
+
attr_accessor streaming_configurations: Types::StreamingConfigurations
|
1156
1203
|
attr_accessor prompt_creation_configurations: Types::PromptCreationConfigurations
|
1157
|
-
attr_accessor session_id: ::String
|
1158
|
-
attr_accessor session_state: Types::SessionState
|
1159
1204
|
attr_accessor source_arn: ::String
|
1160
|
-
attr_accessor streaming_configurations: Types::StreamingConfigurations
|
1161
1205
|
SENSITIVE: [:input_text]
|
1162
1206
|
end
|
1163
1207
|
|
1164
1208
|
class InvokeAgentResponse
|
1165
1209
|
attr_accessor completion: Types::ResponseStream
|
1166
1210
|
attr_accessor content_type: ::String
|
1167
|
-
attr_accessor memory_id: ::String
|
1168
1211
|
attr_accessor session_id: ::String
|
1212
|
+
attr_accessor memory_id: ::String
|
1169
1213
|
SENSITIVE: []
|
1170
1214
|
end
|
1171
1215
|
|
1172
1216
|
class InvokeFlowRequest
|
1173
|
-
attr_accessor enable_trace: bool
|
1174
|
-
attr_accessor execution_id: ::String
|
1175
|
-
attr_accessor flow_alias_identifier: ::String
|
1176
1217
|
attr_accessor flow_identifier: ::String
|
1218
|
+
attr_accessor flow_alias_identifier: ::String
|
1177
1219
|
attr_accessor inputs: ::Array[Types::FlowInput]
|
1220
|
+
attr_accessor enable_trace: bool
|
1178
1221
|
attr_accessor model_performance_configuration: Types::ModelPerformanceConfiguration
|
1222
|
+
attr_accessor execution_id: ::String
|
1179
1223
|
SENSITIVE: []
|
1180
1224
|
end
|
1181
1225
|
|
1182
1226
|
class InvokeFlowResponse
|
1183
|
-
attr_accessor execution_id: ::String
|
1184
1227
|
attr_accessor response_stream: Types::FlowResponseStream
|
1228
|
+
attr_accessor execution_id: ::String
|
1185
1229
|
SENSITIVE: []
|
1186
1230
|
end
|
1187
1231
|
|
1188
1232
|
class InvokeInlineAgentRequest
|
1189
|
-
attr_accessor action_groups: ::Array[Types::AgentActionGroup]
|
1190
|
-
attr_accessor agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED")
|
1191
|
-
attr_accessor agent_name: ::String
|
1192
|
-
attr_accessor bedrock_model_configurations: Types::InlineBedrockModelConfigurations
|
1193
|
-
attr_accessor collaborator_configurations: ::Array[Types::CollaboratorConfiguration]
|
1194
|
-
attr_accessor collaborators: ::Array[Types::Collaborator]
|
1195
|
-
attr_accessor custom_orchestration: Types::CustomOrchestration
|
1196
1233
|
attr_accessor customer_encryption_key_arn: ::String
|
1197
|
-
attr_accessor enable_trace: bool
|
1198
|
-
attr_accessor end_session: bool
|
1199
1234
|
attr_accessor foundation_model: ::String
|
1200
|
-
attr_accessor guardrail_configuration: Types::GuardrailConfigurationWithArn
|
1201
|
-
attr_accessor idle_session_ttl_in_seconds: ::Integer
|
1202
|
-
attr_accessor inline_session_state: Types::InlineSessionState
|
1203
|
-
attr_accessor input_text: ::String
|
1204
1235
|
attr_accessor instruction: ::String
|
1236
|
+
attr_accessor idle_session_ttl_in_seconds: ::Integer
|
1237
|
+
attr_accessor action_groups: ::Array[Types::AgentActionGroup]
|
1205
1238
|
attr_accessor knowledge_bases: ::Array[Types::KnowledgeBase]
|
1206
|
-
attr_accessor
|
1207
|
-
attr_accessor prompt_creation_configurations: Types::PromptCreationConfigurations
|
1239
|
+
attr_accessor guardrail_configuration: Types::GuardrailConfigurationWithArn
|
1208
1240
|
attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
|
1241
|
+
attr_accessor agent_collaboration: ("SUPERVISOR" | "SUPERVISOR_ROUTER" | "DISABLED")
|
1242
|
+
attr_accessor collaborator_configurations: ::Array[Types::CollaboratorConfiguration]
|
1243
|
+
attr_accessor agent_name: ::String
|
1209
1244
|
attr_accessor session_id: ::String
|
1245
|
+
attr_accessor end_session: bool
|
1246
|
+
attr_accessor enable_trace: bool
|
1247
|
+
attr_accessor input_text: ::String
|
1210
1248
|
attr_accessor streaming_configurations: Types::StreamingConfigurations
|
1211
|
-
|
1249
|
+
attr_accessor prompt_creation_configurations: Types::PromptCreationConfigurations
|
1250
|
+
attr_accessor inline_session_state: Types::InlineSessionState
|
1251
|
+
attr_accessor collaborators: ::Array[Types::Collaborator]
|
1252
|
+
attr_accessor bedrock_model_configurations: Types::InlineBedrockModelConfigurations
|
1253
|
+
attr_accessor orchestration_type: ("DEFAULT" | "CUSTOM_ORCHESTRATION")
|
1254
|
+
attr_accessor custom_orchestration: Types::CustomOrchestration
|
1255
|
+
SENSITIVE: [:instruction, :prompt_override_configuration, :agent_name, :input_text]
|
1212
1256
|
end
|
1213
1257
|
|
1214
1258
|
class InvokeInlineAgentResponse
|
@@ -1219,8 +1263,8 @@ module Aws::BedrockAgentRuntime
|
|
1219
1263
|
end
|
1220
1264
|
|
1221
1265
|
class KnowledgeBase
|
1222
|
-
attr_accessor description: ::String
|
1223
1266
|
attr_accessor knowledge_base_id: ::String
|
1267
|
+
attr_accessor description: ::String
|
1224
1268
|
attr_accessor retrieval_configuration: Types::KnowledgeBaseRetrievalConfiguration
|
1225
1269
|
SENSITIVE: [:description]
|
1226
1270
|
end
|
@@ -1232,14 +1276,14 @@ module Aws::BedrockAgentRuntime
|
|
1232
1276
|
end
|
1233
1277
|
|
1234
1278
|
class KnowledgeBaseLookupInput
|
1235
|
-
attr_accessor knowledge_base_id: ::String
|
1236
1279
|
attr_accessor text: ::String
|
1237
|
-
|
1280
|
+
attr_accessor knowledge_base_id: ::String
|
1281
|
+
SENSITIVE: [:text, :knowledge_base_id]
|
1238
1282
|
end
|
1239
1283
|
|
1240
1284
|
class KnowledgeBaseLookupOutput
|
1241
|
-
attr_accessor metadata: Types::Metadata
|
1242
1285
|
attr_accessor retrieved_references: ::Array[Types::RetrievedReference]
|
1286
|
+
attr_accessor metadata: Types::Metadata
|
1243
1287
|
SENSITIVE: [:metadata]
|
1244
1288
|
end
|
1245
1289
|
|
@@ -1256,36 +1300,36 @@ module Aws::BedrockAgentRuntime
|
|
1256
1300
|
class KnowledgeBaseRetrievalResult
|
1257
1301
|
attr_accessor content: Types::RetrievalResultContent
|
1258
1302
|
attr_accessor location: Types::RetrievalResultLocation
|
1259
|
-
attr_accessor metadata: ::Hash[::String, untyped]
|
1260
1303
|
attr_accessor score: ::Float
|
1304
|
+
attr_accessor metadata: ::Hash[::String, untyped]
|
1261
1305
|
SENSITIVE: [:content, :location, :metadata]
|
1262
1306
|
end
|
1263
1307
|
|
1264
1308
|
class KnowledgeBaseRetrieveAndGenerateConfiguration
|
1265
|
-
attr_accessor generation_configuration: Types::GenerationConfiguration
|
1266
1309
|
attr_accessor knowledge_base_id: ::String
|
1267
1310
|
attr_accessor model_arn: ::String
|
1268
|
-
attr_accessor orchestration_configuration: Types::OrchestrationConfiguration
|
1269
1311
|
attr_accessor retrieval_configuration: Types::KnowledgeBaseRetrievalConfiguration
|
1312
|
+
attr_accessor generation_configuration: Types::GenerationConfiguration
|
1313
|
+
attr_accessor orchestration_configuration: Types::OrchestrationConfiguration
|
1270
1314
|
SENSITIVE: []
|
1271
1315
|
end
|
1272
1316
|
|
1273
1317
|
class KnowledgeBaseVectorSearchConfiguration
|
1274
|
-
attr_accessor filter: Types::RetrievalFilter
|
1275
|
-
attr_accessor implicit_filter_configuration: Types::ImplicitFilterConfiguration
|
1276
1318
|
attr_accessor number_of_results: ::Integer
|
1277
1319
|
attr_accessor override_search_type: ("HYBRID" | "SEMANTIC")
|
1320
|
+
attr_accessor filter: Types::RetrievalFilter
|
1278
1321
|
attr_accessor reranking_configuration: Types::VectorSearchRerankingConfiguration
|
1322
|
+
attr_accessor implicit_filter_configuration: Types::ImplicitFilterConfiguration
|
1279
1323
|
SENSITIVE: [:filter]
|
1280
1324
|
end
|
1281
1325
|
|
1282
1326
|
class ListFlowExecutionEventsRequest
|
1283
|
-
attr_accessor event_type: ("Node" | "Flow")
|
1284
|
-
attr_accessor execution_identifier: ::String
|
1285
|
-
attr_accessor flow_alias_identifier: ::String
|
1286
1327
|
attr_accessor flow_identifier: ::String
|
1328
|
+
attr_accessor flow_alias_identifier: ::String
|
1329
|
+
attr_accessor execution_identifier: ::String
|
1287
1330
|
attr_accessor max_results: ::Integer
|
1288
1331
|
attr_accessor next_token: ::String
|
1332
|
+
attr_accessor event_type: ("Node" | "Flow")
|
1289
1333
|
SENSITIVE: []
|
1290
1334
|
end
|
1291
1335
|
|
@@ -1296,8 +1340,8 @@ module Aws::BedrockAgentRuntime
|
|
1296
1340
|
end
|
1297
1341
|
|
1298
1342
|
class ListFlowExecutionsRequest
|
1299
|
-
attr_accessor flow_alias_identifier: ::String
|
1300
1343
|
attr_accessor flow_identifier: ::String
|
1344
|
+
attr_accessor flow_alias_identifier: ::String
|
1301
1345
|
attr_accessor max_results: ::Integer
|
1302
1346
|
attr_accessor next_token: ::String
|
1303
1347
|
SENSITIVE: []
|
@@ -1311,8 +1355,8 @@ module Aws::BedrockAgentRuntime
|
|
1311
1355
|
|
1312
1356
|
class ListInvocationStepsRequest
|
1313
1357
|
attr_accessor invocation_identifier: ::String
|
1314
|
-
attr_accessor max_results: ::Integer
|
1315
1358
|
attr_accessor next_token: ::String
|
1359
|
+
attr_accessor max_results: ::Integer
|
1316
1360
|
attr_accessor session_identifier: ::String
|
1317
1361
|
SENSITIVE: []
|
1318
1362
|
end
|
@@ -1324,8 +1368,8 @@ module Aws::BedrockAgentRuntime
|
|
1324
1368
|
end
|
1325
1369
|
|
1326
1370
|
class ListInvocationsRequest
|
1327
|
-
attr_accessor max_results: ::Integer
|
1328
1371
|
attr_accessor next_token: ::String
|
1372
|
+
attr_accessor max_results: ::Integer
|
1329
1373
|
attr_accessor session_identifier: ::String
|
1330
1374
|
SENSITIVE: []
|
1331
1375
|
end
|
@@ -1343,8 +1387,8 @@ module Aws::BedrockAgentRuntime
|
|
1343
1387
|
end
|
1344
1388
|
|
1345
1389
|
class ListSessionsResponse
|
1346
|
-
attr_accessor next_token: ::String
|
1347
1390
|
attr_accessor session_summaries: ::Array[Types::SessionSummary]
|
1391
|
+
attr_accessor next_token: ::String
|
1348
1392
|
SENSITIVE: []
|
1349
1393
|
end
|
1350
1394
|
|
@@ -1371,33 +1415,33 @@ module Aws::BedrockAgentRuntime
|
|
1371
1415
|
|
1372
1416
|
class MemorySessionSummary
|
1373
1417
|
attr_accessor memory_id: ::String
|
1374
|
-
attr_accessor session_expiry_time: ::Time
|
1375
1418
|
attr_accessor session_id: ::String
|
1376
1419
|
attr_accessor session_start_time: ::Time
|
1420
|
+
attr_accessor session_expiry_time: ::Time
|
1377
1421
|
attr_accessor summary_text: ::String
|
1378
1422
|
SENSITIVE: []
|
1379
1423
|
end
|
1380
1424
|
|
1381
1425
|
class Message
|
1382
|
-
attr_accessor content: ::Array[Types::ContentBlock]
|
1383
1426
|
attr_accessor role: ("user" | "assistant")
|
1427
|
+
attr_accessor content: ::Array[Types::ContentBlock]
|
1384
1428
|
SENSITIVE: []
|
1385
1429
|
end
|
1386
1430
|
|
1387
1431
|
class Metadata
|
1388
|
-
attr_accessor client_request_id: ::String
|
1389
|
-
attr_accessor end_time: ::Time
|
1390
|
-
attr_accessor operation_total_time_ms: ::Integer
|
1391
1432
|
attr_accessor start_time: ::Time
|
1433
|
+
attr_accessor end_time: ::Time
|
1392
1434
|
attr_accessor total_time_ms: ::Integer
|
1435
|
+
attr_accessor operation_total_time_ms: ::Integer
|
1436
|
+
attr_accessor client_request_id: ::String
|
1393
1437
|
attr_accessor usage: Types::Usage
|
1394
1438
|
SENSITIVE: [:usage]
|
1395
1439
|
end
|
1396
1440
|
|
1397
1441
|
class MetadataAttributeSchema
|
1398
|
-
attr_accessor description: ::String
|
1399
1442
|
attr_accessor key: ::String
|
1400
1443
|
attr_accessor type: ("STRING" | "NUMBER" | "BOOLEAN" | "STRING_LIST")
|
1444
|
+
attr_accessor description: ::String
|
1401
1445
|
SENSITIVE: []
|
1402
1446
|
end
|
1403
1447
|
|
@@ -1408,14 +1452,14 @@ module Aws::BedrockAgentRuntime
|
|
1408
1452
|
end
|
1409
1453
|
|
1410
1454
|
class ModelInvocationInput
|
1411
|
-
attr_accessor foundation_model: ::String
|
1412
|
-
attr_accessor inference_configuration: Types::InferenceConfiguration
|
1413
|
-
attr_accessor override_lambda: ::String
|
1414
|
-
attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
|
1415
|
-
attr_accessor prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")
|
1416
|
-
attr_accessor text: ::String
|
1417
1455
|
attr_accessor trace_id: ::String
|
1456
|
+
attr_accessor text: ::String
|
1418
1457
|
attr_accessor type: ("PRE_PROCESSING" | "ORCHESTRATION" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "POST_PROCESSING" | "ROUTING_CLASSIFIER")
|
1458
|
+
attr_accessor override_lambda: ::String
|
1459
|
+
attr_accessor prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")
|
1460
|
+
attr_accessor inference_configuration: Types::InferenceConfiguration
|
1461
|
+
attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
|
1462
|
+
attr_accessor foundation_model: ::String
|
1419
1463
|
SENSITIVE: [:text]
|
1420
1464
|
end
|
1421
1465
|
|
@@ -1430,6 +1474,24 @@ module Aws::BedrockAgentRuntime
|
|
1430
1474
|
SENSITIVE: []
|
1431
1475
|
end
|
1432
1476
|
|
1477
|
+
class NodeActionEvent
|
1478
|
+
attr_accessor node_name: ::String
|
1479
|
+
attr_accessor timestamp: ::Time
|
1480
|
+
attr_accessor request_id: ::String
|
1481
|
+
attr_accessor service_name: ::String
|
1482
|
+
attr_accessor operation_name: ::String
|
1483
|
+
attr_accessor operation_request: untyped
|
1484
|
+
attr_accessor operation_response: untyped
|
1485
|
+
SENSITIVE: []
|
1486
|
+
end
|
1487
|
+
|
1488
|
+
class NodeDependencyEvent
|
1489
|
+
attr_accessor node_name: ::String
|
1490
|
+
attr_accessor timestamp: ::Time
|
1491
|
+
attr_accessor trace_elements: Types::NodeTraceElements
|
1492
|
+
SENSITIVE: [:trace_elements]
|
1493
|
+
end
|
1494
|
+
|
1433
1495
|
class NodeExecutionContent
|
1434
1496
|
attr_accessor document: untyped
|
1435
1497
|
attr_accessor unknown: untyped
|
@@ -1442,48 +1504,85 @@ module Aws::BedrockAgentRuntime
|
|
1442
1504
|
end
|
1443
1505
|
|
1444
1506
|
class NodeFailureEvent
|
1445
|
-
attr_accessor error_code: ("VALIDATION" | "DEPENDENCY_FAILED" | "BAD_GATEWAY" | "INTERNAL_SERVER")
|
1446
|
-
attr_accessor error_message: ::String
|
1447
1507
|
attr_accessor node_name: ::String
|
1448
1508
|
attr_accessor timestamp: ::Time
|
1509
|
+
attr_accessor error_code: ("VALIDATION" | "DEPENDENCY_FAILED" | "BAD_GATEWAY" | "INTERNAL_SERVER")
|
1510
|
+
attr_accessor error_message: ::String
|
1449
1511
|
SENSITIVE: []
|
1450
1512
|
end
|
1451
1513
|
|
1452
1514
|
class NodeInputEvent
|
1453
|
-
attr_accessor fields: ::Array[Types::NodeInputField]
|
1454
1515
|
attr_accessor node_name: ::String
|
1455
1516
|
attr_accessor timestamp: ::Time
|
1517
|
+
attr_accessor fields: ::Array[Types::NodeInputField]
|
1518
|
+
SENSITIVE: []
|
1519
|
+
end
|
1520
|
+
|
1521
|
+
class NodeInputExecutionChainItem
|
1522
|
+
attr_accessor node_name: ::String
|
1523
|
+
attr_accessor index: ::Integer
|
1524
|
+
attr_accessor type: ("Iterator" | "Loop")
|
1456
1525
|
SENSITIVE: []
|
1457
1526
|
end
|
1458
1527
|
|
1459
1528
|
class NodeInputField
|
1460
|
-
attr_accessor content: Types::NodeExecutionContent
|
1461
1529
|
attr_accessor name: ::String
|
1530
|
+
attr_accessor content: Types::NodeExecutionContent
|
1531
|
+
attr_accessor source: Types::NodeInputSource
|
1532
|
+
attr_accessor type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
1533
|
+
attr_accessor category: ("LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop")
|
1534
|
+
attr_accessor execution_chain: ::Array[Types::NodeInputExecutionChainItem]
|
1462
1535
|
SENSITIVE: [:content]
|
1463
1536
|
end
|
1464
1537
|
|
1538
|
+
class NodeInputSource
|
1539
|
+
attr_accessor node_name: ::String
|
1540
|
+
attr_accessor output_field_name: ::String
|
1541
|
+
attr_accessor expression: ::String
|
1542
|
+
SENSITIVE: [:expression]
|
1543
|
+
end
|
1544
|
+
|
1465
1545
|
class NodeOutputEvent
|
1466
|
-
attr_accessor fields: ::Array[Types::NodeOutputField]
|
1467
1546
|
attr_accessor node_name: ::String
|
1468
1547
|
attr_accessor timestamp: ::Time
|
1548
|
+
attr_accessor fields: ::Array[Types::NodeOutputField]
|
1469
1549
|
SENSITIVE: []
|
1470
1550
|
end
|
1471
1551
|
|
1472
1552
|
class NodeOutputField
|
1473
|
-
attr_accessor content: Types::NodeExecutionContent
|
1474
1553
|
attr_accessor name: ::String
|
1554
|
+
attr_accessor content: Types::NodeExecutionContent
|
1555
|
+
attr_accessor next: ::Array[Types::NodeOutputNext]
|
1556
|
+
attr_accessor type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
1475
1557
|
SENSITIVE: [:content]
|
1476
1558
|
end
|
1477
1559
|
|
1560
|
+
class NodeOutputNext
|
1561
|
+
attr_accessor node_name: ::String
|
1562
|
+
attr_accessor input_field_name: ::String
|
1563
|
+
SENSITIVE: []
|
1564
|
+
end
|
1565
|
+
|
1566
|
+
class NodeTraceElements
|
1567
|
+
attr_accessor agent_traces: ::Array[Types::TracePart]
|
1568
|
+
attr_accessor unknown: untyped
|
1569
|
+
SENSITIVE: []
|
1570
|
+
|
1571
|
+
class AgentTraces < NodeTraceElements
|
1572
|
+
end
|
1573
|
+
class Unknown < NodeTraceElements
|
1574
|
+
end
|
1575
|
+
end
|
1576
|
+
|
1478
1577
|
class Observation
|
1578
|
+
attr_accessor trace_id: ::String
|
1579
|
+
attr_accessor type: ("ACTION_GROUP" | "AGENT_COLLABORATOR" | "KNOWLEDGE_BASE" | "FINISH" | "ASK_USER" | "REPROMPT")
|
1479
1580
|
attr_accessor action_group_invocation_output: Types::ActionGroupInvocationOutput
|
1480
1581
|
attr_accessor agent_collaborator_invocation_output: Types::AgentCollaboratorInvocationOutput
|
1481
|
-
attr_accessor code_interpreter_invocation_output: Types::CodeInterpreterInvocationOutput
|
1482
|
-
attr_accessor final_response: Types::FinalResponse
|
1483
1582
|
attr_accessor knowledge_base_lookup_output: Types::KnowledgeBaseLookupOutput
|
1583
|
+
attr_accessor final_response: Types::FinalResponse
|
1484
1584
|
attr_accessor reprompt_response: Types::RepromptResponse
|
1485
|
-
attr_accessor
|
1486
|
-
attr_accessor type: ("ACTION_GROUP" | "AGENT_COLLABORATOR" | "KNOWLEDGE_BASE" | "FINISH" | "ASK_USER" | "REPROMPT")
|
1585
|
+
attr_accessor code_interpreter_invocation_output: Types::CodeInterpreterInvocationOutput
|
1487
1586
|
SENSITIVE: [:reprompt_response]
|
1488
1587
|
end
|
1489
1588
|
|
@@ -1516,11 +1615,11 @@ module Aws::BedrockAgentRuntime
|
|
1516
1615
|
end
|
1517
1616
|
|
1518
1617
|
class OrchestrationConfiguration
|
1519
|
-
attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
|
1520
|
-
attr_accessor inference_config: Types::InferenceConfig
|
1521
|
-
attr_accessor performance_config: Types::PerformanceConfiguration
|
1522
1618
|
attr_accessor prompt_template: Types::PromptTemplate
|
1619
|
+
attr_accessor inference_config: Types::InferenceConfig
|
1620
|
+
attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
|
1523
1621
|
attr_accessor query_transformation_configuration: Types::QueryTransformationConfiguration
|
1622
|
+
attr_accessor performance_config: Types::PerformanceConfiguration
|
1524
1623
|
SENSITIVE: []
|
1525
1624
|
end
|
1526
1625
|
|
@@ -1536,40 +1635,40 @@ module Aws::BedrockAgentRuntime
|
|
1536
1635
|
end
|
1537
1636
|
|
1538
1637
|
class OrchestrationModelInvocationOutput
|
1539
|
-
attr_accessor
|
1638
|
+
attr_accessor trace_id: ::String
|
1540
1639
|
attr_accessor raw_response: Types::RawResponse
|
1640
|
+
attr_accessor metadata: Types::Metadata
|
1541
1641
|
attr_accessor reasoning_content: Types::ReasoningContentBlock
|
1542
|
-
|
1543
|
-
SENSITIVE: [:metadata, :raw_response, :reasoning_content]
|
1642
|
+
SENSITIVE: [:raw_response, :metadata, :reasoning_content]
|
1544
1643
|
end
|
1545
1644
|
|
1546
1645
|
class OrchestrationTrace
|
1646
|
+
attr_accessor rationale: Types::Rationale
|
1547
1647
|
attr_accessor invocation_input: Types::InvocationInput
|
1648
|
+
attr_accessor observation: Types::Observation
|
1548
1649
|
attr_accessor model_invocation_input: Types::ModelInvocationInput
|
1549
1650
|
attr_accessor model_invocation_output: Types::OrchestrationModelInvocationOutput
|
1550
|
-
attr_accessor observation: Types::Observation
|
1551
|
-
attr_accessor rationale: Types::Rationale
|
1552
1651
|
attr_accessor unknown: untyped
|
1553
|
-
SENSITIVE: [:
|
1652
|
+
SENSITIVE: [:rationale, :invocation_input, :observation, :model_invocation_input, :model_invocation_output]
|
1554
1653
|
|
1654
|
+
class Rationale < OrchestrationTrace
|
1655
|
+
end
|
1555
1656
|
class InvocationInput < OrchestrationTrace
|
1556
1657
|
end
|
1658
|
+
class Observation < OrchestrationTrace
|
1659
|
+
end
|
1557
1660
|
class ModelInvocationInput < OrchestrationTrace
|
1558
1661
|
end
|
1559
1662
|
class ModelInvocationOutput < OrchestrationTrace
|
1560
1663
|
end
|
1561
|
-
class Observation < OrchestrationTrace
|
1562
|
-
end
|
1563
|
-
class Rationale < OrchestrationTrace
|
1564
|
-
end
|
1565
1664
|
class Unknown < OrchestrationTrace
|
1566
1665
|
end
|
1567
1666
|
end
|
1568
1667
|
|
1569
1668
|
class OutputFile
|
1570
|
-
attr_accessor bytes: ::String
|
1571
1669
|
attr_accessor name: ::String
|
1572
1670
|
attr_accessor type: ::String
|
1671
|
+
attr_accessor bytes: ::String
|
1573
1672
|
SENSITIVE: [:bytes]
|
1574
1673
|
end
|
1575
1674
|
|
@@ -1582,14 +1681,14 @@ module Aws::BedrockAgentRuntime
|
|
1582
1681
|
|
1583
1682
|
class ParameterDetail
|
1584
1683
|
attr_accessor description: ::String
|
1585
|
-
attr_accessor required: bool
|
1586
1684
|
attr_accessor type: ("string" | "number" | "integer" | "boolean" | "array")
|
1685
|
+
attr_accessor required: bool
|
1587
1686
|
SENSITIVE: []
|
1588
1687
|
end
|
1589
1688
|
|
1590
1689
|
class PayloadPart
|
1591
|
-
attr_accessor attribution: Types::Attribution
|
1592
1690
|
attr_accessor bytes: ::String
|
1691
|
+
attr_accessor attribution: Types::Attribution
|
1593
1692
|
attr_accessor event_type: untyped
|
1594
1693
|
SENSITIVE: [:bytes]
|
1595
1694
|
end
|
@@ -1600,12 +1699,12 @@ module Aws::BedrockAgentRuntime
|
|
1600
1699
|
end
|
1601
1700
|
|
1602
1701
|
class PostProcessingModelInvocationOutput
|
1603
|
-
attr_accessor
|
1702
|
+
attr_accessor trace_id: ::String
|
1604
1703
|
attr_accessor parsed_response: Types::PostProcessingParsedResponse
|
1605
1704
|
attr_accessor raw_response: Types::RawResponse
|
1705
|
+
attr_accessor metadata: Types::Metadata
|
1606
1706
|
attr_accessor reasoning_content: Types::ReasoningContentBlock
|
1607
|
-
|
1608
|
-
SENSITIVE: [:metadata, :parsed_response, :raw_response, :reasoning_content]
|
1707
|
+
SENSITIVE: [:parsed_response, :raw_response, :metadata, :reasoning_content]
|
1609
1708
|
end
|
1610
1709
|
|
1611
1710
|
class PostProcessingParsedResponse
|
@@ -1628,17 +1727,17 @@ module Aws::BedrockAgentRuntime
|
|
1628
1727
|
end
|
1629
1728
|
|
1630
1729
|
class PreProcessingModelInvocationOutput
|
1631
|
-
attr_accessor
|
1730
|
+
attr_accessor trace_id: ::String
|
1632
1731
|
attr_accessor parsed_response: Types::PreProcessingParsedResponse
|
1633
1732
|
attr_accessor raw_response: Types::RawResponse
|
1733
|
+
attr_accessor metadata: Types::Metadata
|
1634
1734
|
attr_accessor reasoning_content: Types::ReasoningContentBlock
|
1635
|
-
|
1636
|
-
SENSITIVE: [:metadata, :parsed_response, :raw_response, :reasoning_content]
|
1735
|
+
SENSITIVE: [:parsed_response, :raw_response, :metadata, :reasoning_content]
|
1637
1736
|
end
|
1638
1737
|
|
1639
1738
|
class PreProcessingParsedResponse
|
1640
|
-
attr_accessor is_valid: bool
|
1641
1739
|
attr_accessor rationale: ::String
|
1740
|
+
attr_accessor is_valid: bool
|
1642
1741
|
SENSITIVE: [:rationale]
|
1643
1742
|
end
|
1644
1743
|
|
@@ -1657,26 +1756,26 @@ module Aws::BedrockAgentRuntime
|
|
1657
1756
|
end
|
1658
1757
|
|
1659
1758
|
class PromptConfiguration
|
1660
|
-
attr_accessor
|
1759
|
+
attr_accessor prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "POST_PROCESSING" | "ROUTING_CLASSIFIER")
|
1760
|
+
attr_accessor prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")
|
1761
|
+
attr_accessor prompt_state: ("ENABLED" | "DISABLED")
|
1661
1762
|
attr_accessor base_prompt_template: ::String
|
1662
|
-
attr_accessor foundation_model: ::String
|
1663
1763
|
attr_accessor inference_configuration: Types::InferenceConfiguration
|
1664
1764
|
attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
|
1665
|
-
attr_accessor
|
1666
|
-
attr_accessor
|
1667
|
-
attr_accessor prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "POST_PROCESSING" | "ROUTING_CLASSIFIER")
|
1765
|
+
attr_accessor foundation_model: ::String
|
1766
|
+
attr_accessor additional_model_request_fields: untyped
|
1668
1767
|
SENSITIVE: [:base_prompt_template]
|
1669
1768
|
end
|
1670
1769
|
|
1671
1770
|
class PromptCreationConfigurations
|
1672
|
-
attr_accessor exclude_previous_thinking_steps: bool
|
1673
1771
|
attr_accessor previous_conversation_turns_to_include: ::Integer
|
1772
|
+
attr_accessor exclude_previous_thinking_steps: bool
|
1674
1773
|
SENSITIVE: []
|
1675
1774
|
end
|
1676
1775
|
|
1677
1776
|
class PromptOverrideConfiguration
|
1678
|
-
attr_accessor override_lambda: ::String
|
1679
1777
|
attr_accessor prompt_configurations: ::Array[Types::PromptConfiguration]
|
1778
|
+
attr_accessor override_lambda: ::String
|
1680
1779
|
SENSITIVE: []
|
1681
1780
|
end
|
1682
1781
|
|
@@ -1691,11 +1790,11 @@ module Aws::BedrockAgentRuntime
|
|
1691
1790
|
end
|
1692
1791
|
|
1693
1792
|
class PutInvocationStepRequest
|
1793
|
+
attr_accessor session_identifier: ::String
|
1694
1794
|
attr_accessor invocation_identifier: ::String
|
1695
|
-
attr_accessor invocation_step_id: ::String
|
1696
1795
|
attr_accessor invocation_step_time: ::Time
|
1697
1796
|
attr_accessor payload: Types::InvocationStepPayload
|
1698
|
-
attr_accessor
|
1797
|
+
attr_accessor invocation_step_id: ::String
|
1699
1798
|
SENSITIVE: []
|
1700
1799
|
end
|
1701
1800
|
|
@@ -1705,8 +1804,8 @@ module Aws::BedrockAgentRuntime
|
|
1705
1804
|
end
|
1706
1805
|
|
1707
1806
|
class QueryGenerationInput
|
1708
|
-
attr_accessor text: ::String
|
1709
1807
|
attr_accessor type: ("TEXT")
|
1808
|
+
attr_accessor text: ::String
|
1710
1809
|
SENSITIVE: []
|
1711
1810
|
end
|
1712
1811
|
|
@@ -1716,8 +1815,8 @@ module Aws::BedrockAgentRuntime
|
|
1716
1815
|
end
|
1717
1816
|
|
1718
1817
|
class Rationale
|
1719
|
-
attr_accessor text: ::String
|
1720
1818
|
attr_accessor trace_id: ::String
|
1819
|
+
attr_accessor text: ::String
|
1721
1820
|
SENSITIVE: [:text]
|
1722
1821
|
end
|
1723
1822
|
|
@@ -1741,14 +1840,14 @@ module Aws::BedrockAgentRuntime
|
|
1741
1840
|
end
|
1742
1841
|
|
1743
1842
|
class ReasoningTextBlock
|
1744
|
-
attr_accessor signature: ::String
|
1745
1843
|
attr_accessor text: ::String
|
1844
|
+
attr_accessor signature: ::String
|
1746
1845
|
SENSITIVE: []
|
1747
1846
|
end
|
1748
1847
|
|
1749
1848
|
class RepromptResponse
|
1750
|
-
attr_accessor source: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "PARSER")
|
1751
1849
|
attr_accessor text: ::String
|
1850
|
+
attr_accessor source: ("ACTION_GROUP" | "KNOWLEDGE_BASE" | "PARSER")
|
1752
1851
|
SENSITIVE: [:source]
|
1753
1852
|
end
|
1754
1853
|
|
@@ -1758,42 +1857,42 @@ module Aws::BedrockAgentRuntime
|
|
1758
1857
|
end
|
1759
1858
|
|
1760
1859
|
class RerankDocument
|
1761
|
-
attr_accessor json_document: untyped
|
1762
|
-
attr_accessor text_document: Types::RerankTextDocument
|
1763
1860
|
attr_accessor type: ("TEXT" | "JSON")
|
1861
|
+
attr_accessor text_document: Types::RerankTextDocument
|
1862
|
+
attr_accessor json_document: untyped
|
1764
1863
|
SENSITIVE: [:text_document]
|
1765
1864
|
end
|
1766
1865
|
|
1767
1866
|
class RerankQuery
|
1768
|
-
attr_accessor text_query: Types::RerankTextDocument
|
1769
1867
|
attr_accessor type: ("TEXT")
|
1868
|
+
attr_accessor text_query: Types::RerankTextDocument
|
1770
1869
|
SENSITIVE: [:text_query]
|
1771
1870
|
end
|
1772
1871
|
|
1773
1872
|
class RerankRequest
|
1774
|
-
attr_accessor next_token: ::String
|
1775
1873
|
attr_accessor queries: ::Array[Types::RerankQuery]
|
1776
|
-
attr_accessor reranking_configuration: Types::RerankingConfiguration
|
1777
1874
|
attr_accessor sources: ::Array[Types::RerankSource]
|
1875
|
+
attr_accessor reranking_configuration: Types::RerankingConfiguration
|
1876
|
+
attr_accessor next_token: ::String
|
1778
1877
|
SENSITIVE: [:queries, :sources]
|
1779
1878
|
end
|
1780
1879
|
|
1781
1880
|
class RerankResponse
|
1782
|
-
attr_accessor next_token: ::String
|
1783
1881
|
attr_accessor results: ::Array[Types::RerankResult]
|
1882
|
+
attr_accessor next_token: ::String
|
1784
1883
|
SENSITIVE: []
|
1785
1884
|
end
|
1786
1885
|
|
1787
1886
|
class RerankResult
|
1788
|
-
attr_accessor document: Types::RerankDocument
|
1789
1887
|
attr_accessor index: ::Integer
|
1790
1888
|
attr_accessor relevance_score: ::Float
|
1889
|
+
attr_accessor document: Types::RerankDocument
|
1791
1890
|
SENSITIVE: [:document]
|
1792
1891
|
end
|
1793
1892
|
|
1794
1893
|
class RerankSource
|
1795
|
-
attr_accessor inline_document_source: Types::RerankDocument
|
1796
1894
|
attr_accessor type: ("INLINE")
|
1895
|
+
attr_accessor inline_document_source: Types::RerankDocument
|
1797
1896
|
SENSITIVE: [:inline_document_source]
|
1798
1897
|
end
|
1799
1898
|
|
@@ -1803,21 +1902,21 @@ module Aws::BedrockAgentRuntime
|
|
1803
1902
|
end
|
1804
1903
|
|
1805
1904
|
class RerankingConfiguration
|
1806
|
-
attr_accessor bedrock_reranking_configuration: Types::BedrockRerankingConfiguration
|
1807
1905
|
attr_accessor type: ("BEDROCK_RERANKING_MODEL")
|
1906
|
+
attr_accessor bedrock_reranking_configuration: Types::BedrockRerankingConfiguration
|
1808
1907
|
SENSITIVE: []
|
1809
1908
|
end
|
1810
1909
|
|
1811
1910
|
class RerankingMetadataSelectiveModeConfiguration
|
1812
|
-
attr_accessor fields_to_exclude: ::Array[Types::FieldForReranking]
|
1813
1911
|
attr_accessor fields_to_include: ::Array[Types::FieldForReranking]
|
1912
|
+
attr_accessor fields_to_exclude: ::Array[Types::FieldForReranking]
|
1814
1913
|
attr_accessor unknown: untyped
|
1815
|
-
SENSITIVE: [:
|
1914
|
+
SENSITIVE: [:fields_to_include, :fields_to_exclude]
|
1816
1915
|
|
1817
|
-
class FieldsToExclude < RerankingMetadataSelectiveModeConfiguration
|
1818
|
-
end
|
1819
1916
|
class FieldsToInclude < RerankingMetadataSelectiveModeConfiguration
|
1820
1917
|
end
|
1918
|
+
class FieldsToExclude < RerankingMetadataSelectiveModeConfiguration
|
1919
|
+
end
|
1821
1920
|
class Unknown < RerankingMetadataSelectiveModeConfiguration
|
1822
1921
|
end
|
1823
1922
|
end
|
@@ -1829,48 +1928,48 @@ module Aws::BedrockAgentRuntime
|
|
1829
1928
|
end
|
1830
1929
|
|
1831
1930
|
class RetrievalFilter
|
1832
|
-
attr_accessor and_all: ::Array[Types::RetrievalFilter]
|
1833
1931
|
attr_accessor equals: Types::FilterAttribute
|
1932
|
+
attr_accessor not_equals: Types::FilterAttribute
|
1834
1933
|
attr_accessor greater_than: Types::FilterAttribute
|
1835
1934
|
attr_accessor greater_than_or_equals: Types::FilterAttribute
|
1836
|
-
attr_accessor in: Types::FilterAttribute
|
1837
1935
|
attr_accessor less_than: Types::FilterAttribute
|
1838
1936
|
attr_accessor less_than_or_equals: Types::FilterAttribute
|
1839
|
-
attr_accessor
|
1840
|
-
attr_accessor not_equals: Types::FilterAttribute
|
1937
|
+
attr_accessor in: Types::FilterAttribute
|
1841
1938
|
attr_accessor not_in: Types::FilterAttribute
|
1842
|
-
attr_accessor or_all: ::Array[Types::RetrievalFilter]
|
1843
1939
|
attr_accessor starts_with: Types::FilterAttribute
|
1940
|
+
attr_accessor list_contains: Types::FilterAttribute
|
1844
1941
|
attr_accessor string_contains: Types::FilterAttribute
|
1942
|
+
attr_accessor and_all: ::Array[Types::RetrievalFilter]
|
1943
|
+
attr_accessor or_all: ::Array[Types::RetrievalFilter]
|
1845
1944
|
attr_accessor unknown: untyped
|
1846
1945
|
SENSITIVE: []
|
1847
1946
|
|
1848
|
-
class AndAll < RetrievalFilter
|
1849
|
-
end
|
1850
1947
|
class Equals < RetrievalFilter
|
1851
1948
|
end
|
1949
|
+
class NotEquals < RetrievalFilter
|
1950
|
+
end
|
1852
1951
|
class GreaterThan < RetrievalFilter
|
1853
1952
|
end
|
1854
1953
|
class GreaterThanOrEquals < RetrievalFilter
|
1855
1954
|
end
|
1856
|
-
class In < RetrievalFilter
|
1857
|
-
end
|
1858
1955
|
class LessThan < RetrievalFilter
|
1859
1956
|
end
|
1860
1957
|
class LessThanOrEquals < RetrievalFilter
|
1861
1958
|
end
|
1862
|
-
class
|
1863
|
-
end
|
1864
|
-
class NotEquals < RetrievalFilter
|
1959
|
+
class In < RetrievalFilter
|
1865
1960
|
end
|
1866
1961
|
class NotIn < RetrievalFilter
|
1867
1962
|
end
|
1868
|
-
class OrAll < RetrievalFilter
|
1869
|
-
end
|
1870
1963
|
class StartsWith < RetrievalFilter
|
1871
1964
|
end
|
1965
|
+
class ListContains < RetrievalFilter
|
1966
|
+
end
|
1872
1967
|
class StringContains < RetrievalFilter
|
1873
1968
|
end
|
1969
|
+
class AndAll < RetrievalFilter
|
1970
|
+
end
|
1971
|
+
class OrAll < RetrievalFilter
|
1972
|
+
end
|
1874
1973
|
class Unknown < RetrievalFilter
|
1875
1974
|
end
|
1876
1975
|
end
|
@@ -1881,10 +1980,10 @@ module Aws::BedrockAgentRuntime
|
|
1881
1980
|
end
|
1882
1981
|
|
1883
1982
|
class RetrievalResultContent
|
1983
|
+
attr_accessor type: ("TEXT" | "IMAGE" | "ROW")
|
1984
|
+
attr_accessor text: ::String
|
1884
1985
|
attr_accessor byte_content: ::String
|
1885
1986
|
attr_accessor row: ::Array[Types::RetrievalResultContentColumn]
|
1886
|
-
attr_accessor text: ::String
|
1887
|
-
attr_accessor type: ("TEXT" | "IMAGE" | "ROW")
|
1888
1987
|
SENSITIVE: [:row]
|
1889
1988
|
end
|
1890
1989
|
|
@@ -1906,15 +2005,15 @@ module Aws::BedrockAgentRuntime
|
|
1906
2005
|
end
|
1907
2006
|
|
1908
2007
|
class RetrievalResultLocation
|
1909
|
-
attr_accessor
|
1910
|
-
attr_accessor custom_document_location: Types::RetrievalResultCustomDocumentLocation
|
1911
|
-
attr_accessor kendra_document_location: Types::RetrievalResultKendraDocumentLocation
|
2008
|
+
attr_accessor type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "KENDRA" | "SQL")
|
1912
2009
|
attr_accessor s3_location: Types::RetrievalResultS3Location
|
2010
|
+
attr_accessor web_location: Types::RetrievalResultWebLocation
|
2011
|
+
attr_accessor confluence_location: Types::RetrievalResultConfluenceLocation
|
1913
2012
|
attr_accessor salesforce_location: Types::RetrievalResultSalesforceLocation
|
1914
2013
|
attr_accessor share_point_location: Types::RetrievalResultSharePointLocation
|
2014
|
+
attr_accessor custom_document_location: Types::RetrievalResultCustomDocumentLocation
|
2015
|
+
attr_accessor kendra_document_location: Types::RetrievalResultKendraDocumentLocation
|
1915
2016
|
attr_accessor sql_location: Types::RetrievalResultSqlLocation
|
1916
|
-
attr_accessor type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "KENDRA" | "SQL")
|
1917
|
-
attr_accessor web_location: Types::RetrievalResultWebLocation
|
1918
2017
|
SENSITIVE: []
|
1919
2018
|
end
|
1920
2019
|
|
@@ -1944,9 +2043,9 @@ module Aws::BedrockAgentRuntime
|
|
1944
2043
|
end
|
1945
2044
|
|
1946
2045
|
class RetrieveAndGenerateConfiguration
|
1947
|
-
attr_accessor external_sources_configuration: Types::ExternalSourcesRetrieveAndGenerateConfiguration
|
1948
|
-
attr_accessor knowledge_base_configuration: Types::KnowledgeBaseRetrieveAndGenerateConfiguration
|
1949
2046
|
attr_accessor type: ("KNOWLEDGE_BASE" | "EXTERNAL_SOURCES")
|
2047
|
+
attr_accessor knowledge_base_configuration: Types::KnowledgeBaseRetrieveAndGenerateConfiguration
|
2048
|
+
attr_accessor external_sources_configuration: Types::ExternalSourcesRetrieveAndGenerateConfiguration
|
1950
2049
|
SENSITIVE: []
|
1951
2050
|
end
|
1952
2051
|
|
@@ -1967,18 +2066,18 @@ module Aws::BedrockAgentRuntime
|
|
1967
2066
|
end
|
1968
2067
|
|
1969
2068
|
class RetrieveAndGenerateRequest
|
2069
|
+
attr_accessor session_id: ::String
|
1970
2070
|
attr_accessor input: Types::RetrieveAndGenerateInput
|
1971
2071
|
attr_accessor retrieve_and_generate_configuration: Types::RetrieveAndGenerateConfiguration
|
1972
2072
|
attr_accessor session_configuration: Types::RetrieveAndGenerateSessionConfiguration
|
1973
|
-
attr_accessor session_id: ::String
|
1974
2073
|
SENSITIVE: [:input]
|
1975
2074
|
end
|
1976
2075
|
|
1977
2076
|
class RetrieveAndGenerateResponse
|
2077
|
+
attr_accessor session_id: ::String
|
2078
|
+
attr_accessor output: Types::RetrieveAndGenerateOutput
|
1978
2079
|
attr_accessor citations: ::Array[Types::Citation]
|
1979
2080
|
attr_accessor guardrail_action: ("INTERVENED" | "NONE")
|
1980
|
-
attr_accessor output: Types::RetrieveAndGenerateOutput
|
1981
|
-
attr_accessor session_id: ::String
|
1982
2081
|
SENSITIVE: [:output]
|
1983
2082
|
end
|
1984
2083
|
|
@@ -1988,32 +2087,32 @@ module Aws::BedrockAgentRuntime
|
|
1988
2087
|
end
|
1989
2088
|
|
1990
2089
|
class RetrieveAndGenerateStreamRequest
|
2090
|
+
attr_accessor session_id: ::String
|
1991
2091
|
attr_accessor input: Types::RetrieveAndGenerateInput
|
1992
2092
|
attr_accessor retrieve_and_generate_configuration: Types::RetrieveAndGenerateConfiguration
|
1993
2093
|
attr_accessor session_configuration: Types::RetrieveAndGenerateSessionConfiguration
|
1994
|
-
attr_accessor session_id: ::String
|
1995
2094
|
SENSITIVE: [:input]
|
1996
2095
|
end
|
1997
2096
|
|
1998
2097
|
class RetrieveAndGenerateStreamResponse
|
1999
|
-
attr_accessor session_id: ::String
|
2000
2098
|
attr_accessor stream: Types::RetrieveAndGenerateStreamResponseOutput
|
2099
|
+
attr_accessor session_id: ::String
|
2001
2100
|
SENSITIVE: []
|
2002
2101
|
end
|
2003
2102
|
|
2004
2103
|
class RetrieveRequest
|
2005
|
-
attr_accessor guardrail_configuration: Types::GuardrailConfiguration
|
2006
2104
|
attr_accessor knowledge_base_id: ::String
|
2007
|
-
attr_accessor next_token: ::String
|
2008
|
-
attr_accessor retrieval_configuration: Types::KnowledgeBaseRetrievalConfiguration
|
2009
2105
|
attr_accessor retrieval_query: Types::KnowledgeBaseQuery
|
2106
|
+
attr_accessor retrieval_configuration: Types::KnowledgeBaseRetrievalConfiguration
|
2107
|
+
attr_accessor guardrail_configuration: Types::GuardrailConfiguration
|
2108
|
+
attr_accessor next_token: ::String
|
2010
2109
|
SENSITIVE: [:retrieval_query]
|
2011
2110
|
end
|
2012
2111
|
|
2013
2112
|
class RetrieveResponse
|
2113
|
+
attr_accessor retrieval_results: ::Array[Types::KnowledgeBaseRetrievalResult]
|
2014
2114
|
attr_accessor guardrail_action: ("INTERVENED" | "NONE")
|
2015
2115
|
attr_accessor next_token: ::String
|
2016
|
-
attr_accessor retrieval_results: ::Array[Types::KnowledgeBaseRetrievalResult]
|
2017
2116
|
SENSITIVE: [:retrieval_results]
|
2018
2117
|
end
|
2019
2118
|
|
@@ -2025,8 +2124,8 @@ module Aws::BedrockAgentRuntime
|
|
2025
2124
|
end
|
2026
2125
|
|
2027
2126
|
class ReturnControlPayload
|
2028
|
-
attr_accessor invocation_id: ::String
|
2029
2127
|
attr_accessor invocation_inputs: ::Array[Types::InvocationInputMember]
|
2128
|
+
attr_accessor invocation_id: ::String
|
2030
2129
|
attr_accessor event_type: untyped
|
2031
2130
|
SENSITIVE: []
|
2032
2131
|
end
|
@@ -2038,28 +2137,28 @@ module Aws::BedrockAgentRuntime
|
|
2038
2137
|
end
|
2039
2138
|
|
2040
2139
|
class RoutingClassifierModelInvocationOutput
|
2041
|
-
attr_accessor metadata: Types::Metadata
|
2042
|
-
attr_accessor raw_response: Types::RawResponse
|
2043
2140
|
attr_accessor trace_id: ::String
|
2044
|
-
|
2141
|
+
attr_accessor raw_response: Types::RawResponse
|
2142
|
+
attr_accessor metadata: Types::Metadata
|
2143
|
+
SENSITIVE: [:raw_response, :metadata]
|
2045
2144
|
end
|
2046
2145
|
|
2047
2146
|
class RoutingClassifierTrace
|
2048
2147
|
attr_accessor invocation_input: Types::InvocationInput
|
2148
|
+
attr_accessor observation: Types::Observation
|
2049
2149
|
attr_accessor model_invocation_input: Types::ModelInvocationInput
|
2050
2150
|
attr_accessor model_invocation_output: Types::RoutingClassifierModelInvocationOutput
|
2051
|
-
attr_accessor observation: Types::Observation
|
2052
2151
|
attr_accessor unknown: untyped
|
2053
|
-
SENSITIVE: [:invocation_input, :
|
2152
|
+
SENSITIVE: [:invocation_input, :observation, :model_invocation_input, :model_invocation_output]
|
2054
2153
|
|
2055
2154
|
class InvocationInput < RoutingClassifierTrace
|
2056
2155
|
end
|
2156
|
+
class Observation < RoutingClassifierTrace
|
2157
|
+
end
|
2057
2158
|
class ModelInvocationInput < RoutingClassifierTrace
|
2058
2159
|
end
|
2059
2160
|
class ModelInvocationOutput < RoutingClassifierTrace
|
2060
2161
|
end
|
2061
|
-
class Observation < RoutingClassifierTrace
|
2062
|
-
end
|
2063
2162
|
class Unknown < RoutingClassifierTrace
|
2064
2163
|
end
|
2065
2164
|
end
|
@@ -2097,35 +2196,35 @@ module Aws::BedrockAgentRuntime
|
|
2097
2196
|
end
|
2098
2197
|
|
2099
2198
|
class SessionState
|
2100
|
-
attr_accessor
|
2101
|
-
attr_accessor files: ::Array[Types::InputFile]
|
2102
|
-
attr_accessor invocation_id: ::String
|
2103
|
-
attr_accessor knowledge_base_configurations: ::Array[Types::KnowledgeBaseConfiguration]
|
2199
|
+
attr_accessor session_attributes: ::Hash[::String, ::String]
|
2104
2200
|
attr_accessor prompt_session_attributes: ::Hash[::String, ::String]
|
2105
2201
|
attr_accessor return_control_invocation_results: ::Array[Types::InvocationResultMember]
|
2106
|
-
attr_accessor
|
2202
|
+
attr_accessor invocation_id: ::String
|
2203
|
+
attr_accessor files: ::Array[Types::InputFile]
|
2204
|
+
attr_accessor knowledge_base_configurations: ::Array[Types::KnowledgeBaseConfiguration]
|
2205
|
+
attr_accessor conversation_history: Types::ConversationHistory
|
2107
2206
|
SENSITIVE: []
|
2108
2207
|
end
|
2109
2208
|
|
2110
2209
|
class SessionSummary
|
2111
|
-
attr_accessor created_at: ::Time
|
2112
|
-
attr_accessor last_updated_at: ::Time
|
2113
|
-
attr_accessor session_arn: ::String
|
2114
2210
|
attr_accessor session_id: ::String
|
2211
|
+
attr_accessor session_arn: ::String
|
2115
2212
|
attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
|
2213
|
+
attr_accessor created_at: ::Time
|
2214
|
+
attr_accessor last_updated_at: ::Time
|
2116
2215
|
SENSITIVE: []
|
2117
2216
|
end
|
2118
2217
|
|
2119
2218
|
class Span
|
2120
|
-
attr_accessor end: ::Integer
|
2121
2219
|
attr_accessor start: ::Integer
|
2220
|
+
attr_accessor end: ::Integer
|
2122
2221
|
SENSITIVE: []
|
2123
2222
|
end
|
2124
2223
|
|
2125
2224
|
class StartFlowExecutionRequest
|
2225
|
+
attr_accessor flow_identifier: ::String
|
2126
2226
|
attr_accessor flow_alias_identifier: ::String
|
2127
2227
|
attr_accessor flow_execution_name: ::String
|
2128
|
-
attr_accessor flow_identifier: ::String
|
2129
2228
|
attr_accessor inputs: ::Array[Types::FlowInput]
|
2130
2229
|
attr_accessor model_performance_configuration: Types::ModelPerformanceConfiguration
|
2131
2230
|
SENSITIVE: []
|
@@ -2137,9 +2236,9 @@ module Aws::BedrockAgentRuntime
|
|
2137
2236
|
end
|
2138
2237
|
|
2139
2238
|
class StopFlowExecutionRequest
|
2140
|
-
attr_accessor execution_identifier: ::String
|
2141
|
-
attr_accessor flow_alias_identifier: ::String
|
2142
2239
|
attr_accessor flow_identifier: ::String
|
2240
|
+
attr_accessor flow_alias_identifier: ::String
|
2241
|
+
attr_accessor execution_identifier: ::String
|
2143
2242
|
SENSITIVE: []
|
2144
2243
|
end
|
2145
2244
|
|
@@ -2150,8 +2249,8 @@ module Aws::BedrockAgentRuntime
|
|
2150
2249
|
end
|
2151
2250
|
|
2152
2251
|
class StreamingConfigurations
|
2153
|
-
attr_accessor apply_guardrail_interval: ::Integer
|
2154
2252
|
attr_accessor stream_final_response: bool
|
2253
|
+
attr_accessor apply_guardrail_interval: ::Integer
|
2155
2254
|
SENSITIVE: []
|
2156
2255
|
end
|
2157
2256
|
|
@@ -2165,10 +2264,10 @@ module Aws::BedrockAgentRuntime
|
|
2165
2264
|
end
|
2166
2265
|
|
2167
2266
|
class TextInferenceConfig
|
2168
|
-
attr_accessor max_tokens: ::Integer
|
2169
|
-
attr_accessor stop_sequences: ::Array[::String]
|
2170
2267
|
attr_accessor temperature: ::Float
|
2171
2268
|
attr_accessor top_p: ::Float
|
2269
|
+
attr_accessor max_tokens: ::Integer
|
2270
|
+
attr_accessor stop_sequences: ::Array[::String]
|
2172
2271
|
SENSITIVE: []
|
2173
2272
|
end
|
2174
2273
|
|
@@ -2178,14 +2277,14 @@ module Aws::BedrockAgentRuntime
|
|
2178
2277
|
end
|
2179
2278
|
|
2180
2279
|
class TextResponsePart
|
2181
|
-
attr_accessor span: Types::Span
|
2182
2280
|
attr_accessor text: ::String
|
2281
|
+
attr_accessor span: Types::Span
|
2183
2282
|
SENSITIVE: []
|
2184
2283
|
end
|
2185
2284
|
|
2186
2285
|
class TextToSqlConfiguration
|
2187
|
-
attr_accessor knowledge_base_configuration: Types::TextToSqlKnowledgeBaseConfiguration
|
2188
2286
|
attr_accessor type: ("KNOWLEDGE_BASE")
|
2287
|
+
attr_accessor knowledge_base_configuration: Types::TextToSqlKnowledgeBaseConfiguration
|
2189
2288
|
SENSITIVE: []
|
2190
2289
|
end
|
2191
2290
|
|
@@ -2201,45 +2300,56 @@ module Aws::BedrockAgentRuntime
|
|
2201
2300
|
end
|
2202
2301
|
|
2203
2302
|
class Trace
|
2204
|
-
attr_accessor custom_orchestration_trace: Types::CustomOrchestrationTrace
|
2205
|
-
attr_accessor failure_trace: Types::FailureTrace
|
2206
2303
|
attr_accessor guardrail_trace: Types::GuardrailTrace
|
2304
|
+
attr_accessor pre_processing_trace: Types::PreProcessingTrace
|
2207
2305
|
attr_accessor orchestration_trace: Types::OrchestrationTrace
|
2208
2306
|
attr_accessor post_processing_trace: Types::PostProcessingTrace
|
2209
|
-
attr_accessor pre_processing_trace: Types::PreProcessingTrace
|
2210
2307
|
attr_accessor routing_classifier_trace: Types::RoutingClassifierTrace
|
2308
|
+
attr_accessor failure_trace: Types::FailureTrace
|
2309
|
+
attr_accessor custom_orchestration_trace: Types::CustomOrchestrationTrace
|
2211
2310
|
attr_accessor unknown: untyped
|
2212
|
-
SENSITIVE: [:
|
2311
|
+
SENSITIVE: [:guardrail_trace, :pre_processing_trace, :orchestration_trace, :post_processing_trace, :routing_classifier_trace, :failure_trace, :custom_orchestration_trace]
|
2213
2312
|
|
2214
|
-
class CustomOrchestrationTrace < Trace
|
2215
|
-
end
|
2216
|
-
class FailureTrace < Trace
|
2217
|
-
end
|
2218
2313
|
class GuardrailTrace < Trace
|
2219
2314
|
end
|
2315
|
+
class PreProcessingTrace < Trace
|
2316
|
+
end
|
2220
2317
|
class OrchestrationTrace < Trace
|
2221
2318
|
end
|
2222
2319
|
class PostProcessingTrace < Trace
|
2223
2320
|
end
|
2224
|
-
class PreProcessingTrace < Trace
|
2225
|
-
end
|
2226
2321
|
class RoutingClassifierTrace < Trace
|
2227
2322
|
end
|
2323
|
+
class FailureTrace < Trace
|
2324
|
+
end
|
2325
|
+
class CustomOrchestrationTrace < Trace
|
2326
|
+
end
|
2228
2327
|
class Unknown < Trace
|
2229
2328
|
end
|
2230
2329
|
end
|
2231
2330
|
|
2331
|
+
class TraceElements
|
2332
|
+
attr_accessor agent_traces: ::Array[Types::TracePart]
|
2333
|
+
attr_accessor unknown: untyped
|
2334
|
+
SENSITIVE: []
|
2335
|
+
|
2336
|
+
class AgentTraces < TraceElements
|
2337
|
+
end
|
2338
|
+
class Unknown < TraceElements
|
2339
|
+
end
|
2340
|
+
end
|
2341
|
+
|
2232
2342
|
class TracePart
|
2233
|
-
attr_accessor agent_alias_id: ::String
|
2234
|
-
attr_accessor agent_id: ::String
|
2235
|
-
attr_accessor agent_version: ::String
|
2236
|
-
attr_accessor caller_chain: ::Array[Types::Caller]
|
2237
|
-
attr_accessor collaborator_name: ::String
|
2238
|
-
attr_accessor event_time: ::Time
|
2239
2343
|
attr_accessor session_id: ::String
|
2240
2344
|
attr_accessor trace: Types::Trace
|
2345
|
+
attr_accessor caller_chain: ::Array[Types::Caller]
|
2346
|
+
attr_accessor event_time: ::Time
|
2347
|
+
attr_accessor collaborator_name: ::String
|
2348
|
+
attr_accessor agent_id: ::String
|
2349
|
+
attr_accessor agent_alias_id: ::String
|
2350
|
+
attr_accessor agent_version: ::String
|
2241
2351
|
attr_accessor event_type: untyped
|
2242
|
-
SENSITIVE: [:
|
2352
|
+
SENSITIVE: [:trace, :collaborator_name]
|
2243
2353
|
end
|
2244
2354
|
|
2245
2355
|
class TransformationConfiguration
|
@@ -2258,17 +2368,17 @@ module Aws::BedrockAgentRuntime
|
|
2258
2368
|
end
|
2259
2369
|
|
2260
2370
|
class UpdateSessionRequest
|
2261
|
-
attr_accessor session_identifier: ::String
|
2262
2371
|
attr_accessor session_metadata: ::Hash[::String, ::String]
|
2372
|
+
attr_accessor session_identifier: ::String
|
2263
2373
|
SENSITIVE: []
|
2264
2374
|
end
|
2265
2375
|
|
2266
2376
|
class UpdateSessionResponse
|
2267
|
-
attr_accessor created_at: ::Time
|
2268
|
-
attr_accessor last_updated_at: ::Time
|
2269
|
-
attr_accessor session_arn: ::String
|
2270
2377
|
attr_accessor session_id: ::String
|
2378
|
+
attr_accessor session_arn: ::String
|
2271
2379
|
attr_accessor session_status: ("ACTIVE" | "EXPIRED" | "ENDED")
|
2380
|
+
attr_accessor created_at: ::Time
|
2381
|
+
attr_accessor last_updated_at: ::Time
|
2272
2382
|
SENSITIVE: []
|
2273
2383
|
end
|
2274
2384
|
|
@@ -2285,42 +2395,42 @@ module Aws::BedrockAgentRuntime
|
|
2285
2395
|
end
|
2286
2396
|
|
2287
2397
|
class VectorSearchBedrockRerankingConfiguration
|
2288
|
-
attr_accessor metadata_configuration: Types::MetadataConfigurationForReranking
|
2289
2398
|
attr_accessor model_configuration: Types::VectorSearchBedrockRerankingModelConfiguration
|
2290
2399
|
attr_accessor number_of_reranked_results: ::Integer
|
2400
|
+
attr_accessor metadata_configuration: Types::MetadataConfigurationForReranking
|
2291
2401
|
SENSITIVE: []
|
2292
2402
|
end
|
2293
2403
|
|
2294
2404
|
class VectorSearchBedrockRerankingModelConfiguration
|
2295
|
-
attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
|
2296
2405
|
attr_accessor model_arn: ::String
|
2406
|
+
attr_accessor additional_model_request_fields: ::Hash[::String, untyped]
|
2297
2407
|
SENSITIVE: []
|
2298
2408
|
end
|
2299
2409
|
|
2300
2410
|
class VectorSearchRerankingConfiguration
|
2301
|
-
attr_accessor bedrock_reranking_configuration: Types::VectorSearchBedrockRerankingConfiguration
|
2302
2411
|
attr_accessor type: ("BEDROCK_RERANKING_MODEL")
|
2412
|
+
attr_accessor bedrock_reranking_configuration: Types::VectorSearchBedrockRerankingConfiguration
|
2303
2413
|
SENSITIVE: []
|
2304
2414
|
end
|
2305
2415
|
|
2306
2416
|
class FlowResponseStream < Enumerator[untyped, untyped]
|
2307
|
-
def event_types: () -> [:
|
2417
|
+
def event_types: () -> [:flow_output_event, :flow_completion_event, :flow_trace_event, :internal_server_exception, :validation_exception, :resource_not_found_exception, :service_quota_exceeded_exception, :throttling_exception, :access_denied_exception, :conflict_exception, :dependency_failed_exception, :bad_gateway_exception, :flow_multi_turn_input_request_event]
|
2308
2418
|
end
|
2309
2419
|
|
2310
2420
|
class InlineAgentResponseStream < Enumerator[untyped, untyped]
|
2311
|
-
def event_types: () -> [:
|
2421
|
+
def event_types: () -> [:chunk, :trace, :return_control, :internal_server_exception, :validation_exception, :resource_not_found_exception, :service_quota_exceeded_exception, :throttling_exception, :access_denied_exception, :conflict_exception, :dependency_failed_exception, :bad_gateway_exception, :files]
|
2312
2422
|
end
|
2313
2423
|
|
2314
2424
|
class OptimizedPromptStream < Enumerator[untyped, untyped]
|
2315
|
-
def event_types: () -> [:
|
2425
|
+
def event_types: () -> [:optimized_prompt_event, :analyze_prompt_event, :internal_server_exception, :throttling_exception, :validation_exception, :dependency_failed_exception, :access_denied_exception, :bad_gateway_exception]
|
2316
2426
|
end
|
2317
2427
|
|
2318
2428
|
class ResponseStream < Enumerator[untyped, untyped]
|
2319
|
-
def event_types: () -> [:
|
2429
|
+
def event_types: () -> [:chunk, :trace, :return_control, :internal_server_exception, :validation_exception, :resource_not_found_exception, :service_quota_exceeded_exception, :throttling_exception, :access_denied_exception, :conflict_exception, :dependency_failed_exception, :bad_gateway_exception, :model_not_ready_exception, :files]
|
2320
2430
|
end
|
2321
2431
|
|
2322
2432
|
class RetrieveAndGenerateStreamResponseOutput < Enumerator[untyped, untyped]
|
2323
|
-
def event_types: () -> [:
|
2433
|
+
def event_types: () -> [:output, :citation, :guardrail, :internal_server_exception, :validation_exception, :resource_not_found_exception, :service_quota_exceeded_exception, :throttling_exception, :access_denied_exception, :conflict_exception, :dependency_failed_exception, :bad_gateway_exception]
|
2324
2434
|
end
|
2325
2435
|
end
|
2326
2436
|
end
|