aws-sdk-bedrockagent 1.58.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +25 -6
- data/lib/aws-sdk-bedrockagent/client_api.rb +10 -0
- data/lib/aws-sdk-bedrockagent/types.rb +37 -0
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +12 -2
- data/sig/types.rbs +9 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fc8afa849d1b1f93797f9f7f9e414ffcc2f0484e92461f8e53d5d29b231f63b
|
4
|
+
data.tar.gz: 4c64b3f5b18205c7214dde956067b58cba9bf0a42bf0ff42085d6556cccee6f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93af89186db0a8b9542e642feba512f84f104f7fe95f8170d0379990eac89bd2e8107b7197158a3b5ef1fead255e3db6e0545386773095bd63a27228e8124eb2
|
7
|
+
data.tar.gz: 93fe51aa861feca6367b97aa06a70b78b8c7d2a1b7b3f97adee5dd0261fc3d5e27d8a422108f39a63aae671f455cebd5bf9e9974ac34ce26cb4b3e26790e5577
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.59.0
|
@@ -2436,7 +2436,12 @@ module Aws::BedrockAgent
|
|
2436
2436
|
# },
|
2437
2437
|
# vector_index_name: "RedisEnterpriseCloudIndexName", # required
|
2438
2438
|
# },
|
2439
|
-
#
|
2439
|
+
# s3_vectors_configuration: {
|
2440
|
+
# index_arn: "IndexArn",
|
2441
|
+
# index_name: "IndexName",
|
2442
|
+
# vector_bucket_arn: "VectorBucketArn",
|
2443
|
+
# },
|
2444
|
+
# type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS, NEPTUNE_ANALYTICS, OPENSEARCH_MANAGED_CLUSTER, S3_VECTORS
|
2440
2445
|
# },
|
2441
2446
|
# tags: {
|
2442
2447
|
# "TagKey" => "TagValue",
|
@@ -2532,7 +2537,10 @@ module Aws::BedrockAgent
|
|
2532
2537
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
|
2533
2538
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
|
2534
2539
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
|
2535
|
-
# resp.knowledge_base.storage_configuration.
|
2540
|
+
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_arn #=> String
|
2541
|
+
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_name #=> String
|
2542
|
+
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.vector_bucket_arn #=> String
|
2543
|
+
# resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS", "NEPTUNE_ANALYTICS", "OPENSEARCH_MANAGED_CLUSTER", "S3_VECTORS"
|
2536
2544
|
# resp.knowledge_base.updated_at #=> Time
|
2537
2545
|
#
|
2538
2546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateKnowledgeBase AWS API Documentation
|
@@ -4413,7 +4421,10 @@ module Aws::BedrockAgent
|
|
4413
4421
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
|
4414
4422
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
|
4415
4423
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
|
4416
|
-
# resp.knowledge_base.storage_configuration.
|
4424
|
+
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_arn #=> String
|
4425
|
+
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_name #=> String
|
4426
|
+
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.vector_bucket_arn #=> String
|
4427
|
+
# resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS", "NEPTUNE_ANALYTICS", "OPENSEARCH_MANAGED_CLUSTER", "S3_VECTORS"
|
4417
4428
|
# resp.knowledge_base.updated_at #=> Time
|
4418
4429
|
#
|
4419
4430
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetKnowledgeBase AWS API Documentation
|
@@ -7410,7 +7421,12 @@ module Aws::BedrockAgent
|
|
7410
7421
|
# },
|
7411
7422
|
# vector_index_name: "RedisEnterpriseCloudIndexName", # required
|
7412
7423
|
# },
|
7413
|
-
#
|
7424
|
+
# s3_vectors_configuration: {
|
7425
|
+
# index_arn: "IndexArn",
|
7426
|
+
# index_name: "IndexName",
|
7427
|
+
# vector_bucket_arn: "VectorBucketArn",
|
7428
|
+
# },
|
7429
|
+
# type: "OPENSEARCH_SERVERLESS", # required, accepts OPENSEARCH_SERVERLESS, PINECONE, REDIS_ENTERPRISE_CLOUD, RDS, MONGO_DB_ATLAS, NEPTUNE_ANALYTICS, OPENSEARCH_MANAGED_CLUSTER, S3_VECTORS
|
7414
7430
|
# },
|
7415
7431
|
# })
|
7416
7432
|
#
|
@@ -7503,7 +7519,10 @@ module Aws::BedrockAgent
|
|
7503
7519
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
|
7504
7520
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
|
7505
7521
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
|
7506
|
-
# resp.knowledge_base.storage_configuration.
|
7522
|
+
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_arn #=> String
|
7523
|
+
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.index_name #=> String
|
7524
|
+
# resp.knowledge_base.storage_configuration.s3_vectors_configuration.vector_bucket_arn #=> String
|
7525
|
+
# resp.knowledge_base.storage_configuration.type #=> String, one of "OPENSEARCH_SERVERLESS", "PINECONE", "REDIS_ENTERPRISE_CLOUD", "RDS", "MONGO_DB_ATLAS", "NEPTUNE_ANALYTICS", "OPENSEARCH_MANAGED_CLUSTER", "S3_VECTORS"
|
7507
7526
|
# resp.knowledge_base.updated_at #=> Time
|
7508
7527
|
#
|
7509
7528
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateKnowledgeBase AWS API Documentation
|
@@ -8077,7 +8096,7 @@ module Aws::BedrockAgent
|
|
8077
8096
|
tracer: tracer
|
8078
8097
|
)
|
8079
8098
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
8080
|
-
context[:gem_version] = '1.
|
8099
|
+
context[:gem_version] = '1.59.0'
|
8081
8100
|
Seahorse::Client::Request.new(handlers, context)
|
8082
8101
|
end
|
8083
8102
|
|
@@ -298,6 +298,8 @@ module Aws::BedrockAgent
|
|
298
298
|
IncludeExclude = Shapes::StringShape.new(name: 'IncludeExclude')
|
299
299
|
IncompatibleConnectionDataTypeFlowValidationDetails = Shapes::StructureShape.new(name: 'IncompatibleConnectionDataTypeFlowValidationDetails')
|
300
300
|
IncompatibleLoopNodeType = Shapes::StringShape.new(name: 'IncompatibleLoopNodeType')
|
301
|
+
IndexArn = Shapes::StringShape.new(name: 'IndexArn')
|
302
|
+
IndexName = Shapes::StringShape.new(name: 'IndexName')
|
301
303
|
InferenceConfiguration = Shapes::StructureShape.new(name: 'InferenceConfiguration')
|
302
304
|
IngestKnowledgeBaseDocumentsRequest = Shapes::StructureShape.new(name: 'IngestKnowledgeBaseDocumentsRequest')
|
303
305
|
IngestKnowledgeBaseDocumentsResponse = Shapes::StructureShape.new(name: 'IngestKnowledgeBaseDocumentsResponse')
|
@@ -561,6 +563,7 @@ module Aws::BedrockAgent
|
|
561
563
|
S3ObjectUri = Shapes::StringShape.new(name: 'S3ObjectUri')
|
562
564
|
S3Prefix = Shapes::StringShape.new(name: 'S3Prefix')
|
563
565
|
S3Prefixes = Shapes::ListShape.new(name: 'S3Prefixes')
|
566
|
+
S3VectorsConfiguration = Shapes::StructureShape.new(name: 'S3VectorsConfiguration')
|
564
567
|
SalesforceAuthType = Shapes::StringShape.new(name: 'SalesforceAuthType')
|
565
568
|
SalesforceCrawlerConfiguration = Shapes::StructureShape.new(name: 'SalesforceCrawlerConfiguration')
|
566
569
|
SalesforceDataSourceConfiguration = Shapes::StructureShape.new(name: 'SalesforceDataSourceConfiguration')
|
@@ -675,6 +678,7 @@ module Aws::BedrockAgent
|
|
675
678
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
676
679
|
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
677
680
|
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
681
|
+
VectorBucketArn = Shapes::StringShape.new(name: 'VectorBucketArn')
|
678
682
|
VectorIngestionConfiguration = Shapes::StructureShape.new(name: 'VectorIngestionConfiguration')
|
679
683
|
VectorKnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'VectorKnowledgeBaseConfiguration')
|
680
684
|
VectorSearchBedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingConfiguration')
|
@@ -2497,6 +2501,11 @@ module Aws::BedrockAgent
|
|
2497
2501
|
|
2498
2502
|
S3Prefixes.member = Shapes::ShapeRef.new(shape: S3Prefix)
|
2499
2503
|
|
2504
|
+
S3VectorsConfiguration.add_member(:index_arn, Shapes::ShapeRef.new(shape: IndexArn, location_name: "indexArn"))
|
2505
|
+
S3VectorsConfiguration.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
|
2506
|
+
S3VectorsConfiguration.add_member(:vector_bucket_arn, Shapes::ShapeRef.new(shape: VectorBucketArn, location_name: "vectorBucketArn"))
|
2507
|
+
S3VectorsConfiguration.struct_class = Types::S3VectorsConfiguration
|
2508
|
+
|
2500
2509
|
SalesforceCrawlerConfiguration.add_member(:filter_configuration, Shapes::ShapeRef.new(shape: CrawlFilterConfiguration, location_name: "filterConfiguration"))
|
2501
2510
|
SalesforceCrawlerConfiguration.struct_class = Types::SalesforceCrawlerConfiguration
|
2502
2511
|
|
@@ -2578,6 +2587,7 @@ module Aws::BedrockAgent
|
|
2578
2587
|
StorageConfiguration.add_member(:pinecone_configuration, Shapes::ShapeRef.new(shape: PineconeConfiguration, location_name: "pineconeConfiguration"))
|
2579
2588
|
StorageConfiguration.add_member(:rds_configuration, Shapes::ShapeRef.new(shape: RdsConfiguration, location_name: "rdsConfiguration"))
|
2580
2589
|
StorageConfiguration.add_member(:redis_enterprise_cloud_configuration, Shapes::ShapeRef.new(shape: RedisEnterpriseCloudConfiguration, location_name: "redisEnterpriseCloudConfiguration"))
|
2590
|
+
StorageConfiguration.add_member(:s3_vectors_configuration, Shapes::ShapeRef.new(shape: S3VectorsConfiguration, location_name: "s3VectorsConfiguration"))
|
2581
2591
|
StorageConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: KnowledgeBaseStorageType, required: true, location_name: "type"))
|
2582
2592
|
StorageConfiguration.struct_class = Types::StorageConfiguration
|
2583
2593
|
|
@@ -9412,6 +9412,36 @@ module Aws::BedrockAgent
|
|
9412
9412
|
include Aws::Structure
|
9413
9413
|
end
|
9414
9414
|
|
9415
|
+
# Contains the storage configuration of the knowledge base for S3
|
9416
|
+
# vectors.
|
9417
|
+
#
|
9418
|
+
# @!attribute [rw] index_arn
|
9419
|
+
# The Amazon Resource Name (ARN) of the vector index used for the
|
9420
|
+
# knowledge base. This ARN identifies the specific vector index
|
9421
|
+
# resource within Amazon Bedrock.
|
9422
|
+
# @return [String]
|
9423
|
+
#
|
9424
|
+
# @!attribute [rw] index_name
|
9425
|
+
# The name of the vector index used for the knowledge base. This name
|
9426
|
+
# identifies the vector index within the Amazon Bedrock service.
|
9427
|
+
# @return [String]
|
9428
|
+
#
|
9429
|
+
# @!attribute [rw] vector_bucket_arn
|
9430
|
+
# The Amazon Resource Name (ARN) of the S3 bucket where vector
|
9431
|
+
# embeddings are stored. This bucket contains the vector data used by
|
9432
|
+
# the knowledge base.
|
9433
|
+
# @return [String]
|
9434
|
+
#
|
9435
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/S3VectorsConfiguration AWS API Documentation
|
9436
|
+
#
|
9437
|
+
class S3VectorsConfiguration < Struct.new(
|
9438
|
+
:index_arn,
|
9439
|
+
:index_name,
|
9440
|
+
:vector_bucket_arn)
|
9441
|
+
SENSITIVE = [:index_arn, :index_name, :vector_bucket_arn]
|
9442
|
+
include Aws::Structure
|
9443
|
+
end
|
9444
|
+
|
9415
9445
|
# The configuration of the Salesforce content. For example, configuring
|
9416
9446
|
# specific types of Salesforce content.
|
9417
9447
|
#
|
@@ -9859,6 +9889,12 @@ module Aws::BedrockAgent
|
|
9859
9889
|
# Enterprise Cloud.
|
9860
9890
|
# @return [Types::RedisEnterpriseCloudConfiguration]
|
9861
9891
|
#
|
9892
|
+
# @!attribute [rw] s3_vectors_configuration
|
9893
|
+
# The configuration settings for storing knowledge base data using S3
|
9894
|
+
# vectors. This includes vector index information and S3 bucket
|
9895
|
+
# details for vector storage.
|
9896
|
+
# @return [Types::S3VectorsConfiguration]
|
9897
|
+
#
|
9862
9898
|
# @!attribute [rw] type
|
9863
9899
|
# The vector store service in which the knowledge base is stored.
|
9864
9900
|
# @return [String]
|
@@ -9873,6 +9909,7 @@ module Aws::BedrockAgent
|
|
9873
9909
|
:pinecone_configuration,
|
9874
9910
|
:rds_configuration,
|
9875
9911
|
:redis_enterprise_cloud_configuration,
|
9912
|
+
:s3_vectors_configuration,
|
9876
9913
|
:type)
|
9877
9914
|
SENSITIVE = []
|
9878
9915
|
include Aws::Structure
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -901,7 +901,12 @@ module Aws
|
|
901
901
|
},
|
902
902
|
vector_index_name: ::String
|
903
903
|
}?,
|
904
|
-
|
904
|
+
s3_vectors_configuration: {
|
905
|
+
index_arn: ::String?,
|
906
|
+
index_name: ::String?,
|
907
|
+
vector_bucket_arn: ::String?
|
908
|
+
}?,
|
909
|
+
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS" | "OPENSEARCH_MANAGED_CLUSTER" | "S3_VECTORS")
|
905
910
|
},
|
906
911
|
?tags: Hash[::String, ::String]
|
907
912
|
) -> _CreateKnowledgeBaseResponseSuccess
|
@@ -2556,7 +2561,12 @@ module Aws
|
|
2556
2561
|
},
|
2557
2562
|
vector_index_name: ::String
|
2558
2563
|
}?,
|
2559
|
-
|
2564
|
+
s3_vectors_configuration: {
|
2565
|
+
index_arn: ::String?,
|
2566
|
+
index_name: ::String?,
|
2567
|
+
vector_bucket_arn: ::String?
|
2568
|
+
}?,
|
2569
|
+
type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS" | "OPENSEARCH_MANAGED_CLUSTER" | "S3_VECTORS")
|
2560
2570
|
}
|
2561
2571
|
) -> _UpdateKnowledgeBaseResponseSuccess
|
2562
2572
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -2394,6 +2394,13 @@ module Aws::BedrockAgent
|
|
2394
2394
|
SENSITIVE: []
|
2395
2395
|
end
|
2396
2396
|
|
2397
|
+
class S3VectorsConfiguration
|
2398
|
+
attr_accessor index_arn: ::String
|
2399
|
+
attr_accessor index_name: ::String
|
2400
|
+
attr_accessor vector_bucket_arn: ::String
|
2401
|
+
SENSITIVE: [:index_arn, :index_name, :vector_bucket_arn]
|
2402
|
+
end
|
2403
|
+
|
2397
2404
|
class SalesforceCrawlerConfiguration
|
2398
2405
|
attr_accessor filter_configuration: Types::CrawlFilterConfiguration
|
2399
2406
|
SENSITIVE: []
|
@@ -2504,7 +2511,8 @@ module Aws::BedrockAgent
|
|
2504
2511
|
attr_accessor pinecone_configuration: Types::PineconeConfiguration
|
2505
2512
|
attr_accessor rds_configuration: Types::RdsConfiguration
|
2506
2513
|
attr_accessor redis_enterprise_cloud_configuration: Types::RedisEnterpriseCloudConfiguration
|
2507
|
-
attr_accessor
|
2514
|
+
attr_accessor s3_vectors_configuration: Types::S3VectorsConfiguration
|
2515
|
+
attr_accessor type: ("OPENSEARCH_SERVERLESS" | "PINECONE" | "REDIS_ENTERPRISE_CLOUD" | "RDS" | "MONGO_DB_ATLAS" | "NEPTUNE_ANALYTICS" | "OPENSEARCH_MANAGED_CLUSTER" | "S3_VECTORS")
|
2508
2516
|
SENSITIVE: []
|
2509
2517
|
end
|
2510
2518
|
|