lib/aws-sdk-bedrockagent/client.rb in aws-sdk-bedrockagent-1.0.0 vs lib/aws-sdk-bedrockagent/client.rb in aws-sdk-bedrockagent-1.1.0
- old
+ new
@@ -839,11 +839,11 @@
# vector_knowledge_base_configuration: {
# embedding_model_arn: "BedrockEmbeddingModelArn", # required
# },
# },
# storage_configuration: { # required
- # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD
+ # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS
# opensearch_serverless_configuration: {
# collection_arn: "OpenSearchServerlessCollectionArn", # required
# vector_index_name: "OpenSearchServerlessIndexName", # required
# field_mapping: { # required
# vector_field: "FieldName", # required
@@ -868,10 +868,22 @@
# vector_field: "FieldName", # required
# text_field: "FieldName", # required
# metadata_field: "FieldName", # required
# },
# },
+ # rds_configuration: {
+ # resource_arn: "RdsArn", # required
+ # credentials_secret_arn: "SecretArn", # required
+ # database_name: "RdsDatabaseName", # required
+ # table_name: "RdsTableName", # required
+ # field_mapping: { # required
+ # primary_key_field: "ColumnName", # required
+ # vector_field: "ColumnName", # required
+ # text_field: "ColumnName", # required
+ # metadata_field: "ColumnName", # required
+ # },
+ # },
# },
# tags: {
# "TagKey" => "TagValue",
# },
# })
@@ -883,11 +895,11 @@
# resp.knowledge_base.knowledge_base_arn #=> String
# resp.knowledge_base.description #=> String
# resp.knowledge_base.role_arn #=> String
# resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
- # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD"
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS"
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.vector_index_name #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.vector_field #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
@@ -900,10 +912,18 @@
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.credentials_secret_arn #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.metadata_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.resource_arn #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.credentials_secret_arn #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.database_name #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.table_name #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.primary_key_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.vector_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.text_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.metadata_field #=> String
# resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED"
# resp.knowledge_base.created_at #=> Time
# resp.knowledge_base.updated_at #=> Time
# resp.knowledge_base.failure_reasons #=> Array
# resp.knowledge_base.failure_reasons[0] #=> String
@@ -1537,11 +1557,11 @@
# resp.knowledge_base.knowledge_base_arn #=> String
# resp.knowledge_base.description #=> String
# resp.knowledge_base.role_arn #=> String
# resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
- # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD"
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS"
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.vector_index_name #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.vector_field #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
@@ -1554,10 +1574,18 @@
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.credentials_secret_arn #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.metadata_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.resource_arn #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.credentials_secret_arn #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.database_name #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.table_name #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.primary_key_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.vector_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.text_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.metadata_field #=> String
# resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED"
# resp.knowledge_base.created_at #=> Time
# resp.knowledge_base.updated_at #=> Time
# resp.knowledge_base.failure_reasons #=> Array
# resp.knowledge_base.failure_reasons[0] #=> String
@@ -2562,11 +2590,11 @@
# vector_knowledge_base_configuration: {
# embedding_model_arn: "BedrockEmbeddingModelArn", # required
# },
# },
# storage_configuration: { # required
- # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD
+ # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS
# opensearch_serverless_configuration: {
# collection_arn: "OpenSearchServerlessCollectionArn", # required
# vector_index_name: "OpenSearchServerlessIndexName", # required
# field_mapping: { # required
# vector_field: "FieldName", # required
@@ -2591,10 +2619,22 @@
# vector_field: "FieldName", # required
# text_field: "FieldName", # required
# metadata_field: "FieldName", # required
# },
# },
+ # rds_configuration: {
+ # resource_arn: "RdsArn", # required
+ # credentials_secret_arn: "SecretArn", # required
+ # database_name: "RdsDatabaseName", # required
+ # table_name: "RdsTableName", # required
+ # field_mapping: { # required
+ # primary_key_field: "ColumnName", # required
+ # vector_field: "ColumnName", # required
+ # text_field: "ColumnName", # required
+ # metadata_field: "ColumnName", # required
+ # },
+ # },
# },
# })
#
# @example Response structure
#
@@ -2603,11 +2643,11 @@
# resp.knowledge_base.knowledge_base_arn #=> String
# resp.knowledge_base.description #=> String
# resp.knowledge_base.role_arn #=> String
# resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
# resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
- # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD"
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS"
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.vector_index_name #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.vector_field #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
# resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
@@ -2620,10 +2660,18 @@
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.credentials_secret_arn #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.metadata_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.resource_arn #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.credentials_secret_arn #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.database_name #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.table_name #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.primary_key_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.vector_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.text_field #=> String
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.metadata_field #=> String
# resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED"
# resp.knowledge_base.created_at #=> Time
# resp.knowledge_base.updated_at #=> Time
# resp.knowledge_base.failure_reasons #=> Array
# resp.knowledge_base.failure_reasons[0] #=> String
@@ -2648,10 +2696,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-bedrockagent'
- context[:gem_version] = '1.0.0'
+ context[:gem_version] = '1.1.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated