aws-sdk-bedrockagent 1.0.0 → 1.2.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: 421c4af321deb6eaef8ae07288ba866340052236ce4d263891a00368f201d9ac
4
- data.tar.gz: e03c63fdfd1758ed667fc153c7042ab9a6f4456255b4902bb6cde4e8340ebbee
3
+ metadata.gz: 3ad21bcd5749ad6c383cabca553d54f58dc39a3224bd6d9d3fe7de775e289e32
4
+ data.tar.gz: a7671e96801b09cd2dca2e1daaebf9005152f0d0ad04adcb587290ba4f09cc4c
5
5
  SHA512:
6
- metadata.gz: 68434e938593c334e373517a48ef7e7df476fbd60b52131e5d4077776146463dc39a784d8c598d6da203732f7794d8ff5297899d90277d222abb96354d19b3d9
7
- data.tar.gz: 870c3c8d028666f2dbe576b5186ca76be07ea350d3b84d79d87ea1ccefb979c320b1434e95c3adbb76dc6d37aa866b7eb139603c83e31b1a8efa6ca9285142b9
6
+ metadata.gz: 83972dcf722a6ce4a0adc88938447cf594ddba25417c1d77bc437dfe49fb8f6fd36ee556b19ee455e962e7a030530adb8021dd056313bfe05a36c32eb3df0e19
7
+ data.tar.gz: b2aace9580ee408f5fbb85780139f934419ef4f87d8b38f1caaabe8e2652cc1bbd0f408b99efe54ab2e6ebc776a84fbe0b9e6d2933667c8c98f06bdf6bcafef7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.2.0 (2023-12-22)
5
+ ------------------
6
+
7
+ * Feature - Adding Claude 2.1 support to Bedrock Agents
8
+
9
+ 1.1.0 (2023-12-21)
10
+ ------------------
11
+
12
+ * Feature - This release introduces Amazon Aurora as a vector store on Knowledge Bases for Amazon Bedrock
13
+
4
14
  1.0.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.2.0
@@ -841,7 +841,7 @@ module Aws::BedrockAgent
841
841
  # },
842
842
  # },
843
843
  # storage_configuration: { # required
844
- # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD
844
+ # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS
845
845
  # opensearch_serverless_configuration: {
846
846
  # collection_arn: "OpenSearchServerlessCollectionArn", # required
847
847
  # vector_index_name: "OpenSearchServerlessIndexName", # required
@@ -870,6 +870,18 @@ module Aws::BedrockAgent
870
870
  # metadata_field: "FieldName", # required
871
871
  # },
872
872
  # },
873
+ # rds_configuration: {
874
+ # resource_arn: "RdsArn", # required
875
+ # credentials_secret_arn: "SecretArn", # required
876
+ # database_name: "RdsDatabaseName", # required
877
+ # table_name: "RdsTableName", # required
878
+ # field_mapping: { # required
879
+ # primary_key_field: "ColumnName", # required
880
+ # vector_field: "ColumnName", # required
881
+ # text_field: "ColumnName", # required
882
+ # metadata_field: "ColumnName", # required
883
+ # },
884
+ # },
873
885
  # },
874
886
  # tags: {
875
887
  # "TagKey" => "TagValue",
@@ -885,7 +897,7 @@ module Aws::BedrockAgent
885
897
  # resp.knowledge_base.role_arn #=> String
886
898
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
887
899
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
888
- # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD"
900
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS"
889
901
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
890
902
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.vector_index_name #=> String
891
903
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.vector_field #=> String
@@ -902,6 +914,14 @@ module Aws::BedrockAgent
902
914
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
903
915
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
904
916
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.metadata_field #=> String
917
+ # resp.knowledge_base.storage_configuration.rds_configuration.resource_arn #=> String
918
+ # resp.knowledge_base.storage_configuration.rds_configuration.credentials_secret_arn #=> String
919
+ # resp.knowledge_base.storage_configuration.rds_configuration.database_name #=> String
920
+ # resp.knowledge_base.storage_configuration.rds_configuration.table_name #=> String
921
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.primary_key_field #=> String
922
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.vector_field #=> String
923
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.text_field #=> String
924
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.metadata_field #=> String
905
925
  # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED"
906
926
  # resp.knowledge_base.created_at #=> Time
907
927
  # resp.knowledge_base.updated_at #=> Time
@@ -1539,7 +1559,7 @@ module Aws::BedrockAgent
1539
1559
  # resp.knowledge_base.role_arn #=> String
1540
1560
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
1541
1561
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
1542
- # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD"
1562
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS"
1543
1563
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
1544
1564
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.vector_index_name #=> String
1545
1565
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.vector_field #=> String
@@ -1556,6 +1576,14 @@ module Aws::BedrockAgent
1556
1576
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
1557
1577
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
1558
1578
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.metadata_field #=> String
1579
+ # resp.knowledge_base.storage_configuration.rds_configuration.resource_arn #=> String
1580
+ # resp.knowledge_base.storage_configuration.rds_configuration.credentials_secret_arn #=> String
1581
+ # resp.knowledge_base.storage_configuration.rds_configuration.database_name #=> String
1582
+ # resp.knowledge_base.storage_configuration.rds_configuration.table_name #=> String
1583
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.primary_key_field #=> String
1584
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.vector_field #=> String
1585
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.text_field #=> String
1586
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.metadata_field #=> String
1559
1587
  # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED"
1560
1588
  # resp.knowledge_base.created_at #=> Time
1561
1589
  # resp.knowledge_base.updated_at #=> Time
@@ -2564,7 +2592,7 @@ module Aws::BedrockAgent
2564
2592
  # },
2565
2593
  # },
2566
2594
  # storage_configuration: { # required
2567
- # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD
2595
+ # type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS
2568
2596
  # opensearch_serverless_configuration: {
2569
2597
  # collection_arn: "OpenSearchServerlessCollectionArn", # required
2570
2598
  # vector_index_name: "OpenSearchServerlessIndexName", # required
@@ -2593,6 +2621,18 @@ module Aws::BedrockAgent
2593
2621
  # metadata_field: "FieldName", # required
2594
2622
  # },
2595
2623
  # },
2624
+ # rds_configuration: {
2625
+ # resource_arn: "RdsArn", # required
2626
+ # credentials_secret_arn: "SecretArn", # required
2627
+ # database_name: "RdsDatabaseName", # required
2628
+ # table_name: "RdsTableName", # required
2629
+ # field_mapping: { # required
2630
+ # primary_key_field: "ColumnName", # required
2631
+ # vector_field: "ColumnName", # required
2632
+ # text_field: "ColumnName", # required
2633
+ # metadata_field: "ColumnName", # required
2634
+ # },
2635
+ # },
2596
2636
  # },
2597
2637
  # })
2598
2638
  #
@@ -2605,7 +2645,7 @@ module Aws::BedrockAgent
2605
2645
  # resp.knowledge_base.role_arn #=> String
2606
2646
  # resp.knowledge_base.knowledge_base_configuration.type #=> String, one of "VECTOR"
2607
2647
  # resp.knowledge_base.knowledge_base_configuration.vector_knowledge_base_configuration.embedding_model_arn #=> String
2608
- # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD"
2648
+ # resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS"
2609
2649
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.collection_arn #=> String
2610
2650
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.vector_index_name #=> String
2611
2651
  # resp.knowledge_base.storage_configuration.opensearch_serverless_configuration.field_mapping.vector_field #=> String
@@ -2622,6 +2662,14 @@ module Aws::BedrockAgent
2622
2662
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
2623
2663
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
2624
2664
  # resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.metadata_field #=> String
2665
+ # resp.knowledge_base.storage_configuration.rds_configuration.resource_arn #=> String
2666
+ # resp.knowledge_base.storage_configuration.rds_configuration.credentials_secret_arn #=> String
2667
+ # resp.knowledge_base.storage_configuration.rds_configuration.database_name #=> String
2668
+ # resp.knowledge_base.storage_configuration.rds_configuration.table_name #=> String
2669
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.primary_key_field #=> String
2670
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.vector_field #=> String
2671
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.text_field #=> String
2672
+ # resp.knowledge_base.storage_configuration.rds_configuration.field_mapping.metadata_field #=> String
2625
2673
  # resp.knowledge_base.status #=> String, one of "CREATING", "ACTIVE", "DELETING", "UPDATING", "FAILED"
2626
2674
  # resp.knowledge_base.created_at #=> Time
2627
2675
  # resp.knowledge_base.updated_at #=> Time
@@ -2650,7 +2698,7 @@ module Aws::BedrockAgent
2650
2698
  params: params,
2651
2699
  config: config)
2652
2700
  context[:gem_name] = 'aws-sdk-bedrockagent'
2653
- context[:gem_version] = '1.0.0'
2701
+ context[:gem_version] = '1.2.0'
2654
2702
  Seahorse::Client::Request.new(handlers, context)
2655
2703
  end
2656
2704
 
@@ -51,6 +51,7 @@ module Aws::BedrockAgent
51
51
  ChunkingConfiguration = Shapes::StructureShape.new(name: 'ChunkingConfiguration')
52
52
  ChunkingStrategy = Shapes::StringShape.new(name: 'ChunkingStrategy')
53
53
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
54
+ ColumnName = Shapes::StringShape.new(name: 'ColumnName')
54
55
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
55
56
  CreateAgentActionGroupRequest = Shapes::StructureShape.new(name: 'CreateAgentActionGroupRequest')
56
57
  CreateAgentActionGroupResponse = Shapes::StructureShape.new(name: 'CreateAgentActionGroupResponse')
@@ -179,6 +180,11 @@ module Aws::BedrockAgent
179
180
  PromptOverrideConfiguration = Shapes::StructureShape.new(name: 'PromptOverrideConfiguration')
180
181
  PromptState = Shapes::StringShape.new(name: 'PromptState')
181
182
  PromptType = Shapes::StringShape.new(name: 'PromptType')
183
+ RdsArn = Shapes::StringShape.new(name: 'RdsArn')
184
+ RdsConfiguration = Shapes::StructureShape.new(name: 'RdsConfiguration')
185
+ RdsDatabaseName = Shapes::StringShape.new(name: 'RdsDatabaseName')
186
+ RdsFieldMapping = Shapes::StructureShape.new(name: 'RdsFieldMapping')
187
+ RdsTableName = Shapes::StringShape.new(name: 'RdsTableName')
182
188
  RecommendedAction = Shapes::StringShape.new(name: 'RecommendedAction')
183
189
  RecommendedActions = Shapes::ListShape.new(name: 'RecommendedActions')
184
190
  RedisEnterpriseCloudConfiguration = Shapes::StructureShape.new(name: 'RedisEnterpriseCloudConfiguration')
@@ -817,6 +823,19 @@ module Aws::BedrockAgent
817
823
  PromptOverrideConfiguration.add_member(:override_lambda, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "overrideLambda"))
818
824
  PromptOverrideConfiguration.struct_class = Types::PromptOverrideConfiguration
819
825
 
826
+ RdsConfiguration.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RdsArn, required: true, location_name: "resourceArn"))
827
+ RdsConfiguration.add_member(:credentials_secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "credentialsSecretArn"))
828
+ RdsConfiguration.add_member(:database_name, Shapes::ShapeRef.new(shape: RdsDatabaseName, required: true, location_name: "databaseName"))
829
+ RdsConfiguration.add_member(:table_name, Shapes::ShapeRef.new(shape: RdsTableName, required: true, location_name: "tableName"))
830
+ RdsConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: RdsFieldMapping, required: true, location_name: "fieldMapping"))
831
+ RdsConfiguration.struct_class = Types::RdsConfiguration
832
+
833
+ RdsFieldMapping.add_member(:primary_key_field, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "primaryKeyField"))
834
+ RdsFieldMapping.add_member(:vector_field, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "vectorField"))
835
+ RdsFieldMapping.add_member(:text_field, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "textField"))
836
+ RdsFieldMapping.add_member(:metadata_field, Shapes::ShapeRef.new(shape: ColumnName, required: true, location_name: "metadataField"))
837
+ RdsFieldMapping.struct_class = Types::RdsFieldMapping
838
+
820
839
  RecommendedActions.member = Shapes::ShapeRef.new(shape: RecommendedAction)
821
840
 
822
841
  RedisEnterpriseCloudConfiguration.add_member(:endpoint, Shapes::ShapeRef.new(shape: RedisEnterpriseCloudEndpoint, required: true, location_name: "endpoint"))
@@ -864,6 +883,7 @@ module Aws::BedrockAgent
864
883
  StorageConfiguration.add_member(:opensearch_serverless_configuration, Shapes::ShapeRef.new(shape: OpenSearchServerlessConfiguration, location_name: "opensearchServerlessConfiguration"))
865
884
  StorageConfiguration.add_member(:pinecone_configuration, Shapes::ShapeRef.new(shape: PineconeConfiguration, location_name: "pineconeConfiguration"))
866
885
  StorageConfiguration.add_member(:redis_enterprise_cloud_configuration, Shapes::ShapeRef.new(shape: RedisEnterpriseCloudConfiguration, location_name: "redisEnterpriseCloudConfiguration"))
886
+ StorageConfiguration.add_member(:rds_configuration, Shapes::ShapeRef.new(shape: RdsConfiguration, location_name: "rdsConfiguration"))
867
887
  StorageConfiguration.struct_class = Types::StorageConfiguration
868
888
 
869
889
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
@@ -2646,6 +2646,69 @@ module Aws::BedrockAgent
2646
2646
  include Aws::Structure
2647
2647
  end
2648
2648
 
2649
+ # Contains the configurations to use RDS to store knowledge base data.
2650
+ #
2651
+ # @!attribute [rw] resource_arn
2652
+ # Arn of a RDS Resource.
2653
+ # @return [String]
2654
+ #
2655
+ # @!attribute [rw] credentials_secret_arn
2656
+ # Arn of a SecretsManager Secret.
2657
+ # @return [String]
2658
+ #
2659
+ # @!attribute [rw] database_name
2660
+ # Name of the database within RDS
2661
+ # @return [String]
2662
+ #
2663
+ # @!attribute [rw] table_name
2664
+ # Name of the table within RDS
2665
+ # @return [String]
2666
+ #
2667
+ # @!attribute [rw] field_mapping
2668
+ # A mapping of Bedrock Knowledge Base fields to RDS column names
2669
+ # @return [Types::RdsFieldMapping]
2670
+ #
2671
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/RdsConfiguration AWS API Documentation
2672
+ #
2673
+ class RdsConfiguration < Struct.new(
2674
+ :resource_arn,
2675
+ :credentials_secret_arn,
2676
+ :database_name,
2677
+ :table_name,
2678
+ :field_mapping)
2679
+ SENSITIVE = []
2680
+ include Aws::Structure
2681
+ end
2682
+
2683
+ # A mapping of Bedrock Knowledge Base fields to RDS column names
2684
+ #
2685
+ # @!attribute [rw] primary_key_field
2686
+ # Name of the column
2687
+ # @return [String]
2688
+ #
2689
+ # @!attribute [rw] vector_field
2690
+ # Name of the column
2691
+ # @return [String]
2692
+ #
2693
+ # @!attribute [rw] text_field
2694
+ # Name of the column
2695
+ # @return [String]
2696
+ #
2697
+ # @!attribute [rw] metadata_field
2698
+ # Name of the column
2699
+ # @return [String]
2700
+ #
2701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/RdsFieldMapping AWS API Documentation
2702
+ #
2703
+ class RdsFieldMapping < Struct.new(
2704
+ :primary_key_field,
2705
+ :vector_field,
2706
+ :text_field,
2707
+ :metadata_field)
2708
+ SENSITIVE = []
2709
+ include Aws::Structure
2710
+ end
2711
+
2649
2712
  # Contains the configurations to use Redis Enterprise Cloud to store
2650
2713
  # knowledge base data.
2651
2714
  #
@@ -2846,13 +2909,18 @@ module Aws::BedrockAgent
2846
2909
  # knowledge base data.
2847
2910
  # @return [Types::RedisEnterpriseCloudConfiguration]
2848
2911
  #
2912
+ # @!attribute [rw] rds_configuration
2913
+ # Contains the configurations to use RDS to store knowledge base data.
2914
+ # @return [Types::RdsConfiguration]
2915
+ #
2849
2916
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/StorageConfiguration AWS API Documentation
2850
2917
  #
2851
2918
  class StorageConfiguration < Struct.new(
2852
2919
  :type,
2853
2920
  :opensearch_serverless_configuration,
2854
2921
  :pinecone_configuration,
2855
- :redis_enterprise_cloud_configuration)
2922
+ :redis_enterprise_cloud_configuration,
2923
+ :rds_configuration)
2856
2924
  SENSITIVE = []
2857
2925
  include Aws::Structure
2858
2926
  end
@@ -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.0.0'
55
+ GEM_VERSION = '1.2.0'
56
56
 
57
57
  end
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.0.0
4
+ version: 1.2.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: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2023-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core