aws-sdk-bedrockagent 1.2.0 → 1.4.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,991 @@
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 payload: ::String
13
+ attr_accessor s3: Types::S3Identifier
14
+ attr_accessor unknown: untyped
15
+ SENSITIVE: [:payload]
16
+
17
+ class Payload < APISchema
18
+ end
19
+ class S3 < 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_arn: ::String
52
+ attr_accessor agent_id: ::String
53
+ attr_accessor agent_name: ::String
54
+ attr_accessor agent_resource_role_arn: ::String
55
+ attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
56
+ attr_accessor agent_version: ::String
57
+ attr_accessor client_token: ::String
58
+ attr_accessor created_at: ::Time
59
+ attr_accessor customer_encryption_key_arn: ::String
60
+ attr_accessor description: ::String
61
+ attr_accessor failure_reasons: ::Array[::String]
62
+ attr_accessor foundation_model: ::String
63
+ attr_accessor idle_session_ttl_in_seconds: ::Integer
64
+ attr_accessor instruction: ::String
65
+ attr_accessor prepared_at: ::Time
66
+ attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
67
+ attr_accessor recommended_actions: ::Array[::String]
68
+ attr_accessor updated_at: ::Time
69
+ SENSITIVE: [:instruction, :prompt_override_configuration]
70
+ end
71
+
72
+ class AgentActionGroup
73
+ attr_accessor action_group_executor: Types::ActionGroupExecutor
74
+ attr_accessor action_group_id: ::String
75
+ attr_accessor action_group_name: ::String
76
+ attr_accessor action_group_state: ("ENABLED" | "DISABLED")
77
+ attr_accessor agent_id: ::String
78
+ attr_accessor agent_version: ::String
79
+ attr_accessor api_schema: Types::APISchema
80
+ attr_accessor client_token: ::String
81
+ attr_accessor created_at: ::Time
82
+ attr_accessor description: ::String
83
+ attr_accessor parent_action_signature: ("AMAZON.UserInput")
84
+ attr_accessor updated_at: ::Time
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class AgentAlias
89
+ attr_accessor agent_alias_arn: ::String
90
+ attr_accessor agent_alias_history_events: ::Array[Types::AgentAliasHistoryEvent]
91
+ attr_accessor agent_alias_id: ::String
92
+ attr_accessor agent_alias_name: ::String
93
+ attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
94
+ attr_accessor agent_id: ::String
95
+ attr_accessor client_token: ::String
96
+ attr_accessor created_at: ::Time
97
+ attr_accessor description: ::String
98
+ attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
99
+ attr_accessor updated_at: ::Time
100
+ SENSITIVE: []
101
+ end
102
+
103
+ class AgentAliasHistoryEvent
104
+ attr_accessor end_date: ::Time
105
+ attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
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 agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
119
+ attr_accessor created_at: ::Time
120
+ attr_accessor description: ::String
121
+ attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
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 created_at: ::Time
130
+ attr_accessor description: ::String
131
+ attr_accessor knowledge_base_id: ::String
132
+ attr_accessor knowledge_base_state: ("ENABLED" | "DISABLED")
133
+ attr_accessor updated_at: ::Time
134
+ SENSITIVE: []
135
+ end
136
+
137
+ class AgentKnowledgeBaseSummary
138
+ attr_accessor description: ::String
139
+ attr_accessor knowledge_base_id: ::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 latest_agent_version: ::String
151
+ attr_accessor updated_at: ::Time
152
+ SENSITIVE: []
153
+ end
154
+
155
+ class AgentVersion
156
+ attr_accessor agent_arn: ::String
157
+ attr_accessor agent_id: ::String
158
+ attr_accessor agent_name: ::String
159
+ attr_accessor agent_resource_role_arn: ::String
160
+ attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
161
+ attr_accessor created_at: ::Time
162
+ attr_accessor customer_encryption_key_arn: ::String
163
+ attr_accessor description: ::String
164
+ attr_accessor failure_reasons: ::Array[::String]
165
+ attr_accessor foundation_model: ::String
166
+ attr_accessor idle_session_ttl_in_seconds: ::Integer
167
+ attr_accessor instruction: ::String
168
+ attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
169
+ attr_accessor recommended_actions: ::Array[::String]
170
+ attr_accessor updated_at: ::Time
171
+ attr_accessor version: ::String
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 description: ::String
181
+ attr_accessor updated_at: ::Time
182
+ SENSITIVE: []
183
+ end
184
+
185
+ class AssociateAgentKnowledgeBaseRequest
186
+ attr_accessor agent_id: ::String
187
+ attr_accessor agent_version: ::String
188
+ attr_accessor description: ::String
189
+ attr_accessor knowledge_base_id: ::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 action_group_executor: Types::ActionGroupExecutor
212
+ attr_accessor action_group_name: ::String
213
+ attr_accessor action_group_state: ("ENABLED" | "DISABLED")
214
+ attr_accessor agent_id: ::String
215
+ attr_accessor agent_version: ::String
216
+ attr_accessor api_schema: Types::APISchema
217
+ attr_accessor client_token: ::String
218
+ attr_accessor description: ::String
219
+ attr_accessor parent_action_group_signature: ("AMAZON.UserInput")
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_alias_name: ::String
230
+ attr_accessor agent_id: ::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 agent_resource_role_arn: ::String
246
+ attr_accessor client_token: ::String
247
+ attr_accessor customer_encryption_key_arn: ::String
248
+ attr_accessor description: ::String
249
+ attr_accessor foundation_model: ::String
250
+ attr_accessor idle_session_ttl_in_seconds: ::Integer
251
+ attr_accessor instruction: ::String
252
+ attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
253
+ attr_accessor tags: ::Hash[::String, ::String]
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 client_token: ::String
264
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
265
+ attr_accessor description: ::String
266
+ attr_accessor knowledge_base_id: ::String
267
+ attr_accessor name: ::String
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 description: ::String
281
+ attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
282
+ attr_accessor name: ::String
283
+ attr_accessor role_arn: ::String
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 created_at: ::Time
296
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
297
+ attr_accessor data_source_id: ::String
298
+ attr_accessor description: ::String
299
+ attr_accessor knowledge_base_id: ::String
300
+ attr_accessor name: ::String
301
+ attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
302
+ attr_accessor status: ("AVAILABLE" | "DELETING")
303
+ attr_accessor updated_at: ::Time
304
+ attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class DataSourceConfiguration
309
+ attr_accessor s3_configuration: Types::S3DataSourceConfiguration
310
+ attr_accessor type: ("S3")
311
+ SENSITIVE: []
312
+ end
313
+
314
+ class DataSourceSummary
315
+ attr_accessor data_source_id: ::String
316
+ attr_accessor description: ::String
317
+ attr_accessor knowledge_base_id: ::String
318
+ attr_accessor name: ::String
319
+ attr_accessor status: ("AVAILABLE" | "DELETING")
320
+ attr_accessor updated_at: ::Time
321
+ SENSITIVE: []
322
+ end
323
+
324
+ class DeleteAgentActionGroupRequest
325
+ attr_accessor action_group_id: ::String
326
+ attr_accessor agent_id: ::String
327
+ attr_accessor agent_version: ::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_alias_id: ::String
337
+ attr_accessor agent_id: ::String
338
+ SENSITIVE: []
339
+ end
340
+
341
+ class DeleteAgentAliasResponse
342
+ attr_accessor agent_alias_id: ::String
343
+ attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
344
+ attr_accessor agent_id: ::String
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_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
370
+ attr_accessor agent_version: ::String
371
+ SENSITIVE: []
372
+ end
373
+
374
+ class DeleteDataSourceRequest
375
+ attr_accessor data_source_id: ::String
376
+ attr_accessor knowledge_base_id: ::String
377
+ SENSITIVE: []
378
+ end
379
+
380
+ class DeleteDataSourceResponse
381
+ attr_accessor data_source_id: ::String
382
+ attr_accessor knowledge_base_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 action_group_id: ::String
416
+ attr_accessor agent_id: ::String
417
+ attr_accessor agent_version: ::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_alias_id: ::String
428
+ attr_accessor agent_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 data_source_id: ::String
472
+ attr_accessor knowledge_base_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 data_source_id: ::String
483
+ attr_accessor ingestion_job_id: ::String
484
+ attr_accessor knowledge_base_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 maximum_length: ::Integer
505
+ attr_accessor stop_sequences: ::Array[::String]
506
+ attr_accessor temperature: ::Float
507
+ attr_accessor top_k: ::Integer
508
+ attr_accessor top_p: ::Float
509
+ SENSITIVE: []
510
+ end
511
+
512
+ class IngestionJob
513
+ attr_accessor data_source_id: ::String
514
+ attr_accessor description: ::String
515
+ attr_accessor failure_reasons: ::Array[::String]
516
+ attr_accessor ingestion_job_id: ::String
517
+ attr_accessor knowledge_base_id: ::String
518
+ attr_accessor started_at: ::Time
519
+ attr_accessor statistics: Types::IngestionJobStatistics
520
+ attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED")
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_deleted: ::Integer
540
+ attr_accessor number_of_documents_failed: ::Integer
541
+ attr_accessor number_of_documents_scanned: ::Integer
542
+ attr_accessor number_of_metadata_documents_modified: ::Integer
543
+ attr_accessor number_of_metadata_documents_scanned: ::Integer
544
+ attr_accessor number_of_modified_documents_indexed: ::Integer
545
+ attr_accessor number_of_new_documents_indexed: ::Integer
546
+ SENSITIVE: []
547
+ end
548
+
549
+ class IngestionJobSummary
550
+ attr_accessor data_source_id: ::String
551
+ attr_accessor description: ::String
552
+ attr_accessor ingestion_job_id: ::String
553
+ attr_accessor knowledge_base_id: ::String
554
+ attr_accessor started_at: ::Time
555
+ attr_accessor statistics: Types::IngestionJobStatistics
556
+ attr_accessor status: ("STARTING" | "IN_PROGRESS" | "COMPLETE" | "FAILED")
557
+ attr_accessor updated_at: ::Time
558
+ SENSITIVE: []
559
+ end
560
+
561
+ class InternalServerException
562
+ attr_accessor message: ::String
563
+ SENSITIVE: []
564
+ end
565
+
566
+ class KnowledgeBase
567
+ attr_accessor created_at: ::Time
568
+ attr_accessor description: ::String
569
+ attr_accessor failure_reasons: ::Array[::String]
570
+ attr_accessor knowledge_base_arn: ::String
571
+ attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
572
+ attr_accessor knowledge_base_id: ::String
573
+ attr_accessor name: ::String
574
+ attr_accessor role_arn: ::String
575
+ attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED")
576
+ attr_accessor storage_configuration: Types::StorageConfiguration
577
+ attr_accessor updated_at: ::Time
578
+ SENSITIVE: []
579
+ end
580
+
581
+ class KnowledgeBaseConfiguration
582
+ attr_accessor type: ("VECTOR")
583
+ attr_accessor vector_knowledge_base_configuration: Types::VectorKnowledgeBaseConfiguration
584
+ SENSITIVE: []
585
+ end
586
+
587
+ class KnowledgeBaseSummary
588
+ attr_accessor description: ::String
589
+ attr_accessor knowledge_base_id: ::String
590
+ attr_accessor name: ::String
591
+ attr_accessor status: ("CREATING" | "ACTIVE" | "DELETING" | "UPDATING" | "FAILED")
592
+ attr_accessor updated_at: ::Time
593
+ SENSITIVE: []
594
+ end
595
+
596
+ class ListAgentActionGroupsRequest
597
+ attr_accessor agent_id: ::String
598
+ attr_accessor agent_version: ::String
599
+ attr_accessor max_results: ::Integer
600
+ attr_accessor next_token: ::String
601
+ SENSITIVE: []
602
+ end
603
+
604
+ class ListAgentActionGroupsResponse
605
+ attr_accessor action_group_summaries: ::Array[Types::ActionGroupSummary]
606
+ attr_accessor next_token: ::String
607
+ SENSITIVE: []
608
+ end
609
+
610
+ class ListAgentAliasesRequest
611
+ attr_accessor agent_id: ::String
612
+ attr_accessor max_results: ::Integer
613
+ attr_accessor next_token: ::String
614
+ SENSITIVE: []
615
+ end
616
+
617
+ class ListAgentAliasesResponse
618
+ attr_accessor agent_alias_summaries: ::Array[Types::AgentAliasSummary]
619
+ attr_accessor next_token: ::String
620
+ SENSITIVE: []
621
+ end
622
+
623
+ class ListAgentKnowledgeBasesRequest
624
+ attr_accessor agent_id: ::String
625
+ attr_accessor agent_version: ::String
626
+ attr_accessor max_results: ::Integer
627
+ attr_accessor next_token: ::String
628
+ SENSITIVE: []
629
+ end
630
+
631
+ class ListAgentKnowledgeBasesResponse
632
+ attr_accessor agent_knowledge_base_summaries: ::Array[Types::AgentKnowledgeBaseSummary]
633
+ attr_accessor next_token: ::String
634
+ SENSITIVE: []
635
+ end
636
+
637
+ class ListAgentVersionsRequest
638
+ attr_accessor agent_id: ::String
639
+ attr_accessor max_results: ::Integer
640
+ attr_accessor next_token: ::String
641
+ SENSITIVE: []
642
+ end
643
+
644
+ class ListAgentVersionsResponse
645
+ attr_accessor agent_version_summaries: ::Array[Types::AgentVersionSummary]
646
+ attr_accessor next_token: ::String
647
+ SENSITIVE: []
648
+ end
649
+
650
+ class ListAgentsRequest
651
+ attr_accessor max_results: ::Integer
652
+ attr_accessor next_token: ::String
653
+ SENSITIVE: []
654
+ end
655
+
656
+ class ListAgentsResponse
657
+ attr_accessor agent_summaries: ::Array[Types::AgentSummary]
658
+ attr_accessor next_token: ::String
659
+ SENSITIVE: []
660
+ end
661
+
662
+ class ListDataSourcesRequest
663
+ attr_accessor knowledge_base_id: ::String
664
+ attr_accessor max_results: ::Integer
665
+ attr_accessor next_token: ::String
666
+ SENSITIVE: []
667
+ end
668
+
669
+ class ListDataSourcesResponse
670
+ attr_accessor data_source_summaries: ::Array[Types::DataSourceSummary]
671
+ attr_accessor next_token: ::String
672
+ SENSITIVE: []
673
+ end
674
+
675
+ class ListIngestionJobsRequest
676
+ attr_accessor data_source_id: ::String
677
+ attr_accessor filters: ::Array[Types::IngestionJobFilter]
678
+ attr_accessor knowledge_base_id: ::String
679
+ attr_accessor max_results: ::Integer
680
+ attr_accessor next_token: ::String
681
+ attr_accessor sort_by: Types::IngestionJobSortBy
682
+ SENSITIVE: []
683
+ end
684
+
685
+ class ListIngestionJobsResponse
686
+ attr_accessor ingestion_job_summaries: ::Array[Types::IngestionJobSummary]
687
+ attr_accessor next_token: ::String
688
+ SENSITIVE: []
689
+ end
690
+
691
+ class ListKnowledgeBasesRequest
692
+ attr_accessor max_results: ::Integer
693
+ attr_accessor next_token: ::String
694
+ SENSITIVE: []
695
+ end
696
+
697
+ class ListKnowledgeBasesResponse
698
+ attr_accessor knowledge_base_summaries: ::Array[Types::KnowledgeBaseSummary]
699
+ attr_accessor next_token: ::String
700
+ SENSITIVE: []
701
+ end
702
+
703
+ class ListTagsForResourceRequest
704
+ attr_accessor resource_arn: ::String
705
+ SENSITIVE: []
706
+ end
707
+
708
+ class ListTagsForResourceResponse
709
+ attr_accessor tags: ::Hash[::String, ::String]
710
+ SENSITIVE: []
711
+ end
712
+
713
+ class OpenSearchServerlessConfiguration
714
+ attr_accessor collection_arn: ::String
715
+ attr_accessor field_mapping: Types::OpenSearchServerlessFieldMapping
716
+ attr_accessor vector_index_name: ::String
717
+ SENSITIVE: []
718
+ end
719
+
720
+ class OpenSearchServerlessFieldMapping
721
+ attr_accessor metadata_field: ::String
722
+ attr_accessor text_field: ::String
723
+ attr_accessor vector_field: ::String
724
+ SENSITIVE: []
725
+ end
726
+
727
+ class PineconeConfiguration
728
+ attr_accessor connection_string: ::String
729
+ attr_accessor credentials_secret_arn: ::String
730
+ attr_accessor field_mapping: Types::PineconeFieldMapping
731
+ attr_accessor namespace: ::String
732
+ SENSITIVE: []
733
+ end
734
+
735
+ class PineconeFieldMapping
736
+ attr_accessor metadata_field: ::String
737
+ attr_accessor text_field: ::String
738
+ SENSITIVE: []
739
+ end
740
+
741
+ class PrepareAgentRequest
742
+ attr_accessor agent_id: ::String
743
+ SENSITIVE: []
744
+ end
745
+
746
+ class PrepareAgentResponse
747
+ attr_accessor agent_id: ::String
748
+ attr_accessor agent_status: ("CREATING" | "PREPARING" | "PREPARED" | "NOT_PREPARED" | "DELETING" | "FAILED" | "VERSIONING" | "UPDATING")
749
+ attr_accessor agent_version: ::String
750
+ attr_accessor prepared_at: ::Time
751
+ SENSITIVE: []
752
+ end
753
+
754
+ class PromptConfiguration
755
+ attr_accessor base_prompt_template: ::String
756
+ attr_accessor inference_configuration: Types::InferenceConfiguration
757
+ attr_accessor parser_mode: ("DEFAULT" | "OVERRIDDEN")
758
+ attr_accessor prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")
759
+ attr_accessor prompt_state: ("ENABLED" | "DISABLED")
760
+ attr_accessor prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION")
761
+ SENSITIVE: []
762
+ end
763
+
764
+ class PromptOverrideConfiguration
765
+ attr_accessor override_lambda: ::String
766
+ attr_accessor prompt_configurations: ::Array[Types::PromptConfiguration]
767
+ SENSITIVE: []
768
+ end
769
+
770
+ class RdsConfiguration
771
+ attr_accessor credentials_secret_arn: ::String
772
+ attr_accessor database_name: ::String
773
+ attr_accessor field_mapping: Types::RdsFieldMapping
774
+ attr_accessor resource_arn: ::String
775
+ attr_accessor table_name: ::String
776
+ SENSITIVE: []
777
+ end
778
+
779
+ class RdsFieldMapping
780
+ attr_accessor metadata_field: ::String
781
+ attr_accessor primary_key_field: ::String
782
+ attr_accessor text_field: ::String
783
+ attr_accessor vector_field: ::String
784
+ SENSITIVE: []
785
+ end
786
+
787
+ class RedisEnterpriseCloudConfiguration
788
+ attr_accessor credentials_secret_arn: ::String
789
+ attr_accessor endpoint: ::String
790
+ attr_accessor field_mapping: Types::RedisEnterpriseCloudFieldMapping
791
+ attr_accessor vector_index_name: ::String
792
+ SENSITIVE: []
793
+ end
794
+
795
+ class RedisEnterpriseCloudFieldMapping
796
+ attr_accessor metadata_field: ::String
797
+ attr_accessor text_field: ::String
798
+ attr_accessor vector_field: ::String
799
+ SENSITIVE: []
800
+ end
801
+
802
+ class ResourceNotFoundException
803
+ attr_accessor message: ::String
804
+ SENSITIVE: []
805
+ end
806
+
807
+ class S3DataSourceConfiguration
808
+ attr_accessor bucket_arn: ::String
809
+ attr_accessor inclusion_prefixes: ::Array[::String]
810
+ SENSITIVE: []
811
+ end
812
+
813
+ class S3Identifier
814
+ attr_accessor s3_bucket_name: ::String
815
+ attr_accessor s3_object_key: ::String
816
+ SENSITIVE: []
817
+ end
818
+
819
+ class ServerSideEncryptionConfiguration
820
+ attr_accessor kms_key_arn: ::String
821
+ SENSITIVE: []
822
+ end
823
+
824
+ class ServiceQuotaExceededException
825
+ attr_accessor message: ::String
826
+ SENSITIVE: []
827
+ end
828
+
829
+ class StartIngestionJobRequest
830
+ attr_accessor client_token: ::String
831
+ attr_accessor data_source_id: ::String
832
+ attr_accessor description: ::String
833
+ attr_accessor knowledge_base_id: ::String
834
+ SENSITIVE: []
835
+ end
836
+
837
+ class StartIngestionJobResponse
838
+ attr_accessor ingestion_job: Types::IngestionJob
839
+ SENSITIVE: []
840
+ end
841
+
842
+ class StorageConfiguration
843
+ attr_accessor opensearch_serverless_configuration: Types::OpenSearchServerlessConfiguration
844
+ attr_accessor pinecone_configuration: Types::PineconeConfiguration
845
+ attr_accessor rds_configuration: Types::RdsConfiguration
846
+ attr_accessor redis_enterprise_cloud_configuration: Types::RedisEnterpriseCloudConfiguration
847
+ attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
848
+ SENSITIVE: []
849
+ end
850
+
851
+ class TagResourceRequest
852
+ attr_accessor resource_arn: ::String
853
+ attr_accessor tags: ::Hash[::String, ::String]
854
+ SENSITIVE: []
855
+ end
856
+
857
+ class TagResourceResponse < Aws::EmptyStructure
858
+ end
859
+
860
+ class ThrottlingException
861
+ attr_accessor message: ::String
862
+ SENSITIVE: []
863
+ end
864
+
865
+ class UntagResourceRequest
866
+ attr_accessor resource_arn: ::String
867
+ attr_accessor tag_keys: ::Array[::String]
868
+ SENSITIVE: []
869
+ end
870
+
871
+ class UntagResourceResponse < Aws::EmptyStructure
872
+ end
873
+
874
+ class UpdateAgentActionGroupRequest
875
+ attr_accessor action_group_executor: Types::ActionGroupExecutor
876
+ attr_accessor action_group_id: ::String
877
+ attr_accessor action_group_name: ::String
878
+ attr_accessor action_group_state: ("ENABLED" | "DISABLED")
879
+ attr_accessor agent_id: ::String
880
+ attr_accessor agent_version: ::String
881
+ attr_accessor api_schema: Types::APISchema
882
+ attr_accessor description: ::String
883
+ attr_accessor parent_action_group_signature: ("AMAZON.UserInput")
884
+ SENSITIVE: []
885
+ end
886
+
887
+ class UpdateAgentActionGroupResponse
888
+ attr_accessor agent_action_group: Types::AgentActionGroup
889
+ SENSITIVE: []
890
+ end
891
+
892
+ class UpdateAgentAliasRequest
893
+ attr_accessor agent_alias_id: ::String
894
+ attr_accessor agent_alias_name: ::String
895
+ attr_accessor agent_id: ::String
896
+ attr_accessor description: ::String
897
+ attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
898
+ SENSITIVE: []
899
+ end
900
+
901
+ class UpdateAgentAliasResponse
902
+ attr_accessor agent_alias: Types::AgentAlias
903
+ SENSITIVE: []
904
+ end
905
+
906
+ class UpdateAgentKnowledgeBaseRequest
907
+ attr_accessor agent_id: ::String
908
+ attr_accessor agent_version: ::String
909
+ attr_accessor description: ::String
910
+ attr_accessor knowledge_base_id: ::String
911
+ attr_accessor knowledge_base_state: ("ENABLED" | "DISABLED")
912
+ SENSITIVE: []
913
+ end
914
+
915
+ class UpdateAgentKnowledgeBaseResponse
916
+ attr_accessor agent_knowledge_base: Types::AgentKnowledgeBase
917
+ SENSITIVE: []
918
+ end
919
+
920
+ class UpdateAgentRequest
921
+ attr_accessor agent_id: ::String
922
+ attr_accessor agent_name: ::String
923
+ attr_accessor agent_resource_role_arn: ::String
924
+ attr_accessor customer_encryption_key_arn: ::String
925
+ attr_accessor description: ::String
926
+ attr_accessor foundation_model: ::String
927
+ attr_accessor idle_session_ttl_in_seconds: ::Integer
928
+ attr_accessor instruction: ::String
929
+ attr_accessor prompt_override_configuration: Types::PromptOverrideConfiguration
930
+ SENSITIVE: [:instruction, :prompt_override_configuration]
931
+ end
932
+
933
+ class UpdateAgentResponse
934
+ attr_accessor agent: Types::Agent
935
+ SENSITIVE: []
936
+ end
937
+
938
+ class UpdateDataSourceRequest
939
+ attr_accessor data_source_configuration: Types::DataSourceConfiguration
940
+ attr_accessor data_source_id: ::String
941
+ attr_accessor description: ::String
942
+ attr_accessor knowledge_base_id: ::String
943
+ attr_accessor name: ::String
944
+ attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
945
+ attr_accessor vector_ingestion_configuration: Types::VectorIngestionConfiguration
946
+ SENSITIVE: []
947
+ end
948
+
949
+ class UpdateDataSourceResponse
950
+ attr_accessor data_source: Types::DataSource
951
+ SENSITIVE: []
952
+ end
953
+
954
+ class UpdateKnowledgeBaseRequest
955
+ attr_accessor description: ::String
956
+ attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
957
+ attr_accessor knowledge_base_id: ::String
958
+ attr_accessor name: ::String
959
+ attr_accessor role_arn: ::String
960
+ attr_accessor storage_configuration: Types::StorageConfiguration
961
+ SENSITIVE: []
962
+ end
963
+
964
+ class UpdateKnowledgeBaseResponse
965
+ attr_accessor knowledge_base: Types::KnowledgeBase
966
+ SENSITIVE: []
967
+ end
968
+
969
+ class ValidationException
970
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
971
+ attr_accessor message: ::String
972
+ SENSITIVE: []
973
+ end
974
+
975
+ class ValidationExceptionField
976
+ attr_accessor message: ::String
977
+ attr_accessor name: ::String
978
+ SENSITIVE: []
979
+ end
980
+
981
+ class VectorIngestionConfiguration
982
+ attr_accessor chunking_configuration: Types::ChunkingConfiguration
983
+ SENSITIVE: []
984
+ end
985
+
986
+ class VectorKnowledgeBaseConfiguration
987
+ attr_accessor embedding_model_arn: ::String
988
+ SENSITIVE: []
989
+ end
990
+ end
991
+ end