aws-sdk-bedrockagent 1.17.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +2409 -94
- data/lib/aws-sdk-bedrockagent/client_api.rb +1193 -0
- data/lib/aws-sdk-bedrockagent/endpoints.rb +294 -0
- data/lib/aws-sdk-bedrockagent/plugins/endpoints.rb +42 -0
- data/lib/aws-sdk-bedrockagent/types.rb +3973 -394
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +923 -6
- data/sig/types.rbs +906 -5
- metadata +2 -2
data/sig/client.rbs
CHANGED
@@ -105,6 +105,10 @@ module Aws
|
|
105
105
|
},
|
106
106
|
?idle_session_ttl_in_seconds: ::Integer,
|
107
107
|
?instruction: ::String,
|
108
|
+
?memory_configuration: {
|
109
|
+
enabled_memory_types: Array[("SESSION_SUMMARY")],
|
110
|
+
storage_days: ::Integer?
|
111
|
+
},
|
108
112
|
?prompt_override_configuration: {
|
109
113
|
override_lambda: ::String?,
|
110
114
|
prompt_configurations: Array[
|
@@ -164,7 +168,7 @@ module Aws
|
|
164
168
|
},
|
165
169
|
]?
|
166
170
|
},
|
167
|
-
?parent_action_group_signature: ("AMAZON.UserInput")
|
171
|
+
?parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
|
168
172
|
) -> _CreateAgentActionGroupResponseSuccess
|
169
173
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentActionGroupResponseSuccess
|
170
174
|
|
@@ -197,12 +201,98 @@ module Aws
|
|
197
201
|
?client_token: ::String,
|
198
202
|
?data_deletion_policy: ("RETAIN" | "DELETE"),
|
199
203
|
data_source_configuration: {
|
204
|
+
confluence_configuration: {
|
205
|
+
crawler_configuration: {
|
206
|
+
filter_configuration: {
|
207
|
+
pattern_object_filter: {
|
208
|
+
filters: Array[
|
209
|
+
{
|
210
|
+
exclusion_filters: Array[::String]?,
|
211
|
+
inclusion_filters: Array[::String]?,
|
212
|
+
object_type: ::String
|
213
|
+
},
|
214
|
+
]
|
215
|
+
}?,
|
216
|
+
type: ("PATTERN")
|
217
|
+
}?
|
218
|
+
}?,
|
219
|
+
source_configuration: {
|
220
|
+
auth_type: ("BASIC" | "OAUTH2_CLIENT_CREDENTIALS"),
|
221
|
+
credentials_secret_arn: ::String,
|
222
|
+
host_type: ("SAAS"),
|
223
|
+
host_url: ::String
|
224
|
+
}
|
225
|
+
}?,
|
200
226
|
s3_configuration: {
|
201
227
|
bucket_arn: ::String,
|
202
228
|
bucket_owner_account_id: ::String?,
|
203
229
|
inclusion_prefixes: Array[::String]?
|
204
230
|
}?,
|
205
|
-
|
231
|
+
salesforce_configuration: {
|
232
|
+
crawler_configuration: {
|
233
|
+
filter_configuration: {
|
234
|
+
pattern_object_filter: {
|
235
|
+
filters: Array[
|
236
|
+
{
|
237
|
+
exclusion_filters: Array[::String]?,
|
238
|
+
inclusion_filters: Array[::String]?,
|
239
|
+
object_type: ::String
|
240
|
+
},
|
241
|
+
]
|
242
|
+
}?,
|
243
|
+
type: ("PATTERN")
|
244
|
+
}?
|
245
|
+
}?,
|
246
|
+
source_configuration: {
|
247
|
+
auth_type: ("OAUTH2_CLIENT_CREDENTIALS"),
|
248
|
+
credentials_secret_arn: ::String,
|
249
|
+
host_url: ::String
|
250
|
+
}
|
251
|
+
}?,
|
252
|
+
share_point_configuration: {
|
253
|
+
crawler_configuration: {
|
254
|
+
filter_configuration: {
|
255
|
+
pattern_object_filter: {
|
256
|
+
filters: Array[
|
257
|
+
{
|
258
|
+
exclusion_filters: Array[::String]?,
|
259
|
+
inclusion_filters: Array[::String]?,
|
260
|
+
object_type: ::String
|
261
|
+
},
|
262
|
+
]
|
263
|
+
}?,
|
264
|
+
type: ("PATTERN")
|
265
|
+
}?
|
266
|
+
}?,
|
267
|
+
source_configuration: {
|
268
|
+
auth_type: ("OAUTH2_CLIENT_CREDENTIALS"),
|
269
|
+
credentials_secret_arn: ::String,
|
270
|
+
domain: ::String,
|
271
|
+
host_type: ("ONLINE"),
|
272
|
+
site_urls: Array[::String],
|
273
|
+
tenant_id: ::String?
|
274
|
+
}
|
275
|
+
}?,
|
276
|
+
type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT"),
|
277
|
+
web_configuration: {
|
278
|
+
crawler_configuration: {
|
279
|
+
crawler_limits: {
|
280
|
+
rate_limit: ::Integer?
|
281
|
+
}?,
|
282
|
+
exclusion_filters: Array[::String]?,
|
283
|
+
inclusion_filters: Array[::String]?,
|
284
|
+
scope: ("HOST_ONLY" | "SUBDOMAINS")?
|
285
|
+
}?,
|
286
|
+
source_configuration: {
|
287
|
+
url_configuration: {
|
288
|
+
seed_urls: Array[
|
289
|
+
{
|
290
|
+
url: ::String?
|
291
|
+
},
|
292
|
+
]?
|
293
|
+
}
|
294
|
+
}
|
295
|
+
}?
|
206
296
|
},
|
207
297
|
?description: ::String,
|
208
298
|
knowledge_base_id: ::String,
|
@@ -212,16 +302,241 @@ module Aws
|
|
212
302
|
},
|
213
303
|
?vector_ingestion_configuration: {
|
214
304
|
chunking_configuration: {
|
215
|
-
chunking_strategy: ("FIXED_SIZE" | "NONE"),
|
305
|
+
chunking_strategy: ("FIXED_SIZE" | "NONE" | "HIERARCHICAL" | "SEMANTIC"),
|
216
306
|
fixed_size_chunking_configuration: {
|
217
307
|
max_tokens: ::Integer,
|
218
308
|
overlap_percentage: ::Integer
|
309
|
+
}?,
|
310
|
+
hierarchical_chunking_configuration: {
|
311
|
+
level_configurations: Array[
|
312
|
+
{
|
313
|
+
max_tokens: ::Integer
|
314
|
+
},
|
315
|
+
],
|
316
|
+
overlap_tokens: ::Integer
|
317
|
+
}?,
|
318
|
+
semantic_chunking_configuration: {
|
319
|
+
breakpoint_percentile_threshold: ::Integer,
|
320
|
+
buffer_size: ::Integer,
|
321
|
+
max_tokens: ::Integer
|
219
322
|
}?
|
323
|
+
}?,
|
324
|
+
custom_transformation_configuration: {
|
325
|
+
intermediate_storage: {
|
326
|
+
s3_location: {
|
327
|
+
uri: ::String
|
328
|
+
}
|
329
|
+
},
|
330
|
+
transformations: Array[
|
331
|
+
{
|
332
|
+
step_to_apply: ("POST_CHUNKING"),
|
333
|
+
transformation_function: {
|
334
|
+
transformation_lambda_configuration: {
|
335
|
+
lambda_arn: ::String
|
336
|
+
}
|
337
|
+
}
|
338
|
+
},
|
339
|
+
]
|
340
|
+
}?,
|
341
|
+
parsing_configuration: {
|
342
|
+
bedrock_foundation_model_configuration: {
|
343
|
+
model_arn: ::String,
|
344
|
+
parsing_prompt: {
|
345
|
+
parsing_prompt_text: ::String
|
346
|
+
}?
|
347
|
+
}?,
|
348
|
+
parsing_strategy: ("BEDROCK_FOUNDATION_MODEL")
|
220
349
|
}?
|
221
350
|
}
|
222
351
|
) -> _CreateDataSourceResponseSuccess
|
223
352
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataSourceResponseSuccess
|
224
353
|
|
354
|
+
interface _CreateFlowResponseSuccess
|
355
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateFlowResponse]
|
356
|
+
def arn: () -> ::String
|
357
|
+
def created_at: () -> ::Time
|
358
|
+
def customer_encryption_key_arn: () -> ::String
|
359
|
+
def definition: () -> Types::FlowDefinition
|
360
|
+
def description: () -> ::String
|
361
|
+
def execution_role_arn: () -> ::String
|
362
|
+
def id: () -> ::String
|
363
|
+
def name: () -> ::String
|
364
|
+
def status: () -> ("Failed" | "Prepared" | "Preparing" | "NotPrepared")
|
365
|
+
def updated_at: () -> ::Time
|
366
|
+
def version: () -> ::String
|
367
|
+
end
|
368
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_flow-instance_method
|
369
|
+
def create_flow: (
|
370
|
+
?client_token: ::String,
|
371
|
+
?customer_encryption_key_arn: ::String,
|
372
|
+
?definition: {
|
373
|
+
connections: Array[
|
374
|
+
{
|
375
|
+
configuration: {
|
376
|
+
conditional: {
|
377
|
+
condition: ::String
|
378
|
+
}?,
|
379
|
+
data: {
|
380
|
+
source_output: ::String,
|
381
|
+
target_input: ::String
|
382
|
+
}?
|
383
|
+
}?,
|
384
|
+
name: ::String,
|
385
|
+
source: ::String,
|
386
|
+
target: ::String,
|
387
|
+
type: ("Data" | "Conditional")
|
388
|
+
},
|
389
|
+
]?,
|
390
|
+
nodes: Array[
|
391
|
+
{
|
392
|
+
configuration: {
|
393
|
+
agent: {
|
394
|
+
agent_alias_arn: ::String
|
395
|
+
}?,
|
396
|
+
collector: {
|
397
|
+
}?,
|
398
|
+
condition: {
|
399
|
+
conditions: Array[
|
400
|
+
{
|
401
|
+
expression: ::String?,
|
402
|
+
name: ::String
|
403
|
+
},
|
404
|
+
]
|
405
|
+
}?,
|
406
|
+
input: {
|
407
|
+
}?,
|
408
|
+
iterator: {
|
409
|
+
}?,
|
410
|
+
knowledge_base: {
|
411
|
+
knowledge_base_id: ::String,
|
412
|
+
model_id: ::String?
|
413
|
+
}?,
|
414
|
+
lambda_function: {
|
415
|
+
lambda_arn: ::String
|
416
|
+
}?,
|
417
|
+
lex: {
|
418
|
+
bot_alias_arn: ::String,
|
419
|
+
locale_id: ::String
|
420
|
+
}?,
|
421
|
+
output: {
|
422
|
+
}?,
|
423
|
+
prompt: {
|
424
|
+
source_configuration: {
|
425
|
+
inline: {
|
426
|
+
inference_configuration: {
|
427
|
+
text: {
|
428
|
+
max_tokens: ::Integer?,
|
429
|
+
stop_sequences: Array[::String]?,
|
430
|
+
temperature: ::Float?,
|
431
|
+
top_k: ::Integer?,
|
432
|
+
top_p: ::Float?
|
433
|
+
}?
|
434
|
+
}?,
|
435
|
+
model_id: ::String,
|
436
|
+
template_configuration: {
|
437
|
+
text: {
|
438
|
+
input_variables: Array[
|
439
|
+
{
|
440
|
+
name: ::String?
|
441
|
+
},
|
442
|
+
]?,
|
443
|
+
text: ::String
|
444
|
+
}?
|
445
|
+
},
|
446
|
+
template_type: ("TEXT")
|
447
|
+
}?,
|
448
|
+
resource: {
|
449
|
+
prompt_arn: ::String
|
450
|
+
}?
|
451
|
+
}
|
452
|
+
}?,
|
453
|
+
retrieval: {
|
454
|
+
service_configuration: {
|
455
|
+
s3: {
|
456
|
+
bucket_name: ::String
|
457
|
+
}?
|
458
|
+
}
|
459
|
+
}?,
|
460
|
+
storage: {
|
461
|
+
service_configuration: {
|
462
|
+
s3: {
|
463
|
+
bucket_name: ::String
|
464
|
+
}?
|
465
|
+
}
|
466
|
+
}?
|
467
|
+
}?,
|
468
|
+
inputs: Array[
|
469
|
+
{
|
470
|
+
expression: ::String,
|
471
|
+
name: ::String,
|
472
|
+
type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
473
|
+
},
|
474
|
+
]?,
|
475
|
+
name: ::String,
|
476
|
+
outputs: Array[
|
477
|
+
{
|
478
|
+
name: ::String,
|
479
|
+
type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
480
|
+
},
|
481
|
+
]?,
|
482
|
+
type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector")
|
483
|
+
},
|
484
|
+
]?
|
485
|
+
},
|
486
|
+
?description: ::String,
|
487
|
+
execution_role_arn: ::String,
|
488
|
+
name: ::String,
|
489
|
+
?tags: Hash[::String, ::String]
|
490
|
+
) -> _CreateFlowResponseSuccess
|
491
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFlowResponseSuccess
|
492
|
+
|
493
|
+
interface _CreateFlowAliasResponseSuccess
|
494
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateFlowAliasResponse]
|
495
|
+
def arn: () -> ::String
|
496
|
+
def created_at: () -> ::Time
|
497
|
+
def description: () -> ::String
|
498
|
+
def flow_id: () -> ::String
|
499
|
+
def id: () -> ::String
|
500
|
+
def name: () -> ::String
|
501
|
+
def routing_configuration: () -> ::Array[Types::FlowAliasRoutingConfigurationListItem]
|
502
|
+
def updated_at: () -> ::Time
|
503
|
+
end
|
504
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_flow_alias-instance_method
|
505
|
+
def create_flow_alias: (
|
506
|
+
?client_token: ::String,
|
507
|
+
?description: ::String,
|
508
|
+
flow_identifier: ::String,
|
509
|
+
name: ::String,
|
510
|
+
routing_configuration: Array[
|
511
|
+
{
|
512
|
+
flow_version: ::String?
|
513
|
+
},
|
514
|
+
],
|
515
|
+
?tags: Hash[::String, ::String]
|
516
|
+
) -> _CreateFlowAliasResponseSuccess
|
517
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFlowAliasResponseSuccess
|
518
|
+
|
519
|
+
interface _CreateFlowVersionResponseSuccess
|
520
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateFlowVersionResponse]
|
521
|
+
def arn: () -> ::String
|
522
|
+
def created_at: () -> ::Time
|
523
|
+
def customer_encryption_key_arn: () -> ::String
|
524
|
+
def definition: () -> Types::FlowDefinition
|
525
|
+
def description: () -> ::String
|
526
|
+
def execution_role_arn: () -> ::String
|
527
|
+
def id: () -> ::String
|
528
|
+
def name: () -> ::String
|
529
|
+
def status: () -> ("Failed" | "Prepared" | "Preparing" | "NotPrepared")
|
530
|
+
def version: () -> ::String
|
531
|
+
end
|
532
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_flow_version-instance_method
|
533
|
+
def create_flow_version: (
|
534
|
+
?client_token: ::String,
|
535
|
+
?description: ::String,
|
536
|
+
flow_identifier: ::String
|
537
|
+
) -> _CreateFlowVersionResponseSuccess
|
538
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFlowVersionResponseSuccess
|
539
|
+
|
225
540
|
interface _CreateKnowledgeBaseResponseSuccess
|
226
541
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateKnowledgeBaseResponse]
|
227
542
|
def knowledge_base: () -> Types::KnowledgeBase
|
@@ -303,6 +618,78 @@ module Aws
|
|
303
618
|
) -> _CreateKnowledgeBaseResponseSuccess
|
304
619
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKnowledgeBaseResponseSuccess
|
305
620
|
|
621
|
+
interface _CreatePromptResponseSuccess
|
622
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePromptResponse]
|
623
|
+
def arn: () -> ::String
|
624
|
+
def created_at: () -> ::Time
|
625
|
+
def customer_encryption_key_arn: () -> ::String
|
626
|
+
def default_variant: () -> ::String
|
627
|
+
def description: () -> ::String
|
628
|
+
def id: () -> ::String
|
629
|
+
def name: () -> ::String
|
630
|
+
def updated_at: () -> ::Time
|
631
|
+
def variants: () -> ::Array[Types::PromptVariant]
|
632
|
+
def version: () -> ::String
|
633
|
+
end
|
634
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_prompt-instance_method
|
635
|
+
def create_prompt: (
|
636
|
+
?client_token: ::String,
|
637
|
+
?customer_encryption_key_arn: ::String,
|
638
|
+
?default_variant: ::String,
|
639
|
+
?description: ::String,
|
640
|
+
name: ::String,
|
641
|
+
?tags: Hash[::String, ::String],
|
642
|
+
?variants: Array[
|
643
|
+
{
|
644
|
+
inference_configuration: {
|
645
|
+
text: {
|
646
|
+
max_tokens: ::Integer?,
|
647
|
+
stop_sequences: Array[::String]?,
|
648
|
+
temperature: ::Float?,
|
649
|
+
top_k: ::Integer?,
|
650
|
+
top_p: ::Float?
|
651
|
+
}?
|
652
|
+
}?,
|
653
|
+
model_id: ::String?,
|
654
|
+
name: ::String,
|
655
|
+
template_configuration: {
|
656
|
+
text: {
|
657
|
+
input_variables: Array[
|
658
|
+
{
|
659
|
+
name: ::String?
|
660
|
+
},
|
661
|
+
]?,
|
662
|
+
text: ::String
|
663
|
+
}?
|
664
|
+
}?,
|
665
|
+
template_type: ("TEXT")
|
666
|
+
},
|
667
|
+
]
|
668
|
+
) -> _CreatePromptResponseSuccess
|
669
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePromptResponseSuccess
|
670
|
+
|
671
|
+
interface _CreatePromptVersionResponseSuccess
|
672
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePromptVersionResponse]
|
673
|
+
def arn: () -> ::String
|
674
|
+
def created_at: () -> ::Time
|
675
|
+
def customer_encryption_key_arn: () -> ::String
|
676
|
+
def default_variant: () -> ::String
|
677
|
+
def description: () -> ::String
|
678
|
+
def id: () -> ::String
|
679
|
+
def name: () -> ::String
|
680
|
+
def updated_at: () -> ::Time
|
681
|
+
def variants: () -> ::Array[Types::PromptVariant]
|
682
|
+
def version: () -> ::String
|
683
|
+
end
|
684
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#create_prompt_version-instance_method
|
685
|
+
def create_prompt_version: (
|
686
|
+
?client_token: ::String,
|
687
|
+
?description: ::String,
|
688
|
+
prompt_identifier: ::String,
|
689
|
+
?tags: Hash[::String, ::String]
|
690
|
+
) -> _CreatePromptVersionResponseSuccess
|
691
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePromptVersionResponseSuccess
|
692
|
+
|
306
693
|
interface _DeleteAgentResponseSuccess
|
307
694
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentResponse]
|
308
695
|
def agent_id: () -> ::String
|
@@ -367,6 +754,42 @@ module Aws
|
|
367
754
|
) -> _DeleteDataSourceResponseSuccess
|
368
755
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataSourceResponseSuccess
|
369
756
|
|
757
|
+
interface _DeleteFlowResponseSuccess
|
758
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFlowResponse]
|
759
|
+
def id: () -> ::String
|
760
|
+
end
|
761
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#delete_flow-instance_method
|
762
|
+
def delete_flow: (
|
763
|
+
flow_identifier: ::String,
|
764
|
+
?skip_resource_in_use_check: bool
|
765
|
+
) -> _DeleteFlowResponseSuccess
|
766
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFlowResponseSuccess
|
767
|
+
|
768
|
+
interface _DeleteFlowAliasResponseSuccess
|
769
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFlowAliasResponse]
|
770
|
+
def flow_id: () -> ::String
|
771
|
+
def id: () -> ::String
|
772
|
+
end
|
773
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#delete_flow_alias-instance_method
|
774
|
+
def delete_flow_alias: (
|
775
|
+
alias_identifier: ::String,
|
776
|
+
flow_identifier: ::String
|
777
|
+
) -> _DeleteFlowAliasResponseSuccess
|
778
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFlowAliasResponseSuccess
|
779
|
+
|
780
|
+
interface _DeleteFlowVersionResponseSuccess
|
781
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFlowVersionResponse]
|
782
|
+
def id: () -> ::String
|
783
|
+
def version: () -> ::String
|
784
|
+
end
|
785
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#delete_flow_version-instance_method
|
786
|
+
def delete_flow_version: (
|
787
|
+
flow_identifier: ::String,
|
788
|
+
flow_version: ::String,
|
789
|
+
?skip_resource_in_use_check: bool
|
790
|
+
) -> _DeleteFlowVersionResponseSuccess
|
791
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFlowVersionResponseSuccess
|
792
|
+
|
370
793
|
interface _DeleteKnowledgeBaseResponseSuccess
|
371
794
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteKnowledgeBaseResponse]
|
372
795
|
def knowledge_base_id: () -> ::String
|
@@ -378,6 +801,18 @@ module Aws
|
|
378
801
|
) -> _DeleteKnowledgeBaseResponseSuccess
|
379
802
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteKnowledgeBaseResponseSuccess
|
380
803
|
|
804
|
+
interface _DeletePromptResponseSuccess
|
805
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePromptResponse]
|
806
|
+
def id: () -> ::String
|
807
|
+
def version: () -> ::String
|
808
|
+
end
|
809
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#delete_prompt-instance_method
|
810
|
+
def delete_prompt: (
|
811
|
+
prompt_identifier: ::String,
|
812
|
+
?prompt_version: ::String
|
813
|
+
) -> _DeletePromptResponseSuccess
|
814
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePromptResponseSuccess
|
815
|
+
|
381
816
|
interface _DisassociateAgentKnowledgeBaseResponseSuccess
|
382
817
|
include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateAgentKnowledgeBaseResponse]
|
383
818
|
end
|
@@ -456,6 +891,65 @@ module Aws
|
|
456
891
|
) -> _GetDataSourceResponseSuccess
|
457
892
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataSourceResponseSuccess
|
458
893
|
|
894
|
+
interface _GetFlowResponseSuccess
|
895
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetFlowResponse]
|
896
|
+
def arn: () -> ::String
|
897
|
+
def created_at: () -> ::Time
|
898
|
+
def customer_encryption_key_arn: () -> ::String
|
899
|
+
def definition: () -> Types::FlowDefinition
|
900
|
+
def description: () -> ::String
|
901
|
+
def execution_role_arn: () -> ::String
|
902
|
+
def id: () -> ::String
|
903
|
+
def name: () -> ::String
|
904
|
+
def status: () -> ("Failed" | "Prepared" | "Preparing" | "NotPrepared")
|
905
|
+
def updated_at: () -> ::Time
|
906
|
+
def validations: () -> ::Array[Types::FlowValidation]
|
907
|
+
def version: () -> ::String
|
908
|
+
end
|
909
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#get_flow-instance_method
|
910
|
+
def get_flow: (
|
911
|
+
flow_identifier: ::String
|
912
|
+
) -> _GetFlowResponseSuccess
|
913
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFlowResponseSuccess
|
914
|
+
|
915
|
+
interface _GetFlowAliasResponseSuccess
|
916
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetFlowAliasResponse]
|
917
|
+
def arn: () -> ::String
|
918
|
+
def created_at: () -> ::Time
|
919
|
+
def description: () -> ::String
|
920
|
+
def flow_id: () -> ::String
|
921
|
+
def id: () -> ::String
|
922
|
+
def name: () -> ::String
|
923
|
+
def routing_configuration: () -> ::Array[Types::FlowAliasRoutingConfigurationListItem]
|
924
|
+
def updated_at: () -> ::Time
|
925
|
+
end
|
926
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#get_flow_alias-instance_method
|
927
|
+
def get_flow_alias: (
|
928
|
+
alias_identifier: ::String,
|
929
|
+
flow_identifier: ::String
|
930
|
+
) -> _GetFlowAliasResponseSuccess
|
931
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFlowAliasResponseSuccess
|
932
|
+
|
933
|
+
interface _GetFlowVersionResponseSuccess
|
934
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetFlowVersionResponse]
|
935
|
+
def arn: () -> ::String
|
936
|
+
def created_at: () -> ::Time
|
937
|
+
def customer_encryption_key_arn: () -> ::String
|
938
|
+
def definition: () -> Types::FlowDefinition
|
939
|
+
def description: () -> ::String
|
940
|
+
def execution_role_arn: () -> ::String
|
941
|
+
def id: () -> ::String
|
942
|
+
def name: () -> ::String
|
943
|
+
def status: () -> ("Failed" | "Prepared" | "Preparing" | "NotPrepared")
|
944
|
+
def version: () -> ::String
|
945
|
+
end
|
946
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#get_flow_version-instance_method
|
947
|
+
def get_flow_version: (
|
948
|
+
flow_identifier: ::String,
|
949
|
+
flow_version: ::String
|
950
|
+
) -> _GetFlowVersionResponseSuccess
|
951
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFlowVersionResponseSuccess
|
952
|
+
|
459
953
|
interface _GetIngestionJobResponseSuccess
|
460
954
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetIngestionJobResponse]
|
461
955
|
def ingestion_job: () -> Types::IngestionJob
|
@@ -478,6 +972,26 @@ module Aws
|
|
478
972
|
) -> _GetKnowledgeBaseResponseSuccess
|
479
973
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKnowledgeBaseResponseSuccess
|
480
974
|
|
975
|
+
interface _GetPromptResponseSuccess
|
976
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetPromptResponse]
|
977
|
+
def arn: () -> ::String
|
978
|
+
def created_at: () -> ::Time
|
979
|
+
def customer_encryption_key_arn: () -> ::String
|
980
|
+
def default_variant: () -> ::String
|
981
|
+
def description: () -> ::String
|
982
|
+
def id: () -> ::String
|
983
|
+
def name: () -> ::String
|
984
|
+
def updated_at: () -> ::Time
|
985
|
+
def variants: () -> ::Array[Types::PromptVariant]
|
986
|
+
def version: () -> ::String
|
987
|
+
end
|
988
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#get_prompt-instance_method
|
989
|
+
def get_prompt: (
|
990
|
+
prompt_identifier: ::String,
|
991
|
+
?prompt_version: ::String
|
992
|
+
) -> _GetPromptResponseSuccess
|
993
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPromptResponseSuccess
|
994
|
+
|
481
995
|
interface _ListAgentActionGroupsResponseSuccess
|
482
996
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentActionGroupsResponse]
|
483
997
|
def action_group_summaries: () -> ::Array[Types::ActionGroupSummary]
|
@@ -557,6 +1071,44 @@ module Aws
|
|
557
1071
|
) -> _ListDataSourcesResponseSuccess
|
558
1072
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataSourcesResponseSuccess
|
559
1073
|
|
1074
|
+
interface _ListFlowAliasesResponseSuccess
|
1075
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFlowAliasesResponse]
|
1076
|
+
def flow_alias_summaries: () -> ::Array[Types::FlowAliasSummary]
|
1077
|
+
def next_token: () -> ::String
|
1078
|
+
end
|
1079
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#list_flow_aliases-instance_method
|
1080
|
+
def list_flow_aliases: (
|
1081
|
+
flow_identifier: ::String,
|
1082
|
+
?max_results: ::Integer,
|
1083
|
+
?next_token: ::String
|
1084
|
+
) -> _ListFlowAliasesResponseSuccess
|
1085
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlowAliasesResponseSuccess
|
1086
|
+
|
1087
|
+
interface _ListFlowVersionsResponseSuccess
|
1088
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFlowVersionsResponse]
|
1089
|
+
def flow_version_summaries: () -> ::Array[Types::FlowVersionSummary]
|
1090
|
+
def next_token: () -> ::String
|
1091
|
+
end
|
1092
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#list_flow_versions-instance_method
|
1093
|
+
def list_flow_versions: (
|
1094
|
+
flow_identifier: ::String,
|
1095
|
+
?max_results: ::Integer,
|
1096
|
+
?next_token: ::String
|
1097
|
+
) -> _ListFlowVersionsResponseSuccess
|
1098
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlowVersionsResponseSuccess
|
1099
|
+
|
1100
|
+
interface _ListFlowsResponseSuccess
|
1101
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListFlowsResponse]
|
1102
|
+
def flow_summaries: () -> ::Array[Types::FlowSummary]
|
1103
|
+
def next_token: () -> ::String
|
1104
|
+
end
|
1105
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#list_flows-instance_method
|
1106
|
+
def list_flows: (
|
1107
|
+
?max_results: ::Integer,
|
1108
|
+
?next_token: ::String
|
1109
|
+
) -> _ListFlowsResponseSuccess
|
1110
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFlowsResponseSuccess
|
1111
|
+
|
560
1112
|
interface _ListIngestionJobsResponseSuccess
|
561
1113
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListIngestionJobsResponse]
|
562
1114
|
def ingestion_job_summaries: () -> ::Array[Types::IngestionJobSummary]
|
@@ -594,6 +1146,19 @@ module Aws
|
|
594
1146
|
) -> _ListKnowledgeBasesResponseSuccess
|
595
1147
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListKnowledgeBasesResponseSuccess
|
596
1148
|
|
1149
|
+
interface _ListPromptsResponseSuccess
|
1150
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPromptsResponse]
|
1151
|
+
def next_token: () -> ::String
|
1152
|
+
def prompt_summaries: () -> ::Array[Types::PromptSummary]
|
1153
|
+
end
|
1154
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#list_prompts-instance_method
|
1155
|
+
def list_prompts: (
|
1156
|
+
?max_results: ::Integer,
|
1157
|
+
?next_token: ::String,
|
1158
|
+
?prompt_identifier: ::String
|
1159
|
+
) -> _ListPromptsResponseSuccess
|
1160
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPromptsResponseSuccess
|
1161
|
+
|
597
1162
|
interface _ListTagsForResourceResponseSuccess
|
598
1163
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
599
1164
|
def tags: () -> ::Hash[::String, ::String]
|
@@ -617,6 +1182,17 @@ module Aws
|
|
617
1182
|
) -> _PrepareAgentResponseSuccess
|
618
1183
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PrepareAgentResponseSuccess
|
619
1184
|
|
1185
|
+
interface _PrepareFlowResponseSuccess
|
1186
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PrepareFlowResponse]
|
1187
|
+
def id: () -> ::String
|
1188
|
+
def status: () -> ("Failed" | "Prepared" | "Preparing" | "NotPrepared")
|
1189
|
+
end
|
1190
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#prepare_flow-instance_method
|
1191
|
+
def prepare_flow: (
|
1192
|
+
flow_identifier: ::String
|
1193
|
+
) -> _PrepareFlowResponseSuccess
|
1194
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PrepareFlowResponseSuccess
|
1195
|
+
|
620
1196
|
interface _StartIngestionJobResponseSuccess
|
621
1197
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartIngestionJobResponse]
|
622
1198
|
def ingestion_job: () -> Types::IngestionJob
|
@@ -668,6 +1244,10 @@ module Aws
|
|
668
1244
|
},
|
669
1245
|
?idle_session_ttl_in_seconds: ::Integer,
|
670
1246
|
?instruction: ::String,
|
1247
|
+
?memory_configuration: {
|
1248
|
+
enabled_memory_types: Array[("SESSION_SUMMARY")],
|
1249
|
+
storage_days: ::Integer?
|
1250
|
+
},
|
671
1251
|
?prompt_override_configuration: {
|
672
1252
|
override_lambda: ::String?,
|
673
1253
|
prompt_configurations: Array[
|
@@ -726,7 +1306,7 @@ module Aws
|
|
726
1306
|
},
|
727
1307
|
]?
|
728
1308
|
},
|
729
|
-
?parent_action_group_signature: ("AMAZON.UserInput")
|
1309
|
+
?parent_action_group_signature: ("AMAZON.UserInput" | "AMAZON.CodeInterpreter")
|
730
1310
|
) -> _UpdateAgentActionGroupResponseSuccess
|
731
1311
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentActionGroupResponseSuccess
|
732
1312
|
|
@@ -771,12 +1351,98 @@ module Aws
|
|
771
1351
|
def update_data_source: (
|
772
1352
|
?data_deletion_policy: ("RETAIN" | "DELETE"),
|
773
1353
|
data_source_configuration: {
|
1354
|
+
confluence_configuration: {
|
1355
|
+
crawler_configuration: {
|
1356
|
+
filter_configuration: {
|
1357
|
+
pattern_object_filter: {
|
1358
|
+
filters: Array[
|
1359
|
+
{
|
1360
|
+
exclusion_filters: Array[::String]?,
|
1361
|
+
inclusion_filters: Array[::String]?,
|
1362
|
+
object_type: ::String
|
1363
|
+
},
|
1364
|
+
]
|
1365
|
+
}?,
|
1366
|
+
type: ("PATTERN")
|
1367
|
+
}?
|
1368
|
+
}?,
|
1369
|
+
source_configuration: {
|
1370
|
+
auth_type: ("BASIC" | "OAUTH2_CLIENT_CREDENTIALS"),
|
1371
|
+
credentials_secret_arn: ::String,
|
1372
|
+
host_type: ("SAAS"),
|
1373
|
+
host_url: ::String
|
1374
|
+
}
|
1375
|
+
}?,
|
774
1376
|
s3_configuration: {
|
775
1377
|
bucket_arn: ::String,
|
776
1378
|
bucket_owner_account_id: ::String?,
|
777
1379
|
inclusion_prefixes: Array[::String]?
|
778
1380
|
}?,
|
779
|
-
|
1381
|
+
salesforce_configuration: {
|
1382
|
+
crawler_configuration: {
|
1383
|
+
filter_configuration: {
|
1384
|
+
pattern_object_filter: {
|
1385
|
+
filters: Array[
|
1386
|
+
{
|
1387
|
+
exclusion_filters: Array[::String]?,
|
1388
|
+
inclusion_filters: Array[::String]?,
|
1389
|
+
object_type: ::String
|
1390
|
+
},
|
1391
|
+
]
|
1392
|
+
}?,
|
1393
|
+
type: ("PATTERN")
|
1394
|
+
}?
|
1395
|
+
}?,
|
1396
|
+
source_configuration: {
|
1397
|
+
auth_type: ("OAUTH2_CLIENT_CREDENTIALS"),
|
1398
|
+
credentials_secret_arn: ::String,
|
1399
|
+
host_url: ::String
|
1400
|
+
}
|
1401
|
+
}?,
|
1402
|
+
share_point_configuration: {
|
1403
|
+
crawler_configuration: {
|
1404
|
+
filter_configuration: {
|
1405
|
+
pattern_object_filter: {
|
1406
|
+
filters: Array[
|
1407
|
+
{
|
1408
|
+
exclusion_filters: Array[::String]?,
|
1409
|
+
inclusion_filters: Array[::String]?,
|
1410
|
+
object_type: ::String
|
1411
|
+
},
|
1412
|
+
]
|
1413
|
+
}?,
|
1414
|
+
type: ("PATTERN")
|
1415
|
+
}?
|
1416
|
+
}?,
|
1417
|
+
source_configuration: {
|
1418
|
+
auth_type: ("OAUTH2_CLIENT_CREDENTIALS"),
|
1419
|
+
credentials_secret_arn: ::String,
|
1420
|
+
domain: ::String,
|
1421
|
+
host_type: ("ONLINE"),
|
1422
|
+
site_urls: Array[::String],
|
1423
|
+
tenant_id: ::String?
|
1424
|
+
}
|
1425
|
+
}?,
|
1426
|
+
type: ("S3" | "WEB" | "CONFLUENCE" | "SALESFORCE" | "SHAREPOINT"),
|
1427
|
+
web_configuration: {
|
1428
|
+
crawler_configuration: {
|
1429
|
+
crawler_limits: {
|
1430
|
+
rate_limit: ::Integer?
|
1431
|
+
}?,
|
1432
|
+
exclusion_filters: Array[::String]?,
|
1433
|
+
inclusion_filters: Array[::String]?,
|
1434
|
+
scope: ("HOST_ONLY" | "SUBDOMAINS")?
|
1435
|
+
}?,
|
1436
|
+
source_configuration: {
|
1437
|
+
url_configuration: {
|
1438
|
+
seed_urls: Array[
|
1439
|
+
{
|
1440
|
+
url: ::String?
|
1441
|
+
},
|
1442
|
+
]?
|
1443
|
+
}
|
1444
|
+
}
|
1445
|
+
}?
|
780
1446
|
},
|
781
1447
|
data_source_id: ::String,
|
782
1448
|
?description: ::String,
|
@@ -787,16 +1453,218 @@ module Aws
|
|
787
1453
|
},
|
788
1454
|
?vector_ingestion_configuration: {
|
789
1455
|
chunking_configuration: {
|
790
|
-
chunking_strategy: ("FIXED_SIZE" | "NONE"),
|
1456
|
+
chunking_strategy: ("FIXED_SIZE" | "NONE" | "HIERARCHICAL" | "SEMANTIC"),
|
791
1457
|
fixed_size_chunking_configuration: {
|
792
1458
|
max_tokens: ::Integer,
|
793
1459
|
overlap_percentage: ::Integer
|
1460
|
+
}?,
|
1461
|
+
hierarchical_chunking_configuration: {
|
1462
|
+
level_configurations: Array[
|
1463
|
+
{
|
1464
|
+
max_tokens: ::Integer
|
1465
|
+
},
|
1466
|
+
],
|
1467
|
+
overlap_tokens: ::Integer
|
1468
|
+
}?,
|
1469
|
+
semantic_chunking_configuration: {
|
1470
|
+
breakpoint_percentile_threshold: ::Integer,
|
1471
|
+
buffer_size: ::Integer,
|
1472
|
+
max_tokens: ::Integer
|
794
1473
|
}?
|
1474
|
+
}?,
|
1475
|
+
custom_transformation_configuration: {
|
1476
|
+
intermediate_storage: {
|
1477
|
+
s3_location: {
|
1478
|
+
uri: ::String
|
1479
|
+
}
|
1480
|
+
},
|
1481
|
+
transformations: Array[
|
1482
|
+
{
|
1483
|
+
step_to_apply: ("POST_CHUNKING"),
|
1484
|
+
transformation_function: {
|
1485
|
+
transformation_lambda_configuration: {
|
1486
|
+
lambda_arn: ::String
|
1487
|
+
}
|
1488
|
+
}
|
1489
|
+
},
|
1490
|
+
]
|
1491
|
+
}?,
|
1492
|
+
parsing_configuration: {
|
1493
|
+
bedrock_foundation_model_configuration: {
|
1494
|
+
model_arn: ::String,
|
1495
|
+
parsing_prompt: {
|
1496
|
+
parsing_prompt_text: ::String
|
1497
|
+
}?
|
1498
|
+
}?,
|
1499
|
+
parsing_strategy: ("BEDROCK_FOUNDATION_MODEL")
|
795
1500
|
}?
|
796
1501
|
}
|
797
1502
|
) -> _UpdateDataSourceResponseSuccess
|
798
1503
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataSourceResponseSuccess
|
799
1504
|
|
1505
|
+
interface _UpdateFlowResponseSuccess
|
1506
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFlowResponse]
|
1507
|
+
def arn: () -> ::String
|
1508
|
+
def created_at: () -> ::Time
|
1509
|
+
def customer_encryption_key_arn: () -> ::String
|
1510
|
+
def definition: () -> Types::FlowDefinition
|
1511
|
+
def description: () -> ::String
|
1512
|
+
def execution_role_arn: () -> ::String
|
1513
|
+
def id: () -> ::String
|
1514
|
+
def name: () -> ::String
|
1515
|
+
def status: () -> ("Failed" | "Prepared" | "Preparing" | "NotPrepared")
|
1516
|
+
def updated_at: () -> ::Time
|
1517
|
+
def version: () -> ::String
|
1518
|
+
end
|
1519
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#update_flow-instance_method
|
1520
|
+
def update_flow: (
|
1521
|
+
?customer_encryption_key_arn: ::String,
|
1522
|
+
?definition: {
|
1523
|
+
connections: Array[
|
1524
|
+
{
|
1525
|
+
configuration: {
|
1526
|
+
conditional: {
|
1527
|
+
condition: ::String
|
1528
|
+
}?,
|
1529
|
+
data: {
|
1530
|
+
source_output: ::String,
|
1531
|
+
target_input: ::String
|
1532
|
+
}?
|
1533
|
+
}?,
|
1534
|
+
name: ::String,
|
1535
|
+
source: ::String,
|
1536
|
+
target: ::String,
|
1537
|
+
type: ("Data" | "Conditional")
|
1538
|
+
},
|
1539
|
+
]?,
|
1540
|
+
nodes: Array[
|
1541
|
+
{
|
1542
|
+
configuration: {
|
1543
|
+
agent: {
|
1544
|
+
agent_alias_arn: ::String
|
1545
|
+
}?,
|
1546
|
+
collector: {
|
1547
|
+
}?,
|
1548
|
+
condition: {
|
1549
|
+
conditions: Array[
|
1550
|
+
{
|
1551
|
+
expression: ::String?,
|
1552
|
+
name: ::String
|
1553
|
+
},
|
1554
|
+
]
|
1555
|
+
}?,
|
1556
|
+
input: {
|
1557
|
+
}?,
|
1558
|
+
iterator: {
|
1559
|
+
}?,
|
1560
|
+
knowledge_base: {
|
1561
|
+
knowledge_base_id: ::String,
|
1562
|
+
model_id: ::String?
|
1563
|
+
}?,
|
1564
|
+
lambda_function: {
|
1565
|
+
lambda_arn: ::String
|
1566
|
+
}?,
|
1567
|
+
lex: {
|
1568
|
+
bot_alias_arn: ::String,
|
1569
|
+
locale_id: ::String
|
1570
|
+
}?,
|
1571
|
+
output: {
|
1572
|
+
}?,
|
1573
|
+
prompt: {
|
1574
|
+
source_configuration: {
|
1575
|
+
inline: {
|
1576
|
+
inference_configuration: {
|
1577
|
+
text: {
|
1578
|
+
max_tokens: ::Integer?,
|
1579
|
+
stop_sequences: Array[::String]?,
|
1580
|
+
temperature: ::Float?,
|
1581
|
+
top_k: ::Integer?,
|
1582
|
+
top_p: ::Float?
|
1583
|
+
}?
|
1584
|
+
}?,
|
1585
|
+
model_id: ::String,
|
1586
|
+
template_configuration: {
|
1587
|
+
text: {
|
1588
|
+
input_variables: Array[
|
1589
|
+
{
|
1590
|
+
name: ::String?
|
1591
|
+
},
|
1592
|
+
]?,
|
1593
|
+
text: ::String
|
1594
|
+
}?
|
1595
|
+
},
|
1596
|
+
template_type: ("TEXT")
|
1597
|
+
}?,
|
1598
|
+
resource: {
|
1599
|
+
prompt_arn: ::String
|
1600
|
+
}?
|
1601
|
+
}
|
1602
|
+
}?,
|
1603
|
+
retrieval: {
|
1604
|
+
service_configuration: {
|
1605
|
+
s3: {
|
1606
|
+
bucket_name: ::String
|
1607
|
+
}?
|
1608
|
+
}
|
1609
|
+
}?,
|
1610
|
+
storage: {
|
1611
|
+
service_configuration: {
|
1612
|
+
s3: {
|
1613
|
+
bucket_name: ::String
|
1614
|
+
}?
|
1615
|
+
}
|
1616
|
+
}?
|
1617
|
+
}?,
|
1618
|
+
inputs: Array[
|
1619
|
+
{
|
1620
|
+
expression: ::String,
|
1621
|
+
name: ::String,
|
1622
|
+
type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
1623
|
+
},
|
1624
|
+
]?,
|
1625
|
+
name: ::String,
|
1626
|
+
outputs: Array[
|
1627
|
+
{
|
1628
|
+
name: ::String,
|
1629
|
+
type: ("String" | "Number" | "Boolean" | "Object" | "Array")
|
1630
|
+
},
|
1631
|
+
]?,
|
1632
|
+
type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector")
|
1633
|
+
},
|
1634
|
+
]?
|
1635
|
+
},
|
1636
|
+
?description: ::String,
|
1637
|
+
execution_role_arn: ::String,
|
1638
|
+
flow_identifier: ::String,
|
1639
|
+
name: ::String
|
1640
|
+
) -> _UpdateFlowResponseSuccess
|
1641
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFlowResponseSuccess
|
1642
|
+
|
1643
|
+
interface _UpdateFlowAliasResponseSuccess
|
1644
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFlowAliasResponse]
|
1645
|
+
def arn: () -> ::String
|
1646
|
+
def created_at: () -> ::Time
|
1647
|
+
def description: () -> ::String
|
1648
|
+
def flow_id: () -> ::String
|
1649
|
+
def id: () -> ::String
|
1650
|
+
def name: () -> ::String
|
1651
|
+
def routing_configuration: () -> ::Array[Types::FlowAliasRoutingConfigurationListItem]
|
1652
|
+
def updated_at: () -> ::Time
|
1653
|
+
end
|
1654
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#update_flow_alias-instance_method
|
1655
|
+
def update_flow_alias: (
|
1656
|
+
alias_identifier: ::String,
|
1657
|
+
?description: ::String,
|
1658
|
+
flow_identifier: ::String,
|
1659
|
+
name: ::String,
|
1660
|
+
routing_configuration: Array[
|
1661
|
+
{
|
1662
|
+
flow_version: ::String?
|
1663
|
+
},
|
1664
|
+
]
|
1665
|
+
) -> _UpdateFlowAliasResponseSuccess
|
1666
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFlowAliasResponseSuccess
|
1667
|
+
|
800
1668
|
interface _UpdateKnowledgeBaseResponseSuccess
|
801
1669
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateKnowledgeBaseResponse]
|
802
1670
|
def knowledge_base: () -> Types::KnowledgeBase
|
@@ -876,6 +1744,55 @@ module Aws
|
|
876
1744
|
}
|
877
1745
|
) -> _UpdateKnowledgeBaseResponseSuccess
|
878
1746
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseResponseSuccess
|
1747
|
+
|
1748
|
+
interface _UpdatePromptResponseSuccess
|
1749
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePromptResponse]
|
1750
|
+
def arn: () -> ::String
|
1751
|
+
def created_at: () -> ::Time
|
1752
|
+
def customer_encryption_key_arn: () -> ::String
|
1753
|
+
def default_variant: () -> ::String
|
1754
|
+
def description: () -> ::String
|
1755
|
+
def id: () -> ::String
|
1756
|
+
def name: () -> ::String
|
1757
|
+
def updated_at: () -> ::Time
|
1758
|
+
def variants: () -> ::Array[Types::PromptVariant]
|
1759
|
+
def version: () -> ::String
|
1760
|
+
end
|
1761
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#update_prompt-instance_method
|
1762
|
+
def update_prompt: (
|
1763
|
+
?customer_encryption_key_arn: ::String,
|
1764
|
+
?default_variant: ::String,
|
1765
|
+
?description: ::String,
|
1766
|
+
name: ::String,
|
1767
|
+
prompt_identifier: ::String,
|
1768
|
+
?variants: Array[
|
1769
|
+
{
|
1770
|
+
inference_configuration: {
|
1771
|
+
text: {
|
1772
|
+
max_tokens: ::Integer?,
|
1773
|
+
stop_sequences: Array[::String]?,
|
1774
|
+
temperature: ::Float?,
|
1775
|
+
top_k: ::Integer?,
|
1776
|
+
top_p: ::Float?
|
1777
|
+
}?
|
1778
|
+
}?,
|
1779
|
+
model_id: ::String?,
|
1780
|
+
name: ::String,
|
1781
|
+
template_configuration: {
|
1782
|
+
text: {
|
1783
|
+
input_variables: Array[
|
1784
|
+
{
|
1785
|
+
name: ::String?
|
1786
|
+
},
|
1787
|
+
]?,
|
1788
|
+
text: ::String
|
1789
|
+
}?
|
1790
|
+
}?,
|
1791
|
+
template_type: ("TEXT")
|
1792
|
+
},
|
1793
|
+
]
|
1794
|
+
) -> _UpdatePromptResponseSuccess
|
1795
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePromptResponseSuccess
|
879
1796
|
end
|
880
1797
|
end
|
881
1798
|
end
|