aws-sdk-bedrockagent 1.52.0 → 1.53.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 +11 -1
- data/lib/aws-sdk-bedrockagent/client_api.rb +2 -0
- data/lib/aws-sdk-bedrockagent/types.rb +12 -0
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +4 -0
- data/sig/types.rbs +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08922c51c55f935f47cdd309a40cea05ce65e7700589873ab885ec4e2900a37f'
|
4
|
+
data.tar.gz: 4456aea4ea0c017516164387ff222b77ceee3d3bcd50a7f7432a8427b31b0c42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 780943adea44de1ad2e6747126bc871d74b8af75bc8138e1bdb512cfb7385b3510536456b4021ea2712a0a8606a1a9a5b7325cce379fac47565c23dfd598f0de
|
7
|
+
data.tar.gz: 3157e9574a415e5a8c895f13055ad796b0287fc72ead55a5841e94a3b3f8d0a71c2ace6af930694304729c8256ad26d69d3b0f534574b11065482da5914e99e2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.53.0 (2025-04-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added optional "customMetadataField" for Amazon Aurora knowledge bases, allowing single-column metadata. Also added optional "textIndexName" for MongoDB Atlas knowledge bases, enabling hybrid search support.
|
8
|
+
|
4
9
|
1.52.0 (2025-03-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.53.0
|
@@ -2223,6 +2223,7 @@ module Aws::BedrockAgent
|
|
2223
2223
|
# text_field: "FieldName", # required
|
2224
2224
|
# vector_field: "FieldName", # required
|
2225
2225
|
# },
|
2226
|
+
# text_index_name: "MongoDbAtlasIndexName",
|
2226
2227
|
# vector_index_name: "MongoDbAtlasIndexName", # required
|
2227
2228
|
# },
|
2228
2229
|
# neptune_analytics_configuration: {
|
@@ -2264,6 +2265,7 @@ module Aws::BedrockAgent
|
|
2264
2265
|
# credentials_secret_arn: "SecretArn", # required
|
2265
2266
|
# database_name: "RdsDatabaseName", # required
|
2266
2267
|
# field_mapping: { # required
|
2268
|
+
# custom_metadata_field: "ColumnName",
|
2267
2269
|
# metadata_field: "ColumnName", # required
|
2268
2270
|
# primary_key_field: "ColumnName", # required
|
2269
2271
|
# text_field: "ColumnName", # required
|
@@ -2342,6 +2344,7 @@ module Aws::BedrockAgent
|
|
2342
2344
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.metadata_field #=> String
|
2343
2345
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
|
2344
2346
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
|
2347
|
+
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.text_index_name #=> String
|
2345
2348
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
|
2346
2349
|
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.metadata_field #=> String
|
2347
2350
|
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.text_field #=> String
|
@@ -2364,6 +2367,7 @@ module Aws::BedrockAgent
|
|
2364
2367
|
# resp.knowledge_base.storage_configuration.pinecone_configuration.namespace #=> String
|
2365
2368
|
# resp.knowledge_base.storage_configuration.rds_configuration.credentials_secret_arn #=> String
|
2366
2369
|
# resp.knowledge_base.storage_configuration.rds_configuration.database_name #=> String
|
2370
|
+
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.custom_metadata_field #=> String
|
2367
2371
|
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.metadata_field #=> String
|
2368
2372
|
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.primary_key_field #=> String
|
2369
2373
|
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.text_field #=> String
|
@@ -4145,6 +4149,7 @@ module Aws::BedrockAgent
|
|
4145
4149
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.metadata_field #=> String
|
4146
4150
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
|
4147
4151
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
|
4152
|
+
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.text_index_name #=> String
|
4148
4153
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
|
4149
4154
|
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.metadata_field #=> String
|
4150
4155
|
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.text_field #=> String
|
@@ -4167,6 +4172,7 @@ module Aws::BedrockAgent
|
|
4167
4172
|
# resp.knowledge_base.storage_configuration.pinecone_configuration.namespace #=> String
|
4168
4173
|
# resp.knowledge_base.storage_configuration.rds_configuration.credentials_secret_arn #=> String
|
4169
4174
|
# resp.knowledge_base.storage_configuration.rds_configuration.database_name #=> String
|
4175
|
+
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.custom_metadata_field #=> String
|
4170
4176
|
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.metadata_field #=> String
|
4171
4177
|
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.primary_key_field #=> String
|
4172
4178
|
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.text_field #=> String
|
@@ -6982,6 +6988,7 @@ module Aws::BedrockAgent
|
|
6982
6988
|
# text_field: "FieldName", # required
|
6983
6989
|
# vector_field: "FieldName", # required
|
6984
6990
|
# },
|
6991
|
+
# text_index_name: "MongoDbAtlasIndexName",
|
6985
6992
|
# vector_index_name: "MongoDbAtlasIndexName", # required
|
6986
6993
|
# },
|
6987
6994
|
# neptune_analytics_configuration: {
|
@@ -7023,6 +7030,7 @@ module Aws::BedrockAgent
|
|
7023
7030
|
# credentials_secret_arn: "SecretArn", # required
|
7024
7031
|
# database_name: "RdsDatabaseName", # required
|
7025
7032
|
# field_mapping: { # required
|
7033
|
+
# custom_metadata_field: "ColumnName",
|
7026
7034
|
# metadata_field: "ColumnName", # required
|
7027
7035
|
# primary_key_field: "ColumnName", # required
|
7028
7036
|
# text_field: "ColumnName", # required
|
@@ -7098,6 +7106,7 @@ module Aws::BedrockAgent
|
|
7098
7106
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.metadata_field #=> String
|
7099
7107
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
|
7100
7108
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
|
7109
|
+
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.text_index_name #=> String
|
7101
7110
|
# resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
|
7102
7111
|
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.metadata_field #=> String
|
7103
7112
|
# resp.knowledge_base.storage_configuration.neptune_analytics_configuration.field_mapping.text_field #=> String
|
@@ -7120,6 +7129,7 @@ module Aws::BedrockAgent
|
|
7120
7129
|
# resp.knowledge_base.storage_configuration.pinecone_configuration.namespace #=> String
|
7121
7130
|
# resp.knowledge_base.storage_configuration.rds_configuration.credentials_secret_arn #=> String
|
7122
7131
|
# resp.knowledge_base.storage_configuration.rds_configuration.database_name #=> String
|
7132
|
+
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.custom_metadata_field #=> String
|
7123
7133
|
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.metadata_field #=> String
|
7124
7134
|
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.primary_key_field #=> String
|
7125
7135
|
# resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.text_field #=> String
|
@@ -7617,7 +7627,7 @@ module Aws::BedrockAgent
|
|
7617
7627
|
tracer: tracer
|
7618
7628
|
)
|
7619
7629
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
7620
|
-
context[:gem_version] = '1.
|
7630
|
+
context[:gem_version] = '1.53.0'
|
7621
7631
|
Seahorse::Client::Request.new(handlers, context)
|
7622
7632
|
end
|
7623
7633
|
|
@@ -2029,6 +2029,7 @@ module Aws::BedrockAgent
|
|
2029
2029
|
MongoDbAtlasConfiguration.add_member(:endpoint, Shapes::ShapeRef.new(shape: MongoDbAtlasEndpoint, required: true, location_name: "endpoint"))
|
2030
2030
|
MongoDbAtlasConfiguration.add_member(:endpoint_service_name, Shapes::ShapeRef.new(shape: MongoDbAtlasEndpointServiceName, location_name: "endpointServiceName"))
|
2031
2031
|
MongoDbAtlasConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: MongoDbAtlasFieldMapping, required: true, location_name: "fieldMapping"))
|
2032
|
+
MongoDbAtlasConfiguration.add_member(:text_index_name, Shapes::ShapeRef.new(shape: MongoDbAtlasIndexName, location_name: "textIndexName"))
|
2032
2033
|
MongoDbAtlasConfiguration.add_member(:vector_index_name, Shapes::ShapeRef.new(shape: MongoDbAtlasIndexName, required: true, location_name: "vectorIndexName"))
|
2033
2034
|
MongoDbAtlasConfiguration.struct_class = Types::MongoDbAtlasConfiguration
|
2034
2035
|
|
@@ -2261,6 +2262,7 @@ module Aws::BedrockAgent
|
|
2261
2262
|
RdsConfiguration.add_member(:table_name, Shapes::ShapeRef.new(shape: RdsTableName, required: true, location_name: "tableName"))
|
2262
2263
|
RdsConfiguration.struct_class = Types::RdsConfiguration
|
2263
2264
|
|
2265
|
+
RdsFieldMapping.add_member(:custom_metadata_field, Shapes::ShapeRef.new(shape: ColumnName, location_name: "customMetadataField"))
|
2264
2266
|
RdsFieldMapping.add_member(:metadata_field, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "metadataField"))
|
2265
2267
|
RdsFieldMapping.add_member(:primary_key_field, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "primaryKeyField"))
|
2266
2268
|
RdsFieldMapping.add_member(:text_field, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "textField"))
|
@@ -7125,6 +7125,11 @@ module Aws::BedrockAgent
|
|
7125
7125
|
# the vector store.
|
7126
7126
|
# @return [Types::MongoDbAtlasFieldMapping]
|
7127
7127
|
#
|
7128
|
+
# @!attribute [rw] text_index_name
|
7129
|
+
# The name of the text search index in the MongoDB collection. This is
|
7130
|
+
# required for using the hybrid search feature.
|
7131
|
+
# @return [String]
|
7132
|
+
#
|
7128
7133
|
# @!attribute [rw] vector_index_name
|
7129
7134
|
# The name of the MongoDB Atlas vector search index.
|
7130
7135
|
# @return [String]
|
@@ -7138,6 +7143,7 @@ module Aws::BedrockAgent
|
|
7138
7143
|
:endpoint,
|
7139
7144
|
:endpoint_service_name,
|
7140
7145
|
:field_mapping,
|
7146
|
+
:text_index_name,
|
7141
7147
|
:vector_index_name)
|
7142
7148
|
SENSITIVE = []
|
7143
7149
|
include Aws::Structure
|
@@ -8403,6 +8409,11 @@ module Aws::BedrockAgent
|
|
8403
8409
|
# Contains the names of the fields to which to map information about the
|
8404
8410
|
# vector store.
|
8405
8411
|
#
|
8412
|
+
# @!attribute [rw] custom_metadata_field
|
8413
|
+
# Provide a name for the universal metadata field where Amazon Bedrock
|
8414
|
+
# will store any custom metadata from your data source.
|
8415
|
+
# @return [String]
|
8416
|
+
#
|
8406
8417
|
# @!attribute [rw] metadata_field
|
8407
8418
|
# The name of the field in which Amazon Bedrock stores metadata about
|
8408
8419
|
# the vector store.
|
@@ -8427,6 +8438,7 @@ module Aws::BedrockAgent
|
|
8427
8438
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/RdsFieldMapping AWS API Documentation
|
8428
8439
|
#
|
8429
8440
|
class RdsFieldMapping < Struct.new(
|
8441
|
+
:custom_metadata_field,
|
8430
8442
|
:metadata_field,
|
8431
8443
|
:primary_key_field,
|
8432
8444
|
:text_field,
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -762,6 +762,7 @@ module Aws
|
|
762
762
|
text_field: ::String,
|
763
763
|
vector_field: ::String
|
764
764
|
},
|
765
|
+
text_index_name: ::String?,
|
765
766
|
vector_index_name: ::String
|
766
767
|
}?,
|
767
768
|
neptune_analytics_configuration: {
|
@@ -803,6 +804,7 @@ module Aws
|
|
803
804
|
credentials_secret_arn: ::String,
|
804
805
|
database_name: ::String,
|
805
806
|
field_mapping: {
|
807
|
+
custom_metadata_field: ::String?,
|
806
808
|
metadata_field: ::String,
|
807
809
|
primary_key_field: ::String,
|
808
810
|
text_field: ::String,
|
@@ -2335,6 +2337,7 @@ module Aws
|
|
2335
2337
|
text_field: ::String,
|
2336
2338
|
vector_field: ::String
|
2337
2339
|
},
|
2340
|
+
text_index_name: ::String?,
|
2338
2341
|
vector_index_name: ::String
|
2339
2342
|
}?,
|
2340
2343
|
neptune_analytics_configuration: {
|
@@ -2376,6 +2379,7 @@ module Aws
|
|
2376
2379
|
credentials_secret_arn: ::String,
|
2377
2380
|
database_name: ::String,
|
2378
2381
|
field_mapping: {
|
2382
|
+
custom_metadata_field: ::String?,
|
2379
2383
|
metadata_field: ::String,
|
2380
2384
|
primary_key_field: ::String,
|
2381
2385
|
text_field: ::String,
|
data/sig/types.rbs
CHANGED
@@ -1807,6 +1807,7 @@ module Aws::BedrockAgent
|
|
1807
1807
|
attr_accessor endpoint: ::String
|
1808
1808
|
attr_accessor endpoint_service_name: ::String
|
1809
1809
|
attr_accessor field_mapping: Types::MongoDbAtlasFieldMapping
|
1810
|
+
attr_accessor text_index_name: ::String
|
1810
1811
|
attr_accessor vector_index_name: ::String
|
1811
1812
|
SENSITIVE: []
|
1812
1813
|
end
|
@@ -2120,6 +2121,7 @@ module Aws::BedrockAgent
|
|
2120
2121
|
end
|
2121
2122
|
|
2122
2123
|
class RdsFieldMapping
|
2124
|
+
attr_accessor custom_metadata_field: ::String
|
2123
2125
|
attr_accessor metadata_field: ::String
|
2124
2126
|
attr_accessor primary_key_field: ::String
|
2125
2127
|
attr_accessor text_field: ::String
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.53.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03
|
11
|
+
date: 2025-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|