aws-sdk-bedrockagent 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 997448ba6b3fd11e462e3f053b5cec4d5dbbbebfc1e9386b218e4aa00bdd104a
4
- data.tar.gz: c7290ca529317aacb42894dce8f3ab6d659510655dcc30104c9206c5e366d8bb
3
+ metadata.gz: 125a5c3e09987d4d401a80829a6807ba9e3eb334ad7f623cd34be398bf50e07b
4
+ data.tar.gz: 3075eaef9d0531c1769121ea35b89fa12507b3bbeb2c01610b8d7763a3a654fb
5
5
  SHA512:
6
- metadata.gz: c299bc97f8e77db3d481512dddd86612acebbee5030f47fe978283b7ab3d7239cacd8acc39c65e9b8264e83e3a172b853dcb1897c86384b6a498e2d3fa68fd56
7
- data.tar.gz: dc371a825cc6936275c80a21e5e290140b9d0ac961057ffd004745e62ffb6fc386fafc386d75238d96501f18d00689de73394a06e2b277586cc275d77391ae29
6
+ metadata.gz: 489a210d47c161e5da002886d60d14b64b33dba98804daa26bd8e17572bc906c6f27af931760a15e4fe38044f981f11898e054f4c0429ac4b3cac319e6e99556
7
+ data.tar.gz: 1ad08b34f699102eb3d7dbbd8d1b83ed3930cef258ed7fe869c9c8062b44ed3c054b946bbe2444e3793de02b4d1f7c7bb7eb3f6956ea142155d99d69a7f31b56
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.9.0 (2024-05-01)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base.
8
+
4
9
  1.8.0 (2024-04-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.9.0
@@ -898,7 +898,7 @@ module Aws::BedrockAgent
898
898
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
899
899
  #
900
900
  # @option params [String] :data_deletion_policy
901
- # The deletion policy for the requested data source
901
+ # The data deletion policy assigned to the data source.
902
902
  #
903
903
  # @option params [required, Types::DataSourceConfiguration] :data_source_configuration
904
904
  # Contains metadata about where the data source is stored.
@@ -1084,6 +1084,19 @@ module Aws::BedrockAgent
1084
1084
  # name: "Name", # required
1085
1085
  # role_arn: "KnowledgeBaseRoleArn", # required
1086
1086
  # storage_configuration: { # required
1087
+ # mongo_db_atlas_configuration: {
1088
+ # collection_name: "MongoDbAtlasCollectionName", # required
1089
+ # credentials_secret_arn: "SecretArn", # required
1090
+ # database_name: "MongoDbAtlasDatabaseName", # required
1091
+ # endpoint: "MongoDbAtlasEndpoint", # required
1092
+ # endpoint_service_name: "MongoDbAtlasEndpointServiceName",
1093
+ # field_mapping: { # required
1094
+ # metadata_field: "FieldName", # required
1095
+ # text_field: "FieldName", # required
1096
+ # vector_field: "FieldName", # required
1097
+ # },
1098
+ # vector_index_name: "MongoDbAtlasIndexName", # required
1099
+ # },
1087
1100
  # opensearch_serverless_configuration: {
1088
1101
  # collection_arn: "OpenSearchServerlessCollectionArn", # required
1089
1102
  # field_mapping: { # required
@@ -1124,7 +1137,7 @@ module Aws::BedrockAgent
1124
1137
  # },
1125
1138
  # vector_index_name: "RedisEnterpriseCloudIndexName", # required
1126
1139
  # },
1127
- # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS
1140
+ # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS
1128
1141
  # },
1129
1142
  # tags: {
1130
1143
  # "TagKey" => "TagValue",
@@ -1144,6 +1157,15 @@ module Aws::BedrockAgent
1144
1157
  # resp.knowledge_base.name #=> String
1145
1158
  # resp.knowledge_base.role_arn #=> String
1146
1159
  # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
1160
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.collection_name #=> String
1161
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.credentials_secret_arn #=> String
1162
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.database_name #=> String
1163
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint #=> String
1164
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint_service_name #=> String
1165
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.metadata_field #=> String
1166
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
1167
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
1168
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
1147
1169
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
1148
1170
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
1149
1171
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
@@ -1168,7 +1190,7 @@ module Aws::BedrockAgent
1168
1190
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
1169
1191
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
1170
1192
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
1171
- # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS"
1193
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS"
1172
1194
  # resp.knowledge_base.updated_at #=> Time
1173
1195
  #
1174
1196
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateKnowledgeBase AWS API Documentation
@@ -1837,6 +1859,15 @@ module Aws::BedrockAgent
1837
1859
  # resp.knowledge_base.name #=> String
1838
1860
  # resp.knowledge_base.role_arn #=> String
1839
1861
  # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
1862
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.collection_name #=> String
1863
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.credentials_secret_arn #=> String
1864
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.database_name #=> String
1865
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint #=> String
1866
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint_service_name #=> String
1867
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.metadata_field #=> String
1868
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
1869
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
1870
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
1840
1871
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
1841
1872
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
1842
1873
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
@@ -1861,7 +1892,7 @@ module Aws::BedrockAgent
1861
1892
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
1862
1893
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
1863
1894
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
1864
- # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS"
1895
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS"
1865
1896
  # resp.knowledge_base.updated_at #=> Time
1866
1897
  #
1867
1898
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetKnowledgeBase AWS API Documentation
@@ -2907,7 +2938,7 @@ module Aws::BedrockAgent
2907
2938
  # data source. Specify the existing `chunkingConfiguration`.
2908
2939
  #
2909
2940
  # @option params [String] :data_deletion_policy
2910
- # The data deletion policy of the updated data source.
2941
+ # The data deletion policy assigned to the data source.
2911
2942
  #
2912
2943
  # @option params [required, Types::DataSourceConfiguration] :data_source_configuration
2913
2944
  # Contains details about the storage configuration of the data source.
@@ -3058,6 +3089,19 @@ module Aws::BedrockAgent
3058
3089
  # name: "Name", # required
3059
3090
  # role_arn: "KnowledgeBaseRoleArn", # required
3060
3091
  # storage_configuration: { # required
3092
+ # mongo_db_atlas_configuration: {
3093
+ # collection_name: "MongoDbAtlasCollectionName", # required
3094
+ # credentials_secret_arn: "SecretArn", # required
3095
+ # database_name: "MongoDbAtlasDatabaseName", # required
3096
+ # endpoint: "MongoDbAtlasEndpoint", # required
3097
+ # endpoint_service_name: "MongoDbAtlasEndpointServiceName",
3098
+ # field_mapping: { # required
3099
+ # metadata_field: "FieldName", # required
3100
+ # text_field: "FieldName", # required
3101
+ # vector_field: "FieldName", # required
3102
+ # },
3103
+ # vector_index_name: "MongoDbAtlasIndexName", # required
3104
+ # },
3061
3105
  # opensearch_serverless_configuration: {
3062
3106
  # collection_arn: "OpenSearchServerlessCollectionArn", # required
3063
3107
  # field_mapping: { # required
@@ -3098,7 +3142,7 @@ module Aws::BedrockAgent
3098
3142
  # },
3099
3143
  # vector_index_name: "RedisEnterpriseCloudIndexName", # required
3100
3144
  # },
3101
- # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS
3145
+ # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS
3102
3146
  # },
3103
3147
  # })
3104
3148
  #
@@ -3115,6 +3159,15 @@ module Aws::BedrockAgent
3115
3159
  # resp.knowledge_base.name #=> String
3116
3160
  # resp.knowledge_base.role_arn #=> String
3117
3161
  # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
3162
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.collection_name #=> String
3163
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.credentials_secret_arn #=> String
3164
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.database_name #=> String
3165
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint #=> String
3166
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint_service_name #=> String
3167
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.metadata_field #=> String
3168
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
3169
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
3170
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
3118
3171
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
3119
3172
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
3120
3173
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
@@ -3139,7 +3192,7 @@ module Aws::BedrockAgent
3139
3192
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
3140
3193
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
3141
3194
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
3142
- # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS"
3195
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS"
3143
3196
  # resp.knowledge_base.updated_at #=> Time
3144
3197
  #
3145
3198
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateKnowledgeBase AWS API Documentation
@@ -3164,7 +3217,7 @@ module Aws::BedrockAgent
3164
3217
  params: params,
3165
3218
  config: config)
3166
3219
  context[:gem_name] = 'aws-sdk-bedrockagent'
3167
- context[:gem_version] = '1.8.0'
3220
+ context[:gem_version] = '1.9.0'
3168
3221
  Seahorse::Client::Request.new(handlers, context)
3169
3222
  end
3170
3223
 
@@ -166,6 +166,13 @@ module Aws::BedrockAgent
166
166
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
167
167
  MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
168
168
  ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
169
+ MongoDbAtlasCollectionName = Shapes::StringShape.new(name: 'MongoDbAtlasCollectionName')
170
+ MongoDbAtlasConfiguration = Shapes::StructureShape.new(name: 'MongoDbAtlasConfiguration')
171
+ MongoDbAtlasDatabaseName = Shapes::StringShape.new(name: 'MongoDbAtlasDatabaseName')
172
+ MongoDbAtlasEndpoint = Shapes::StringShape.new(name: 'MongoDbAtlasEndpoint')
173
+ MongoDbAtlasEndpointServiceName = Shapes::StringShape.new(name: 'MongoDbAtlasEndpointServiceName')
174
+ MongoDbAtlasFieldMapping = Shapes::StructureShape.new(name: 'MongoDbAtlasFieldMapping')
175
+ MongoDbAtlasIndexName = Shapes::StringShape.new(name: 'MongoDbAtlasIndexName')
169
176
  Name = Shapes::StringShape.new(name: 'Name')
170
177
  NextToken = Shapes::StringShape.new(name: 'NextToken')
171
178
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
@@ -813,6 +820,20 @@ module Aws::BedrockAgent
813
820
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
814
821
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
815
822
 
823
+ MongoDbAtlasConfiguration.add_member(:collection_name, Shapes::ShapeRef.new(shape: MongoDbAtlasCollectionName, required: true, location_name: "collectionName"))
824
+ MongoDbAtlasConfiguration.add_member(:credentials_secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "credentialsSecretArn"))
825
+ MongoDbAtlasConfiguration.add_member(:database_name, Shapes::ShapeRef.new(shape: MongoDbAtlasDatabaseName, required: true, location_name: "databaseName"))
826
+ MongoDbAtlasConfiguration.add_member(:endpoint, Shapes::ShapeRef.new(shape: MongoDbAtlasEndpoint, required: true, location_name: "endpoint"))
827
+ MongoDbAtlasConfiguration.add_member(:endpoint_service_name, Shapes::ShapeRef.new(shape: MongoDbAtlasEndpointServiceName, location_name: "endpointServiceName"))
828
+ MongoDbAtlasConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: MongoDbAtlasFieldMapping, required: true, location_name: "fieldMapping"))
829
+ MongoDbAtlasConfiguration.add_member(:vector_index_name, Shapes::ShapeRef.new(shape: MongoDbAtlasIndexName, required: true, location_name: "vectorIndexName"))
830
+ MongoDbAtlasConfiguration.struct_class = Types::MongoDbAtlasConfiguration
831
+
832
+ MongoDbAtlasFieldMapping.add_member(:metadata_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "metadataField"))
833
+ MongoDbAtlasFieldMapping.add_member(:text_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "textField"))
834
+ MongoDbAtlasFieldMapping.add_member(:vector_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "vectorField"))
835
+ MongoDbAtlasFieldMapping.struct_class = Types::MongoDbAtlasFieldMapping
836
+
816
837
  OpenSearchServerlessConfiguration.add_member(:collection_arn, Shapes::ShapeRef.new(shape: OpenSearchServerlessCollectionArn, required: true, location_name: "collectionArn"))
817
838
  OpenSearchServerlessConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: OpenSearchServerlessFieldMapping, required: true, location_name: "fieldMapping"))
818
839
  OpenSearchServerlessConfiguration.add_member(:vector_index_name, Shapes::ShapeRef.new(shape: OpenSearchServerlessIndexName, required: true, location_name: "vectorIndexName"))
@@ -921,6 +942,7 @@ module Aws::BedrockAgent
921
942
 
922
943
  StopSequences.member = Shapes::ShapeRef.new(shape: String)
923
944
 
945
+ StorageConfiguration.add_member(:mongo_db_atlas_configuration, Shapes::ShapeRef.new(shape: MongoDbAtlasConfiguration, location_name: "mongoDbAtlasConfiguration"))
924
946
  StorageConfiguration.add_member(:opensearch_serverless_configuration, Shapes::ShapeRef.new(shape: OpenSearchServerlessConfiguration, location_name: "opensearchServerlessConfiguration"))
925
947
  StorageConfiguration.add_member(:pinecone_configuration, Shapes::ShapeRef.new(shape: PineconeConfiguration, location_name: "pineconeConfiguration"))
926
948
  StorageConfiguration.add_member(:rds_configuration, Shapes::ShapeRef.new(shape: RdsConfiguration, location_name: "rdsConfiguration"))
@@ -1207,7 +1207,7 @@ module Aws::BedrockAgent
1207
1207
  # @return [String]
1208
1208
  #
1209
1209
  # @!attribute [rw] data_deletion_policy
1210
- # The deletion policy for the requested data source
1210
+ # The data deletion policy assigned to the data source.
1211
1211
  # @return [String]
1212
1212
  #
1213
1213
  # @!attribute [rw] data_source_configuration
@@ -1339,7 +1339,7 @@ module Aws::BedrockAgent
1339
1339
  # @return [Time]
1340
1340
  #
1341
1341
  # @!attribute [rw] data_deletion_policy
1342
- # The deletion policy for the data source.
1342
+ # The data deletion policy for a data source.
1343
1343
  # @return [String]
1344
1344
  #
1345
1345
  # @!attribute [rw] data_source_configuration
@@ -1355,7 +1355,7 @@ module Aws::BedrockAgent
1355
1355
  # @return [String]
1356
1356
  #
1357
1357
  # @!attribute [rw] failure_reasons
1358
- # The details of the failure reasons related to the data source.
1358
+ # The detailed reasons on the failure to delete a data source.
1359
1359
  # @return [Array<String>]
1360
1360
  #
1361
1361
  # @!attribute [rw] knowledge_base_id
@@ -2929,6 +2929,86 @@ module Aws::BedrockAgent
2929
2929
  include Aws::Structure
2930
2930
  end
2931
2931
 
2932
+ # Contains details about the storage configuration of the knowledge base
2933
+ # in MongoDB Atlas.
2934
+ #
2935
+ # @!attribute [rw] collection_name
2936
+ # The collection name of the knowledge base in MongoDB Atlas.
2937
+ # @return [String]
2938
+ #
2939
+ # @!attribute [rw] credentials_secret_arn
2940
+ # The Amazon Resource Name (ARN) of the secret that you created in
2941
+ # Secrets Manager that contains user credentials for your MongoDB
2942
+ # Atlas cluster.
2943
+ # @return [String]
2944
+ #
2945
+ # @!attribute [rw] database_name
2946
+ # The database name in your MongoDB Atlas cluster for your knowledge
2947
+ # base.
2948
+ # @return [String]
2949
+ #
2950
+ # @!attribute [rw] endpoint
2951
+ # The endpoint URL of your MongoDB Atlas cluster for your knowledge
2952
+ # base.
2953
+ # @return [String]
2954
+ #
2955
+ # @!attribute [rw] endpoint_service_name
2956
+ # The name of the VPC endpoint service in your account that is
2957
+ # connected to your MongoDB Atlas cluster.
2958
+ # @return [String]
2959
+ #
2960
+ # @!attribute [rw] field_mapping
2961
+ # Contains the names of the fields to which to map information about
2962
+ # the vector store.
2963
+ # @return [Types::MongoDbAtlasFieldMapping]
2964
+ #
2965
+ # @!attribute [rw] vector_index_name
2966
+ # The name of the MongoDB Atlas vector search index.
2967
+ # @return [String]
2968
+ #
2969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/MongoDbAtlasConfiguration AWS API Documentation
2970
+ #
2971
+ class MongoDbAtlasConfiguration < Struct.new(
2972
+ :collection_name,
2973
+ :credentials_secret_arn,
2974
+ :database_name,
2975
+ :endpoint,
2976
+ :endpoint_service_name,
2977
+ :field_mapping,
2978
+ :vector_index_name)
2979
+ SENSITIVE = []
2980
+ include Aws::Structure
2981
+ end
2982
+
2983
+ # Contains the names of the fields to which to map information about the
2984
+ # vector store.
2985
+ #
2986
+ # @!attribute [rw] metadata_field
2987
+ # The name of the field in which Amazon Bedrock stores metadata about
2988
+ # the vector store.
2989
+ # @return [String]
2990
+ #
2991
+ # @!attribute [rw] text_field
2992
+ # The name of the field in which Amazon Bedrock stores the raw text
2993
+ # from your data. The text is split according to the chunking strategy
2994
+ # you choose.
2995
+ # @return [String]
2996
+ #
2997
+ # @!attribute [rw] vector_field
2998
+ # The name of the field in which Amazon Bedrock stores the vector
2999
+ # embeddings for your data sources.
3000
+ # @return [String]
3001
+ #
3002
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/MongoDbAtlasFieldMapping AWS API Documentation
3003
+ #
3004
+ class MongoDbAtlasFieldMapping < Struct.new(
3005
+ :metadata_field,
3006
+ :text_field,
3007
+ :vector_field)
3008
+ SENSITIVE = []
3009
+ include Aws::Structure
3010
+ end
3011
+
2932
3012
  # Contains details about the storage configuration of the knowledge base
2933
3013
  # in Amazon OpenSearch Service. For more information, see [Create a
2934
3014
  # vector index in Amazon OpenSearch Service][1].
@@ -3418,7 +3498,7 @@ module Aws::BedrockAgent
3418
3498
  # @return [String]
3419
3499
  #
3420
3500
  # @!attribute [rw] bucket_owner_account_id
3421
- # The account ID for the owner of the S3 bucket.
3501
+ # The bucket account owner ID for the S3 bucket.
3422
3502
  # @return [String]
3423
3503
  #
3424
3504
  # @!attribute [rw] inclusion_prefixes
@@ -3541,6 +3621,11 @@ module Aws::BedrockAgent
3541
3621
 
3542
3622
  # Contains the storage configuration of the knowledge base.
3543
3623
  #
3624
+ # @!attribute [rw] mongo_db_atlas_configuration
3625
+ # Contains the storage configuration of the knowledge base in MongoDB
3626
+ # Atlas.
3627
+ # @return [Types::MongoDbAtlasConfiguration]
3628
+ #
3544
3629
  # @!attribute [rw] opensearch_serverless_configuration
3545
3630
  # Contains the storage configuration of the knowledge base in Amazon
3546
3631
  # OpenSearch Service.
@@ -3573,6 +3658,7 @@ module Aws::BedrockAgent
3573
3658
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StorageConfiguration AWS API Documentation
3574
3659
  #
3575
3660
  class StorageConfiguration < Struct.new(
3661
+ :mongo_db_atlas_configuration,
3576
3662
  :opensearch_serverless_configuration,
3577
3663
  :pinecone_configuration,
3578
3664
  :rds_configuration,
@@ -3914,7 +4000,7 @@ module Aws::BedrockAgent
3914
4000
  end
3915
4001
 
3916
4002
  # @!attribute [rw] data_deletion_policy
3917
- # The data deletion policy of the updated data source.
4003
+ # The data deletion policy assigned to the data source.
3918
4004
  # @return [String]
3919
4005
  #
3920
4006
  # @!attribute [rw] data_source_configuration
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-bedrockagent/customizations'
52
52
  # @!group service
53
53
  module Aws::BedrockAgent
54
54
 
55
- GEM_VERSION = '1.8.0'
55
+ GEM_VERSION = '1.9.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -233,6 +233,19 @@ module Aws
233
233
  name: ::String,
234
234
  role_arn: ::String,
235
235
  storage_configuration: {
236
+ mongo_db_atlas_configuration: {
237
+ collection_name: ::String,
238
+ credentials_secret_arn: ::String,
239
+ database_name: ::String,
240
+ endpoint: ::String,
241
+ endpoint_service_name: ::String?,
242
+ field_mapping: {
243
+ metadata_field: ::String,
244
+ text_field: ::String,
245
+ vector_field: ::String
246
+ },
247
+ vector_index_name: ::String
248
+ }?,
236
249
  opensearch_serverless_configuration: {
237
250
  collection_arn: ::String,
238
251
  field_mapping: {
@@ -273,7 +286,7 @@ module Aws
273
286
  },
274
287
  vector_index_name: ::String
275
288
  }?,
276
- type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
289
+ type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
277
290
  },
278
291
  ?tags: Hash[::String, ::String]
279
292
  ) -> _CreateKnowledgeBaseResponseSuccess
@@ -785,6 +798,19 @@ module Aws
785
798
  name: ::String,
786
799
  role_arn: ::String,
787
800
  storage_configuration: {
801
+ mongo_db_atlas_configuration: {
802
+ collection_name: ::String,
803
+ credentials_secret_arn: ::String,
804
+ database_name: ::String,
805
+ endpoint: ::String,
806
+ endpoint_service_name: ::String?,
807
+ field_mapping: {
808
+ metadata_field: ::String,
809
+ text_field: ::String,
810
+ vector_field: ::String
811
+ },
812
+ vector_index_name: ::String
813
+ }?,
788
814
  opensearch_serverless_configuration: {
789
815
  collection_arn: ::String,
790
816
  field_mapping: {
@@ -825,7 +851,7 @@ module Aws
825
851
  },
826
852
  vector_index_name: ::String
827
853
  }?,
828
- type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
854
+ type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
829
855
  }
830
856
  ) -> _UpdateKnowledgeBaseResponseSuccess
831
857
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseResponseSuccess
data/sig/types.rbs CHANGED
@@ -736,6 +736,24 @@ module Aws::BedrockAgent
736
736
  SENSITIVE: []
737
737
  end
738
738
 
739
+ class MongoDbAtlasConfiguration
740
+ attr_accessor collection_name: ::String
741
+ attr_accessor credentials_secret_arn: ::String
742
+ attr_accessor database_name: ::String
743
+ attr_accessor endpoint: ::String
744
+ attr_accessor endpoint_service_name: ::String
745
+ attr_accessor field_mapping: Types::MongoDbAtlasFieldMapping
746
+ attr_accessor vector_index_name: ::String
747
+ SENSITIVE: []
748
+ end
749
+
750
+ class MongoDbAtlasFieldMapping
751
+ attr_accessor metadata_field: ::String
752
+ attr_accessor text_field: ::String
753
+ attr_accessor vector_field: ::String
754
+ SENSITIVE: []
755
+ end
756
+
739
757
  class OpenSearchServerlessConfiguration
740
758
  attr_accessor collection_arn: ::String
741
759
  attr_accessor field_mapping: Types::OpenSearchServerlessFieldMapping
@@ -874,11 +892,12 @@ module Aws::BedrockAgent
874
892
  end
875
893
 
876
894
  class StorageConfiguration
895
+ attr_accessor mongo_db_atlas_configuration: Types::MongoDbAtlasConfiguration
877
896
  attr_accessor opensearch_serverless_configuration: Types::OpenSearchServerlessConfiguration
878
897
  attr_accessor pinecone_configuration: Types::PineconeConfiguration
879
898
  attr_accessor rds_configuration: Types::RdsConfiguration
880
899
  attr_accessor redis_enterprise_cloud_configuration: Types::RedisEnterpriseCloudConfiguration
881
- attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
900
+ attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
882
901
  SENSITIVE: []
883
902
  end
884
903
 
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.8.0
4
+ version: 1.9.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: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core