aws-sdk-bedrockagent 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,989 @@
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::BedrockAgent
9
+ module Types
10
+
11
+ class APISchema
12
+ attr_accessor s3: Types::S3Identifier
13
+ attr_accessor payload: ::String
14
+ attr_accessor unknown: untyped
15
+ SENSITIVE: [:payload]
16
+
17
+ class S3 < APISchema
18
+ end
19
+ class Payload < APISchema
20
+ end
21
+ class Unknown < APISchema
22
+ end
23
+ end
24
+
25
+ class AccessDeniedException
26
+ attr_accessor message: ::String
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class ActionGroupExecutor
31
+ attr_accessor lambda: ::String
32
+ attr_accessor unknown: untyped
33
+ SENSITIVE: []
34
+
35
+ class Lambda < ActionGroupExecutor
36
+ end
37
+ class Unknown < ActionGroupExecutor
38
+ end
39
+ end
40
+
41
+ class ActionGroupSummary
42
+ attr_accessor action_group_id: ::String
43
+ attr_accessor action_group_name: ::String
44
+ attr_accessor action_group_state: ("ENABLED" | "DISABLED")
45
+ attr_accessor description: ::String
46
+ attr_accessor updated_at: ::Time
47
+ SENSITIVE: []
48
+ end
49
+
50
+ class Agent
51
+ attr_accessor agent_id: ::String
52
+ attr_accessor agent_name: ::String
53
+ attr_accessor agent_arn: ::String
54
+ attr_accessor agent_version: ::String
55
+ attr_accessor client_token: ::String
56
+ attr_accessor instruction: ::String
57
+ attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
58
+ attr_accessor foundation_model: ::String
59
+ attr_accessor description: ::String
60
+ attr_accessor idle_session_ttl_in_seconds: ::Integer
61
+ attr_accessor agent_resource_role_arn: ::String
62
+ attr_accessor customer_encryption_key_arn: ::String
63
+ attr_accessor created_at: ::Time
64
+ attr_accessor updated_at: ::Time
65
+ attr_accessor prepared_at: ::Time
66
+ attr_accessor failure_reasons: ::Array[::String]
67
+ attr_accessor recommended_actions: ::Array[::String]
68
+ attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
69
+ SENSITIVE: [:instruction, :prompt_override_configuration]
70
+ end
71
+
72
+ class AgentActionGroup
73
+ attr_accessor agent_id: ::String
74
+ attr_accessor agent_version: ::String
75
+ attr_accessor action_group_id: ::String
76
+ attr_accessor action_group_name: ::String
77
+ attr_accessor client_token: ::String
78
+ attr_accessor description: ::String
79
+ attr_accessor created_at: ::Time
80
+ attr_accessor updated_at: ::Time
81
+ attr_accessor parent_action_signature: ("AMAZON.UserInput")
82
+ attr_accessor action_group_executor: Types::ActionGroupExecutor
83
+ attr_accessor api_schema: Types::APISchema
84
+ attr_accessor action_group_state: ("ENABLED" | "DISABLED")
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class AgentAlias
89
+ attr_accessor agent_id: ::String
90
+ attr_accessor agent_alias_id: ::String
91
+ attr_accessor agent_alias_name: ::String
92
+ attr_accessor agent_alias_arn: ::String
93
+ attr_accessor client_token: ::String
94
+ attr_accessor description: ::String
95
+ attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
96
+ attr_accessor created_at: ::Time
97
+ attr_accessor updated_at: ::Time
98
+ attr_accessor agent_alias_history_events: ::Array[Types::AgentAliasHistoryEvent]
99
+ attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
100
+ SENSITIVE: []
101
+ end
102
+
103
+ class AgentAliasHistoryEvent
104
+ attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
105
+ attr_accessor end_date: ::Time
106
+ attr_accessor start_date: ::Time
107
+ SENSITIVE: []
108
+ end
109
+
110
+ class AgentAliasRoutingConfigurationListItem
111
+ attr_accessor agent_version: ::String
112
+ SENSITIVE: []
113
+ end
114
+
115
+ class AgentAliasSummary
116
+ attr_accessor agent_alias_id: ::String
117
+ attr_accessor agent_alias_name: ::String
118
+ attr_accessor description: ::String
119
+ attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
120
+ attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
121
+ attr_accessor created_at: ::Time
122
+ attr_accessor updated_at: ::Time
123
+ SENSITIVE: []
124
+ end
125
+
126
+ class AgentKnowledgeBase
127
+ attr_accessor agent_id: ::String
128
+ attr_accessor agent_version: ::String
129
+ attr_accessor knowledge_base_id: ::String
130
+ attr_accessor description: ::String
131
+ attr_accessor created_at: ::Time
132
+ attr_accessor updated_at: ::Time
133
+ attr_accessor knowledge_base_state: ("ENABLED" | "DISABLED")
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class AgentKnowledgeBaseSummary
138
+ attr_accessor knowledge_base_id: ::String
139
+ attr_accessor description: ::String
140
+ attr_accessor knowledge_base_state: ("ENABLED" | "DISABLED")
141
+ attr_accessor updated_at: ::Time
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class AgentSummary
146
+ attr_accessor agent_id: ::String
147
+ attr_accessor agent_name: ::String
148
+ attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
149
+ attr_accessor description: ::String
150
+ attr_accessor updated_at: ::Time
151
+ attr_accessor latest_agent_version: ::String
152
+ SENSITIVE: []
153
+ end
154
+
155
+ class AgentVersion
156
+ attr_accessor agent_id: ::String
157
+ attr_accessor agent_name: ::String
158
+ attr_accessor agent_arn: ::String
159
+ attr_accessor version: ::String
160
+ attr_accessor instruction: ::String
161
+ attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
162
+ attr_accessor foundation_model: ::String
163
+ attr_accessor description: ::String
164
+ attr_accessor idle_session_ttl_in_seconds: ::Integer
165
+ attr_accessor agent_resource_role_arn: ::String
166
+ attr_accessor customer_encryption_key_arn: ::String
167
+ attr_accessor created_at: ::Time
168
+ attr_accessor updated_at: ::Time
169
+ attr_accessor failure_reasons: ::Array[::String]
170
+ attr_accessor recommended_actions: ::Array[::String]
171
+ attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
172
+ SENSITIVE: [:instruction, :prompt_override_configuration]
173
+ end
174
+
175
+ class AgentVersionSummary
176
+ attr_accessor agent_name: ::String
177
+ attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
178
+ attr_accessor agent_version: ::String
179
+ attr_accessor created_at: ::Time
180
+ attr_accessor updated_at: ::Time
181
+ attr_accessor description: ::String
182
+ SENSITIVE: []
183
+ end
184
+
185
+ class AssociateAgentKnowledgeBaseRequest
186
+ attr_accessor agent_id: ::String
187
+ attr_accessor agent_version: ::String
188
+ attr_accessor knowledge_base_id: ::String
189
+ attr_accessor description: ::String
190
+ attr_accessor knowledge_base_state: ("ENABLED" | "DISABLED")
191
+ SENSITIVE: []
192
+ end
193
+
194
+ class AssociateAgentKnowledgeBaseResponse
195
+ attr_accessor agent_knowledge_base: Types::AgentKnowledgeBase
196
+ SENSITIVE: []
197
+ end
198
+
199
+ class ChunkingConfiguration
200
+ attr_accessor chunking_strategy: ("FIXED_SIZE" | "NONE")
201
+ attr_accessor fixed_size_chunking_configuration: Types::FixedSizeChunkingConfiguration
202
+ SENSITIVE: []
203
+ end
204
+
205
+ class ConflictException
206
+ attr_accessor message: ::String
207
+ SENSITIVE: []
208
+ end
209
+
210
+ class CreateAgentActionGroupRequest
211
+ attr_accessor agent_id: ::String
212
+ attr_accessor agent_version: ::String
213
+ attr_accessor action_group_name: ::String
214
+ attr_accessor client_token: ::String
215
+ attr_accessor description: ::String
216
+ attr_accessor parent_action_group_signature: ("AMAZON.UserInput")
217
+ attr_accessor action_group_executor: Types::ActionGroupExecutor
218
+ attr_accessor api_schema: Types::APISchema
219
+ attr_accessor action_group_state: ("ENABLED" | "DISABLED")
220
+ SENSITIVE: []
221
+ end
222
+
223
+ class CreateAgentActionGroupResponse
224
+ attr_accessor agent_action_group: Types::AgentActionGroup
225
+ SENSITIVE: []
226
+ end
227
+
228
+ class CreateAgentAliasRequest
229
+ attr_accessor agent_id: ::String
230
+ attr_accessor agent_alias_name: ::String
231
+ attr_accessor client_token: ::String
232
+ attr_accessor description: ::String
233
+ attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
234
+ attr_accessor tags: ::Hash[::String, ::String]
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class CreateAgentAliasResponse
239
+ attr_accessor agent_alias: Types::AgentAlias
240
+ SENSITIVE: []
241
+ end
242
+
243
+ class CreateAgentRequest
244
+ attr_accessor agent_name: ::String
245
+ attr_accessor client_token: ::String
246
+ attr_accessor instruction: ::String
247
+ attr_accessor foundation_model: ::String
248
+ attr_accessor description: ::String
249
+ attr_accessor idle_session_ttl_in_seconds: ::Integer
250
+ attr_accessor agent_resource_role_arn: ::String
251
+ attr_accessor customer_encryption_key_arn: ::String
252
+ attr_accessor tags: ::Hash[::String, ::String]
253
+ attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
254
+ SENSITIVE: [:instruction, :prompt_override_configuration]
255
+ end
256
+
257
+ class CreateAgentResponse
258
+ attr_accessor agent: Types::Agent
259
+ SENSITIVE: []
260
+ end
261
+
262
+ class CreateDataSourceRequest
263
+ attr_accessor knowledge_base_id: ::String
264
+ attr_accessor client_token: ::String
265
+ attr_accessor name: ::String
266
+ attr_accessor description: ::String
267
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
268
+ attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
269
+ attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
270
+ SENSITIVE: []
271
+ end
272
+
273
+ class CreateDataSourceResponse
274
+ attr_accessor data_source: Types::DataSource
275
+ SENSITIVE: []
276
+ end
277
+
278
+ class CreateKnowledgeBaseRequest
279
+ attr_accessor client_token: ::String
280
+ attr_accessor name: ::String
281
+ attr_accessor description: ::String
282
+ attr_accessor role_arn: ::String
283
+ attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
284
+ attr_accessor storage_configuration: Types::StorageConfiguration
285
+ attr_accessor tags: ::Hash[::String, ::String]
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class CreateKnowledgeBaseResponse
290
+ attr_accessor knowledge_base: Types::KnowledgeBase
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class DataSource
295
+ attr_accessor knowledge_base_id: ::String
296
+ attr_accessor data_source_id: ::String
297
+ attr_accessor name: ::String
298
+ attr_accessor status: ("AVAILABLE" | "DELETING")
299
+ attr_accessor description: ::String
300
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
301
+ attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
302
+ attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
303
+ attr_accessor created_at: ::Time
304
+ attr_accessor updated_at: ::Time
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class DataSourceConfiguration
309
+ attr_accessor type: ("S3")
310
+ attr_accessor s3_configuration: Types::S3DataSourceConfiguration
311
+ SENSITIVE: []
312
+ end
313
+
314
+ class DataSourceSummary
315
+ attr_accessor knowledge_base_id: ::String
316
+ attr_accessor data_source_id: ::String
317
+ attr_accessor name: ::String
318
+ attr_accessor status: ("AVAILABLE" | "DELETING")
319
+ attr_accessor description: ::String
320
+ attr_accessor updated_at: ::Time
321
+ SENSITIVE: []
322
+ end
323
+
324
+ class DeleteAgentActionGroupRequest
325
+ attr_accessor agent_id: ::String
326
+ attr_accessor agent_version: ::String
327
+ attr_accessor action_group_id: ::String
328
+ attr_accessor skip_resource_in_use_check: bool
329
+ SENSITIVE: []
330
+ end
331
+
332
+ class DeleteAgentActionGroupResponse < Aws::EmptyStructure
333
+ end
334
+
335
+ class DeleteAgentAliasRequest
336
+ attr_accessor agent_id: ::String
337
+ attr_accessor agent_alias_id: ::String
338
+ SENSITIVE: []
339
+ end
340
+
341
+ class DeleteAgentAliasResponse
342
+ attr_accessor agent_id: ::String
343
+ attr_accessor agent_alias_id: ::String
344
+ attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
345
+ SENSITIVE: []
346
+ end
347
+
348
+ class DeleteAgentRequest
349
+ attr_accessor agent_id: ::String
350
+ attr_accessor skip_resource_in_use_check: bool
351
+ SENSITIVE: []
352
+ end
353
+
354
+ class DeleteAgentResponse
355
+ attr_accessor agent_id: ::String
356
+ attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
357
+ SENSITIVE: []
358
+ end
359
+
360
+ class DeleteAgentVersionRequest
361
+ attr_accessor agent_id: ::String
362
+ attr_accessor agent_version: ::String
363
+ attr_accessor skip_resource_in_use_check: bool
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class DeleteAgentVersionResponse
368
+ attr_accessor agent_id: ::String
369
+ attr_accessor agent_version: ::String
370
+ attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
371
+ SENSITIVE: []
372
+ end
373
+
374
+ class DeleteDataSourceRequest
375
+ attr_accessor knowledge_base_id: ::String
376
+ attr_accessor data_source_id: ::String
377
+ SENSITIVE: []
378
+ end
379
+
380
+ class DeleteDataSourceResponse
381
+ attr_accessor knowledge_base_id: ::String
382
+ attr_accessor data_source_id: ::String
383
+ attr_accessor status: ("AVAILABLE" | "DELETING")
384
+ SENSITIVE: []
385
+ end
386
+
387
+ class DeleteKnowledgeBaseRequest
388
+ attr_accessor knowledge_base_id: ::String
389
+ SENSITIVE: []
390
+ end
391
+
392
+ class DeleteKnowledgeBaseResponse
393
+ attr_accessor knowledge_base_id: ::String
394
+ attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED")
395
+ SENSITIVE: []
396
+ end
397
+
398
+ class DisassociateAgentKnowledgeBaseRequest
399
+ attr_accessor agent_id: ::String
400
+ attr_accessor agent_version: ::String
401
+ attr_accessor knowledge_base_id: ::String
402
+ SENSITIVE: []
403
+ end
404
+
405
+ class DisassociateAgentKnowledgeBaseResponse < Aws::EmptyStructure
406
+ end
407
+
408
+ class FixedSizeChunkingConfiguration
409
+ attr_accessor max_tokens: ::Integer
410
+ attr_accessor overlap_percentage: ::Integer
411
+ SENSITIVE: []
412
+ end
413
+
414
+ class GetAgentActionGroupRequest
415
+ attr_accessor agent_id: ::String
416
+ attr_accessor agent_version: ::String
417
+ attr_accessor action_group_id: ::String
418
+ SENSITIVE: []
419
+ end
420
+
421
+ class GetAgentActionGroupResponse
422
+ attr_accessor agent_action_group: Types::AgentActionGroup
423
+ SENSITIVE: []
424
+ end
425
+
426
+ class GetAgentAliasRequest
427
+ attr_accessor agent_id: ::String
428
+ attr_accessor agent_alias_id: ::String
429
+ SENSITIVE: []
430
+ end
431
+
432
+ class GetAgentAliasResponse
433
+ attr_accessor agent_alias: Types::AgentAlias
434
+ SENSITIVE: []
435
+ end
436
+
437
+ class GetAgentKnowledgeBaseRequest
438
+ attr_accessor agent_id: ::String
439
+ attr_accessor agent_version: ::String
440
+ attr_accessor knowledge_base_id: ::String
441
+ SENSITIVE: []
442
+ end
443
+
444
+ class GetAgentKnowledgeBaseResponse
445
+ attr_accessor agent_knowledge_base: Types::AgentKnowledgeBase
446
+ SENSITIVE: []
447
+ end
448
+
449
+ class GetAgentRequest
450
+ attr_accessor agent_id: ::String
451
+ SENSITIVE: []
452
+ end
453
+
454
+ class GetAgentResponse
455
+ attr_accessor agent: Types::Agent
456
+ SENSITIVE: []
457
+ end
458
+
459
+ class GetAgentVersionRequest
460
+ attr_accessor agent_id: ::String
461
+ attr_accessor agent_version: ::String
462
+ SENSITIVE: []
463
+ end
464
+
465
+ class GetAgentVersionResponse
466
+ attr_accessor agent_version: Types::AgentVersion
467
+ SENSITIVE: []
468
+ end
469
+
470
+ class GetDataSourceRequest
471
+ attr_accessor knowledge_base_id: ::String
472
+ attr_accessor data_source_id: ::String
473
+ SENSITIVE: []
474
+ end
475
+
476
+ class GetDataSourceResponse
477
+ attr_accessor data_source: Types::DataSource
478
+ SENSITIVE: []
479
+ end
480
+
481
+ class GetIngestionJobRequest
482
+ attr_accessor knowledge_base_id: ::String
483
+ attr_accessor data_source_id: ::String
484
+ attr_accessor ingestion_job_id: ::String
485
+ SENSITIVE: []
486
+ end
487
+
488
+ class GetIngestionJobResponse
489
+ attr_accessor ingestion_job: Types::IngestionJob
490
+ SENSITIVE: []
491
+ end
492
+
493
+ class GetKnowledgeBaseRequest
494
+ attr_accessor knowledge_base_id: ::String
495
+ SENSITIVE: []
496
+ end
497
+
498
+ class GetKnowledgeBaseResponse
499
+ attr_accessor knowledge_base: Types::KnowledgeBase
500
+ SENSITIVE: []
501
+ end
502
+
503
+ class InferenceConfiguration
504
+ attr_accessor temperature: ::Float
505
+ attr_accessor top_p: ::Float
506
+ attr_accessor top_k: ::Integer
507
+ attr_accessor maximum_length: ::Integer
508
+ attr_accessor stop_sequences: ::Array[::String]
509
+ SENSITIVE: []
510
+ end
511
+
512
+ class IngestionJob
513
+ attr_accessor knowledge_base_id: ::String
514
+ attr_accessor data_source_id: ::String
515
+ attr_accessor ingestion_job_id: ::String
516
+ attr_accessor description: ::String
517
+ attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED")
518
+ attr_accessor statistics: Types::IngestionJobStatistics
519
+ attr_accessor failure_reasons: ::Array[::String]
520
+ attr_accessor started_at: ::Time
521
+ attr_accessor updated_at: ::Time
522
+ SENSITIVE: []
523
+ end
524
+
525
+ class IngestionJobFilter
526
+ attr_accessor attribute: ("STATUS")
527
+ attr_accessor operator: ("EQ")
528
+ attr_accessor values: ::Array[::String]
529
+ SENSITIVE: []
530
+ end
531
+
532
+ class IngestionJobSortBy
533
+ attr_accessor attribute: ("STATUS" | "STARTED_AT")
534
+ attr_accessor order: ("ASCENDING" | "DESCENDING")
535
+ SENSITIVE: []
536
+ end
537
+
538
+ class IngestionJobStatistics
539
+ attr_accessor number_of_documents_scanned: ::Integer
540
+ attr_accessor number_of_new_documents_indexed: ::Integer
541
+ attr_accessor number_of_modified_documents_indexed: ::Integer
542
+ attr_accessor number_of_documents_deleted: ::Integer
543
+ attr_accessor number_of_documents_failed: ::Integer
544
+ SENSITIVE: []
545
+ end
546
+
547
+ class IngestionJobSummary
548
+ attr_accessor knowledge_base_id: ::String
549
+ attr_accessor data_source_id: ::String
550
+ attr_accessor ingestion_job_id: ::String
551
+ attr_accessor description: ::String
552
+ attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED")
553
+ attr_accessor started_at: ::Time
554
+ attr_accessor updated_at: ::Time
555
+ attr_accessor statistics: Types::IngestionJobStatistics
556
+ SENSITIVE: []
557
+ end
558
+
559
+ class InternalServerException
560
+ attr_accessor message: ::String
561
+ SENSITIVE: []
562
+ end
563
+
564
+ class KnowledgeBase
565
+ attr_accessor knowledge_base_id: ::String
566
+ attr_accessor name: ::String
567
+ attr_accessor knowledge_base_arn: ::String
568
+ attr_accessor description: ::String
569
+ attr_accessor role_arn: ::String
570
+ attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
571
+ attr_accessor storage_configuration: Types::StorageConfiguration
572
+ attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED")
573
+ attr_accessor created_at: ::Time
574
+ attr_accessor updated_at: ::Time
575
+ attr_accessor failure_reasons: ::Array[::String]
576
+ SENSITIVE: []
577
+ end
578
+
579
+ class KnowledgeBaseConfiguration
580
+ attr_accessor type: ("VECTOR")
581
+ attr_accessor vector_knowledge_base_configuration: Types::VectorKnowledgeBaseConfiguration
582
+ SENSITIVE: []
583
+ end
584
+
585
+ class KnowledgeBaseSummary
586
+ attr_accessor knowledge_base_id: ::String
587
+ attr_accessor name: ::String
588
+ attr_accessor description: ::String
589
+ attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED")
590
+ attr_accessor updated_at: ::Time
591
+ SENSITIVE: []
592
+ end
593
+
594
+ class ListAgentActionGroupsRequest
595
+ attr_accessor agent_id: ::String
596
+ attr_accessor agent_version: ::String
597
+ attr_accessor max_results: ::Integer
598
+ attr_accessor next_token: ::String
599
+ SENSITIVE: []
600
+ end
601
+
602
+ class ListAgentActionGroupsResponse
603
+ attr_accessor action_group_summaries: ::Array[Types::ActionGroupSummary]
604
+ attr_accessor next_token: ::String
605
+ SENSITIVE: []
606
+ end
607
+
608
+ class ListAgentAliasesRequest
609
+ attr_accessor agent_id: ::String
610
+ attr_accessor max_results: ::Integer
611
+ attr_accessor next_token: ::String
612
+ SENSITIVE: []
613
+ end
614
+
615
+ class ListAgentAliasesResponse
616
+ attr_accessor agent_alias_summaries: ::Array[Types::AgentAliasSummary]
617
+ attr_accessor next_token: ::String
618
+ SENSITIVE: []
619
+ end
620
+
621
+ class ListAgentKnowledgeBasesRequest
622
+ attr_accessor agent_id: ::String
623
+ attr_accessor agent_version: ::String
624
+ attr_accessor max_results: ::Integer
625
+ attr_accessor next_token: ::String
626
+ SENSITIVE: []
627
+ end
628
+
629
+ class ListAgentKnowledgeBasesResponse
630
+ attr_accessor agent_knowledge_base_summaries: ::Array[Types::AgentKnowledgeBaseSummary]
631
+ attr_accessor next_token: ::String
632
+ SENSITIVE: []
633
+ end
634
+
635
+ class ListAgentVersionsRequest
636
+ attr_accessor agent_id: ::String
637
+ attr_accessor max_results: ::Integer
638
+ attr_accessor next_token: ::String
639
+ SENSITIVE: []
640
+ end
641
+
642
+ class ListAgentVersionsResponse
643
+ attr_accessor agent_version_summaries: ::Array[Types::AgentVersionSummary]
644
+ attr_accessor next_token: ::String
645
+ SENSITIVE: []
646
+ end
647
+
648
+ class ListAgentsRequest
649
+ attr_accessor max_results: ::Integer
650
+ attr_accessor next_token: ::String
651
+ SENSITIVE: []
652
+ end
653
+
654
+ class ListAgentsResponse
655
+ attr_accessor agent_summaries: ::Array[Types::AgentSummary]
656
+ attr_accessor next_token: ::String
657
+ SENSITIVE: []
658
+ end
659
+
660
+ class ListDataSourcesRequest
661
+ attr_accessor knowledge_base_id: ::String
662
+ attr_accessor max_results: ::Integer
663
+ attr_accessor next_token: ::String
664
+ SENSITIVE: []
665
+ end
666
+
667
+ class ListDataSourcesResponse
668
+ attr_accessor data_source_summaries: ::Array[Types::DataSourceSummary]
669
+ attr_accessor next_token: ::String
670
+ SENSITIVE: []
671
+ end
672
+
673
+ class ListIngestionJobsRequest
674
+ attr_accessor knowledge_base_id: ::String
675
+ attr_accessor data_source_id: ::String
676
+ attr_accessor filters: ::Array[Types::IngestionJobFilter]
677
+ attr_accessor sort_by: Types::IngestionJobSortBy
678
+ attr_accessor max_results: ::Integer
679
+ attr_accessor next_token: ::String
680
+ SENSITIVE: []
681
+ end
682
+
683
+ class ListIngestionJobsResponse
684
+ attr_accessor ingestion_job_summaries: ::Array[Types::IngestionJobSummary]
685
+ attr_accessor next_token: ::String
686
+ SENSITIVE: []
687
+ end
688
+
689
+ class ListKnowledgeBasesRequest
690
+ attr_accessor max_results: ::Integer
691
+ attr_accessor next_token: ::String
692
+ SENSITIVE: []
693
+ end
694
+
695
+ class ListKnowledgeBasesResponse
696
+ attr_accessor knowledge_base_summaries: ::Array[Types::KnowledgeBaseSummary]
697
+ attr_accessor next_token: ::String
698
+ SENSITIVE: []
699
+ end
700
+
701
+ class ListTagsForResourceRequest
702
+ attr_accessor resource_arn: ::String
703
+ SENSITIVE: []
704
+ end
705
+
706
+ class ListTagsForResourceResponse
707
+ attr_accessor tags: ::Hash[::String, ::String]
708
+ SENSITIVE: []
709
+ end
710
+
711
+ class OpenSearchServerlessConfiguration
712
+ attr_accessor collection_arn: ::String
713
+ attr_accessor vector_index_name: ::String
714
+ attr_accessor field_mapping: Types::OpenSearchServerlessFieldMapping
715
+ SENSITIVE: []
716
+ end
717
+
718
+ class OpenSearchServerlessFieldMapping
719
+ attr_accessor vector_field: ::String
720
+ attr_accessor text_field: ::String
721
+ attr_accessor metadata_field: ::String
722
+ SENSITIVE: []
723
+ end
724
+
725
+ class PineconeConfiguration
726
+ attr_accessor connection_string: ::String
727
+ attr_accessor credentials_secret_arn: ::String
728
+ attr_accessor namespace: ::String
729
+ attr_accessor field_mapping: Types::PineconeFieldMapping
730
+ SENSITIVE: []
731
+ end
732
+
733
+ class PineconeFieldMapping
734
+ attr_accessor text_field: ::String
735
+ attr_accessor metadata_field: ::String
736
+ SENSITIVE: []
737
+ end
738
+
739
+ class PrepareAgentRequest
740
+ attr_accessor agent_id: ::String
741
+ SENSITIVE: []
742
+ end
743
+
744
+ class PrepareAgentResponse
745
+ attr_accessor agent_id: ::String
746
+ attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
747
+ attr_accessor agent_version: ::String
748
+ attr_accessor prepared_at: ::Time
749
+ SENSITIVE: []
750
+ end
751
+
752
+ class PromptConfiguration
753
+ attr_accessor prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")
754
+ attr_accessor prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")
755
+ attr_accessor prompt_state: ("ENABLED" | "DISABLED")
756
+ attr_accessor base_prompt_template: ::String
757
+ attr_accessor inference_configuration: Types::InferenceConfiguration
758
+ attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
759
+ SENSITIVE: []
760
+ end
761
+
762
+ class PromptOverrideConfiguration
763
+ attr_accessor prompt_configurations: ::Array[Types::PromptConfiguration]
764
+ attr_accessor override_lambda: ::String
765
+ SENSITIVE: []
766
+ end
767
+
768
+ class RdsConfiguration
769
+ attr_accessor resource_arn: ::String
770
+ attr_accessor credentials_secret_arn: ::String
771
+ attr_accessor database_name: ::String
772
+ attr_accessor table_name: ::String
773
+ attr_accessor field_mapping: Types::RdsFieldMapping
774
+ SENSITIVE: []
775
+ end
776
+
777
+ class RdsFieldMapping
778
+ attr_accessor primary_key_field: ::String
779
+ attr_accessor vector_field: ::String
780
+ attr_accessor text_field: ::String
781
+ attr_accessor metadata_field: ::String
782
+ SENSITIVE: []
783
+ end
784
+
785
+ class RedisEnterpriseCloudConfiguration
786
+ attr_accessor endpoint: ::String
787
+ attr_accessor vector_index_name: ::String
788
+ attr_accessor credentials_secret_arn: ::String
789
+ attr_accessor field_mapping: Types::RedisEnterpriseCloudFieldMapping
790
+ SENSITIVE: []
791
+ end
792
+
793
+ class RedisEnterpriseCloudFieldMapping
794
+ attr_accessor vector_field: ::String
795
+ attr_accessor text_field: ::String
796
+ attr_accessor metadata_field: ::String
797
+ SENSITIVE: []
798
+ end
799
+
800
+ class ResourceNotFoundException
801
+ attr_accessor message: ::String
802
+ SENSITIVE: []
803
+ end
804
+
805
+ class S3DataSourceConfiguration
806
+ attr_accessor bucket_arn: ::String
807
+ attr_accessor inclusion_prefixes: ::Array[::String]
808
+ SENSITIVE: []
809
+ end
810
+
811
+ class S3Identifier
812
+ attr_accessor s3_bucket_name: ::String
813
+ attr_accessor s3_object_key: ::String
814
+ SENSITIVE: []
815
+ end
816
+
817
+ class ServerSideEncryptionConfiguration
818
+ attr_accessor kms_key_arn: ::String
819
+ SENSITIVE: []
820
+ end
821
+
822
+ class ServiceQuotaExceededException
823
+ attr_accessor message: ::String
824
+ SENSITIVE: []
825
+ end
826
+
827
+ class StartIngestionJobRequest
828
+ attr_accessor knowledge_base_id: ::String
829
+ attr_accessor data_source_id: ::String
830
+ attr_accessor client_token: ::String
831
+ attr_accessor description: ::String
832
+ SENSITIVE: []
833
+ end
834
+
835
+ class StartIngestionJobResponse
836
+ attr_accessor ingestion_job: Types::IngestionJob
837
+ SENSITIVE: []
838
+ end
839
+
840
+ class StorageConfiguration
841
+ attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
842
+ attr_accessor opensearch_serverless_configuration: Types::OpenSearchServerlessConfiguration
843
+ attr_accessor pinecone_configuration: Types::PineconeConfiguration
844
+ attr_accessor redis_enterprise_cloud_configuration: Types::RedisEnterpriseCloudConfiguration
845
+ attr_accessor rds_configuration: Types::RdsConfiguration
846
+ SENSITIVE: []
847
+ end
848
+
849
+ class TagResourceRequest
850
+ attr_accessor resource_arn: ::String
851
+ attr_accessor tags: ::Hash[::String, ::String]
852
+ SENSITIVE: []
853
+ end
854
+
855
+ class TagResourceResponse < Aws::EmptyStructure
856
+ end
857
+
858
+ class ThrottlingException
859
+ attr_accessor message: ::String
860
+ SENSITIVE: []
861
+ end
862
+
863
+ class UntagResourceRequest
864
+ attr_accessor resource_arn: ::String
865
+ attr_accessor tag_keys: ::Array[::String]
866
+ SENSITIVE: []
867
+ end
868
+
869
+ class UntagResourceResponse < Aws::EmptyStructure
870
+ end
871
+
872
+ class UpdateAgentActionGroupRequest
873
+ attr_accessor agent_id: ::String
874
+ attr_accessor agent_version: ::String
875
+ attr_accessor action_group_id: ::String
876
+ attr_accessor action_group_name: ::String
877
+ attr_accessor description: ::String
878
+ attr_accessor parent_action_group_signature: ("AMAZON.UserInput")
879
+ attr_accessor action_group_executor: Types::ActionGroupExecutor
880
+ attr_accessor action_group_state: ("ENABLED" | "DISABLED")
881
+ attr_accessor api_schema: Types::APISchema
882
+ SENSITIVE: []
883
+ end
884
+
885
+ class UpdateAgentActionGroupResponse
886
+ attr_accessor agent_action_group: Types::AgentActionGroup
887
+ SENSITIVE: []
888
+ end
889
+
890
+ class UpdateAgentAliasRequest
891
+ attr_accessor agent_id: ::String
892
+ attr_accessor agent_alias_id: ::String
893
+ attr_accessor agent_alias_name: ::String
894
+ attr_accessor description: ::String
895
+ attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
896
+ SENSITIVE: []
897
+ end
898
+
899
+ class UpdateAgentAliasResponse
900
+ attr_accessor agent_alias: Types::AgentAlias
901
+ SENSITIVE: []
902
+ end
903
+
904
+ class UpdateAgentKnowledgeBaseRequest
905
+ attr_accessor agent_id: ::String
906
+ attr_accessor agent_version: ::String
907
+ attr_accessor knowledge_base_id: ::String
908
+ attr_accessor description: ::String
909
+ attr_accessor knowledge_base_state: ("ENABLED" | "DISABLED")
910
+ SENSITIVE: []
911
+ end
912
+
913
+ class UpdateAgentKnowledgeBaseResponse
914
+ attr_accessor agent_knowledge_base: Types::AgentKnowledgeBase
915
+ SENSITIVE: []
916
+ end
917
+
918
+ class UpdateAgentRequest
919
+ attr_accessor agent_id: ::String
920
+ attr_accessor agent_name: ::String
921
+ attr_accessor instruction: ::String
922
+ attr_accessor foundation_model: ::String
923
+ attr_accessor description: ::String
924
+ attr_accessor idle_session_ttl_in_seconds: ::Integer
925
+ attr_accessor agent_resource_role_arn: ::String
926
+ attr_accessor customer_encryption_key_arn: ::String
927
+ attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
928
+ SENSITIVE: [:instruction, :prompt_override_configuration]
929
+ end
930
+
931
+ class UpdateAgentResponse
932
+ attr_accessor agent: Types::Agent
933
+ SENSITIVE: []
934
+ end
935
+
936
+ class UpdateDataSourceRequest
937
+ attr_accessor knowledge_base_id: ::String
938
+ attr_accessor data_source_id: ::String
939
+ attr_accessor name: ::String
940
+ attr_accessor description: ::String
941
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
942
+ attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
943
+ attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
944
+ SENSITIVE: []
945
+ end
946
+
947
+ class UpdateDataSourceResponse
948
+ attr_accessor data_source: Types::DataSource
949
+ SENSITIVE: []
950
+ end
951
+
952
+ class UpdateKnowledgeBaseRequest
953
+ attr_accessor knowledge_base_id: ::String
954
+ attr_accessor name: ::String
955
+ attr_accessor description: ::String
956
+ attr_accessor role_arn: ::String
957
+ attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
958
+ attr_accessor storage_configuration: Types::StorageConfiguration
959
+ SENSITIVE: []
960
+ end
961
+
962
+ class UpdateKnowledgeBaseResponse
963
+ attr_accessor knowledge_base: Types::KnowledgeBase
964
+ SENSITIVE: []
965
+ end
966
+
967
+ class ValidationException
968
+ attr_accessor message: ::String
969
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
970
+ SENSITIVE: []
971
+ end
972
+
973
+ class ValidationExceptionField
974
+ attr_accessor name: ::String
975
+ attr_accessor message: ::String
976
+ SENSITIVE: []
977
+ end
978
+
979
+ class VectorIngestionConfiguration
980
+ attr_accessor chunking_configuration: Types::ChunkingConfiguration
981
+ SENSITIVE: []
982
+ end
983
+
984
+ class VectorKnowledgeBaseConfiguration
985
+ attr_accessor embedding_model_arn: ::String
986
+ SENSITIVE: []
987
+ end
988
+ end
989
+ end