aws-sdk-bedrockagent 1.8.0 → 1.10.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: 8f8b966b3793db4b7dff3fe3083dfe123561cbd117bd681d00a3695201f7ee99
4
+ data.tar.gz: b5a3f2b9fd2a41660853a0f58d3c0b5cd999a95ff0dd9e873d77411e70ba579b
5
5
  SHA512:
6
- metadata.gz: c299bc97f8e77db3d481512dddd86612acebbee5030f47fe978283b7ab3d7239cacd8acc39c65e9b8264e83e3a172b853dcb1897c86384b6a498e2d3fa68fd56
7
- data.tar.gz: dc371a825cc6936275c80a21e5e290140b9d0ac961057ffd004745e62ffb6fc386fafc386d75238d96501f18d00689de73394a06e2b277586cc275d77391ae29
6
+ metadata.gz: 572d461d2a0693d91e0b53d7f4d27a40aefae929c47947f5a2558c7db017f5cf6f6c7d373702bec349a4cc17b3ded6010c1f43185e0fe52cf168b4f960c9712d
7
+ data.tar.gz: 1e98fe56689bd52c36fbf2459904143c0d68e504d0e61e457f6328b726cf8d6182b856a7fc6c51219e4f2a4291c123086e0cf614563087a52192d19e51565572
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2024-05-03)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for using Provisioned Throughput with Bedrock Agents.
8
+
9
+ 1.9.0 (2024-05-01)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base.
13
+
4
14
  1.8.0 (2024-04-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.10.0
@@ -659,7 +659,9 @@ module Aws::BedrockAgent
659
659
  #
660
660
  # @option params [Types::ActionGroupExecutor] :action_group_executor
661
661
  # The Amazon Resource Name (ARN) of the Lambda function containing the
662
- # business logic that is carried out upon invoking the action.
662
+ # business logic that is carried out upon invoking the action or the
663
+ # custom control method for handling the information elicited from the
664
+ # user.
663
665
  #
664
666
  # @option params [required, String] :action_group_name
665
667
  # The name to give the action group.
@@ -843,7 +845,8 @@ module Aws::BedrockAgent
843
845
  # description: "Description",
844
846
  # routing_configuration: [
845
847
  # {
846
- # agent_version: "Version", # required
848
+ # agent_version: "Version",
849
+ # provisioned_throughput: "ProvisionedModelIdentifier",
847
850
  # },
848
851
  # ],
849
852
  # tags: {
@@ -858,6 +861,7 @@ module Aws::BedrockAgent
858
861
  # resp.agent_alias.agent_alias_history_events[0].end_date #=> Time
859
862
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration #=> Array
860
863
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].agent_version #=> String
864
+ # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].provisioned_throughput #=> String
861
865
  # resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
862
866
  # resp.agent_alias.agent_alias_id #=> String
863
867
  # resp.agent_alias.agent_alias_name #=> String
@@ -866,8 +870,11 @@ module Aws::BedrockAgent
866
870
  # resp.agent_alias.client_token #=> String
867
871
  # resp.agent_alias.created_at #=> Time
868
872
  # resp.agent_alias.description #=> String
873
+ # resp.agent_alias.failure_reasons #=> Array
874
+ # resp.agent_alias.failure_reasons[0] #=> String
869
875
  # resp.agent_alias.routing_configuration #=> Array
870
876
  # resp.agent_alias.routing_configuration[0].agent_version #=> String
877
+ # resp.agent_alias.routing_configuration[0].provisioned_throughput #=> String
871
878
  # resp.agent_alias.updated_at #=> Time
872
879
  #
873
880
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateAgentAlias AWS API Documentation
@@ -898,7 +905,7 @@ module Aws::BedrockAgent
898
905
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
899
906
  #
900
907
  # @option params [String] :data_deletion_policy
901
- # The deletion policy for the requested data source
908
+ # The data deletion policy assigned to the data source.
902
909
  #
903
910
  # @option params [required, Types::DataSourceConfiguration] :data_source_configuration
904
911
  # Contains metadata about where the data source is stored.
@@ -1084,6 +1091,19 @@ module Aws::BedrockAgent
1084
1091
  # name: "Name", # required
1085
1092
  # role_arn: "KnowledgeBaseRoleArn", # required
1086
1093
  # storage_configuration: { # required
1094
+ # mongo_db_atlas_configuration: {
1095
+ # collection_name: "MongoDbAtlasCollectionName", # required
1096
+ # credentials_secret_arn: "SecretArn", # required
1097
+ # database_name: "MongoDbAtlasDatabaseName", # required
1098
+ # endpoint: "MongoDbAtlasEndpoint", # required
1099
+ # endpoint_service_name: "MongoDbAtlasEndpointServiceName",
1100
+ # field_mapping: { # required
1101
+ # metadata_field: "FieldName", # required
1102
+ # text_field: "FieldName", # required
1103
+ # vector_field: "FieldName", # required
1104
+ # },
1105
+ # vector_index_name: "MongoDbAtlasIndexName", # required
1106
+ # },
1087
1107
  # opensearch_serverless_configuration: {
1088
1108
  # collection_arn: "OpenSearchServerlessCollectionArn", # required
1089
1109
  # field_mapping: { # required
@@ -1124,7 +1144,7 @@ module Aws::BedrockAgent
1124
1144
  # },
1125
1145
  # vector_index_name: "RedisEnterpriseCloudIndexName", # required
1126
1146
  # },
1127
- # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS
1147
+ # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS
1128
1148
  # },
1129
1149
  # tags: {
1130
1150
  # "TagKey" => "TagValue",
@@ -1144,6 +1164,15 @@ module Aws::BedrockAgent
1144
1164
  # resp.knowledge_base.name #=> String
1145
1165
  # resp.knowledge_base.role_arn #=> String
1146
1166
  # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
1167
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.collection_name #=> String
1168
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.credentials_secret_arn #=> String
1169
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.database_name #=> String
1170
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint #=> String
1171
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint_service_name #=> String
1172
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.metadata_field #=> String
1173
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
1174
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
1175
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
1147
1176
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
1148
1177
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
1149
1178
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
@@ -1168,7 +1197,7 @@ module Aws::BedrockAgent
1168
1197
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
1169
1198
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
1170
1199
  # 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"
1200
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS"
1172
1201
  # resp.knowledge_base.updated_at #=> Time
1173
1202
  #
1174
1203
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateKnowledgeBase AWS API Documentation
@@ -1579,6 +1608,7 @@ module Aws::BedrockAgent
1579
1608
  # resp.agent_alias.agent_alias_history_events[0].end_date #=> Time
1580
1609
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration #=> Array
1581
1610
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].agent_version #=> String
1611
+ # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].provisioned_throughput #=> String
1582
1612
  # resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
1583
1613
  # resp.agent_alias.agent_alias_id #=> String
1584
1614
  # resp.agent_alias.agent_alias_name #=> String
@@ -1587,8 +1617,11 @@ module Aws::BedrockAgent
1587
1617
  # resp.agent_alias.client_token #=> String
1588
1618
  # resp.agent_alias.created_at #=> Time
1589
1619
  # resp.agent_alias.description #=> String
1620
+ # resp.agent_alias.failure_reasons #=> Array
1621
+ # resp.agent_alias.failure_reasons[0] #=> String
1590
1622
  # resp.agent_alias.routing_configuration #=> Array
1591
1623
  # resp.agent_alias.routing_configuration[0].agent_version #=> String
1624
+ # resp.agent_alias.routing_configuration[0].provisioned_throughput #=> String
1592
1625
  # resp.agent_alias.updated_at #=> Time
1593
1626
  #
1594
1627
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetAgentAlias AWS API Documentation
@@ -1837,6 +1870,15 @@ module Aws::BedrockAgent
1837
1870
  # resp.knowledge_base.name #=> String
1838
1871
  # resp.knowledge_base.role_arn #=> String
1839
1872
  # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
1873
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.collection_name #=> String
1874
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.credentials_secret_arn #=> String
1875
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.database_name #=> String
1876
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint #=> String
1877
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint_service_name #=> String
1878
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.metadata_field #=> String
1879
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
1880
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
1881
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
1840
1882
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
1841
1883
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
1842
1884
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
@@ -1861,7 +1903,7 @@ module Aws::BedrockAgent
1861
1903
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
1862
1904
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
1863
1905
  # 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"
1906
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS"
1865
1907
  # resp.knowledge_base.updated_at #=> Time
1866
1908
  #
1867
1909
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetKnowledgeBase AWS API Documentation
@@ -1970,6 +2012,7 @@ module Aws::BedrockAgent
1970
2012
  # resp.agent_alias_summaries[0].description #=> String
1971
2013
  # resp.agent_alias_summaries[0].routing_configuration #=> Array
1972
2014
  # resp.agent_alias_summaries[0].routing_configuration[0].agent_version #=> String
2015
+ # resp.agent_alias_summaries[0].routing_configuration[0].provisioned_throughput #=> String
1973
2016
  # resp.agent_alias_summaries[0].updated_at #=> Time
1974
2017
  # resp.next_token #=> String
1975
2018
  #
@@ -2808,7 +2851,8 @@ module Aws::BedrockAgent
2808
2851
  # description: "Description",
2809
2852
  # routing_configuration: [
2810
2853
  # {
2811
- # agent_version: "Version", # required
2854
+ # agent_version: "Version",
2855
+ # provisioned_throughput: "ProvisionedModelIdentifier",
2812
2856
  # },
2813
2857
  # ],
2814
2858
  # })
@@ -2820,6 +2864,7 @@ module Aws::BedrockAgent
2820
2864
  # resp.agent_alias.agent_alias_history_events[0].end_date #=> Time
2821
2865
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration #=> Array
2822
2866
  # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].agent_version #=> String
2867
+ # resp.agent_alias.agent_alias_history_events[0].routing_configuration[0].provisioned_throughput #=> String
2823
2868
  # resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
2824
2869
  # resp.agent_alias.agent_alias_id #=> String
2825
2870
  # resp.agent_alias.agent_alias_name #=> String
@@ -2828,8 +2873,11 @@ module Aws::BedrockAgent
2828
2873
  # resp.agent_alias.client_token #=> String
2829
2874
  # resp.agent_alias.created_at #=> Time
2830
2875
  # resp.agent_alias.description #=> String
2876
+ # resp.agent_alias.failure_reasons #=> Array
2877
+ # resp.agent_alias.failure_reasons[0] #=> String
2831
2878
  # resp.agent_alias.routing_configuration #=> Array
2832
2879
  # resp.agent_alias.routing_configuration[0].agent_version #=> String
2880
+ # resp.agent_alias.routing_configuration[0].provisioned_throughput #=> String
2833
2881
  # resp.agent_alias.updated_at #=> Time
2834
2882
  #
2835
2883
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentAlias AWS API Documentation
@@ -3058,6 +3106,19 @@ module Aws::BedrockAgent
3058
3106
  # name: "Name", # required
3059
3107
  # role_arn: "KnowledgeBaseRoleArn", # required
3060
3108
  # storage_configuration: { # required
3109
+ # mongo_db_atlas_configuration: {
3110
+ # collection_name: "MongoDbAtlasCollectionName", # required
3111
+ # credentials_secret_arn: "SecretArn", # required
3112
+ # database_name: "MongoDbAtlasDatabaseName", # required
3113
+ # endpoint: "MongoDbAtlasEndpoint", # required
3114
+ # endpoint_service_name: "MongoDbAtlasEndpointServiceName",
3115
+ # field_mapping: { # required
3116
+ # metadata_field: "FieldName", # required
3117
+ # text_field: "FieldName", # required
3118
+ # vector_field: "FieldName", # required
3119
+ # },
3120
+ # vector_index_name: "MongoDbAtlasIndexName", # required
3121
+ # },
3061
3122
  # opensearch_serverless_configuration: {
3062
3123
  # collection_arn: "OpenSearchServerlessCollectionArn", # required
3063
3124
  # field_mapping: { # required
@@ -3098,7 +3159,7 @@ module Aws::BedrockAgent
3098
3159
  # },
3099
3160
  # vector_index_name: "RedisEnterpriseCloudIndexName", # required
3100
3161
  # },
3101
- # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS
3162
+ # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS
3102
3163
  # },
3103
3164
  # })
3104
3165
  #
@@ -3115,6 +3176,15 @@ module Aws::BedrockAgent
3115
3176
  # resp.knowledge_base.name #=> String
3116
3177
  # resp.knowledge_base.role_arn #=> String
3117
3178
  # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED", "DELETE_UNSUCCESSFUL"
3179
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.collection_name #=> String
3180
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.credentials_secret_arn #=> String
3181
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.database_name #=> String
3182
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint #=> String
3183
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.endpoint_service_name #=> String
3184
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.metadata_field #=> String
3185
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.text_field #=> String
3186
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.field_mapping.vector_field #=> String
3187
+ # resp.knowledge_base.storage_configuration.mongo_db_atlas_configuration.vector_index_name #=> String
3118
3188
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
3119
3189
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.metadata_field #=> String
3120
3190
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.text_field #=> String
@@ -3139,7 +3209,7 @@ module Aws::BedrockAgent
3139
3209
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
3140
3210
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
3141
3211
  # 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"
3212
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS"
3143
3213
  # resp.knowledge_base.updated_at #=> Time
3144
3214
  #
3145
3215
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateKnowledgeBase AWS API Documentation
@@ -3164,7 +3234,7 @@ module Aws::BedrockAgent
3164
3234
  params: params,
3165
3235
  config: config)
3166
3236
  context[:gem_name] = 'aws-sdk-bedrockagent'
3167
- context[:gem_version] = '1.8.0'
3237
+ context[:gem_version] = '1.10.0'
3168
3238
  Seahorse::Client::Request.new(handlers, context)
3169
3239
  end
3170
3240
 
@@ -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')
@@ -190,6 +197,7 @@ module Aws::BedrockAgent
190
197
  PromptOverrideConfiguration = Shapes::StructureShape.new(name: 'PromptOverrideConfiguration')
191
198
  PromptState = Shapes::StringShape.new(name: 'PromptState')
192
199
  PromptType = Shapes::StringShape.new(name: 'PromptType')
200
+ ProvisionedModelIdentifier = Shapes::StringShape.new(name: 'ProvisionedModelIdentifier')
193
201
  RdsArn = Shapes::StringShape.new(name: 'RdsArn')
194
202
  RdsConfiguration = Shapes::StructureShape.new(name: 'RdsConfiguration')
195
203
  RdsDatabaseName = Shapes::StringShape.new(name: 'RdsDatabaseName')
@@ -324,6 +332,7 @@ module Aws::BedrockAgent
324
332
  AgentAlias.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
325
333
  AgentAlias.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
326
334
  AgentAlias.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
335
+ AgentAlias.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
327
336
  AgentAlias.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: AgentAliasRoutingConfiguration, required: true, location_name: "routingConfiguration"))
328
337
  AgentAlias.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
329
338
  AgentAlias.struct_class = Types::AgentAlias
@@ -337,7 +346,8 @@ module Aws::BedrockAgent
337
346
 
338
347
  AgentAliasRoutingConfiguration.member = Shapes::ShapeRef.new(shape: AgentAliasRoutingConfigurationListItem)
339
348
 
340
- AgentAliasRoutingConfigurationListItem.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "agentVersion"))
349
+ AgentAliasRoutingConfigurationListItem.add_member(:agent_version, Shapes::ShapeRef.new(shape: Version, location_name: "agentVersion"))
350
+ AgentAliasRoutingConfigurationListItem.add_member(:provisioned_throughput, Shapes::ShapeRef.new(shape: ProvisionedModelIdentifier, location_name: "provisionedThroughput"))
341
351
  AgentAliasRoutingConfigurationListItem.struct_class = Types::AgentAliasRoutingConfigurationListItem
342
352
 
343
353
  AgentAliasSummaries.member = Shapes::ShapeRef.new(shape: AgentAliasSummary)
@@ -813,6 +823,20 @@ module Aws::BedrockAgent
813
823
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
814
824
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
815
825
 
826
+ MongoDbAtlasConfiguration.add_member(:collection_name, Shapes::ShapeRef.new(shape: MongoDbAtlasCollectionName, required: true, location_name: "collectionName"))
827
+ MongoDbAtlasConfiguration.add_member(:credentials_secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "credentialsSecretArn"))
828
+ MongoDbAtlasConfiguration.add_member(:database_name, Shapes::ShapeRef.new(shape: MongoDbAtlasDatabaseName, required: true, location_name: "databaseName"))
829
+ MongoDbAtlasConfiguration.add_member(:endpoint, Shapes::ShapeRef.new(shape: MongoDbAtlasEndpoint, required: true, location_name: "endpoint"))
830
+ MongoDbAtlasConfiguration.add_member(:endpoint_service_name, Shapes::ShapeRef.new(shape: MongoDbAtlasEndpointServiceName, location_name: "endpointServiceName"))
831
+ MongoDbAtlasConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: MongoDbAtlasFieldMapping, required: true, location_name: "fieldMapping"))
832
+ MongoDbAtlasConfiguration.add_member(:vector_index_name, Shapes::ShapeRef.new(shape: MongoDbAtlasIndexName, required: true, location_name: "vectorIndexName"))
833
+ MongoDbAtlasConfiguration.struct_class = Types::MongoDbAtlasConfiguration
834
+
835
+ MongoDbAtlasFieldMapping.add_member(:metadata_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "metadataField"))
836
+ MongoDbAtlasFieldMapping.add_member(:text_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "textField"))
837
+ MongoDbAtlasFieldMapping.add_member(:vector_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "vectorField"))
838
+ MongoDbAtlasFieldMapping.struct_class = Types::MongoDbAtlasFieldMapping
839
+
816
840
  OpenSearchServerlessConfiguration.add_member(:collection_arn, Shapes::ShapeRef.new(shape: OpenSearchServerlessCollectionArn, required: true, location_name: "collectionArn"))
817
841
  OpenSearchServerlessConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: OpenSearchServerlessFieldMapping, required: true, location_name: "fieldMapping"))
818
842
  OpenSearchServerlessConfiguration.add_member(:vector_index_name, Shapes::ShapeRef.new(shape: OpenSearchServerlessIndexName, required: true, location_name: "vectorIndexName"))
@@ -921,6 +945,7 @@ module Aws::BedrockAgent
921
945
 
922
946
  StopSequences.member = Shapes::ShapeRef.new(shape: String)
923
947
 
948
+ StorageConfiguration.add_member(:mongo_db_atlas_configuration, Shapes::ShapeRef.new(shape: MongoDbAtlasConfiguration, location_name: "mongoDbAtlasConfiguration"))
924
949
  StorageConfiguration.add_member(:opensearch_serverless_configuration, Shapes::ShapeRef.new(shape: OpenSearchServerlessConfiguration, location_name: "opensearchServerlessConfiguration"))
925
950
  StorageConfiguration.add_member(:pinecone_configuration, Shapes::ShapeRef.new(shape: PineconeConfiguration, location_name: "pineconeConfiguration"))
926
951
  StorageConfiguration.add_member(:rds_configuration, Shapes::ShapeRef.new(shape: RdsConfiguration, location_name: "rdsConfiguration"))
@@ -73,7 +73,8 @@ module Aws::BedrockAgent
73
73
  end
74
74
 
75
75
  # Contains details about the Lambda function containing the business
76
- # logic that is carried out upon invoking the action.
76
+ # logic that is carried out upon invoking the action or the custom
77
+ # control method for handling the information elicited from the user.
77
78
  #
78
79
  # @note ActionGroupExecutor is a union - when making an API calls you must set exactly one of the members.
79
80
  #
@@ -283,7 +284,9 @@ module Aws::BedrockAgent
283
284
  #
284
285
  # @!attribute [rw] action_group_executor
285
286
  # The Amazon Resource Name (ARN) of the Lambda function containing the
286
- # business logic that is carried out upon invoking the action.
287
+ # business logic that is carried out upon invoking the action or the
288
+ # custom control method for handling the information elicited from the
289
+ # user.
287
290
  # @return [Types::ActionGroupExecutor]
288
291
  #
289
292
  # @!attribute [rw] action_group_id
@@ -446,6 +449,11 @@ module Aws::BedrockAgent
446
449
  # The description of the alias of the agent.
447
450
  # @return [String]
448
451
  #
452
+ # @!attribute [rw] failure_reasons
453
+ # Information on the failure of Provisioned Throughput assigned to an
454
+ # agent alias.
455
+ # @return [Array<String>]
456
+ #
449
457
  # @!attribute [rw] routing_configuration
450
458
  # Contains details about the routing configuration of the alias.
451
459
  # @return [Array<Types::AgentAliasRoutingConfigurationListItem>]
@@ -466,6 +474,7 @@ module Aws::BedrockAgent
466
474
  :client_token,
467
475
  :created_at,
468
476
  :description,
477
+ :failure_reasons,
469
478
  :routing_configuration,
470
479
  :updated_at)
471
480
  SENSITIVE = []
@@ -505,10 +514,16 @@ module Aws::BedrockAgent
505
514
  # The version of the agent with which the alias is associated.
506
515
  # @return [String]
507
516
  #
517
+ # @!attribute [rw] provisioned_throughput
518
+ # Information on the Provisioned Throughput assigned to an agent
519
+ # alias.
520
+ # @return [String]
521
+ #
508
522
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AgentAliasRoutingConfigurationListItem AWS API Documentation
509
523
  #
510
524
  class AgentAliasRoutingConfigurationListItem < Struct.new(
511
- :agent_version)
525
+ :agent_version,
526
+ :provisioned_throughput)
512
527
  SENSITIVE = []
513
528
  include Aws::Structure
514
529
  end
@@ -935,7 +950,9 @@ module Aws::BedrockAgent
935
950
 
936
951
  # @!attribute [rw] action_group_executor
937
952
  # The Amazon Resource Name (ARN) of the Lambda function containing the
938
- # business logic that is carried out upon invoking the action.
953
+ # business logic that is carried out upon invoking the action or the
954
+ # custom control method for handling the information elicited from the
955
+ # user.
939
956
  # @return [Types::ActionGroupExecutor]
940
957
  #
941
958
  # @!attribute [rw] action_group_name
@@ -1207,7 +1224,7 @@ module Aws::BedrockAgent
1207
1224
  # @return [String]
1208
1225
  #
1209
1226
  # @!attribute [rw] data_deletion_policy
1210
- # The deletion policy for the requested data source
1227
+ # The data deletion policy assigned to the data source.
1211
1228
  # @return [String]
1212
1229
  #
1213
1230
  # @!attribute [rw] data_source_configuration
@@ -1339,7 +1356,7 @@ module Aws::BedrockAgent
1339
1356
  # @return [Time]
1340
1357
  #
1341
1358
  # @!attribute [rw] data_deletion_policy
1342
- # The deletion policy for the data source.
1359
+ # The data deletion policy for a data source.
1343
1360
  # @return [String]
1344
1361
  #
1345
1362
  # @!attribute [rw] data_source_configuration
@@ -1355,7 +1372,7 @@ module Aws::BedrockAgent
1355
1372
  # @return [String]
1356
1373
  #
1357
1374
  # @!attribute [rw] failure_reasons
1358
- # The details of the failure reasons related to the data source.
1375
+ # The detailed reasons on the failure to delete a data source.
1359
1376
  # @return [Array<String>]
1360
1377
  #
1361
1378
  # @!attribute [rw] knowledge_base_id
@@ -2929,6 +2946,86 @@ module Aws::BedrockAgent
2929
2946
  include Aws::Structure
2930
2947
  end
2931
2948
 
2949
+ # Contains details about the storage configuration of the knowledge base
2950
+ # in MongoDB Atlas.
2951
+ #
2952
+ # @!attribute [rw] collection_name
2953
+ # The collection name of the knowledge base in MongoDB Atlas.
2954
+ # @return [String]
2955
+ #
2956
+ # @!attribute [rw] credentials_secret_arn
2957
+ # The Amazon Resource Name (ARN) of the secret that you created in
2958
+ # Secrets Manager that contains user credentials for your MongoDB
2959
+ # Atlas cluster.
2960
+ # @return [String]
2961
+ #
2962
+ # @!attribute [rw] database_name
2963
+ # The database name in your MongoDB Atlas cluster for your knowledge
2964
+ # base.
2965
+ # @return [String]
2966
+ #
2967
+ # @!attribute [rw] endpoint
2968
+ # The endpoint URL of your MongoDB Atlas cluster for your knowledge
2969
+ # base.
2970
+ # @return [String]
2971
+ #
2972
+ # @!attribute [rw] endpoint_service_name
2973
+ # The name of the VPC endpoint service in your account that is
2974
+ # connected to your MongoDB Atlas cluster.
2975
+ # @return [String]
2976
+ #
2977
+ # @!attribute [rw] field_mapping
2978
+ # Contains the names of the fields to which to map information about
2979
+ # the vector store.
2980
+ # @return [Types::MongoDbAtlasFieldMapping]
2981
+ #
2982
+ # @!attribute [rw] vector_index_name
2983
+ # The name of the MongoDB Atlas vector search index.
2984
+ # @return [String]
2985
+ #
2986
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/MongoDbAtlasConfiguration AWS API Documentation
2987
+ #
2988
+ class MongoDbAtlasConfiguration < Struct.new(
2989
+ :collection_name,
2990
+ :credentials_secret_arn,
2991
+ :database_name,
2992
+ :endpoint,
2993
+ :endpoint_service_name,
2994
+ :field_mapping,
2995
+ :vector_index_name)
2996
+ SENSITIVE = []
2997
+ include Aws::Structure
2998
+ end
2999
+
3000
+ # Contains the names of the fields to which to map information about the
3001
+ # vector store.
3002
+ #
3003
+ # @!attribute [rw] metadata_field
3004
+ # The name of the field in which Amazon Bedrock stores metadata about
3005
+ # the vector store.
3006
+ # @return [String]
3007
+ #
3008
+ # @!attribute [rw] text_field
3009
+ # The name of the field in which Amazon Bedrock stores the raw text
3010
+ # from your data. The text is split according to the chunking strategy
3011
+ # you choose.
3012
+ # @return [String]
3013
+ #
3014
+ # @!attribute [rw] vector_field
3015
+ # The name of the field in which Amazon Bedrock stores the vector
3016
+ # embeddings for your data sources.
3017
+ # @return [String]
3018
+ #
3019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/MongoDbAtlasFieldMapping AWS API Documentation
3020
+ #
3021
+ class MongoDbAtlasFieldMapping < Struct.new(
3022
+ :metadata_field,
3023
+ :text_field,
3024
+ :vector_field)
3025
+ SENSITIVE = []
3026
+ include Aws::Structure
3027
+ end
3028
+
2932
3029
  # Contains details about the storage configuration of the knowledge base
2933
3030
  # in Amazon OpenSearch Service. For more information, see [Create a
2934
3031
  # vector index in Amazon OpenSearch Service][1].
@@ -3418,7 +3515,7 @@ module Aws::BedrockAgent
3418
3515
  # @return [String]
3419
3516
  #
3420
3517
  # @!attribute [rw] bucket_owner_account_id
3421
- # The account ID for the owner of the S3 bucket.
3518
+ # The bucket account owner ID for the S3 bucket.
3422
3519
  # @return [String]
3423
3520
  #
3424
3521
  # @!attribute [rw] inclusion_prefixes
@@ -3541,6 +3638,11 @@ module Aws::BedrockAgent
3541
3638
 
3542
3639
  # Contains the storage configuration of the knowledge base.
3543
3640
  #
3641
+ # @!attribute [rw] mongo_db_atlas_configuration
3642
+ # Contains the storage configuration of the knowledge base in MongoDB
3643
+ # Atlas.
3644
+ # @return [Types::MongoDbAtlasConfiguration]
3645
+ #
3544
3646
  # @!attribute [rw] opensearch_serverless_configuration
3545
3647
  # Contains the storage configuration of the knowledge base in Amazon
3546
3648
  # OpenSearch Service.
@@ -3573,6 +3675,7 @@ module Aws::BedrockAgent
3573
3675
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StorageConfiguration AWS API Documentation
3574
3676
  #
3575
3677
  class StorageConfiguration < Struct.new(
3678
+ :mongo_db_atlas_configuration,
3576
3679
  :opensearch_serverless_configuration,
3577
3680
  :pinecone_configuration,
3578
3681
  :rds_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.10.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -175,7 +175,8 @@ module Aws
175
175
  ?description: ::String,
176
176
  ?routing_configuration: Array[
177
177
  {
178
- agent_version: ::String
178
+ agent_version: ::String?,
179
+ provisioned_throughput: ::String?
179
180
  },
180
181
  ],
181
182
  ?tags: Hash[::String, ::String]
@@ -233,6 +234,19 @@ module Aws
233
234
  name: ::String,
234
235
  role_arn: ::String,
235
236
  storage_configuration: {
237
+ mongo_db_atlas_configuration: {
238
+ collection_name: ::String,
239
+ credentials_secret_arn: ::String,
240
+ database_name: ::String,
241
+ endpoint: ::String,
242
+ endpoint_service_name: ::String?,
243
+ field_mapping: {
244
+ metadata_field: ::String,
245
+ text_field: ::String,
246
+ vector_field: ::String
247
+ },
248
+ vector_index_name: ::String
249
+ }?,
236
250
  opensearch_serverless_configuration: {
237
251
  collection_arn: ::String,
238
252
  field_mapping: {
@@ -273,7 +287,7 @@ module Aws
273
287
  },
274
288
  vector_index_name: ::String
275
289
  }?,
276
- type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
290
+ type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
277
291
  },
278
292
  ?tags: Hash[::String, ::String]
279
293
  ) -> _CreateKnowledgeBaseResponseSuccess
@@ -714,7 +728,8 @@ module Aws
714
728
  ?description: ::String,
715
729
  ?routing_configuration: Array[
716
730
  {
717
- agent_version: ::String
731
+ agent_version: ::String?,
732
+ provisioned_throughput: ::String?
718
733
  },
719
734
  ]
720
735
  ) -> _UpdateAgentAliasResponseSuccess
@@ -785,6 +800,19 @@ module Aws
785
800
  name: ::String,
786
801
  role_arn: ::String,
787
802
  storage_configuration: {
803
+ mongo_db_atlas_configuration: {
804
+ collection_name: ::String,
805
+ credentials_secret_arn: ::String,
806
+ database_name: ::String,
807
+ endpoint: ::String,
808
+ endpoint_service_name: ::String?,
809
+ field_mapping: {
810
+ metadata_field: ::String,
811
+ text_field: ::String,
812
+ vector_field: ::String
813
+ },
814
+ vector_index_name: ::String
815
+ }?,
788
816
  opensearch_serverless_configuration: {
789
817
  collection_arn: ::String,
790
818
  field_mapping: {
@@ -825,7 +853,7 @@ module Aws
825
853
  },
826
854
  vector_index_name: ::String
827
855
  }?,
828
- type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
856
+ type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
829
857
  }
830
858
  ) -> _UpdateKnowledgeBaseResponseSuccess
831
859
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseResponseSuccess
data/sig/types.rbs CHANGED
@@ -99,6 +99,7 @@ module Aws::BedrockAgent
99
99
  attr_accessor client_token: ::String
100
100
  attr_accessor created_at: ::Time
101
101
  attr_accessor description: ::String
102
+ attr_accessor failure_reasons: ::Array[::String]
102
103
  attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
103
104
  attr_accessor updated_at: ::Time
104
105
  SENSITIVE: []
@@ -113,6 +114,7 @@ module Aws::BedrockAgent
113
114
 
114
115
  class AgentAliasRoutingConfigurationListItem
115
116
  attr_accessor agent_version: ::String
117
+ attr_accessor provisioned_throughput: ::String
116
118
  SENSITIVE: []
117
119
  end
118
120
 
@@ -736,6 +738,24 @@ module Aws::BedrockAgent
736
738
  SENSITIVE: []
737
739
  end
738
740
 
741
+ class MongoDbAtlasConfiguration
742
+ attr_accessor collection_name: ::String
743
+ attr_accessor credentials_secret_arn: ::String
744
+ attr_accessor database_name: ::String
745
+ attr_accessor endpoint: ::String
746
+ attr_accessor endpoint_service_name: ::String
747
+ attr_accessor field_mapping: Types::MongoDbAtlasFieldMapping
748
+ attr_accessor vector_index_name: ::String
749
+ SENSITIVE: []
750
+ end
751
+
752
+ class MongoDbAtlasFieldMapping
753
+ attr_accessor metadata_field: ::String
754
+ attr_accessor text_field: ::String
755
+ attr_accessor vector_field: ::String
756
+ SENSITIVE: []
757
+ end
758
+
739
759
  class OpenSearchServerlessConfiguration
740
760
  attr_accessor collection_arn: ::String
741
761
  attr_accessor field_mapping: Types::OpenSearchServerlessFieldMapping
@@ -874,11 +894,12 @@ module Aws::BedrockAgent
874
894
  end
875
895
 
876
896
  class StorageConfiguration
897
+ attr_accessor mongo_db_atlas_configuration: Types::MongoDbAtlasConfiguration
877
898
  attr_accessor opensearch_serverless_configuration: Types::OpenSearchServerlessConfiguration
878
899
  attr_accessor pinecone_configuration: Types::PineconeConfiguration
879
900
  attr_accessor rds_configuration: Types::RdsConfiguration
880
901
  attr_accessor redis_enterprise_cloud_configuration: Types::RedisEnterpriseCloudConfiguration
881
- attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS")
902
+ attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS")
882
903
  SENSITIVE: []
883
904
  end
884
905
 
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.10.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-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core