aws-sdk-bedrockagent 1.81.0 → 1.83.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +59 -12
- data/lib/aws-sdk-bedrockagent/client_api.rb +4 -2
- data/lib/aws-sdk-bedrockagent/types.rb +48 -15
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/params.rbs +6 -3
- data/sig/types.rbs +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f44958fc743576733f6576985508543ae915d90abcb82f807cb124bc6abd141f
|
|
4
|
+
data.tar.gz: 327d402ce98b323ff6fc7c0eeacc5342d7fccc8f9945147fccbe1ce431c234b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e93f5f39ddcbec8214a599f2f7418847c6ff178b5695c9062efb7bc8f1fb4aab05643bad87e6a1532de339828aff20aa2295431e59a613944ab4ad4502331fb
|
|
7
|
+
data.tar.gz: 9706dcb8f5cd8dd68cc291a456a3364a14c93fcb7370a70310e96f7453eaa9de282d09b643398eab66cc12aaeb3f8bd39b365f22d9a17d0b8caef1230737cd0d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.83.0 (2026-09-10)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - TwelveLabs Marengo 3.0 is now an embedding model option in Amazon Bedrock Managed Knowledge Base. Create multimodal embeddings for video, audio, and image content that capture visual scenes, speech, and video cues, not just transcribed text.
|
|
8
|
+
|
|
9
|
+
1.82.0 (2026-09-09)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.81.0 (2026-08-28)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.83.0
|
|
@@ -601,11 +601,20 @@ module Aws::BedrockAgent
|
|
|
601
601
|
req.send_request(options)
|
|
602
602
|
end
|
|
603
603
|
|
|
604
|
-
#
|
|
604
|
+
# <note markdown="1"> Amazon Bedrock Agents (now Amazon Bedrock Agents
|
|
605
|
+
# Classic) is no longer
|
|
606
|
+
# open to new customers. For capabilities similar to Bedrock Agents
|
|
607
|
+
# Classic, explore Amazon Bedrock AgentCore. Existing customers can
|
|
608
|
+
# continue to use the service as normal. For more information, see
|
|
609
|
+
# [Amazon Bedrock Agents Classic availability change][1].
|
|
610
|
+
#
|
|
611
|
+
# </note>
|
|
612
|
+
#
|
|
613
|
+
# Creates an agent that orchestrates interactions between foundation
|
|
605
614
|
# models, data sources, software applications, user conversations, and
|
|
606
615
|
# APIs to carry out tasks to help customers.
|
|
607
616
|
#
|
|
608
|
-
#
|
|
617
|
+
# * Specify the following fields for security purposes.
|
|
609
618
|
#
|
|
610
619
|
# * `agentResourceRoleArn` – The Amazon Resource Name (ARN) of the
|
|
611
620
|
# role with permissions to invoke API operations on an agent.
|
|
@@ -619,11 +628,11 @@ module Aws::BedrockAgent
|
|
|
619
628
|
# begins a new session.
|
|
620
629
|
# * To enable your agent to retain conversational context across
|
|
621
630
|
# multiple sessions, include a `memoryConfiguration` object. For more
|
|
622
|
-
# information, see [Configure memory][
|
|
631
|
+
# information, see [Configure memory][2].
|
|
623
632
|
#
|
|
624
633
|
# * To override the default prompt behavior for agent orchestration and
|
|
625
634
|
# to use advanced prompts, include a `promptOverrideConfiguration`
|
|
626
|
-
# object. For more information, see [Advanced prompts][
|
|
635
|
+
# object. For more information, see [Advanced prompts][3].
|
|
627
636
|
#
|
|
628
637
|
# * If your agent fails to be created, the response returns a list of
|
|
629
638
|
# `failureReasons` alongside a list of `recommendedActions` for you to
|
|
@@ -635,8 +644,9 @@ module Aws::BedrockAgent
|
|
|
635
644
|
#
|
|
636
645
|
#
|
|
637
646
|
#
|
|
638
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-
|
|
639
|
-
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
|
647
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-classic-maintenance-mode.html
|
|
648
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-configure-memory.html
|
|
649
|
+
# [3]: https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html
|
|
640
650
|
#
|
|
641
651
|
# @option params [required, String] :agent_name
|
|
642
652
|
# A name for the agent that you create.
|
|
@@ -1396,7 +1406,7 @@ module Aws::BedrockAgent
|
|
|
1396
1406
|
# ],
|
|
1397
1407
|
# },
|
|
1398
1408
|
# parsing_configuration: {
|
|
1399
|
-
# parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION, SMART_PARSING
|
|
1409
|
+
# parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION, SMART_PARSING, MULTI_MODAL_EMBEDDINGS
|
|
1400
1410
|
# bedrock_foundation_model_configuration: {
|
|
1401
1411
|
# model_arn: "BedrockModelArn", # required
|
|
1402
1412
|
# parsing_prompt: {
|
|
@@ -1499,7 +1509,7 @@ module Aws::BedrockAgent
|
|
|
1499
1509
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
|
|
1500
1510
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
|
|
1501
1511
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
|
|
1502
|
-
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING"
|
|
1512
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING", "MULTI_MODAL_EMBEDDINGS"
|
|
1503
1513
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
|
|
1504
1514
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_prompt.parsing_prompt_text #=> String
|
|
1505
1515
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
|
|
@@ -2362,6 +2372,8 @@ module Aws::BedrockAgent
|
|
|
2362
2372
|
# },
|
|
2363
2373
|
# },
|
|
2364
2374
|
# ],
|
|
2375
|
+
# model_configuration: {
|
|
2376
|
+
# },
|
|
2365
2377
|
# },
|
|
2366
2378
|
# },
|
|
2367
2379
|
# supplemental_data_storage_configuration: {
|
|
@@ -2396,11 +2408,23 @@ module Aws::BedrockAgent
|
|
|
2396
2408
|
# },
|
|
2397
2409
|
# },
|
|
2398
2410
|
# ],
|
|
2411
|
+
# model_configuration: {
|
|
2412
|
+
# },
|
|
2399
2413
|
# },
|
|
2400
2414
|
# },
|
|
2401
2415
|
# server_side_encryption_configuration: {
|
|
2402
2416
|
# kms_key_arn: "KmsKeyArn",
|
|
2403
2417
|
# },
|
|
2418
|
+
# supplemental_data_storage_configuration: {
|
|
2419
|
+
# storage_locations: [ # required
|
|
2420
|
+
# {
|
|
2421
|
+
# type: "S3", # required, accepts S3
|
|
2422
|
+
# s3_location: {
|
|
2423
|
+
# uri: "S3BucketUri", # required
|
|
2424
|
+
# },
|
|
2425
|
+
# },
|
|
2426
|
+
# ],
|
|
2427
|
+
# },
|
|
2404
2428
|
# },
|
|
2405
2429
|
# kendra_knowledge_base_configuration: {
|
|
2406
2430
|
# kendra_index_arn: "KendraIndexArn", # required
|
|
@@ -2577,6 +2601,9 @@ module Aws::BedrockAgent
|
|
|
2577
2601
|
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
|
|
2578
2602
|
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video[0].segmentation_configuration.fixed_length_duration #=> Integer
|
|
2579
2603
|
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.server_side_encryption_configuration.kms_key_arn #=> String
|
|
2604
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
|
2605
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
|
2606
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
|
2580
2607
|
# resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
|
|
2581
2608
|
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
|
|
2582
2609
|
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
|
|
@@ -4002,7 +4029,7 @@ module Aws::BedrockAgent
|
|
|
4002
4029
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
|
|
4003
4030
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
|
|
4004
4031
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
|
|
4005
|
-
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING"
|
|
4032
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING", "MULTI_MODAL_EMBEDDINGS"
|
|
4006
4033
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
|
|
4007
4034
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_prompt.parsing_prompt_text #=> String
|
|
4008
4035
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
|
|
@@ -4538,6 +4565,9 @@ module Aws::BedrockAgent
|
|
|
4538
4565
|
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
|
|
4539
4566
|
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video[0].segmentation_configuration.fixed_length_duration #=> Integer
|
|
4540
4567
|
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.server_side_encryption_configuration.kms_key_arn #=> String
|
|
4568
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
|
4569
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
|
4570
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
|
4541
4571
|
# resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
|
|
4542
4572
|
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
|
|
4543
4573
|
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
|
|
@@ -6907,7 +6937,7 @@ module Aws::BedrockAgent
|
|
|
6907
6937
|
# ],
|
|
6908
6938
|
# },
|
|
6909
6939
|
# parsing_configuration: {
|
|
6910
|
-
# parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION, SMART_PARSING
|
|
6940
|
+
# parsing_strategy: "BEDROCK_FOUNDATION_MODEL", # required, accepts BEDROCK_FOUNDATION_MODEL, BEDROCK_DATA_AUTOMATION, SMART_PARSING, MULTI_MODAL_EMBEDDINGS
|
|
6911
6941
|
# bedrock_foundation_model_configuration: {
|
|
6912
6942
|
# model_arn: "BedrockModelArn", # required
|
|
6913
6943
|
# parsing_prompt: {
|
|
@@ -7010,7 +7040,7 @@ module Aws::BedrockAgent
|
|
|
7010
7040
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations #=> Array
|
|
7011
7041
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].transformation_function.transformation_lambda_configuration.lambda_arn #=> String
|
|
7012
7042
|
# resp.data_source.vector_ingestion_configuration.custom_transformation_configuration.transformations[0].step_to_apply #=> String, one of "POST_CHUNKING"
|
|
7013
|
-
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING"
|
|
7043
|
+
# resp.data_source.vector_ingestion_configuration.parsing_configuration.parsing_strategy #=> String, one of "BEDROCK_FOUNDATION_MODEL", "BEDROCK_DATA_AUTOMATION", "SMART_PARSING", "MULTI_MODAL_EMBEDDINGS"
|
|
7014
7044
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.model_arn #=> String
|
|
7015
7045
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_prompt.parsing_prompt_text #=> String
|
|
7016
7046
|
# resp.data_source.vector_ingestion_configuration.parsing_configuration.bedrock_foundation_model_configuration.parsing_modality #=> String, one of "MULTIMODAL"
|
|
@@ -7623,6 +7653,8 @@ module Aws::BedrockAgent
|
|
|
7623
7653
|
# },
|
|
7624
7654
|
# },
|
|
7625
7655
|
# ],
|
|
7656
|
+
# model_configuration: {
|
|
7657
|
+
# },
|
|
7626
7658
|
# },
|
|
7627
7659
|
# },
|
|
7628
7660
|
# supplemental_data_storage_configuration: {
|
|
@@ -7657,11 +7689,23 @@ module Aws::BedrockAgent
|
|
|
7657
7689
|
# },
|
|
7658
7690
|
# },
|
|
7659
7691
|
# ],
|
|
7692
|
+
# model_configuration: {
|
|
7693
|
+
# },
|
|
7660
7694
|
# },
|
|
7661
7695
|
# },
|
|
7662
7696
|
# server_side_encryption_configuration: {
|
|
7663
7697
|
# kms_key_arn: "KmsKeyArn",
|
|
7664
7698
|
# },
|
|
7699
|
+
# supplemental_data_storage_configuration: {
|
|
7700
|
+
# storage_locations: [ # required
|
|
7701
|
+
# {
|
|
7702
|
+
# type: "S3", # required, accepts S3
|
|
7703
|
+
# s3_location: {
|
|
7704
|
+
# uri: "S3BucketUri", # required
|
|
7705
|
+
# },
|
|
7706
|
+
# },
|
|
7707
|
+
# ],
|
|
7708
|
+
# },
|
|
7665
7709
|
# },
|
|
7666
7710
|
# kendra_knowledge_base_configuration: {
|
|
7667
7711
|
# kendra_index_arn: "KendraIndexArn", # required
|
|
@@ -7835,6 +7879,9 @@ module Aws::BedrockAgent
|
|
|
7835
7879
|
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video #=> Array
|
|
7836
7880
|
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.embedding_model_configuration.bedrock_embedding_model_configuration.video[0].segmentation_configuration.fixed_length_duration #=> Integer
|
|
7837
7881
|
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.server_side_encryption_configuration.kms_key_arn #=> String
|
|
7882
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations #=> Array
|
|
7883
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].type #=> String, one of "S3"
|
|
7884
|
+
# resp.knowledge_base.knowledge_base_configuration.managed_knowledge_base_configuration.supplemental_data_storage_configuration.storage_locations[0].s3_location.uri #=> String
|
|
7838
7885
|
# resp.knowledge_base.knowledge_base_configuration.kendra_knowledge_base_configuration.kendra_index_arn #=> String
|
|
7839
7886
|
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.type #=> String, one of "REDSHIFT"
|
|
7840
7887
|
# resp.knowledge_base.knowledge_base_configuration.sql_knowledge_base_configuration.redshift_configuration.storage_configurations #=> Array
|
|
@@ -8490,7 +8537,7 @@ module Aws::BedrockAgent
|
|
|
8490
8537
|
tracer: tracer
|
|
8491
8538
|
)
|
|
8492
8539
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
|
8493
|
-
context[:gem_version] = '1.
|
|
8540
|
+
context[:gem_version] = '1.83.0'
|
|
8494
8541
|
Seahorse::Client::Request.new(handlers, context)
|
|
8495
8542
|
end
|
|
8496
8543
|
|
|
@@ -992,8 +992,9 @@ module Aws::BedrockAgent
|
|
|
992
992
|
|
|
993
993
|
BedrockEmbeddingModelConfiguration.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "dimensions"))
|
|
994
994
|
BedrockEmbeddingModelConfiguration.add_member(:embedding_data_type, Shapes::ShapeRef.new(shape: EmbeddingDataType, location_name: "embeddingDataType"))
|
|
995
|
-
BedrockEmbeddingModelConfiguration.add_member(:audio, Shapes::ShapeRef.new(shape: AudioConfigurations, location_name: "audio"))
|
|
996
|
-
BedrockEmbeddingModelConfiguration.add_member(:video, Shapes::ShapeRef.new(shape: VideoConfigurations, location_name: "video"))
|
|
995
|
+
BedrockEmbeddingModelConfiguration.add_member(:audio, Shapes::ShapeRef.new(shape: AudioConfigurations, deprecated: true, location_name: "audio", metadata: {"deprecatedMessage" => "Use Managed Knowledge Base's modelConfiguration field. https://docs.aws.amazon.com/bedrock/latest/userguide/kb-build-managed.html", "deprecatedSince" => "2026-09-01"}))
|
|
996
|
+
BedrockEmbeddingModelConfiguration.add_member(:video, Shapes::ShapeRef.new(shape: VideoConfigurations, deprecated: true, location_name: "video", metadata: {"deprecatedMessage" => "Use Managed Knowledge Base's modelConfiguration field. https://docs.aws.amazon.com/bedrock/latest/userguide/kb-build-managed.html", "deprecatedSince" => "2026-09-01"}))
|
|
997
|
+
BedrockEmbeddingModelConfiguration.add_member(:model_configuration, Shapes::ShapeRef.new(shape: Document, location_name: "modelConfiguration"))
|
|
997
998
|
BedrockEmbeddingModelConfiguration.struct_class = Types::BedrockEmbeddingModelConfiguration
|
|
998
999
|
|
|
999
1000
|
BedrockFoundationModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
|
|
@@ -2200,6 +2201,7 @@ module Aws::BedrockAgent
|
|
|
2200
2201
|
ManagedKnowledgeBaseConfiguration.add_member(:embedding_model_arn, Shapes::ShapeRef.new(shape: BedrockEmbeddingModelArn, location_name: "embeddingModelArn"))
|
|
2201
2202
|
ManagedKnowledgeBaseConfiguration.add_member(:embedding_model_configuration, Shapes::ShapeRef.new(shape: EmbeddingModelConfiguration, location_name: "embeddingModelConfiguration"))
|
|
2202
2203
|
ManagedKnowledgeBaseConfiguration.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
|
|
2204
|
+
ManagedKnowledgeBaseConfiguration.add_member(:supplemental_data_storage_configuration, Shapes::ShapeRef.new(shape: SupplementalDataStorageConfiguration, location_name: "supplementalDataStorageConfiguration"))
|
|
2203
2205
|
ManagedKnowledgeBaseConfiguration.struct_class = Types::ManagedKnowledgeBaseConfiguration
|
|
2204
2206
|
|
|
2205
2207
|
ManagedKnowledgeBaseConnectorConfiguration.add_member(:deletion_protection_configuration, Shapes::ShapeRef.new(shape: DeletionProtectionConfiguration, location_name: "deletionProtectionConfiguration"))
|
|
@@ -1301,20 +1301,36 @@ module Aws::BedrockAgent
|
|
|
1301
1301
|
# @!attribute [rw] audio
|
|
1302
1302
|
# Configuration settings for processing audio content in multimodal
|
|
1303
1303
|
# knowledge bases.
|
|
1304
|
+
#
|
|
1305
|
+
# This field is deprecated. Use `modelConfiguration` instead.
|
|
1304
1306
|
# @return [Array<Types::AudioConfiguration>]
|
|
1305
1307
|
#
|
|
1306
1308
|
# @!attribute [rw] video
|
|
1307
1309
|
# Configuration settings for processing video content in multimodal
|
|
1308
1310
|
# knowledge bases.
|
|
1311
|
+
#
|
|
1312
|
+
# This field is deprecated. Use `modelConfiguration` instead.
|
|
1309
1313
|
# @return [Array<Types::VideoConfiguration>]
|
|
1310
1314
|
#
|
|
1315
|
+
# @!attribute [rw] model_configuration
|
|
1316
|
+
# Model-specific configuration for the embedding model, provided as a
|
|
1317
|
+
# JSON object. Use this field to specify settings that apply to the
|
|
1318
|
+
# embedding model that you selected, such as how audio and video files
|
|
1319
|
+
# are divided into segments.
|
|
1320
|
+
#
|
|
1321
|
+
# The fields that this object accepts depend on the embedding model.
|
|
1322
|
+
# For the settings that each model accepts, see the documentation for
|
|
1323
|
+
# that model.
|
|
1324
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
1325
|
+
#
|
|
1311
1326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/BedrockEmbeddingModelConfiguration AWS API Documentation
|
|
1312
1327
|
#
|
|
1313
1328
|
class BedrockEmbeddingModelConfiguration < Struct.new(
|
|
1314
1329
|
:dimensions,
|
|
1315
1330
|
:embedding_data_type,
|
|
1316
1331
|
:audio,
|
|
1317
|
-
:video
|
|
1332
|
+
:video,
|
|
1333
|
+
:model_configuration)
|
|
1318
1334
|
SENSITIVE = []
|
|
1319
1335
|
include Aws::Structure
|
|
1320
1336
|
end
|
|
@@ -6366,7 +6382,9 @@ module Aws::BedrockAgent
|
|
|
6366
6382
|
# @return [Types::VectorKnowledgeBaseConfiguration]
|
|
6367
6383
|
#
|
|
6368
6384
|
# @!attribute [rw] managed_knowledge_base_configuration
|
|
6369
|
-
#
|
|
6385
|
+
# Contains configuration details for a knowledge base that uses a
|
|
6386
|
+
# vector store fully managed by Amazon Bedrock. Specify this object
|
|
6387
|
+
# when the knowledge base type is MANAGED.
|
|
6370
6388
|
# @return [Types::ManagedKnowledgeBaseConfiguration]
|
|
6371
6389
|
#
|
|
6372
6390
|
# @!attribute [rw] kendra_knowledge_base_configuration
|
|
@@ -7570,13 +7588,8 @@ module Aws::BedrockAgent
|
|
|
7570
7588
|
# Configurations for a managed knowledge base.
|
|
7571
7589
|
#
|
|
7572
7590
|
# @!attribute [rw] embedding_model_type
|
|
7573
|
-
# Choose
|
|
7574
|
-
# Choose
|
|
7575
|
-
# information, see [Embedding model options][1].
|
|
7576
|
-
#
|
|
7577
|
-
#
|
|
7578
|
-
#
|
|
7579
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-create.html#kb-managed-embedding-models
|
|
7591
|
+
# Choose CUSTOM to provide your own Bedrock embedding model ARN.
|
|
7592
|
+
# Choose MANAGED to use a service-managed embedding model.
|
|
7580
7593
|
# @return [String]
|
|
7581
7594
|
#
|
|
7582
7595
|
# @!attribute [rw] embedding_model_arn
|
|
@@ -7584,7 +7597,8 @@ module Aws::BedrockAgent
|
|
|
7584
7597
|
# @return [String]
|
|
7585
7598
|
#
|
|
7586
7599
|
# @!attribute [rw] embedding_model_configuration
|
|
7587
|
-
# The configuration details for the embeddings model.
|
|
7600
|
+
# The configuration details for the embeddings model. Not required
|
|
7601
|
+
# when choosing the MANAGED embeddingModelType.
|
|
7588
7602
|
# @return [Types::EmbeddingModelConfiguration]
|
|
7589
7603
|
#
|
|
7590
7604
|
# @!attribute [rw] server_side_encryption_configuration
|
|
@@ -7592,13 +7606,20 @@ module Aws::BedrockAgent
|
|
|
7592
7606
|
# managed knowledge base.
|
|
7593
7607
|
# @return [Types::ServerSideEncryptionConfiguration]
|
|
7594
7608
|
#
|
|
7609
|
+
# @!attribute [rw] supplemental_data_storage_configuration
|
|
7610
|
+
# Use this object to specify the Amazon S3 location that the knowledge
|
|
7611
|
+
# base uses to process and ingest multimodal content. This field is
|
|
7612
|
+
# required when you use a native multimodal embedding model.
|
|
7613
|
+
# @return [Types::SupplementalDataStorageConfiguration]
|
|
7614
|
+
#
|
|
7595
7615
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ManagedKnowledgeBaseConfiguration AWS API Documentation
|
|
7596
7616
|
#
|
|
7597
7617
|
class ManagedKnowledgeBaseConfiguration < Struct.new(
|
|
7598
7618
|
:embedding_model_type,
|
|
7599
7619
|
:embedding_model_arn,
|
|
7600
7620
|
:embedding_model_configuration,
|
|
7601
|
-
:server_side_encryption_configuration
|
|
7621
|
+
:server_side_encryption_configuration,
|
|
7622
|
+
:supplemental_data_storage_configuration)
|
|
7602
7623
|
SENSITIVE = []
|
|
7603
7624
|
include Aws::Structure
|
|
7604
7625
|
end
|
|
@@ -8393,9 +8414,21 @@ module Aws::BedrockAgent
|
|
|
8393
8414
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-advanced-parsing.html
|
|
8394
8415
|
#
|
|
8395
8416
|
# @!attribute [rw] parsing_strategy
|
|
8396
|
-
# The parsing strategy for the data source.
|
|
8397
|
-
#
|
|
8398
|
-
#
|
|
8417
|
+
# The parsing strategy for the data source.
|
|
8418
|
+
#
|
|
8419
|
+
# For managed knowledge bases, the strategy that you can select
|
|
8420
|
+
# depends on the embedding model that your knowledge base uses:
|
|
8421
|
+
#
|
|
8422
|
+
# * If your knowledge base uses a native multimodal embedding model,
|
|
8423
|
+
# specify `MULTI_MODAL_EMBEDDINGS`. With this strategy, files are
|
|
8424
|
+
# sent directly to the embedding model instead of being parsed into
|
|
8425
|
+
# text. This is the only strategy that is supported for these
|
|
8426
|
+
# knowledge bases.
|
|
8427
|
+
#
|
|
8428
|
+
# * Otherwise, specify `SMART_PARSING`.
|
|
8429
|
+
#
|
|
8430
|
+
# For more information, see [Customize ingestion for managed knowledge
|
|
8431
|
+
# bases][1].
|
|
8399
8432
|
#
|
|
8400
8433
|
#
|
|
8401
8434
|
#
|
|
@@ -10806,7 +10839,7 @@ module Aws::BedrockAgent
|
|
|
10806
10839
|
# @return [Types::ToolInputSchema]
|
|
10807
10840
|
#
|
|
10808
10841
|
# @!attribute [rw] strict
|
|
10809
|
-
# Whether
|
|
10842
|
+
# Whether the tool schema is strictly enforced.
|
|
10810
10843
|
# @return [Boolean]
|
|
10811
10844
|
#
|
|
10812
10845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ToolSpecification AWS API Documentation
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/params.rbs
CHANGED
|
@@ -218,7 +218,7 @@ module Aws
|
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
type parsing_configuration = {
|
|
221
|
-
parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION" | "SMART_PARSING"),
|
|
221
|
+
parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION" | "SMART_PARSING" | "MULTI_MODAL_EMBEDDINGS"),
|
|
222
222
|
bedrock_foundation_model_configuration: {
|
|
223
223
|
model_arn: ::String,
|
|
224
224
|
parsing_prompt: {
|
|
@@ -558,7 +558,9 @@ module Aws
|
|
|
558
558
|
fixed_length_duration: ::Integer
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
|
-
]
|
|
561
|
+
]?,
|
|
562
|
+
model_configuration: {
|
|
563
|
+
}?
|
|
562
564
|
}
|
|
563
565
|
|
|
564
566
|
type embedding_model_configuration = {
|
|
@@ -588,7 +590,8 @@ module Aws
|
|
|
588
590
|
embedding_model_configuration: Params::embedding_model_configuration?,
|
|
589
591
|
server_side_encryption_configuration: {
|
|
590
592
|
kms_key_arn: ::String?
|
|
591
|
-
}
|
|
593
|
+
}?,
|
|
594
|
+
supplemental_data_storage_configuration: Params::supplemental_data_storage_configuration?
|
|
592
595
|
}
|
|
593
596
|
|
|
594
597
|
type redshift_provisioned_configuration = {
|
data/sig/types.rbs
CHANGED
|
@@ -299,6 +299,7 @@ module Aws::BedrockAgent
|
|
|
299
299
|
attr_accessor embedding_data_type: ("FLOAT32" | "BINARY")
|
|
300
300
|
attr_accessor audio: ::Array[Types::AudioConfiguration]
|
|
301
301
|
attr_accessor video: ::Array[Types::VideoConfiguration]
|
|
302
|
+
attr_accessor model_configuration: untyped
|
|
302
303
|
SENSITIVE: []
|
|
303
304
|
end
|
|
304
305
|
|
|
@@ -1916,6 +1917,7 @@ module Aws::BedrockAgent
|
|
|
1916
1917
|
attr_accessor embedding_model_arn: ::String
|
|
1917
1918
|
attr_accessor embedding_model_configuration: Types::EmbeddingModelConfiguration
|
|
1918
1919
|
attr_accessor server_side_encryption_configuration: Types::ServerSideEncryptionConfiguration
|
|
1920
|
+
attr_accessor supplemental_data_storage_configuration: Types::SupplementalDataStorageConfiguration
|
|
1919
1921
|
SENSITIVE: []
|
|
1920
1922
|
end
|
|
1921
1923
|
|
|
@@ -2128,7 +2130,7 @@ module Aws::BedrockAgent
|
|
|
2128
2130
|
end
|
|
2129
2131
|
|
|
2130
2132
|
class ParsingConfiguration
|
|
2131
|
-
attr_accessor parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION" | "SMART_PARSING")
|
|
2133
|
+
attr_accessor parsing_strategy: ("BEDROCK_FOUNDATION_MODEL" | "BEDROCK_DATA_AUTOMATION" | "SMART_PARSING" | "MULTI_MODAL_EMBEDDINGS")
|
|
2132
2134
|
attr_accessor bedrock_foundation_model_configuration: Types::BedrockFoundationModelConfiguration
|
|
2133
2135
|
attr_accessor bedrock_data_automation_configuration: Types::BedrockDataAutomationConfiguration
|
|
2134
2136
|
SENSITIVE: []
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-bedrockagent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.83.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.255.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.255.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|