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