aws-sdk-bedrockagentcore 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-bedrockagentcore/client.rb +2384 -0
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +1146 -0
- data/lib/aws-sdk-bedrockagentcore/customizations.rb +0 -0
- data/lib/aws-sdk-bedrockagentcore/endpoint_parameters.rb +69 -0
- data/lib/aws-sdk-bedrockagentcore/endpoint_provider.rb +50 -0
- data/lib/aws-sdk-bedrockagentcore/endpoints.rb +20 -0
- data/lib/aws-sdk-bedrockagentcore/errors.rb +240 -0
- data/lib/aws-sdk-bedrockagentcore/event_streams.rb +84 -0
- data/lib/aws-sdk-bedrockagentcore/plugins/endpoints.rb +77 -0
- data/lib/aws-sdk-bedrockagentcore/resource.rb +26 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +2482 -0
- data/lib/aws-sdk-bedrockagentcore/waiters.rb +15 -0
- data/lib/aws-sdk-bedrockagentcore.rb +63 -0
- data/sig/client.rbs +515 -0
- data/sig/errors.rbs +54 -0
- data/sig/resource.rbs +87 -0
- data/sig/types.rbs +701 -0
- data/sig/waiters.rbs +13 -0
- metadata +98 -0
data/sig/types.rbs
ADDED
@@ -0,0 +1,701 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::BedrockAgentCore
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
attr_accessor event_type: untyped
|
14
|
+
SENSITIVE: []
|
15
|
+
end
|
16
|
+
|
17
|
+
class ActorSummary
|
18
|
+
attr_accessor actor_id: ::String
|
19
|
+
SENSITIVE: []
|
20
|
+
end
|
21
|
+
|
22
|
+
class AutomationStream
|
23
|
+
attr_accessor stream_endpoint: ::String
|
24
|
+
attr_accessor stream_status: ("ENABLED" | "DISABLED")
|
25
|
+
SENSITIVE: []
|
26
|
+
end
|
27
|
+
|
28
|
+
class AutomationStreamUpdate
|
29
|
+
attr_accessor stream_status: ("ENABLED" | "DISABLED")
|
30
|
+
SENSITIVE: []
|
31
|
+
end
|
32
|
+
|
33
|
+
class Branch
|
34
|
+
attr_accessor root_event_id: ::String
|
35
|
+
attr_accessor name: ::String
|
36
|
+
SENSITIVE: []
|
37
|
+
end
|
38
|
+
|
39
|
+
class BranchFilter
|
40
|
+
attr_accessor name: ::String
|
41
|
+
attr_accessor include_parent_branches: bool
|
42
|
+
SENSITIVE: []
|
43
|
+
end
|
44
|
+
|
45
|
+
class BrowserSessionStream
|
46
|
+
attr_accessor automation_stream: Types::AutomationStream
|
47
|
+
attr_accessor live_view_stream: Types::LiveViewStream
|
48
|
+
SENSITIVE: []
|
49
|
+
end
|
50
|
+
|
51
|
+
class BrowserSessionSummary
|
52
|
+
attr_accessor browser_identifier: ::String
|
53
|
+
attr_accessor session_id: ::String
|
54
|
+
attr_accessor name: ::String
|
55
|
+
attr_accessor status: ("READY" | "TERMINATED")
|
56
|
+
attr_accessor created_at: ::Time
|
57
|
+
attr_accessor last_updated_at: ::Time
|
58
|
+
SENSITIVE: []
|
59
|
+
end
|
60
|
+
|
61
|
+
class CodeInterpreterResult
|
62
|
+
attr_accessor content: ::Array[Types::ContentBlock]
|
63
|
+
attr_accessor structured_content: Types::ToolResultStructuredContent
|
64
|
+
attr_accessor is_error: bool
|
65
|
+
attr_accessor event_type: untyped
|
66
|
+
SENSITIVE: []
|
67
|
+
end
|
68
|
+
|
69
|
+
class CodeInterpreterSessionSummary
|
70
|
+
attr_accessor code_interpreter_identifier: ::String
|
71
|
+
attr_accessor session_id: ::String
|
72
|
+
attr_accessor name: ::String
|
73
|
+
attr_accessor status: ("READY" | "TERMINATED")
|
74
|
+
attr_accessor created_at: ::Time
|
75
|
+
attr_accessor last_updated_at: ::Time
|
76
|
+
SENSITIVE: []
|
77
|
+
end
|
78
|
+
|
79
|
+
class ConflictException
|
80
|
+
attr_accessor message: ::String
|
81
|
+
attr_accessor event_type: untyped
|
82
|
+
SENSITIVE: []
|
83
|
+
end
|
84
|
+
|
85
|
+
class Content
|
86
|
+
attr_accessor text: ::String
|
87
|
+
attr_accessor unknown: untyped
|
88
|
+
SENSITIVE: [:text]
|
89
|
+
|
90
|
+
class Text < Content
|
91
|
+
end
|
92
|
+
class Unknown < Content
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
class ContentBlock
|
97
|
+
attr_accessor type: ("text" | "image" | "resource" | "resource_link")
|
98
|
+
attr_accessor text: ::String
|
99
|
+
attr_accessor data: ::String
|
100
|
+
attr_accessor mime_type: ::String
|
101
|
+
attr_accessor uri: ::String
|
102
|
+
attr_accessor name: ::String
|
103
|
+
attr_accessor description: ::String
|
104
|
+
attr_accessor size: ::Integer
|
105
|
+
attr_accessor resource: Types::ResourceContent
|
106
|
+
SENSITIVE: []
|
107
|
+
end
|
108
|
+
|
109
|
+
class Conversational
|
110
|
+
attr_accessor content: Types::Content
|
111
|
+
attr_accessor role: ("ASSISTANT" | "USER" | "TOOL" | "OTHER")
|
112
|
+
SENSITIVE: []
|
113
|
+
end
|
114
|
+
|
115
|
+
class CreateEventInput
|
116
|
+
attr_accessor memory_id: ::String
|
117
|
+
attr_accessor actor_id: ::String
|
118
|
+
attr_accessor session_id: ::String
|
119
|
+
attr_accessor event_timestamp: ::Time
|
120
|
+
attr_accessor payload: ::Array[Types::PayloadType]
|
121
|
+
attr_accessor branch: Types::Branch
|
122
|
+
attr_accessor client_token: ::String
|
123
|
+
SENSITIVE: []
|
124
|
+
end
|
125
|
+
|
126
|
+
class CreateEventOutput
|
127
|
+
attr_accessor event: Types::Event
|
128
|
+
SENSITIVE: []
|
129
|
+
end
|
130
|
+
|
131
|
+
class DeleteEventInput
|
132
|
+
attr_accessor memory_id: ::String
|
133
|
+
attr_accessor session_id: ::String
|
134
|
+
attr_accessor event_id: ::String
|
135
|
+
attr_accessor actor_id: ::String
|
136
|
+
SENSITIVE: []
|
137
|
+
end
|
138
|
+
|
139
|
+
class DeleteEventOutput
|
140
|
+
attr_accessor event_id: ::String
|
141
|
+
SENSITIVE: []
|
142
|
+
end
|
143
|
+
|
144
|
+
class DeleteMemoryRecordInput
|
145
|
+
attr_accessor memory_id: ::String
|
146
|
+
attr_accessor memory_record_id: ::String
|
147
|
+
SENSITIVE: []
|
148
|
+
end
|
149
|
+
|
150
|
+
class DeleteMemoryRecordOutput
|
151
|
+
attr_accessor memory_record_id: ::String
|
152
|
+
SENSITIVE: []
|
153
|
+
end
|
154
|
+
|
155
|
+
class Event
|
156
|
+
attr_accessor memory_id: ::String
|
157
|
+
attr_accessor actor_id: ::String
|
158
|
+
attr_accessor session_id: ::String
|
159
|
+
attr_accessor event_id: ::String
|
160
|
+
attr_accessor event_timestamp: ::Time
|
161
|
+
attr_accessor payload: ::Array[Types::PayloadType]
|
162
|
+
attr_accessor branch: Types::Branch
|
163
|
+
SENSITIVE: []
|
164
|
+
end
|
165
|
+
|
166
|
+
class FilterInput
|
167
|
+
attr_accessor branch: Types::BranchFilter
|
168
|
+
SENSITIVE: []
|
169
|
+
end
|
170
|
+
|
171
|
+
class GetBrowserSessionRequest
|
172
|
+
attr_accessor browser_identifier: ::String
|
173
|
+
attr_accessor session_id: ::String
|
174
|
+
SENSITIVE: []
|
175
|
+
end
|
176
|
+
|
177
|
+
class GetBrowserSessionResponse
|
178
|
+
attr_accessor browser_identifier: ::String
|
179
|
+
attr_accessor session_id: ::String
|
180
|
+
attr_accessor name: ::String
|
181
|
+
attr_accessor created_at: ::Time
|
182
|
+
attr_accessor view_port: Types::ViewPort
|
183
|
+
attr_accessor session_timeout_seconds: ::Integer
|
184
|
+
attr_accessor status: ("READY" | "TERMINATED")
|
185
|
+
attr_accessor streams: Types::BrowserSessionStream
|
186
|
+
attr_accessor session_replay_artifact: ::String
|
187
|
+
attr_accessor last_updated_at: ::Time
|
188
|
+
SENSITIVE: []
|
189
|
+
end
|
190
|
+
|
191
|
+
class GetCodeInterpreterSessionRequest
|
192
|
+
attr_accessor code_interpreter_identifier: ::String
|
193
|
+
attr_accessor session_id: ::String
|
194
|
+
SENSITIVE: []
|
195
|
+
end
|
196
|
+
|
197
|
+
class GetCodeInterpreterSessionResponse
|
198
|
+
attr_accessor code_interpreter_identifier: ::String
|
199
|
+
attr_accessor session_id: ::String
|
200
|
+
attr_accessor name: ::String
|
201
|
+
attr_accessor created_at: ::Time
|
202
|
+
attr_accessor session_timeout_seconds: ::Integer
|
203
|
+
attr_accessor status: ("READY" | "TERMINATED")
|
204
|
+
SENSITIVE: []
|
205
|
+
end
|
206
|
+
|
207
|
+
class GetEventInput
|
208
|
+
attr_accessor memory_id: ::String
|
209
|
+
attr_accessor session_id: ::String
|
210
|
+
attr_accessor actor_id: ::String
|
211
|
+
attr_accessor event_id: ::String
|
212
|
+
SENSITIVE: []
|
213
|
+
end
|
214
|
+
|
215
|
+
class GetEventOutput
|
216
|
+
attr_accessor event: Types::Event
|
217
|
+
SENSITIVE: []
|
218
|
+
end
|
219
|
+
|
220
|
+
class GetMemoryRecordInput
|
221
|
+
attr_accessor memory_id: ::String
|
222
|
+
attr_accessor memory_record_id: ::String
|
223
|
+
SENSITIVE: []
|
224
|
+
end
|
225
|
+
|
226
|
+
class GetMemoryRecordOutput
|
227
|
+
attr_accessor memory_record: Types::MemoryRecord
|
228
|
+
SENSITIVE: []
|
229
|
+
end
|
230
|
+
|
231
|
+
class GetResourceApiKeyRequest
|
232
|
+
attr_accessor workload_identity_token: ::String
|
233
|
+
attr_accessor resource_credential_provider_name: ::String
|
234
|
+
SENSITIVE: [:workload_identity_token]
|
235
|
+
end
|
236
|
+
|
237
|
+
class GetResourceApiKeyResponse
|
238
|
+
attr_accessor api_key: ::String
|
239
|
+
SENSITIVE: [:api_key]
|
240
|
+
end
|
241
|
+
|
242
|
+
class GetResourceOauth2TokenRequest
|
243
|
+
attr_accessor workload_identity_token: ::String
|
244
|
+
attr_accessor user_id: ::String
|
245
|
+
attr_accessor resource_credential_provider_name: ::String
|
246
|
+
attr_accessor scopes: ::Array[::String]
|
247
|
+
attr_accessor oauth2_flow: ("USER_FEDERATION" | "M2M")
|
248
|
+
attr_accessor resource_oauth_2_return_url: ::String
|
249
|
+
attr_accessor force_authentication: bool
|
250
|
+
attr_accessor custom_parameters: ::Hash[::String, ::String]
|
251
|
+
SENSITIVE: [:workload_identity_token]
|
252
|
+
end
|
253
|
+
|
254
|
+
class GetResourceOauth2TokenResponse
|
255
|
+
attr_accessor authorization_url: ::String
|
256
|
+
attr_accessor access_token: ::String
|
257
|
+
SENSITIVE: [:access_token]
|
258
|
+
end
|
259
|
+
|
260
|
+
class GetWorkloadAccessTokenForJWTRequest
|
261
|
+
attr_accessor workload_name: ::String
|
262
|
+
attr_accessor user_token: ::String
|
263
|
+
SENSITIVE: [:user_token]
|
264
|
+
end
|
265
|
+
|
266
|
+
class GetWorkloadAccessTokenForJWTResponse
|
267
|
+
attr_accessor workload_access_token: ::String
|
268
|
+
SENSITIVE: [:workload_access_token]
|
269
|
+
end
|
270
|
+
|
271
|
+
class GetWorkloadAccessTokenForUserIdRequest
|
272
|
+
attr_accessor workload_name: ::String
|
273
|
+
attr_accessor user_id: ::String
|
274
|
+
SENSITIVE: []
|
275
|
+
end
|
276
|
+
|
277
|
+
class GetWorkloadAccessTokenForUserIdResponse
|
278
|
+
attr_accessor workload_access_token: ::String
|
279
|
+
SENSITIVE: [:workload_access_token]
|
280
|
+
end
|
281
|
+
|
282
|
+
class GetWorkloadAccessTokenRequest
|
283
|
+
attr_accessor workload_name: ::String
|
284
|
+
SENSITIVE: []
|
285
|
+
end
|
286
|
+
|
287
|
+
class GetWorkloadAccessTokenResponse
|
288
|
+
attr_accessor workload_access_token: ::String
|
289
|
+
SENSITIVE: [:workload_access_token]
|
290
|
+
end
|
291
|
+
|
292
|
+
class InputContentBlock
|
293
|
+
attr_accessor path: ::String
|
294
|
+
attr_accessor text: ::String
|
295
|
+
attr_accessor blob: ::String
|
296
|
+
SENSITIVE: [:blob]
|
297
|
+
end
|
298
|
+
|
299
|
+
class InternalServerException
|
300
|
+
attr_accessor message: ::String
|
301
|
+
attr_accessor event_type: untyped
|
302
|
+
SENSITIVE: []
|
303
|
+
end
|
304
|
+
|
305
|
+
class InvalidInputException
|
306
|
+
attr_accessor message: ::String
|
307
|
+
SENSITIVE: []
|
308
|
+
end
|
309
|
+
|
310
|
+
class InvokeAgentRuntimeRequest
|
311
|
+
attr_accessor content_type: ::String
|
312
|
+
attr_accessor accept: ::String
|
313
|
+
attr_accessor mcp_session_id: ::String
|
314
|
+
attr_accessor runtime_session_id: ::String
|
315
|
+
attr_accessor mcp_protocol_version: ::String
|
316
|
+
attr_accessor runtime_user_id: ::String
|
317
|
+
attr_accessor trace_id: ::String
|
318
|
+
attr_accessor trace_parent: ::String
|
319
|
+
attr_accessor trace_state: ::String
|
320
|
+
attr_accessor baggage: ::String
|
321
|
+
attr_accessor agent_runtime_arn: ::String
|
322
|
+
attr_accessor qualifier: ::String
|
323
|
+
attr_accessor payload: ::String
|
324
|
+
SENSITIVE: [:payload]
|
325
|
+
end
|
326
|
+
|
327
|
+
class InvokeAgentRuntimeResponse
|
328
|
+
attr_accessor runtime_session_id: ::String
|
329
|
+
attr_accessor mcp_session_id: ::String
|
330
|
+
attr_accessor mcp_protocol_version: ::String
|
331
|
+
attr_accessor trace_id: ::String
|
332
|
+
attr_accessor trace_parent: ::String
|
333
|
+
attr_accessor trace_state: ::String
|
334
|
+
attr_accessor baggage: ::String
|
335
|
+
attr_accessor content_type: ::String
|
336
|
+
attr_accessor response: ::IO
|
337
|
+
attr_accessor status_code: ::Integer
|
338
|
+
SENSITIVE: [:response]
|
339
|
+
end
|
340
|
+
|
341
|
+
class InvokeCodeInterpreterRequest
|
342
|
+
attr_accessor code_interpreter_identifier: ::String
|
343
|
+
attr_accessor session_id: ::String
|
344
|
+
attr_accessor name: ("executeCode" | "executeCommand" | "readFiles" | "listFiles" | "removeFiles" | "writeFiles" | "startCommandExecution" | "getTask" | "stopTask")
|
345
|
+
attr_accessor arguments: Types::ToolArguments
|
346
|
+
SENSITIVE: []
|
347
|
+
end
|
348
|
+
|
349
|
+
class InvokeCodeInterpreterResponse
|
350
|
+
attr_accessor session_id: ::String
|
351
|
+
attr_accessor stream: Types::CodeInterpreterStreamOutput
|
352
|
+
SENSITIVE: []
|
353
|
+
end
|
354
|
+
|
355
|
+
class ListActorsInput
|
356
|
+
attr_accessor memory_id: ::String
|
357
|
+
attr_accessor max_results: ::Integer
|
358
|
+
attr_accessor next_token: ::String
|
359
|
+
SENSITIVE: []
|
360
|
+
end
|
361
|
+
|
362
|
+
class ListActorsOutput
|
363
|
+
attr_accessor actor_summaries: ::Array[Types::ActorSummary]
|
364
|
+
attr_accessor next_token: ::String
|
365
|
+
SENSITIVE: []
|
366
|
+
end
|
367
|
+
|
368
|
+
class ListBrowserSessionsRequest
|
369
|
+
attr_accessor browser_identifier: ::String
|
370
|
+
attr_accessor max_results: ::Integer
|
371
|
+
attr_accessor next_token: ::String
|
372
|
+
attr_accessor status: ("READY" | "TERMINATED")
|
373
|
+
SENSITIVE: []
|
374
|
+
end
|
375
|
+
|
376
|
+
class ListBrowserSessionsResponse
|
377
|
+
attr_accessor items: ::Array[Types::BrowserSessionSummary]
|
378
|
+
attr_accessor next_token: ::String
|
379
|
+
SENSITIVE: []
|
380
|
+
end
|
381
|
+
|
382
|
+
class ListCodeInterpreterSessionsRequest
|
383
|
+
attr_accessor code_interpreter_identifier: ::String
|
384
|
+
attr_accessor max_results: ::Integer
|
385
|
+
attr_accessor next_token: ::String
|
386
|
+
attr_accessor status: ("READY" | "TERMINATED")
|
387
|
+
SENSITIVE: []
|
388
|
+
end
|
389
|
+
|
390
|
+
class ListCodeInterpreterSessionsResponse
|
391
|
+
attr_accessor items: ::Array[Types::CodeInterpreterSessionSummary]
|
392
|
+
attr_accessor next_token: ::String
|
393
|
+
SENSITIVE: []
|
394
|
+
end
|
395
|
+
|
396
|
+
class ListEventsInput
|
397
|
+
attr_accessor memory_id: ::String
|
398
|
+
attr_accessor session_id: ::String
|
399
|
+
attr_accessor actor_id: ::String
|
400
|
+
attr_accessor include_payloads: bool
|
401
|
+
attr_accessor filter: Types::FilterInput
|
402
|
+
attr_accessor max_results: ::Integer
|
403
|
+
attr_accessor next_token: ::String
|
404
|
+
SENSITIVE: []
|
405
|
+
end
|
406
|
+
|
407
|
+
class ListEventsOutput
|
408
|
+
attr_accessor events: ::Array[Types::Event]
|
409
|
+
attr_accessor next_token: ::String
|
410
|
+
SENSITIVE: []
|
411
|
+
end
|
412
|
+
|
413
|
+
class ListMemoryRecordsInput
|
414
|
+
attr_accessor memory_id: ::String
|
415
|
+
attr_accessor namespace: ::String
|
416
|
+
attr_accessor memory_strategy_id: ::String
|
417
|
+
attr_accessor max_results: ::Integer
|
418
|
+
attr_accessor next_token: ::String
|
419
|
+
SENSITIVE: []
|
420
|
+
end
|
421
|
+
|
422
|
+
class ListMemoryRecordsOutput
|
423
|
+
attr_accessor memory_record_summaries: ::Array[Types::MemoryRecordSummary]
|
424
|
+
attr_accessor next_token: ::String
|
425
|
+
SENSITIVE: []
|
426
|
+
end
|
427
|
+
|
428
|
+
class ListSessionsInput
|
429
|
+
attr_accessor memory_id: ::String
|
430
|
+
attr_accessor actor_id: ::String
|
431
|
+
attr_accessor max_results: ::Integer
|
432
|
+
attr_accessor next_token: ::String
|
433
|
+
SENSITIVE: []
|
434
|
+
end
|
435
|
+
|
436
|
+
class ListSessionsOutput
|
437
|
+
attr_accessor session_summaries: ::Array[Types::SessionSummary]
|
438
|
+
attr_accessor next_token: ::String
|
439
|
+
SENSITIVE: []
|
440
|
+
end
|
441
|
+
|
442
|
+
class LiveViewStream
|
443
|
+
attr_accessor stream_endpoint: ::String
|
444
|
+
SENSITIVE: []
|
445
|
+
end
|
446
|
+
|
447
|
+
class MemoryContent
|
448
|
+
attr_accessor text: ::String
|
449
|
+
attr_accessor unknown: untyped
|
450
|
+
SENSITIVE: [:text]
|
451
|
+
|
452
|
+
class Text < MemoryContent
|
453
|
+
end
|
454
|
+
class Unknown < MemoryContent
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
class MemoryRecord
|
459
|
+
attr_accessor memory_record_id: ::String
|
460
|
+
attr_accessor content: Types::MemoryContent
|
461
|
+
attr_accessor memory_strategy_id: ::String
|
462
|
+
attr_accessor namespaces: ::Array[::String]
|
463
|
+
attr_accessor created_at: ::Time
|
464
|
+
SENSITIVE: []
|
465
|
+
end
|
466
|
+
|
467
|
+
class MemoryRecordSummary
|
468
|
+
attr_accessor memory_record_id: ::String
|
469
|
+
attr_accessor content: Types::MemoryContent
|
470
|
+
attr_accessor memory_strategy_id: ::String
|
471
|
+
attr_accessor namespaces: ::Array[::String]
|
472
|
+
attr_accessor created_at: ::Time
|
473
|
+
attr_accessor score: ::Float
|
474
|
+
SENSITIVE: []
|
475
|
+
end
|
476
|
+
|
477
|
+
class PayloadType
|
478
|
+
attr_accessor conversational: Types::Conversational
|
479
|
+
attr_accessor blob: untyped
|
480
|
+
attr_accessor unknown: untyped
|
481
|
+
SENSITIVE: []
|
482
|
+
|
483
|
+
class Conversational < PayloadType
|
484
|
+
end
|
485
|
+
class Blob < PayloadType
|
486
|
+
end
|
487
|
+
class Unknown < PayloadType
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
class ResourceContent
|
492
|
+
attr_accessor type: ("text" | "blob")
|
493
|
+
attr_accessor uri: ::String
|
494
|
+
attr_accessor mime_type: ::String
|
495
|
+
attr_accessor text: ::String
|
496
|
+
attr_accessor blob: ::String
|
497
|
+
SENSITIVE: []
|
498
|
+
end
|
499
|
+
|
500
|
+
class ResourceNotFoundException
|
501
|
+
attr_accessor message: ::String
|
502
|
+
attr_accessor event_type: untyped
|
503
|
+
SENSITIVE: []
|
504
|
+
end
|
505
|
+
|
506
|
+
class RetrieveMemoryRecordsInput
|
507
|
+
attr_accessor memory_id: ::String
|
508
|
+
attr_accessor namespace: ::String
|
509
|
+
attr_accessor search_criteria: Types::SearchCriteria
|
510
|
+
attr_accessor next_token: ::String
|
511
|
+
attr_accessor max_results: ::Integer
|
512
|
+
SENSITIVE: []
|
513
|
+
end
|
514
|
+
|
515
|
+
class RetrieveMemoryRecordsOutput
|
516
|
+
attr_accessor memory_record_summaries: ::Array[Types::MemoryRecordSummary]
|
517
|
+
attr_accessor next_token: ::String
|
518
|
+
SENSITIVE: []
|
519
|
+
end
|
520
|
+
|
521
|
+
class RuntimeClientError
|
522
|
+
attr_accessor message: ::String
|
523
|
+
SENSITIVE: []
|
524
|
+
end
|
525
|
+
|
526
|
+
class SearchCriteria
|
527
|
+
attr_accessor search_query: ::String
|
528
|
+
attr_accessor memory_strategy_id: ::String
|
529
|
+
attr_accessor top_k: ::Integer
|
530
|
+
SENSITIVE: [:search_query]
|
531
|
+
end
|
532
|
+
|
533
|
+
class ServiceException
|
534
|
+
attr_accessor message: ::String
|
535
|
+
SENSITIVE: []
|
536
|
+
end
|
537
|
+
|
538
|
+
class ServiceQuotaExceededException
|
539
|
+
attr_accessor message: ::String
|
540
|
+
attr_accessor event_type: untyped
|
541
|
+
SENSITIVE: []
|
542
|
+
end
|
543
|
+
|
544
|
+
class SessionSummary
|
545
|
+
attr_accessor session_id: ::String
|
546
|
+
attr_accessor actor_id: ::String
|
547
|
+
attr_accessor created_at: ::Time
|
548
|
+
SENSITIVE: []
|
549
|
+
end
|
550
|
+
|
551
|
+
class StartBrowserSessionRequest
|
552
|
+
attr_accessor browser_identifier: ::String
|
553
|
+
attr_accessor name: ::String
|
554
|
+
attr_accessor session_timeout_seconds: ::Integer
|
555
|
+
attr_accessor view_port: Types::ViewPort
|
556
|
+
attr_accessor client_token: ::String
|
557
|
+
SENSITIVE: []
|
558
|
+
end
|
559
|
+
|
560
|
+
class StartBrowserSessionResponse
|
561
|
+
attr_accessor browser_identifier: ::String
|
562
|
+
attr_accessor session_id: ::String
|
563
|
+
attr_accessor created_at: ::Time
|
564
|
+
attr_accessor streams: Types::BrowserSessionStream
|
565
|
+
SENSITIVE: []
|
566
|
+
end
|
567
|
+
|
568
|
+
class StartCodeInterpreterSessionRequest
|
569
|
+
attr_accessor code_interpreter_identifier: ::String
|
570
|
+
attr_accessor name: ::String
|
571
|
+
attr_accessor session_timeout_seconds: ::Integer
|
572
|
+
attr_accessor client_token: ::String
|
573
|
+
SENSITIVE: []
|
574
|
+
end
|
575
|
+
|
576
|
+
class StartCodeInterpreterSessionResponse
|
577
|
+
attr_accessor code_interpreter_identifier: ::String
|
578
|
+
attr_accessor session_id: ::String
|
579
|
+
attr_accessor created_at: ::Time
|
580
|
+
SENSITIVE: []
|
581
|
+
end
|
582
|
+
|
583
|
+
class StopBrowserSessionRequest
|
584
|
+
attr_accessor browser_identifier: ::String
|
585
|
+
attr_accessor session_id: ::String
|
586
|
+
attr_accessor client_token: ::String
|
587
|
+
SENSITIVE: []
|
588
|
+
end
|
589
|
+
|
590
|
+
class StopBrowserSessionResponse
|
591
|
+
attr_accessor browser_identifier: ::String
|
592
|
+
attr_accessor session_id: ::String
|
593
|
+
attr_accessor last_updated_at: ::Time
|
594
|
+
SENSITIVE: []
|
595
|
+
end
|
596
|
+
|
597
|
+
class StopCodeInterpreterSessionRequest
|
598
|
+
attr_accessor code_interpreter_identifier: ::String
|
599
|
+
attr_accessor session_id: ::String
|
600
|
+
attr_accessor client_token: ::String
|
601
|
+
SENSITIVE: []
|
602
|
+
end
|
603
|
+
|
604
|
+
class StopCodeInterpreterSessionResponse
|
605
|
+
attr_accessor code_interpreter_identifier: ::String
|
606
|
+
attr_accessor session_id: ::String
|
607
|
+
attr_accessor last_updated_at: ::Time
|
608
|
+
SENSITIVE: []
|
609
|
+
end
|
610
|
+
|
611
|
+
class StreamUpdate
|
612
|
+
attr_accessor automation_stream_update: Types::AutomationStreamUpdate
|
613
|
+
attr_accessor unknown: untyped
|
614
|
+
SENSITIVE: []
|
615
|
+
|
616
|
+
class AutomationStreamUpdate < StreamUpdate
|
617
|
+
end
|
618
|
+
class Unknown < StreamUpdate
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
622
|
+
class ThrottledException
|
623
|
+
attr_accessor message: ::String
|
624
|
+
SENSITIVE: []
|
625
|
+
end
|
626
|
+
|
627
|
+
class ThrottlingException
|
628
|
+
attr_accessor message: ::String
|
629
|
+
attr_accessor event_type: untyped
|
630
|
+
SENSITIVE: []
|
631
|
+
end
|
632
|
+
|
633
|
+
class ToolArguments
|
634
|
+
attr_accessor code: ::String
|
635
|
+
attr_accessor language: ("python" | "javascript" | "typescript")
|
636
|
+
attr_accessor clear_context: bool
|
637
|
+
attr_accessor command: ::String
|
638
|
+
attr_accessor path: ::String
|
639
|
+
attr_accessor paths: ::Array[::String]
|
640
|
+
attr_accessor content: ::Array[Types::InputContentBlock]
|
641
|
+
attr_accessor directory_path: ::String
|
642
|
+
attr_accessor task_id: ::String
|
643
|
+
SENSITIVE: []
|
644
|
+
end
|
645
|
+
|
646
|
+
class ToolResultStructuredContent
|
647
|
+
attr_accessor task_id: ::String
|
648
|
+
attr_accessor task_status: ("submitted" | "working" | "completed" | "canceled" | "failed")
|
649
|
+
attr_accessor stdout: ::String
|
650
|
+
attr_accessor stderr: ::String
|
651
|
+
attr_accessor exit_code: ::Integer
|
652
|
+
attr_accessor execution_time: ::Float
|
653
|
+
SENSITIVE: []
|
654
|
+
end
|
655
|
+
|
656
|
+
class UnauthorizedException
|
657
|
+
attr_accessor message: ::String
|
658
|
+
SENSITIVE: []
|
659
|
+
end
|
660
|
+
|
661
|
+
class UpdateBrowserStreamRequest
|
662
|
+
attr_accessor browser_identifier: ::String
|
663
|
+
attr_accessor session_id: ::String
|
664
|
+
attr_accessor stream_update: Types::StreamUpdate
|
665
|
+
attr_accessor client_token: ::String
|
666
|
+
SENSITIVE: []
|
667
|
+
end
|
668
|
+
|
669
|
+
class UpdateBrowserStreamResponse
|
670
|
+
attr_accessor browser_identifier: ::String
|
671
|
+
attr_accessor session_id: ::String
|
672
|
+
attr_accessor streams: Types::BrowserSessionStream
|
673
|
+
attr_accessor updated_at: ::Time
|
674
|
+
SENSITIVE: []
|
675
|
+
end
|
676
|
+
|
677
|
+
class ValidationException
|
678
|
+
attr_accessor message: ::String
|
679
|
+
attr_accessor reason: ("CannotParse" | "FieldValidationFailed" | "IdempotentParameterMismatchException" | "EventInOtherSession" | "ResourceConflict")
|
680
|
+
attr_accessor field_list: ::Array[Types::ValidationExceptionField]
|
681
|
+
attr_accessor event_type: untyped
|
682
|
+
SENSITIVE: []
|
683
|
+
end
|
684
|
+
|
685
|
+
class ValidationExceptionField
|
686
|
+
attr_accessor name: ::String
|
687
|
+
attr_accessor message: ::String
|
688
|
+
SENSITIVE: []
|
689
|
+
end
|
690
|
+
|
691
|
+
class ViewPort
|
692
|
+
attr_accessor width: ::Integer
|
693
|
+
attr_accessor height: ::Integer
|
694
|
+
SENSITIVE: []
|
695
|
+
end
|
696
|
+
|
697
|
+
class CodeInterpreterStreamOutput < Enumerator[untyped, untyped]
|
698
|
+
def event_types: () -> [:result, :access_denied_exception, :conflict_exception, :internal_server_exception, :resource_not_found_exception, :service_quota_exceeded_exception, :throttling_exception, :validation_exception]
|
699
|
+
end
|
700
|
+
end
|
701
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module BedrockAgentCore
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|