aws-sdk-bedrockagent 1.75.0 → 1.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +1 -1
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +26 -1719
- data/sig/params.rbs +755 -0
- metadata +2 -1
data/sig/client.rbs
CHANGED
|
@@ -131,28 +131,7 @@ module Aws
|
|
|
131
131
|
?agent_resource_role_arn: ::String,
|
|
132
132
|
?customer_encryption_key_arn: ::String,
|
|
133
133
|
?tags: Hash[::String, ::String],
|
|
134
|
-
?prompt_override_configuration:
|
|
135
|
-
prompt_configurations: Array[
|
|
136
|
-
{
|
|
137
|
-
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "MEMORY_SUMMARIZATION")?,
|
|
138
|
-
prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
|
139
|
-
prompt_state: ("ENABLED" | "DISABLED")?,
|
|
140
|
-
base_prompt_template: ::String?,
|
|
141
|
-
inference_configuration: {
|
|
142
|
-
temperature: ::Float?,
|
|
143
|
-
top_p: ::Float?,
|
|
144
|
-
top_k: ::Integer?,
|
|
145
|
-
maximum_length: ::Integer?,
|
|
146
|
-
stop_sequences: Array[::String]?
|
|
147
|
-
}?,
|
|
148
|
-
parser_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
|
149
|
-
foundation_model: ::String?,
|
|
150
|
-
additional_model_request_fields: {
|
|
151
|
-
}?
|
|
152
|
-
},
|
|
153
|
-
],
|
|
154
|
-
override_lambda: ::String?
|
|
155
|
-
},
|
|
134
|
+
?prompt_override_configuration: Params::prompt_override_configuration,
|
|
156
135
|
?guardrail_configuration: {
|
|
157
136
|
guardrail_identifier: ::String?,
|
|
158
137
|
guardrail_version: ::String?
|
|
@@ -193,20 +172,7 @@ module Aws
|
|
|
193
172
|
payload: ::String?
|
|
194
173
|
},
|
|
195
174
|
?action_group_state: ("ENABLED" | "DISABLED"),
|
|
196
|
-
?function_schema:
|
|
197
|
-
functions: Array[
|
|
198
|
-
{
|
|
199
|
-
name: ::String,
|
|
200
|
-
description: ::String?,
|
|
201
|
-
parameters: Hash[::String, {
|
|
202
|
-
description: ::String?,
|
|
203
|
-
type: ("string" | "number" | "integer" | "boolean" | "array"),
|
|
204
|
-
required: bool?
|
|
205
|
-
}]?,
|
|
206
|
-
require_confirmation: ("ENABLED" | "DISABLED")?
|
|
207
|
-
},
|
|
208
|
-
]?
|
|
209
|
-
}
|
|
175
|
+
?function_schema: Params::function_schema
|
|
210
176
|
) -> _CreateAgentActionGroupResponseSuccess
|
|
211
177
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentActionGroupResponseSuccess
|
|
212
178
|
|
|
@@ -224,7 +190,7 @@ module Aws
|
|
|
224
190
|
{
|
|
225
191
|
agent_version: ::String?,
|
|
226
192
|
provisioned_throughput: ::String?
|
|
227
|
-
}
|
|
193
|
+
}
|
|
228
194
|
],
|
|
229
195
|
?tags: Hash[::String, ::String]
|
|
230
196
|
) -> _CreateAgentAliasResponseSuccess
|
|
@@ -240,168 +206,12 @@ module Aws
|
|
|
240
206
|
?client_token: ::String,
|
|
241
207
|
name: ::String,
|
|
242
208
|
?description: ::String,
|
|
243
|
-
data_source_configuration:
|
|
244
|
-
type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "REDSHIFT_METADATA"),
|
|
245
|
-
s3_configuration: {
|
|
246
|
-
bucket_arn: ::String,
|
|
247
|
-
inclusion_prefixes: Array[::String]?,
|
|
248
|
-
bucket_owner_account_id: ::String?
|
|
249
|
-
}?,
|
|
250
|
-
web_configuration: {
|
|
251
|
-
source_configuration: {
|
|
252
|
-
url_configuration: {
|
|
253
|
-
seed_urls: Array[
|
|
254
|
-
{
|
|
255
|
-
url: ::String?
|
|
256
|
-
},
|
|
257
|
-
]?
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
crawler_configuration: {
|
|
261
|
-
crawler_limits: {
|
|
262
|
-
rate_limit: ::Integer?,
|
|
263
|
-
max_pages: ::Integer?
|
|
264
|
-
}?,
|
|
265
|
-
inclusion_filters: Array[::String]?,
|
|
266
|
-
exclusion_filters: Array[::String]?,
|
|
267
|
-
scope: ("HOST_ONLY" | "SUBDOMAINS")?,
|
|
268
|
-
user_agent: ::String?,
|
|
269
|
-
user_agent_header: ::String?
|
|
270
|
-
}?
|
|
271
|
-
}?,
|
|
272
|
-
confluence_configuration: {
|
|
273
|
-
source_configuration: {
|
|
274
|
-
host_url: ::String,
|
|
275
|
-
host_type: ("SAAS"),
|
|
276
|
-
auth_type: ("BASIC" | "OAUTH2_CLIENT_CREDENTIALS"),
|
|
277
|
-
credentials_secret_arn: ::String
|
|
278
|
-
},
|
|
279
|
-
crawler_configuration: {
|
|
280
|
-
filter_configuration: {
|
|
281
|
-
type: ("PATTERN"),
|
|
282
|
-
pattern_object_filter: {
|
|
283
|
-
filters: Array[
|
|
284
|
-
{
|
|
285
|
-
object_type: ::String,
|
|
286
|
-
inclusion_filters: Array[::String]?,
|
|
287
|
-
exclusion_filters: Array[::String]?
|
|
288
|
-
},
|
|
289
|
-
]
|
|
290
|
-
}?
|
|
291
|
-
}?
|
|
292
|
-
}?
|
|
293
|
-
}?,
|
|
294
|
-
salesforce_configuration: {
|
|
295
|
-
source_configuration: {
|
|
296
|
-
host_url: ::String,
|
|
297
|
-
auth_type: ("OAUTH2_CLIENT_CREDENTIALS"),
|
|
298
|
-
credentials_secret_arn: ::String
|
|
299
|
-
},
|
|
300
|
-
crawler_configuration: {
|
|
301
|
-
filter_configuration: {
|
|
302
|
-
type: ("PATTERN"),
|
|
303
|
-
pattern_object_filter: {
|
|
304
|
-
filters: Array[
|
|
305
|
-
{
|
|
306
|
-
object_type: ::String,
|
|
307
|
-
inclusion_filters: Array[::String]?,
|
|
308
|
-
exclusion_filters: Array[::String]?
|
|
309
|
-
},
|
|
310
|
-
]
|
|
311
|
-
}?
|
|
312
|
-
}?
|
|
313
|
-
}?
|
|
314
|
-
}?,
|
|
315
|
-
share_point_configuration: {
|
|
316
|
-
source_configuration: {
|
|
317
|
-
tenant_id: ::String?,
|
|
318
|
-
domain: ::String,
|
|
319
|
-
site_urls: Array[::String],
|
|
320
|
-
host_type: ("ONLINE"),
|
|
321
|
-
auth_type: ("OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"),
|
|
322
|
-
credentials_secret_arn: ::String
|
|
323
|
-
},
|
|
324
|
-
crawler_configuration: {
|
|
325
|
-
filter_configuration: {
|
|
326
|
-
type: ("PATTERN"),
|
|
327
|
-
pattern_object_filter: {
|
|
328
|
-
filters: Array[
|
|
329
|
-
{
|
|
330
|
-
object_type: ::String,
|
|
331
|
-
inclusion_filters: Array[::String]?,
|
|
332
|
-
exclusion_filters: Array[::String]?
|
|
333
|
-
},
|
|
334
|
-
]
|
|
335
|
-
}?
|
|
336
|
-
}?
|
|
337
|
-
}?
|
|
338
|
-
}?
|
|
339
|
-
},
|
|
209
|
+
data_source_configuration: Params::data_source_configuration,
|
|
340
210
|
?data_deletion_policy: ("RETAIN" | "DELETE"),
|
|
341
211
|
?server_side_encryption_configuration: {
|
|
342
212
|
kms_key_arn: ::String?
|
|
343
213
|
},
|
|
344
|
-
?vector_ingestion_configuration:
|
|
345
|
-
chunking_configuration: {
|
|
346
|
-
chunking_strategy: ("FIXED_SIZE" | "NONE" | "HIERARCHICAL" | "SEMANTIC"),
|
|
347
|
-
fixed_size_chunking_configuration: {
|
|
348
|
-
max_tokens: ::Integer,
|
|
349
|
-
overlap_percentage: ::Integer
|
|
350
|
-
}?,
|
|
351
|
-
hierarchical_chunking_configuration: {
|
|
352
|
-
level_configurations: Array[
|
|
353
|
-
{
|
|
354
|
-
max_tokens: ::Integer
|
|
355
|
-
},
|
|
356
|
-
],
|
|
357
|
-
overlap_tokens: ::Integer
|
|
358
|
-
}?,
|
|
359
|
-
semantic_chunking_configuration: {
|
|
360
|
-
max_tokens: ::Integer,
|
|
361
|
-
buffer_size: ::Integer,
|
|
362
|
-
breakpoint_percentile_threshold: ::Integer
|
|
363
|
-
}?
|
|
364
|
-
}?,
|
|
365
|
-
custom_transformation_configuration: {
|
|
366
|
-
intermediate_storage: {
|
|
367
|
-
s3_location: {
|
|
368
|
-
uri: ::String
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
transformations: Array[
|
|
372
|
-
{
|
|
373
|
-
transformation_function: {
|
|
374
|
-
transformation_lambda_configuration: {
|
|
375
|
-
lambda_arn: ::String
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
step_to_apply: ("POST_CHUNKING")
|
|
379
|
-
},
|
|
380
|
-
]
|
|
381
|
-
}?,
|
|
382
|
-
parsing_configuration: {
|
|
383
|
-
parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION"),
|
|
384
|
-
bedrock_foundation_model_configuration: {
|
|
385
|
-
model_arn: ::String,
|
|
386
|
-
parsing_prompt: {
|
|
387
|
-
parsing_prompt_text: ::String
|
|
388
|
-
}?,
|
|
389
|
-
parsing_modality: ("MULTIMODAL")?
|
|
390
|
-
}?,
|
|
391
|
-
bedrock_data_automation_configuration: {
|
|
392
|
-
parsing_modality: ("MULTIMODAL")?
|
|
393
|
-
}?
|
|
394
|
-
}?,
|
|
395
|
-
context_enrichment_configuration: {
|
|
396
|
-
type: ("BEDROCK_FOUNDATION_MODEL"),
|
|
397
|
-
bedrock_foundation_model_configuration: {
|
|
398
|
-
enrichment_strategy_configuration: {
|
|
399
|
-
method: ("CHUNK_ENTITY_EXTRACTION")
|
|
400
|
-
},
|
|
401
|
-
model_arn: ::String
|
|
402
|
-
}?
|
|
403
|
-
}?
|
|
404
|
-
}
|
|
214
|
+
?vector_ingestion_configuration: Params::vector_ingestion_configuration
|
|
405
215
|
) -> _CreateDataSourceResponseSuccess
|
|
406
216
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataSourceResponseSuccess
|
|
407
217
|
|
|
@@ -425,260 +235,7 @@ module Aws
|
|
|
425
235
|
?description: ::String,
|
|
426
236
|
execution_role_arn: ::String,
|
|
427
237
|
?customer_encryption_key_arn: ::String,
|
|
428
|
-
?definition:
|
|
429
|
-
nodes: Array[
|
|
430
|
-
{
|
|
431
|
-
name: ::String,
|
|
432
|
-
type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode" | "Loop" | "LoopInput" | "LoopController"),
|
|
433
|
-
configuration: {
|
|
434
|
-
input: {
|
|
435
|
-
}?,
|
|
436
|
-
output: {
|
|
437
|
-
}?,
|
|
438
|
-
knowledge_base: {
|
|
439
|
-
knowledge_base_id: ::String,
|
|
440
|
-
model_id: ::String?,
|
|
441
|
-
guardrail_configuration: {
|
|
442
|
-
guardrail_identifier: ::String?,
|
|
443
|
-
guardrail_version: ::String?
|
|
444
|
-
}?,
|
|
445
|
-
number_of_results: ::Integer?,
|
|
446
|
-
prompt_template: {
|
|
447
|
-
text_prompt_template: ::String?
|
|
448
|
-
}?,
|
|
449
|
-
inference_configuration: {
|
|
450
|
-
text: {
|
|
451
|
-
temperature: ::Float?,
|
|
452
|
-
top_p: ::Float?,
|
|
453
|
-
max_tokens: ::Integer?,
|
|
454
|
-
stop_sequences: Array[::String]?
|
|
455
|
-
}?
|
|
456
|
-
}?,
|
|
457
|
-
reranking_configuration: {
|
|
458
|
-
type: ("BEDROCK_RERANKING_MODEL"),
|
|
459
|
-
bedrock_reranking_configuration: {
|
|
460
|
-
model_configuration: {
|
|
461
|
-
model_arn: ::String,
|
|
462
|
-
additional_model_request_fields: Hash[::String, {
|
|
463
|
-
}]?
|
|
464
|
-
},
|
|
465
|
-
number_of_reranked_results: ::Integer?,
|
|
466
|
-
metadata_configuration: {
|
|
467
|
-
selection_mode: ("SELECTIVE" | "ALL"),
|
|
468
|
-
selective_mode_configuration: {
|
|
469
|
-
fields_to_include: Array[
|
|
470
|
-
{
|
|
471
|
-
field_name: ::String
|
|
472
|
-
},
|
|
473
|
-
]?,
|
|
474
|
-
fields_to_exclude: Array[
|
|
475
|
-
{
|
|
476
|
-
field_name: ::String
|
|
477
|
-
},
|
|
478
|
-
]?
|
|
479
|
-
}?
|
|
480
|
-
}?
|
|
481
|
-
}?
|
|
482
|
-
}?,
|
|
483
|
-
orchestration_configuration: {
|
|
484
|
-
prompt_template: {
|
|
485
|
-
text_prompt_template: ::String?
|
|
486
|
-
}?,
|
|
487
|
-
inference_config: {
|
|
488
|
-
text: {
|
|
489
|
-
temperature: ::Float?,
|
|
490
|
-
top_p: ::Float?,
|
|
491
|
-
max_tokens: ::Integer?,
|
|
492
|
-
stop_sequences: Array[::String]?
|
|
493
|
-
}?
|
|
494
|
-
}?,
|
|
495
|
-
additional_model_request_fields: Hash[::String, {
|
|
496
|
-
}]?,
|
|
497
|
-
performance_config: {
|
|
498
|
-
latency: ("standard" | "optimized")?
|
|
499
|
-
}?
|
|
500
|
-
}?
|
|
501
|
-
}?,
|
|
502
|
-
condition: {
|
|
503
|
-
conditions: Array[
|
|
504
|
-
{
|
|
505
|
-
name: ::String,
|
|
506
|
-
expression: ::String?
|
|
507
|
-
},
|
|
508
|
-
]
|
|
509
|
-
}?,
|
|
510
|
-
lex: {
|
|
511
|
-
bot_alias_arn: ::String,
|
|
512
|
-
locale_id: ::String
|
|
513
|
-
}?,
|
|
514
|
-
prompt: {
|
|
515
|
-
source_configuration: {
|
|
516
|
-
resource: {
|
|
517
|
-
prompt_arn: ::String
|
|
518
|
-
}?,
|
|
519
|
-
inline: {
|
|
520
|
-
template_type: ("TEXT" | "CHAT"),
|
|
521
|
-
template_configuration: {
|
|
522
|
-
text: {
|
|
523
|
-
text: ::String,
|
|
524
|
-
cache_point: {
|
|
525
|
-
type: ("default")
|
|
526
|
-
}?,
|
|
527
|
-
input_variables: Array[
|
|
528
|
-
{
|
|
529
|
-
name: ::String?
|
|
530
|
-
},
|
|
531
|
-
]?
|
|
532
|
-
}?,
|
|
533
|
-
chat: {
|
|
534
|
-
messages: Array[
|
|
535
|
-
{
|
|
536
|
-
role: ("user" | "assistant"),
|
|
537
|
-
content: Array[
|
|
538
|
-
{
|
|
539
|
-
text: ::String?,
|
|
540
|
-
cache_point: {
|
|
541
|
-
type: ("default")
|
|
542
|
-
}?
|
|
543
|
-
},
|
|
544
|
-
]
|
|
545
|
-
},
|
|
546
|
-
],
|
|
547
|
-
system: Array[
|
|
548
|
-
{
|
|
549
|
-
text: ::String?,
|
|
550
|
-
cache_point: {
|
|
551
|
-
type: ("default")
|
|
552
|
-
}?
|
|
553
|
-
},
|
|
554
|
-
]?,
|
|
555
|
-
input_variables: Array[
|
|
556
|
-
{
|
|
557
|
-
name: ::String?
|
|
558
|
-
},
|
|
559
|
-
]?,
|
|
560
|
-
tool_configuration: {
|
|
561
|
-
tools: Array[
|
|
562
|
-
{
|
|
563
|
-
tool_spec: {
|
|
564
|
-
name: ::String,
|
|
565
|
-
description: ::String?,
|
|
566
|
-
input_schema: {
|
|
567
|
-
json: {
|
|
568
|
-
}?
|
|
569
|
-
},
|
|
570
|
-
strict: bool?
|
|
571
|
-
}?,
|
|
572
|
-
cache_point: {
|
|
573
|
-
type: ("default")
|
|
574
|
-
}?
|
|
575
|
-
},
|
|
576
|
-
],
|
|
577
|
-
tool_choice: {
|
|
578
|
-
auto: {
|
|
579
|
-
}?,
|
|
580
|
-
any: {
|
|
581
|
-
}?,
|
|
582
|
-
tool: {
|
|
583
|
-
name: ::String
|
|
584
|
-
}?
|
|
585
|
-
}?
|
|
586
|
-
}?
|
|
587
|
-
}?
|
|
588
|
-
},
|
|
589
|
-
model_id: ::String,
|
|
590
|
-
inference_configuration: {
|
|
591
|
-
text: {
|
|
592
|
-
temperature: ::Float?,
|
|
593
|
-
top_p: ::Float?,
|
|
594
|
-
max_tokens: ::Integer?,
|
|
595
|
-
stop_sequences: Array[::String]?
|
|
596
|
-
}?
|
|
597
|
-
}?,
|
|
598
|
-
additional_model_request_fields: {
|
|
599
|
-
}?
|
|
600
|
-
}?
|
|
601
|
-
},
|
|
602
|
-
guardrail_configuration: {
|
|
603
|
-
guardrail_identifier: ::String?,
|
|
604
|
-
guardrail_version: ::String?
|
|
605
|
-
}?
|
|
606
|
-
}?,
|
|
607
|
-
lambda_function: {
|
|
608
|
-
lambda_arn: ::String
|
|
609
|
-
}?,
|
|
610
|
-
storage: {
|
|
611
|
-
service_configuration: {
|
|
612
|
-
s3: {
|
|
613
|
-
bucket_name: ::String
|
|
614
|
-
}?
|
|
615
|
-
}
|
|
616
|
-
}?,
|
|
617
|
-
agent: {
|
|
618
|
-
agent_alias_arn: ::String
|
|
619
|
-
}?,
|
|
620
|
-
retrieval: {
|
|
621
|
-
service_configuration: {
|
|
622
|
-
s3: {
|
|
623
|
-
bucket_name: ::String
|
|
624
|
-
}?
|
|
625
|
-
}
|
|
626
|
-
}?,
|
|
627
|
-
iterator: {
|
|
628
|
-
}?,
|
|
629
|
-
collector: {
|
|
630
|
-
}?,
|
|
631
|
-
inline_code: {
|
|
632
|
-
code: ::String,
|
|
633
|
-
language: ("Python_3")
|
|
634
|
-
}?,
|
|
635
|
-
loop: {
|
|
636
|
-
definition: untyped
|
|
637
|
-
}?,
|
|
638
|
-
loop_input: {
|
|
639
|
-
}?,
|
|
640
|
-
loop_controller: {
|
|
641
|
-
continue_condition: {
|
|
642
|
-
name: ::String,
|
|
643
|
-
expression: ::String?
|
|
644
|
-
},
|
|
645
|
-
max_iterations: ::Integer?
|
|
646
|
-
}?
|
|
647
|
-
}?,
|
|
648
|
-
inputs: Array[
|
|
649
|
-
{
|
|
650
|
-
name: ::String,
|
|
651
|
-
type: ("String" | "Number" | "Boolean" | "Object" | "Array"),
|
|
652
|
-
expression: ::String,
|
|
653
|
-
category: ("LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop")?
|
|
654
|
-
},
|
|
655
|
-
]?,
|
|
656
|
-
outputs: Array[
|
|
657
|
-
{
|
|
658
|
-
name: ::String,
|
|
659
|
-
type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
|
660
|
-
},
|
|
661
|
-
]?
|
|
662
|
-
},
|
|
663
|
-
]?,
|
|
664
|
-
connections: Array[
|
|
665
|
-
{
|
|
666
|
-
type: ("Data" | "Conditional"),
|
|
667
|
-
name: ::String,
|
|
668
|
-
source: ::String,
|
|
669
|
-
target: ::String,
|
|
670
|
-
configuration: {
|
|
671
|
-
data: {
|
|
672
|
-
source_output: ::String,
|
|
673
|
-
target_input: ::String
|
|
674
|
-
}?,
|
|
675
|
-
conditional: {
|
|
676
|
-
condition: ::String
|
|
677
|
-
}?
|
|
678
|
-
}?
|
|
679
|
-
},
|
|
680
|
-
]?
|
|
681
|
-
},
|
|
238
|
+
?definition: Params::flow_definition,
|
|
682
239
|
?client_token: ::String,
|
|
683
240
|
?tags: Hash[::String, ::String]
|
|
684
241
|
) -> _CreateFlowResponseSuccess
|
|
@@ -703,7 +260,7 @@ module Aws
|
|
|
703
260
|
routing_configuration: Array[
|
|
704
261
|
{
|
|
705
262
|
flow_version: ::String?
|
|
706
|
-
}
|
|
263
|
+
}
|
|
707
264
|
],
|
|
708
265
|
?concurrency_configuration: {
|
|
709
266
|
type: ("Automatic" | "Manual"),
|
|
@@ -746,184 +303,8 @@ module Aws
|
|
|
746
303
|
name: ::String,
|
|
747
304
|
?description: ::String,
|
|
748
305
|
role_arn: ::String,
|
|
749
|
-
knowledge_base_configuration:
|
|
750
|
-
|
|
751
|
-
vector_knowledge_base_configuration: {
|
|
752
|
-
embedding_model_arn: ::String,
|
|
753
|
-
embedding_model_configuration: {
|
|
754
|
-
bedrock_embedding_model_configuration: {
|
|
755
|
-
dimensions: ::Integer?,
|
|
756
|
-
embedding_data_type: ("FLOAT32" | "BINARY")?,
|
|
757
|
-
audio: Array[
|
|
758
|
-
{
|
|
759
|
-
segmentation_configuration: {
|
|
760
|
-
fixed_length_duration: ::Integer
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
]?,
|
|
764
|
-
video: Array[
|
|
765
|
-
{
|
|
766
|
-
segmentation_configuration: {
|
|
767
|
-
fixed_length_duration: ::Integer
|
|
768
|
-
}
|
|
769
|
-
},
|
|
770
|
-
]?
|
|
771
|
-
}?
|
|
772
|
-
}?,
|
|
773
|
-
supplemental_data_storage_configuration: {
|
|
774
|
-
storage_locations: Array[
|
|
775
|
-
{
|
|
776
|
-
type: ("S3"),
|
|
777
|
-
s3_location: {
|
|
778
|
-
uri: ::String
|
|
779
|
-
}?
|
|
780
|
-
},
|
|
781
|
-
]
|
|
782
|
-
}?
|
|
783
|
-
}?,
|
|
784
|
-
kendra_knowledge_base_configuration: {
|
|
785
|
-
kendra_index_arn: ::String
|
|
786
|
-
}?,
|
|
787
|
-
sql_knowledge_base_configuration: {
|
|
788
|
-
type: ("REDSHIFT"),
|
|
789
|
-
redshift_configuration: {
|
|
790
|
-
storage_configurations: Array[
|
|
791
|
-
{
|
|
792
|
-
type: ("REDSHIFT" | "AWS_DATA_CATALOG"),
|
|
793
|
-
aws_data_catalog_configuration: {
|
|
794
|
-
table_names: Array[::String]
|
|
795
|
-
}?,
|
|
796
|
-
redshift_configuration: {
|
|
797
|
-
database_name: ::String
|
|
798
|
-
}?
|
|
799
|
-
},
|
|
800
|
-
],
|
|
801
|
-
query_engine_configuration: {
|
|
802
|
-
type: ("SERVERLESS" | "PROVISIONED"),
|
|
803
|
-
serverless_configuration: {
|
|
804
|
-
workgroup_arn: ::String,
|
|
805
|
-
auth_configuration: {
|
|
806
|
-
type: ("IAM" | "USERNAME_PASSWORD"),
|
|
807
|
-
username_password_secret_arn: ::String?
|
|
808
|
-
}
|
|
809
|
-
}?,
|
|
810
|
-
provisioned_configuration: {
|
|
811
|
-
cluster_identifier: ::String,
|
|
812
|
-
auth_configuration: {
|
|
813
|
-
type: ("IAM" | "USERNAME_PASSWORD" | "USERNAME"),
|
|
814
|
-
database_user: ::String?,
|
|
815
|
-
username_password_secret_arn: ::String?
|
|
816
|
-
}
|
|
817
|
-
}?
|
|
818
|
-
},
|
|
819
|
-
query_generation_configuration: {
|
|
820
|
-
execution_timeout_seconds: ::Integer?,
|
|
821
|
-
generation_context: {
|
|
822
|
-
tables: Array[
|
|
823
|
-
{
|
|
824
|
-
name: ::String,
|
|
825
|
-
description: ::String?,
|
|
826
|
-
inclusion: ("INCLUDE" | "EXCLUDE")?,
|
|
827
|
-
columns: Array[
|
|
828
|
-
{
|
|
829
|
-
name: ::String?,
|
|
830
|
-
description: ::String?,
|
|
831
|
-
inclusion: ("INCLUDE" | "EXCLUDE")?
|
|
832
|
-
},
|
|
833
|
-
]?
|
|
834
|
-
},
|
|
835
|
-
]?,
|
|
836
|
-
curated_queries: Array[
|
|
837
|
-
{
|
|
838
|
-
natural_language: ::String,
|
|
839
|
-
sql: ::String
|
|
840
|
-
},
|
|
841
|
-
]?
|
|
842
|
-
}?
|
|
843
|
-
}?
|
|
844
|
-
}?
|
|
845
|
-
}?
|
|
846
|
-
},
|
|
847
|
-
?storage_configuration: {
|
|
848
|
-
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS" | "OPENSEARCH_MANAGED_CLUSTER" | "S3_VECTORS"),
|
|
849
|
-
opensearch_serverless_configuration: {
|
|
850
|
-
collection_arn: ::String,
|
|
851
|
-
vector_index_name: ::String,
|
|
852
|
-
field_mapping: {
|
|
853
|
-
vector_field: ::String,
|
|
854
|
-
text_field: ::String,
|
|
855
|
-
metadata_field: ::String
|
|
856
|
-
}
|
|
857
|
-
}?,
|
|
858
|
-
opensearch_managed_cluster_configuration: {
|
|
859
|
-
domain_endpoint: ::String,
|
|
860
|
-
domain_arn: ::String,
|
|
861
|
-
vector_index_name: ::String,
|
|
862
|
-
field_mapping: {
|
|
863
|
-
vector_field: ::String,
|
|
864
|
-
text_field: ::String,
|
|
865
|
-
metadata_field: ::String
|
|
866
|
-
}
|
|
867
|
-
}?,
|
|
868
|
-
pinecone_configuration: {
|
|
869
|
-
connection_string: ::String,
|
|
870
|
-
credentials_secret_arn: ::String,
|
|
871
|
-
namespace: ::String?,
|
|
872
|
-
field_mapping: {
|
|
873
|
-
text_field: ::String,
|
|
874
|
-
metadata_field: ::String
|
|
875
|
-
}
|
|
876
|
-
}?,
|
|
877
|
-
redis_enterprise_cloud_configuration: {
|
|
878
|
-
endpoint: ::String,
|
|
879
|
-
vector_index_name: ::String,
|
|
880
|
-
credentials_secret_arn: ::String,
|
|
881
|
-
field_mapping: {
|
|
882
|
-
vector_field: ::String,
|
|
883
|
-
text_field: ::String,
|
|
884
|
-
metadata_field: ::String
|
|
885
|
-
}
|
|
886
|
-
}?,
|
|
887
|
-
rds_configuration: {
|
|
888
|
-
resource_arn: ::String,
|
|
889
|
-
credentials_secret_arn: ::String,
|
|
890
|
-
database_name: ::String,
|
|
891
|
-
table_name: ::String,
|
|
892
|
-
field_mapping: {
|
|
893
|
-
primary_key_field: ::String,
|
|
894
|
-
vector_field: ::String,
|
|
895
|
-
text_field: ::String,
|
|
896
|
-
metadata_field: ::String,
|
|
897
|
-
custom_metadata_field: ::String?
|
|
898
|
-
}
|
|
899
|
-
}?,
|
|
900
|
-
mongo_db_atlas_configuration: {
|
|
901
|
-
endpoint: ::String,
|
|
902
|
-
database_name: ::String,
|
|
903
|
-
collection_name: ::String,
|
|
904
|
-
vector_index_name: ::String,
|
|
905
|
-
credentials_secret_arn: ::String,
|
|
906
|
-
field_mapping: {
|
|
907
|
-
vector_field: ::String,
|
|
908
|
-
text_field: ::String,
|
|
909
|
-
metadata_field: ::String
|
|
910
|
-
},
|
|
911
|
-
endpoint_service_name: ::String?,
|
|
912
|
-
text_index_name: ::String?
|
|
913
|
-
}?,
|
|
914
|
-
neptune_analytics_configuration: {
|
|
915
|
-
graph_arn: ::String,
|
|
916
|
-
field_mapping: {
|
|
917
|
-
text_field: ::String,
|
|
918
|
-
metadata_field: ::String
|
|
919
|
-
}
|
|
920
|
-
}?,
|
|
921
|
-
s3_vectors_configuration: {
|
|
922
|
-
vector_bucket_arn: ::String?,
|
|
923
|
-
index_arn: ::String?,
|
|
924
|
-
index_name: ::String?
|
|
925
|
-
}?
|
|
926
|
-
},
|
|
306
|
+
knowledge_base_configuration: Params::knowledge_base_configuration,
|
|
307
|
+
?storage_configuration: Params::storage_configuration,
|
|
927
308
|
?tags: Hash[::String, ::String]
|
|
928
309
|
) -> _CreateKnowledgeBaseResponseSuccess
|
|
929
310
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKnowledgeBaseResponseSuccess
|
|
@@ -948,100 +329,7 @@ module Aws
|
|
|
948
329
|
?customer_encryption_key_arn: ::String,
|
|
949
330
|
?default_variant: ::String,
|
|
950
331
|
?variants: Array[
|
|
951
|
-
|
|
952
|
-
name: ::String,
|
|
953
|
-
template_type: ("TEXT" | "CHAT"),
|
|
954
|
-
template_configuration: {
|
|
955
|
-
text: {
|
|
956
|
-
text: ::String,
|
|
957
|
-
cache_point: {
|
|
958
|
-
type: ("default")
|
|
959
|
-
}?,
|
|
960
|
-
input_variables: Array[
|
|
961
|
-
{
|
|
962
|
-
name: ::String?
|
|
963
|
-
},
|
|
964
|
-
]?
|
|
965
|
-
}?,
|
|
966
|
-
chat: {
|
|
967
|
-
messages: Array[
|
|
968
|
-
{
|
|
969
|
-
role: ("user" | "assistant"),
|
|
970
|
-
content: Array[
|
|
971
|
-
{
|
|
972
|
-
text: ::String?,
|
|
973
|
-
cache_point: {
|
|
974
|
-
type: ("default")
|
|
975
|
-
}?
|
|
976
|
-
},
|
|
977
|
-
]
|
|
978
|
-
},
|
|
979
|
-
],
|
|
980
|
-
system: Array[
|
|
981
|
-
{
|
|
982
|
-
text: ::String?,
|
|
983
|
-
cache_point: {
|
|
984
|
-
type: ("default")
|
|
985
|
-
}?
|
|
986
|
-
},
|
|
987
|
-
]?,
|
|
988
|
-
input_variables: Array[
|
|
989
|
-
{
|
|
990
|
-
name: ::String?
|
|
991
|
-
},
|
|
992
|
-
]?,
|
|
993
|
-
tool_configuration: {
|
|
994
|
-
tools: Array[
|
|
995
|
-
{
|
|
996
|
-
tool_spec: {
|
|
997
|
-
name: ::String,
|
|
998
|
-
description: ::String?,
|
|
999
|
-
input_schema: {
|
|
1000
|
-
json: {
|
|
1001
|
-
}?
|
|
1002
|
-
},
|
|
1003
|
-
strict: bool?
|
|
1004
|
-
}?,
|
|
1005
|
-
cache_point: {
|
|
1006
|
-
type: ("default")
|
|
1007
|
-
}?
|
|
1008
|
-
},
|
|
1009
|
-
],
|
|
1010
|
-
tool_choice: {
|
|
1011
|
-
auto: {
|
|
1012
|
-
}?,
|
|
1013
|
-
any: {
|
|
1014
|
-
}?,
|
|
1015
|
-
tool: {
|
|
1016
|
-
name: ::String
|
|
1017
|
-
}?
|
|
1018
|
-
}?
|
|
1019
|
-
}?
|
|
1020
|
-
}?
|
|
1021
|
-
},
|
|
1022
|
-
model_id: ::String?,
|
|
1023
|
-
inference_configuration: {
|
|
1024
|
-
text: {
|
|
1025
|
-
temperature: ::Float?,
|
|
1026
|
-
top_p: ::Float?,
|
|
1027
|
-
max_tokens: ::Integer?,
|
|
1028
|
-
stop_sequences: Array[::String]?
|
|
1029
|
-
}?
|
|
1030
|
-
}?,
|
|
1031
|
-
metadata: Array[
|
|
1032
|
-
{
|
|
1033
|
-
key: ::String,
|
|
1034
|
-
value: ::String
|
|
1035
|
-
},
|
|
1036
|
-
]?,
|
|
1037
|
-
additional_model_request_fields: {
|
|
1038
|
-
}?,
|
|
1039
|
-
gen_ai_resource: {
|
|
1040
|
-
agent: {
|
|
1041
|
-
agent_identifier: ::String
|
|
1042
|
-
}?
|
|
1043
|
-
}?
|
|
1044
|
-
},
|
|
332
|
+
Params::prompt_variant
|
|
1045
333
|
],
|
|
1046
334
|
?client_token: ::String,
|
|
1047
335
|
?tags: Hash[::String, ::String]
|
|
@@ -1191,15 +479,7 @@ module Aws
|
|
|
1191
479
|
data_source_id: ::String,
|
|
1192
480
|
?client_token: ::String,
|
|
1193
481
|
document_identifiers: Array[
|
|
1194
|
-
|
|
1195
|
-
data_source_type: ("CUSTOM" | "S3"),
|
|
1196
|
-
s3: {
|
|
1197
|
-
uri: ::String
|
|
1198
|
-
}?,
|
|
1199
|
-
custom: {
|
|
1200
|
-
id: ::String
|
|
1201
|
-
}?
|
|
1202
|
-
},
|
|
482
|
+
Params::document_identifier
|
|
1203
483
|
]
|
|
1204
484
|
) -> _DeleteKnowledgeBaseDocumentsResponseSuccess
|
|
1205
485
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKnowledgeBaseDocumentsResponseSuccess
|
|
@@ -1408,15 +688,7 @@ module Aws
|
|
|
1408
688
|
knowledge_base_id: ::String,
|
|
1409
689
|
data_source_id: ::String,
|
|
1410
690
|
document_identifiers: Array[
|
|
1411
|
-
|
|
1412
|
-
data_source_type: ("CUSTOM" | "S3"),
|
|
1413
|
-
s3: {
|
|
1414
|
-
uri: ::String
|
|
1415
|
-
}?,
|
|
1416
|
-
custom: {
|
|
1417
|
-
id: ::String
|
|
1418
|
-
}?
|
|
1419
|
-
},
|
|
691
|
+
Params::document_identifier
|
|
1420
692
|
]
|
|
1421
693
|
) -> _GetKnowledgeBaseDocumentsResponseSuccess
|
|
1422
694
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKnowledgeBaseDocumentsResponseSuccess
|
|
@@ -1464,7 +736,7 @@ module Aws
|
|
|
1464
736
|
string_value: ::String?,
|
|
1465
737
|
string_list_value: Array[::String]?
|
|
1466
738
|
}
|
|
1467
|
-
}
|
|
739
|
+
}
|
|
1468
740
|
]?,
|
|
1469
741
|
s3_location: {
|
|
1470
742
|
uri: ::String,
|
|
@@ -1499,7 +771,7 @@ module Aws
|
|
|
1499
771
|
}
|
|
1500
772
|
}?
|
|
1501
773
|
}
|
|
1502
|
-
}
|
|
774
|
+
}
|
|
1503
775
|
]
|
|
1504
776
|
) -> _IngestKnowledgeBaseDocumentsResponseSuccess
|
|
1505
777
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _IngestKnowledgeBaseDocumentsResponseSuccess
|
|
@@ -1649,7 +921,7 @@ module Aws
|
|
|
1649
921
|
attribute: ("STATUS"),
|
|
1650
922
|
operator: ("EQ"),
|
|
1651
923
|
values: Array[::String]
|
|
1652
|
-
}
|
|
924
|
+
}
|
|
1653
925
|
],
|
|
1654
926
|
?sort_by: {
|
|
1655
927
|
attribute: ("STATUS" | "STARTED_AT"),
|
|
@@ -1798,28 +1070,7 @@ module Aws
|
|
|
1798
1070
|
?idle_session_ttl_in_seconds: ::Integer,
|
|
1799
1071
|
agent_resource_role_arn: ::String,
|
|
1800
1072
|
?customer_encryption_key_arn: ::String,
|
|
1801
|
-
?prompt_override_configuration:
|
|
1802
|
-
prompt_configurations: Array[
|
|
1803
|
-
{
|
|
1804
|
-
prompt_type: ("PRE_PROCESSING" | "ORCHESTRATION" | "POST_PROCESSING" | "KNOWLEDGE_BASE_RESPONSE_GENERATION" | "MEMORY_SUMMARIZATION")?,
|
|
1805
|
-
prompt_creation_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
|
1806
|
-
prompt_state: ("ENABLED" | "DISABLED")?,
|
|
1807
|
-
base_prompt_template: ::String?,
|
|
1808
|
-
inference_configuration: {
|
|
1809
|
-
temperature: ::Float?,
|
|
1810
|
-
top_p: ::Float?,
|
|
1811
|
-
top_k: ::Integer?,
|
|
1812
|
-
maximum_length: ::Integer?,
|
|
1813
|
-
stop_sequences: Array[::String]?
|
|
1814
|
-
}?,
|
|
1815
|
-
parser_mode: ("DEFAULT" | "OVERRIDDEN")?,
|
|
1816
|
-
foundation_model: ::String?,
|
|
1817
|
-
additional_model_request_fields: {
|
|
1818
|
-
}?
|
|
1819
|
-
},
|
|
1820
|
-
],
|
|
1821
|
-
override_lambda: ::String?
|
|
1822
|
-
},
|
|
1073
|
+
?prompt_override_configuration: Params::prompt_override_configuration,
|
|
1823
1074
|
?guardrail_configuration: {
|
|
1824
1075
|
guardrail_identifier: ::String?,
|
|
1825
1076
|
guardrail_version: ::String?
|
|
@@ -1860,20 +1111,7 @@ module Aws
|
|
|
1860
1111
|
}?,
|
|
1861
1112
|
payload: ::String?
|
|
1862
1113
|
},
|
|
1863
|
-
?function_schema:
|
|
1864
|
-
functions: Array[
|
|
1865
|
-
{
|
|
1866
|
-
name: ::String,
|
|
1867
|
-
description: ::String?,
|
|
1868
|
-
parameters: Hash[::String, {
|
|
1869
|
-
description: ::String?,
|
|
1870
|
-
type: ("string" | "number" | "integer" | "boolean" | "array"),
|
|
1871
|
-
required: bool?
|
|
1872
|
-
}]?,
|
|
1873
|
-
require_confirmation: ("ENABLED" | "DISABLED")?
|
|
1874
|
-
},
|
|
1875
|
-
]?
|
|
1876
|
-
}
|
|
1114
|
+
?function_schema: Params::function_schema
|
|
1877
1115
|
) -> _UpdateAgentActionGroupResponseSuccess
|
|
1878
1116
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentActionGroupResponseSuccess
|
|
1879
1117
|
|
|
@@ -1891,7 +1129,7 @@ module Aws
|
|
|
1891
1129
|
{
|
|
1892
1130
|
agent_version: ::String?,
|
|
1893
1131
|
provisioned_throughput: ::String?
|
|
1894
|
-
}
|
|
1132
|
+
}
|
|
1895
1133
|
],
|
|
1896
1134
|
?alias_invocation_state: ("ACCEPT_INVOCATIONS" | "REJECT_INVOCATIONS")
|
|
1897
1135
|
) -> _UpdateAgentAliasResponseSuccess
|
|
@@ -1939,168 +1177,12 @@ module Aws
|
|
|
1939
1177
|
data_source_id: ::String,
|
|
1940
1178
|
name: ::String,
|
|
1941
1179
|
?description: ::String,
|
|
1942
|
-
data_source_configuration:
|
|
1943
|
-
type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT" | "CUSTOM" | "REDSHIFT_METADATA"),
|
|
1944
|
-
s3_configuration: {
|
|
1945
|
-
bucket_arn: ::String,
|
|
1946
|
-
inclusion_prefixes: Array[::String]?,
|
|
1947
|
-
bucket_owner_account_id: ::String?
|
|
1948
|
-
}?,
|
|
1949
|
-
web_configuration: {
|
|
1950
|
-
source_configuration: {
|
|
1951
|
-
url_configuration: {
|
|
1952
|
-
seed_urls: Array[
|
|
1953
|
-
{
|
|
1954
|
-
url: ::String?
|
|
1955
|
-
},
|
|
1956
|
-
]?
|
|
1957
|
-
}
|
|
1958
|
-
},
|
|
1959
|
-
crawler_configuration: {
|
|
1960
|
-
crawler_limits: {
|
|
1961
|
-
rate_limit: ::Integer?,
|
|
1962
|
-
max_pages: ::Integer?
|
|
1963
|
-
}?,
|
|
1964
|
-
inclusion_filters: Array[::String]?,
|
|
1965
|
-
exclusion_filters: Array[::String]?,
|
|
1966
|
-
scope: ("HOST_ONLY" | "SUBDOMAINS")?,
|
|
1967
|
-
user_agent: ::String?,
|
|
1968
|
-
user_agent_header: ::String?
|
|
1969
|
-
}?
|
|
1970
|
-
}?,
|
|
1971
|
-
confluence_configuration: {
|
|
1972
|
-
source_configuration: {
|
|
1973
|
-
host_url: ::String,
|
|
1974
|
-
host_type: ("SAAS"),
|
|
1975
|
-
auth_type: ("BASIC" | "OAUTH2_CLIENT_CREDENTIALS"),
|
|
1976
|
-
credentials_secret_arn: ::String
|
|
1977
|
-
},
|
|
1978
|
-
crawler_configuration: {
|
|
1979
|
-
filter_configuration: {
|
|
1980
|
-
type: ("PATTERN"),
|
|
1981
|
-
pattern_object_filter: {
|
|
1982
|
-
filters: Array[
|
|
1983
|
-
{
|
|
1984
|
-
object_type: ::String,
|
|
1985
|
-
inclusion_filters: Array[::String]?,
|
|
1986
|
-
exclusion_filters: Array[::String]?
|
|
1987
|
-
},
|
|
1988
|
-
]
|
|
1989
|
-
}?
|
|
1990
|
-
}?
|
|
1991
|
-
}?
|
|
1992
|
-
}?,
|
|
1993
|
-
salesforce_configuration: {
|
|
1994
|
-
source_configuration: {
|
|
1995
|
-
host_url: ::String,
|
|
1996
|
-
auth_type: ("OAUTH2_CLIENT_CREDENTIALS"),
|
|
1997
|
-
credentials_secret_arn: ::String
|
|
1998
|
-
},
|
|
1999
|
-
crawler_configuration: {
|
|
2000
|
-
filter_configuration: {
|
|
2001
|
-
type: ("PATTERN"),
|
|
2002
|
-
pattern_object_filter: {
|
|
2003
|
-
filters: Array[
|
|
2004
|
-
{
|
|
2005
|
-
object_type: ::String,
|
|
2006
|
-
inclusion_filters: Array[::String]?,
|
|
2007
|
-
exclusion_filters: Array[::String]?
|
|
2008
|
-
},
|
|
2009
|
-
]
|
|
2010
|
-
}?
|
|
2011
|
-
}?
|
|
2012
|
-
}?
|
|
2013
|
-
}?,
|
|
2014
|
-
share_point_configuration: {
|
|
2015
|
-
source_configuration: {
|
|
2016
|
-
tenant_id: ::String?,
|
|
2017
|
-
domain: ::String,
|
|
2018
|
-
site_urls: Array[::String],
|
|
2019
|
-
host_type: ("ONLINE"),
|
|
2020
|
-
auth_type: ("OAUTH2_CLIENT_CREDENTIALS" | "OAUTH2_SHAREPOINT_APP_ONLY_CLIENT_CREDENTIALS"),
|
|
2021
|
-
credentials_secret_arn: ::String
|
|
2022
|
-
},
|
|
2023
|
-
crawler_configuration: {
|
|
2024
|
-
filter_configuration: {
|
|
2025
|
-
type: ("PATTERN"),
|
|
2026
|
-
pattern_object_filter: {
|
|
2027
|
-
filters: Array[
|
|
2028
|
-
{
|
|
2029
|
-
object_type: ::String,
|
|
2030
|
-
inclusion_filters: Array[::String]?,
|
|
2031
|
-
exclusion_filters: Array[::String]?
|
|
2032
|
-
},
|
|
2033
|
-
]
|
|
2034
|
-
}?
|
|
2035
|
-
}?
|
|
2036
|
-
}?
|
|
2037
|
-
}?
|
|
2038
|
-
},
|
|
1180
|
+
data_source_configuration: Params::data_source_configuration,
|
|
2039
1181
|
?data_deletion_policy: ("RETAIN" | "DELETE"),
|
|
2040
1182
|
?server_side_encryption_configuration: {
|
|
2041
1183
|
kms_key_arn: ::String?
|
|
2042
1184
|
},
|
|
2043
|
-
?vector_ingestion_configuration:
|
|
2044
|
-
chunking_configuration: {
|
|
2045
|
-
chunking_strategy: ("FIXED_SIZE" | "NONE" | "HIERARCHICAL" | "SEMANTIC"),
|
|
2046
|
-
fixed_size_chunking_configuration: {
|
|
2047
|
-
max_tokens: ::Integer,
|
|
2048
|
-
overlap_percentage: ::Integer
|
|
2049
|
-
}?,
|
|
2050
|
-
hierarchical_chunking_configuration: {
|
|
2051
|
-
level_configurations: Array[
|
|
2052
|
-
{
|
|
2053
|
-
max_tokens: ::Integer
|
|
2054
|
-
},
|
|
2055
|
-
],
|
|
2056
|
-
overlap_tokens: ::Integer
|
|
2057
|
-
}?,
|
|
2058
|
-
semantic_chunking_configuration: {
|
|
2059
|
-
max_tokens: ::Integer,
|
|
2060
|
-
buffer_size: ::Integer,
|
|
2061
|
-
breakpoint_percentile_threshold: ::Integer
|
|
2062
|
-
}?
|
|
2063
|
-
}?,
|
|
2064
|
-
custom_transformation_configuration: {
|
|
2065
|
-
intermediate_storage: {
|
|
2066
|
-
s3_location: {
|
|
2067
|
-
uri: ::String
|
|
2068
|
-
}
|
|
2069
|
-
},
|
|
2070
|
-
transformations: Array[
|
|
2071
|
-
{
|
|
2072
|
-
transformation_function: {
|
|
2073
|
-
transformation_lambda_configuration: {
|
|
2074
|
-
lambda_arn: ::String
|
|
2075
|
-
}
|
|
2076
|
-
},
|
|
2077
|
-
step_to_apply: ("POST_CHUNKING")
|
|
2078
|
-
},
|
|
2079
|
-
]
|
|
2080
|
-
}?,
|
|
2081
|
-
parsing_configuration: {
|
|
2082
|
-
parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION"),
|
|
2083
|
-
bedrock_foundation_model_configuration: {
|
|
2084
|
-
model_arn: ::String,
|
|
2085
|
-
parsing_prompt: {
|
|
2086
|
-
parsing_prompt_text: ::String
|
|
2087
|
-
}?,
|
|
2088
|
-
parsing_modality: ("MULTIMODAL")?
|
|
2089
|
-
}?,
|
|
2090
|
-
bedrock_data_automation_configuration: {
|
|
2091
|
-
parsing_modality: ("MULTIMODAL")?
|
|
2092
|
-
}?
|
|
2093
|
-
}?,
|
|
2094
|
-
context_enrichment_configuration: {
|
|
2095
|
-
type: ("BEDROCK_FOUNDATION_MODEL"),
|
|
2096
|
-
bedrock_foundation_model_configuration: {
|
|
2097
|
-
enrichment_strategy_configuration: {
|
|
2098
|
-
method: ("CHUNK_ENTITY_EXTRACTION")
|
|
2099
|
-
},
|
|
2100
|
-
model_arn: ::String
|
|
2101
|
-
}?
|
|
2102
|
-
}?
|
|
2103
|
-
}
|
|
1185
|
+
?vector_ingestion_configuration: Params::vector_ingestion_configuration
|
|
2104
1186
|
) -> _UpdateDataSourceResponseSuccess
|
|
2105
1187
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataSourceResponseSuccess
|
|
2106
1188
|
|
|
@@ -2124,260 +1206,7 @@ module Aws
|
|
|
2124
1206
|
?description: ::String,
|
|
2125
1207
|
execution_role_arn: ::String,
|
|
2126
1208
|
?customer_encryption_key_arn: ::String,
|
|
2127
|
-
?definition:
|
|
2128
|
-
nodes: Array[
|
|
2129
|
-
{
|
|
2130
|
-
name: ::String,
|
|
2131
|
-
type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode" | "Loop" | "LoopInput" | "LoopController"),
|
|
2132
|
-
configuration: {
|
|
2133
|
-
input: {
|
|
2134
|
-
}?,
|
|
2135
|
-
output: {
|
|
2136
|
-
}?,
|
|
2137
|
-
knowledge_base: {
|
|
2138
|
-
knowledge_base_id: ::String,
|
|
2139
|
-
model_id: ::String?,
|
|
2140
|
-
guardrail_configuration: {
|
|
2141
|
-
guardrail_identifier: ::String?,
|
|
2142
|
-
guardrail_version: ::String?
|
|
2143
|
-
}?,
|
|
2144
|
-
number_of_results: ::Integer?,
|
|
2145
|
-
prompt_template: {
|
|
2146
|
-
text_prompt_template: ::String?
|
|
2147
|
-
}?,
|
|
2148
|
-
inference_configuration: {
|
|
2149
|
-
text: {
|
|
2150
|
-
temperature: ::Float?,
|
|
2151
|
-
top_p: ::Float?,
|
|
2152
|
-
max_tokens: ::Integer?,
|
|
2153
|
-
stop_sequences: Array[::String]?
|
|
2154
|
-
}?
|
|
2155
|
-
}?,
|
|
2156
|
-
reranking_configuration: {
|
|
2157
|
-
type: ("BEDROCK_RERANKING_MODEL"),
|
|
2158
|
-
bedrock_reranking_configuration: {
|
|
2159
|
-
model_configuration: {
|
|
2160
|
-
model_arn: ::String,
|
|
2161
|
-
additional_model_request_fields: Hash[::String, {
|
|
2162
|
-
}]?
|
|
2163
|
-
},
|
|
2164
|
-
number_of_reranked_results: ::Integer?,
|
|
2165
|
-
metadata_configuration: {
|
|
2166
|
-
selection_mode: ("SELECTIVE" | "ALL"),
|
|
2167
|
-
selective_mode_configuration: {
|
|
2168
|
-
fields_to_include: Array[
|
|
2169
|
-
{
|
|
2170
|
-
field_name: ::String
|
|
2171
|
-
},
|
|
2172
|
-
]?,
|
|
2173
|
-
fields_to_exclude: Array[
|
|
2174
|
-
{
|
|
2175
|
-
field_name: ::String
|
|
2176
|
-
},
|
|
2177
|
-
]?
|
|
2178
|
-
}?
|
|
2179
|
-
}?
|
|
2180
|
-
}?
|
|
2181
|
-
}?,
|
|
2182
|
-
orchestration_configuration: {
|
|
2183
|
-
prompt_template: {
|
|
2184
|
-
text_prompt_template: ::String?
|
|
2185
|
-
}?,
|
|
2186
|
-
inference_config: {
|
|
2187
|
-
text: {
|
|
2188
|
-
temperature: ::Float?,
|
|
2189
|
-
top_p: ::Float?,
|
|
2190
|
-
max_tokens: ::Integer?,
|
|
2191
|
-
stop_sequences: Array[::String]?
|
|
2192
|
-
}?
|
|
2193
|
-
}?,
|
|
2194
|
-
additional_model_request_fields: Hash[::String, {
|
|
2195
|
-
}]?,
|
|
2196
|
-
performance_config: {
|
|
2197
|
-
latency: ("standard" | "optimized")?
|
|
2198
|
-
}?
|
|
2199
|
-
}?
|
|
2200
|
-
}?,
|
|
2201
|
-
condition: {
|
|
2202
|
-
conditions: Array[
|
|
2203
|
-
{
|
|
2204
|
-
name: ::String,
|
|
2205
|
-
expression: ::String?
|
|
2206
|
-
},
|
|
2207
|
-
]
|
|
2208
|
-
}?,
|
|
2209
|
-
lex: {
|
|
2210
|
-
bot_alias_arn: ::String,
|
|
2211
|
-
locale_id: ::String
|
|
2212
|
-
}?,
|
|
2213
|
-
prompt: {
|
|
2214
|
-
source_configuration: {
|
|
2215
|
-
resource: {
|
|
2216
|
-
prompt_arn: ::String
|
|
2217
|
-
}?,
|
|
2218
|
-
inline: {
|
|
2219
|
-
template_type: ("TEXT" | "CHAT"),
|
|
2220
|
-
template_configuration: {
|
|
2221
|
-
text: {
|
|
2222
|
-
text: ::String,
|
|
2223
|
-
cache_point: {
|
|
2224
|
-
type: ("default")
|
|
2225
|
-
}?,
|
|
2226
|
-
input_variables: Array[
|
|
2227
|
-
{
|
|
2228
|
-
name: ::String?
|
|
2229
|
-
},
|
|
2230
|
-
]?
|
|
2231
|
-
}?,
|
|
2232
|
-
chat: {
|
|
2233
|
-
messages: Array[
|
|
2234
|
-
{
|
|
2235
|
-
role: ("user" | "assistant"),
|
|
2236
|
-
content: Array[
|
|
2237
|
-
{
|
|
2238
|
-
text: ::String?,
|
|
2239
|
-
cache_point: {
|
|
2240
|
-
type: ("default")
|
|
2241
|
-
}?
|
|
2242
|
-
},
|
|
2243
|
-
]
|
|
2244
|
-
},
|
|
2245
|
-
],
|
|
2246
|
-
system: Array[
|
|
2247
|
-
{
|
|
2248
|
-
text: ::String?,
|
|
2249
|
-
cache_point: {
|
|
2250
|
-
type: ("default")
|
|
2251
|
-
}?
|
|
2252
|
-
},
|
|
2253
|
-
]?,
|
|
2254
|
-
input_variables: Array[
|
|
2255
|
-
{
|
|
2256
|
-
name: ::String?
|
|
2257
|
-
},
|
|
2258
|
-
]?,
|
|
2259
|
-
tool_configuration: {
|
|
2260
|
-
tools: Array[
|
|
2261
|
-
{
|
|
2262
|
-
tool_spec: {
|
|
2263
|
-
name: ::String,
|
|
2264
|
-
description: ::String?,
|
|
2265
|
-
input_schema: {
|
|
2266
|
-
json: {
|
|
2267
|
-
}?
|
|
2268
|
-
},
|
|
2269
|
-
strict: bool?
|
|
2270
|
-
}?,
|
|
2271
|
-
cache_point: {
|
|
2272
|
-
type: ("default")
|
|
2273
|
-
}?
|
|
2274
|
-
},
|
|
2275
|
-
],
|
|
2276
|
-
tool_choice: {
|
|
2277
|
-
auto: {
|
|
2278
|
-
}?,
|
|
2279
|
-
any: {
|
|
2280
|
-
}?,
|
|
2281
|
-
tool: {
|
|
2282
|
-
name: ::String
|
|
2283
|
-
}?
|
|
2284
|
-
}?
|
|
2285
|
-
}?
|
|
2286
|
-
}?
|
|
2287
|
-
},
|
|
2288
|
-
model_id: ::String,
|
|
2289
|
-
inference_configuration: {
|
|
2290
|
-
text: {
|
|
2291
|
-
temperature: ::Float?,
|
|
2292
|
-
top_p: ::Float?,
|
|
2293
|
-
max_tokens: ::Integer?,
|
|
2294
|
-
stop_sequences: Array[::String]?
|
|
2295
|
-
}?
|
|
2296
|
-
}?,
|
|
2297
|
-
additional_model_request_fields: {
|
|
2298
|
-
}?
|
|
2299
|
-
}?
|
|
2300
|
-
},
|
|
2301
|
-
guardrail_configuration: {
|
|
2302
|
-
guardrail_identifier: ::String?,
|
|
2303
|
-
guardrail_version: ::String?
|
|
2304
|
-
}?
|
|
2305
|
-
}?,
|
|
2306
|
-
lambda_function: {
|
|
2307
|
-
lambda_arn: ::String
|
|
2308
|
-
}?,
|
|
2309
|
-
storage: {
|
|
2310
|
-
service_configuration: {
|
|
2311
|
-
s3: {
|
|
2312
|
-
bucket_name: ::String
|
|
2313
|
-
}?
|
|
2314
|
-
}
|
|
2315
|
-
}?,
|
|
2316
|
-
agent: {
|
|
2317
|
-
agent_alias_arn: ::String
|
|
2318
|
-
}?,
|
|
2319
|
-
retrieval: {
|
|
2320
|
-
service_configuration: {
|
|
2321
|
-
s3: {
|
|
2322
|
-
bucket_name: ::String
|
|
2323
|
-
}?
|
|
2324
|
-
}
|
|
2325
|
-
}?,
|
|
2326
|
-
iterator: {
|
|
2327
|
-
}?,
|
|
2328
|
-
collector: {
|
|
2329
|
-
}?,
|
|
2330
|
-
inline_code: {
|
|
2331
|
-
code: ::String,
|
|
2332
|
-
language: ("Python_3")
|
|
2333
|
-
}?,
|
|
2334
|
-
loop: {
|
|
2335
|
-
definition: untyped
|
|
2336
|
-
}?,
|
|
2337
|
-
loop_input: {
|
|
2338
|
-
}?,
|
|
2339
|
-
loop_controller: {
|
|
2340
|
-
continue_condition: {
|
|
2341
|
-
name: ::String,
|
|
2342
|
-
expression: ::String?
|
|
2343
|
-
},
|
|
2344
|
-
max_iterations: ::Integer?
|
|
2345
|
-
}?
|
|
2346
|
-
}?,
|
|
2347
|
-
inputs: Array[
|
|
2348
|
-
{
|
|
2349
|
-
name: ::String,
|
|
2350
|
-
type: ("String" | "Number" | "Boolean" | "Object" | "Array"),
|
|
2351
|
-
expression: ::String,
|
|
2352
|
-
category: ("LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop")?
|
|
2353
|
-
},
|
|
2354
|
-
]?,
|
|
2355
|
-
outputs: Array[
|
|
2356
|
-
{
|
|
2357
|
-
name: ::String,
|
|
2358
|
-
type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
|
2359
|
-
},
|
|
2360
|
-
]?
|
|
2361
|
-
},
|
|
2362
|
-
]?,
|
|
2363
|
-
connections: Array[
|
|
2364
|
-
{
|
|
2365
|
-
type: ("Data" | "Conditional"),
|
|
2366
|
-
name: ::String,
|
|
2367
|
-
source: ::String,
|
|
2368
|
-
target: ::String,
|
|
2369
|
-
configuration: {
|
|
2370
|
-
data: {
|
|
2371
|
-
source_output: ::String,
|
|
2372
|
-
target_input: ::String
|
|
2373
|
-
}?,
|
|
2374
|
-
conditional: {
|
|
2375
|
-
condition: ::String
|
|
2376
|
-
}?
|
|
2377
|
-
}?
|
|
2378
|
-
},
|
|
2379
|
-
]?
|
|
2380
|
-
},
|
|
1209
|
+
?definition: Params::flow_definition,
|
|
2381
1210
|
flow_identifier: ::String
|
|
2382
1211
|
) -> _UpdateFlowResponseSuccess
|
|
2383
1212
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFlowResponseSuccess
|
|
@@ -2401,7 +1230,7 @@ module Aws
|
|
|
2401
1230
|
routing_configuration: Array[
|
|
2402
1231
|
{
|
|
2403
1232
|
flow_version: ::String?
|
|
2404
|
-
}
|
|
1233
|
+
}
|
|
2405
1234
|
],
|
|
2406
1235
|
?concurrency_configuration: {
|
|
2407
1236
|
type: ("Automatic" | "Manual"),
|
|
@@ -2422,184 +1251,8 @@ module Aws
|
|
|
2422
1251
|
name: ::String,
|
|
2423
1252
|
?description: ::String,
|
|
2424
1253
|
role_arn: ::String,
|
|
2425
|
-
knowledge_base_configuration:
|
|
2426
|
-
|
|
2427
|
-
vector_knowledge_base_configuration: {
|
|
2428
|
-
embedding_model_arn: ::String,
|
|
2429
|
-
embedding_model_configuration: {
|
|
2430
|
-
bedrock_embedding_model_configuration: {
|
|
2431
|
-
dimensions: ::Integer?,
|
|
2432
|
-
embedding_data_type: ("FLOAT32" | "BINARY")?,
|
|
2433
|
-
audio: Array[
|
|
2434
|
-
{
|
|
2435
|
-
segmentation_configuration: {
|
|
2436
|
-
fixed_length_duration: ::Integer
|
|
2437
|
-
}
|
|
2438
|
-
},
|
|
2439
|
-
]?,
|
|
2440
|
-
video: Array[
|
|
2441
|
-
{
|
|
2442
|
-
segmentation_configuration: {
|
|
2443
|
-
fixed_length_duration: ::Integer
|
|
2444
|
-
}
|
|
2445
|
-
},
|
|
2446
|
-
]?
|
|
2447
|
-
}?
|
|
2448
|
-
}?,
|
|
2449
|
-
supplemental_data_storage_configuration: {
|
|
2450
|
-
storage_locations: Array[
|
|
2451
|
-
{
|
|
2452
|
-
type: ("S3"),
|
|
2453
|
-
s3_location: {
|
|
2454
|
-
uri: ::String
|
|
2455
|
-
}?
|
|
2456
|
-
},
|
|
2457
|
-
]
|
|
2458
|
-
}?
|
|
2459
|
-
}?,
|
|
2460
|
-
kendra_knowledge_base_configuration: {
|
|
2461
|
-
kendra_index_arn: ::String
|
|
2462
|
-
}?,
|
|
2463
|
-
sql_knowledge_base_configuration: {
|
|
2464
|
-
type: ("REDSHIFT"),
|
|
2465
|
-
redshift_configuration: {
|
|
2466
|
-
storage_configurations: Array[
|
|
2467
|
-
{
|
|
2468
|
-
type: ("REDSHIFT" | "AWS_DATA_CATALOG"),
|
|
2469
|
-
aws_data_catalog_configuration: {
|
|
2470
|
-
table_names: Array[::String]
|
|
2471
|
-
}?,
|
|
2472
|
-
redshift_configuration: {
|
|
2473
|
-
database_name: ::String
|
|
2474
|
-
}?
|
|
2475
|
-
},
|
|
2476
|
-
],
|
|
2477
|
-
query_engine_configuration: {
|
|
2478
|
-
type: ("SERVERLESS" | "PROVISIONED"),
|
|
2479
|
-
serverless_configuration: {
|
|
2480
|
-
workgroup_arn: ::String,
|
|
2481
|
-
auth_configuration: {
|
|
2482
|
-
type: ("IAM" | "USERNAME_PASSWORD"),
|
|
2483
|
-
username_password_secret_arn: ::String?
|
|
2484
|
-
}
|
|
2485
|
-
}?,
|
|
2486
|
-
provisioned_configuration: {
|
|
2487
|
-
cluster_identifier: ::String,
|
|
2488
|
-
auth_configuration: {
|
|
2489
|
-
type: ("IAM" | "USERNAME_PASSWORD" | "USERNAME"),
|
|
2490
|
-
database_user: ::String?,
|
|
2491
|
-
username_password_secret_arn: ::String?
|
|
2492
|
-
}
|
|
2493
|
-
}?
|
|
2494
|
-
},
|
|
2495
|
-
query_generation_configuration: {
|
|
2496
|
-
execution_timeout_seconds: ::Integer?,
|
|
2497
|
-
generation_context: {
|
|
2498
|
-
tables: Array[
|
|
2499
|
-
{
|
|
2500
|
-
name: ::String,
|
|
2501
|
-
description: ::String?,
|
|
2502
|
-
inclusion: ("INCLUDE" | "EXCLUDE")?,
|
|
2503
|
-
columns: Array[
|
|
2504
|
-
{
|
|
2505
|
-
name: ::String?,
|
|
2506
|
-
description: ::String?,
|
|
2507
|
-
inclusion: ("INCLUDE" | "EXCLUDE")?
|
|
2508
|
-
},
|
|
2509
|
-
]?
|
|
2510
|
-
},
|
|
2511
|
-
]?,
|
|
2512
|
-
curated_queries: Array[
|
|
2513
|
-
{
|
|
2514
|
-
natural_language: ::String,
|
|
2515
|
-
sql: ::String
|
|
2516
|
-
},
|
|
2517
|
-
]?
|
|
2518
|
-
}?
|
|
2519
|
-
}?
|
|
2520
|
-
}?
|
|
2521
|
-
}?
|
|
2522
|
-
},
|
|
2523
|
-
?storage_configuration: {
|
|
2524
|
-
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS" | "OPENSEARCH_MANAGED_CLUSTER" | "S3_VECTORS"),
|
|
2525
|
-
opensearch_serverless_configuration: {
|
|
2526
|
-
collection_arn: ::String,
|
|
2527
|
-
vector_index_name: ::String,
|
|
2528
|
-
field_mapping: {
|
|
2529
|
-
vector_field: ::String,
|
|
2530
|
-
text_field: ::String,
|
|
2531
|
-
metadata_field: ::String
|
|
2532
|
-
}
|
|
2533
|
-
}?,
|
|
2534
|
-
opensearch_managed_cluster_configuration: {
|
|
2535
|
-
domain_endpoint: ::String,
|
|
2536
|
-
domain_arn: ::String,
|
|
2537
|
-
vector_index_name: ::String,
|
|
2538
|
-
field_mapping: {
|
|
2539
|
-
vector_field: ::String,
|
|
2540
|
-
text_field: ::String,
|
|
2541
|
-
metadata_field: ::String
|
|
2542
|
-
}
|
|
2543
|
-
}?,
|
|
2544
|
-
pinecone_configuration: {
|
|
2545
|
-
connection_string: ::String,
|
|
2546
|
-
credentials_secret_arn: ::String,
|
|
2547
|
-
namespace: ::String?,
|
|
2548
|
-
field_mapping: {
|
|
2549
|
-
text_field: ::String,
|
|
2550
|
-
metadata_field: ::String
|
|
2551
|
-
}
|
|
2552
|
-
}?,
|
|
2553
|
-
redis_enterprise_cloud_configuration: {
|
|
2554
|
-
endpoint: ::String,
|
|
2555
|
-
vector_index_name: ::String,
|
|
2556
|
-
credentials_secret_arn: ::String,
|
|
2557
|
-
field_mapping: {
|
|
2558
|
-
vector_field: ::String,
|
|
2559
|
-
text_field: ::String,
|
|
2560
|
-
metadata_field: ::String
|
|
2561
|
-
}
|
|
2562
|
-
}?,
|
|
2563
|
-
rds_configuration: {
|
|
2564
|
-
resource_arn: ::String,
|
|
2565
|
-
credentials_secret_arn: ::String,
|
|
2566
|
-
database_name: ::String,
|
|
2567
|
-
table_name: ::String,
|
|
2568
|
-
field_mapping: {
|
|
2569
|
-
primary_key_field: ::String,
|
|
2570
|
-
vector_field: ::String,
|
|
2571
|
-
text_field: ::String,
|
|
2572
|
-
metadata_field: ::String,
|
|
2573
|
-
custom_metadata_field: ::String?
|
|
2574
|
-
}
|
|
2575
|
-
}?,
|
|
2576
|
-
mongo_db_atlas_configuration: {
|
|
2577
|
-
endpoint: ::String,
|
|
2578
|
-
database_name: ::String,
|
|
2579
|
-
collection_name: ::String,
|
|
2580
|
-
vector_index_name: ::String,
|
|
2581
|
-
credentials_secret_arn: ::String,
|
|
2582
|
-
field_mapping: {
|
|
2583
|
-
vector_field: ::String,
|
|
2584
|
-
text_field: ::String,
|
|
2585
|
-
metadata_field: ::String
|
|
2586
|
-
},
|
|
2587
|
-
endpoint_service_name: ::String?,
|
|
2588
|
-
text_index_name: ::String?
|
|
2589
|
-
}?,
|
|
2590
|
-
neptune_analytics_configuration: {
|
|
2591
|
-
graph_arn: ::String,
|
|
2592
|
-
field_mapping: {
|
|
2593
|
-
text_field: ::String,
|
|
2594
|
-
metadata_field: ::String
|
|
2595
|
-
}
|
|
2596
|
-
}?,
|
|
2597
|
-
s3_vectors_configuration: {
|
|
2598
|
-
vector_bucket_arn: ::String?,
|
|
2599
|
-
index_arn: ::String?,
|
|
2600
|
-
index_name: ::String?
|
|
2601
|
-
}?
|
|
2602
|
-
}
|
|
1254
|
+
knowledge_base_configuration: Params::knowledge_base_configuration,
|
|
1255
|
+
?storage_configuration: Params::storage_configuration
|
|
2603
1256
|
) -> _UpdateKnowledgeBaseResponseSuccess
|
|
2604
1257
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseResponseSuccess
|
|
2605
1258
|
|
|
@@ -2623,100 +1276,7 @@ module Aws
|
|
|
2623
1276
|
?customer_encryption_key_arn: ::String,
|
|
2624
1277
|
?default_variant: ::String,
|
|
2625
1278
|
?variants: Array[
|
|
2626
|
-
|
|
2627
|
-
name: ::String,
|
|
2628
|
-
template_type: ("TEXT" | "CHAT"),
|
|
2629
|
-
template_configuration: {
|
|
2630
|
-
text: {
|
|
2631
|
-
text: ::String,
|
|
2632
|
-
cache_point: {
|
|
2633
|
-
type: ("default")
|
|
2634
|
-
}?,
|
|
2635
|
-
input_variables: Array[
|
|
2636
|
-
{
|
|
2637
|
-
name: ::String?
|
|
2638
|
-
},
|
|
2639
|
-
]?
|
|
2640
|
-
}?,
|
|
2641
|
-
chat: {
|
|
2642
|
-
messages: Array[
|
|
2643
|
-
{
|
|
2644
|
-
role: ("user" | "assistant"),
|
|
2645
|
-
content: Array[
|
|
2646
|
-
{
|
|
2647
|
-
text: ::String?,
|
|
2648
|
-
cache_point: {
|
|
2649
|
-
type: ("default")
|
|
2650
|
-
}?
|
|
2651
|
-
},
|
|
2652
|
-
]
|
|
2653
|
-
},
|
|
2654
|
-
],
|
|
2655
|
-
system: Array[
|
|
2656
|
-
{
|
|
2657
|
-
text: ::String?,
|
|
2658
|
-
cache_point: {
|
|
2659
|
-
type: ("default")
|
|
2660
|
-
}?
|
|
2661
|
-
},
|
|
2662
|
-
]?,
|
|
2663
|
-
input_variables: Array[
|
|
2664
|
-
{
|
|
2665
|
-
name: ::String?
|
|
2666
|
-
},
|
|
2667
|
-
]?,
|
|
2668
|
-
tool_configuration: {
|
|
2669
|
-
tools: Array[
|
|
2670
|
-
{
|
|
2671
|
-
tool_spec: {
|
|
2672
|
-
name: ::String,
|
|
2673
|
-
description: ::String?,
|
|
2674
|
-
input_schema: {
|
|
2675
|
-
json: {
|
|
2676
|
-
}?
|
|
2677
|
-
},
|
|
2678
|
-
strict: bool?
|
|
2679
|
-
}?,
|
|
2680
|
-
cache_point: {
|
|
2681
|
-
type: ("default")
|
|
2682
|
-
}?
|
|
2683
|
-
},
|
|
2684
|
-
],
|
|
2685
|
-
tool_choice: {
|
|
2686
|
-
auto: {
|
|
2687
|
-
}?,
|
|
2688
|
-
any: {
|
|
2689
|
-
}?,
|
|
2690
|
-
tool: {
|
|
2691
|
-
name: ::String
|
|
2692
|
-
}?
|
|
2693
|
-
}?
|
|
2694
|
-
}?
|
|
2695
|
-
}?
|
|
2696
|
-
},
|
|
2697
|
-
model_id: ::String?,
|
|
2698
|
-
inference_configuration: {
|
|
2699
|
-
text: {
|
|
2700
|
-
temperature: ::Float?,
|
|
2701
|
-
top_p: ::Float?,
|
|
2702
|
-
max_tokens: ::Integer?,
|
|
2703
|
-
stop_sequences: Array[::String]?
|
|
2704
|
-
}?
|
|
2705
|
-
}?,
|
|
2706
|
-
metadata: Array[
|
|
2707
|
-
{
|
|
2708
|
-
key: ::String,
|
|
2709
|
-
value: ::String
|
|
2710
|
-
},
|
|
2711
|
-
]?,
|
|
2712
|
-
additional_model_request_fields: {
|
|
2713
|
-
}?,
|
|
2714
|
-
gen_ai_resource: {
|
|
2715
|
-
agent: {
|
|
2716
|
-
agent_identifier: ::String
|
|
2717
|
-
}?
|
|
2718
|
-
}?
|
|
2719
|
-
},
|
|
1279
|
+
Params::prompt_variant
|
|
2720
1280
|
],
|
|
2721
1281
|
prompt_identifier: ::String
|
|
2722
1282
|
) -> _UpdatePromptResponseSuccess
|
|
@@ -2728,260 +1288,7 @@ module Aws
|
|
|
2728
1288
|
end
|
|
2729
1289
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#validate_flow_definition-instance_method
|
|
2730
1290
|
def validate_flow_definition: (
|
|
2731
|
-
definition:
|
|
2732
|
-
nodes: Array[
|
|
2733
|
-
{
|
|
2734
|
-
name: ::String,
|
|
2735
|
-
type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode" | "Loop" | "LoopInput" | "LoopController"),
|
|
2736
|
-
configuration: {
|
|
2737
|
-
input: {
|
|
2738
|
-
}?,
|
|
2739
|
-
output: {
|
|
2740
|
-
}?,
|
|
2741
|
-
knowledge_base: {
|
|
2742
|
-
knowledge_base_id: ::String,
|
|
2743
|
-
model_id: ::String?,
|
|
2744
|
-
guardrail_configuration: {
|
|
2745
|
-
guardrail_identifier: ::String?,
|
|
2746
|
-
guardrail_version: ::String?
|
|
2747
|
-
}?,
|
|
2748
|
-
number_of_results: ::Integer?,
|
|
2749
|
-
prompt_template: {
|
|
2750
|
-
text_prompt_template: ::String?
|
|
2751
|
-
}?,
|
|
2752
|
-
inference_configuration: {
|
|
2753
|
-
text: {
|
|
2754
|
-
temperature: ::Float?,
|
|
2755
|
-
top_p: ::Float?,
|
|
2756
|
-
max_tokens: ::Integer?,
|
|
2757
|
-
stop_sequences: Array[::String]?
|
|
2758
|
-
}?
|
|
2759
|
-
}?,
|
|
2760
|
-
reranking_configuration: {
|
|
2761
|
-
type: ("BEDROCK_RERANKING_MODEL"),
|
|
2762
|
-
bedrock_reranking_configuration: {
|
|
2763
|
-
model_configuration: {
|
|
2764
|
-
model_arn: ::String,
|
|
2765
|
-
additional_model_request_fields: Hash[::String, {
|
|
2766
|
-
}]?
|
|
2767
|
-
},
|
|
2768
|
-
number_of_reranked_results: ::Integer?,
|
|
2769
|
-
metadata_configuration: {
|
|
2770
|
-
selection_mode: ("SELECTIVE" | "ALL"),
|
|
2771
|
-
selective_mode_configuration: {
|
|
2772
|
-
fields_to_include: Array[
|
|
2773
|
-
{
|
|
2774
|
-
field_name: ::String
|
|
2775
|
-
},
|
|
2776
|
-
]?,
|
|
2777
|
-
fields_to_exclude: Array[
|
|
2778
|
-
{
|
|
2779
|
-
field_name: ::String
|
|
2780
|
-
},
|
|
2781
|
-
]?
|
|
2782
|
-
}?
|
|
2783
|
-
}?
|
|
2784
|
-
}?
|
|
2785
|
-
}?,
|
|
2786
|
-
orchestration_configuration: {
|
|
2787
|
-
prompt_template: {
|
|
2788
|
-
text_prompt_template: ::String?
|
|
2789
|
-
}?,
|
|
2790
|
-
inference_config: {
|
|
2791
|
-
text: {
|
|
2792
|
-
temperature: ::Float?,
|
|
2793
|
-
top_p: ::Float?,
|
|
2794
|
-
max_tokens: ::Integer?,
|
|
2795
|
-
stop_sequences: Array[::String]?
|
|
2796
|
-
}?
|
|
2797
|
-
}?,
|
|
2798
|
-
additional_model_request_fields: Hash[::String, {
|
|
2799
|
-
}]?,
|
|
2800
|
-
performance_config: {
|
|
2801
|
-
latency: ("standard" | "optimized")?
|
|
2802
|
-
}?
|
|
2803
|
-
}?
|
|
2804
|
-
}?,
|
|
2805
|
-
condition: {
|
|
2806
|
-
conditions: Array[
|
|
2807
|
-
{
|
|
2808
|
-
name: ::String,
|
|
2809
|
-
expression: ::String?
|
|
2810
|
-
},
|
|
2811
|
-
]
|
|
2812
|
-
}?,
|
|
2813
|
-
lex: {
|
|
2814
|
-
bot_alias_arn: ::String,
|
|
2815
|
-
locale_id: ::String
|
|
2816
|
-
}?,
|
|
2817
|
-
prompt: {
|
|
2818
|
-
source_configuration: {
|
|
2819
|
-
resource: {
|
|
2820
|
-
prompt_arn: ::String
|
|
2821
|
-
}?,
|
|
2822
|
-
inline: {
|
|
2823
|
-
template_type: ("TEXT" | "CHAT"),
|
|
2824
|
-
template_configuration: {
|
|
2825
|
-
text: {
|
|
2826
|
-
text: ::String,
|
|
2827
|
-
cache_point: {
|
|
2828
|
-
type: ("default")
|
|
2829
|
-
}?,
|
|
2830
|
-
input_variables: Array[
|
|
2831
|
-
{
|
|
2832
|
-
name: ::String?
|
|
2833
|
-
},
|
|
2834
|
-
]?
|
|
2835
|
-
}?,
|
|
2836
|
-
chat: {
|
|
2837
|
-
messages: Array[
|
|
2838
|
-
{
|
|
2839
|
-
role: ("user" | "assistant"),
|
|
2840
|
-
content: Array[
|
|
2841
|
-
{
|
|
2842
|
-
text: ::String?,
|
|
2843
|
-
cache_point: {
|
|
2844
|
-
type: ("default")
|
|
2845
|
-
}?
|
|
2846
|
-
},
|
|
2847
|
-
]
|
|
2848
|
-
},
|
|
2849
|
-
],
|
|
2850
|
-
system: Array[
|
|
2851
|
-
{
|
|
2852
|
-
text: ::String?,
|
|
2853
|
-
cache_point: {
|
|
2854
|
-
type: ("default")
|
|
2855
|
-
}?
|
|
2856
|
-
},
|
|
2857
|
-
]?,
|
|
2858
|
-
input_variables: Array[
|
|
2859
|
-
{
|
|
2860
|
-
name: ::String?
|
|
2861
|
-
},
|
|
2862
|
-
]?,
|
|
2863
|
-
tool_configuration: {
|
|
2864
|
-
tools: Array[
|
|
2865
|
-
{
|
|
2866
|
-
tool_spec: {
|
|
2867
|
-
name: ::String,
|
|
2868
|
-
description: ::String?,
|
|
2869
|
-
input_schema: {
|
|
2870
|
-
json: {
|
|
2871
|
-
}?
|
|
2872
|
-
},
|
|
2873
|
-
strict: bool?
|
|
2874
|
-
}?,
|
|
2875
|
-
cache_point: {
|
|
2876
|
-
type: ("default")
|
|
2877
|
-
}?
|
|
2878
|
-
},
|
|
2879
|
-
],
|
|
2880
|
-
tool_choice: {
|
|
2881
|
-
auto: {
|
|
2882
|
-
}?,
|
|
2883
|
-
any: {
|
|
2884
|
-
}?,
|
|
2885
|
-
tool: {
|
|
2886
|
-
name: ::String
|
|
2887
|
-
}?
|
|
2888
|
-
}?
|
|
2889
|
-
}?
|
|
2890
|
-
}?
|
|
2891
|
-
},
|
|
2892
|
-
model_id: ::String,
|
|
2893
|
-
inference_configuration: {
|
|
2894
|
-
text: {
|
|
2895
|
-
temperature: ::Float?,
|
|
2896
|
-
top_p: ::Float?,
|
|
2897
|
-
max_tokens: ::Integer?,
|
|
2898
|
-
stop_sequences: Array[::String]?
|
|
2899
|
-
}?
|
|
2900
|
-
}?,
|
|
2901
|
-
additional_model_request_fields: {
|
|
2902
|
-
}?
|
|
2903
|
-
}?
|
|
2904
|
-
},
|
|
2905
|
-
guardrail_configuration: {
|
|
2906
|
-
guardrail_identifier: ::String?,
|
|
2907
|
-
guardrail_version: ::String?
|
|
2908
|
-
}?
|
|
2909
|
-
}?,
|
|
2910
|
-
lambda_function: {
|
|
2911
|
-
lambda_arn: ::String
|
|
2912
|
-
}?,
|
|
2913
|
-
storage: {
|
|
2914
|
-
service_configuration: {
|
|
2915
|
-
s3: {
|
|
2916
|
-
bucket_name: ::String
|
|
2917
|
-
}?
|
|
2918
|
-
}
|
|
2919
|
-
}?,
|
|
2920
|
-
agent: {
|
|
2921
|
-
agent_alias_arn: ::String
|
|
2922
|
-
}?,
|
|
2923
|
-
retrieval: {
|
|
2924
|
-
service_configuration: {
|
|
2925
|
-
s3: {
|
|
2926
|
-
bucket_name: ::String
|
|
2927
|
-
}?
|
|
2928
|
-
}
|
|
2929
|
-
}?,
|
|
2930
|
-
iterator: {
|
|
2931
|
-
}?,
|
|
2932
|
-
collector: {
|
|
2933
|
-
}?,
|
|
2934
|
-
inline_code: {
|
|
2935
|
-
code: ::String,
|
|
2936
|
-
language: ("Python_3")
|
|
2937
|
-
}?,
|
|
2938
|
-
loop: {
|
|
2939
|
-
definition: untyped
|
|
2940
|
-
}?,
|
|
2941
|
-
loop_input: {
|
|
2942
|
-
}?,
|
|
2943
|
-
loop_controller: {
|
|
2944
|
-
continue_condition: {
|
|
2945
|
-
name: ::String,
|
|
2946
|
-
expression: ::String?
|
|
2947
|
-
},
|
|
2948
|
-
max_iterations: ::Integer?
|
|
2949
|
-
}?
|
|
2950
|
-
}?,
|
|
2951
|
-
inputs: Array[
|
|
2952
|
-
{
|
|
2953
|
-
name: ::String,
|
|
2954
|
-
type: ("String" | "Number" | "Boolean" | "Object" | "Array"),
|
|
2955
|
-
expression: ::String,
|
|
2956
|
-
category: ("LoopCondition" | "ReturnValueToLoopStart" | "ExitLoop")?
|
|
2957
|
-
},
|
|
2958
|
-
]?,
|
|
2959
|
-
outputs: Array[
|
|
2960
|
-
{
|
|
2961
|
-
name: ::String,
|
|
2962
|
-
type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
|
2963
|
-
},
|
|
2964
|
-
]?
|
|
2965
|
-
},
|
|
2966
|
-
]?,
|
|
2967
|
-
connections: Array[
|
|
2968
|
-
{
|
|
2969
|
-
type: ("Data" | "Conditional"),
|
|
2970
|
-
name: ::String,
|
|
2971
|
-
source: ::String,
|
|
2972
|
-
target: ::String,
|
|
2973
|
-
configuration: {
|
|
2974
|
-
data: {
|
|
2975
|
-
source_output: ::String,
|
|
2976
|
-
target_input: ::String
|
|
2977
|
-
}?,
|
|
2978
|
-
conditional: {
|
|
2979
|
-
condition: ::String
|
|
2980
|
-
}?
|
|
2981
|
-
}?
|
|
2982
|
-
},
|
|
2983
|
-
]?
|
|
2984
|
-
}
|
|
1291
|
+
definition: Params::flow_definition
|
|
2985
1292
|
) -> _ValidateFlowDefinitionResponseSuccess
|
|
2986
1293
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ValidateFlowDefinitionResponseSuccess
|
|
2987
1294
|
end
|