aws-sdk-bedrockagent 1.57.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +41 -10
- data/lib/aws-sdk-bedrockagent/client_api.rb +14 -0
- data/lib/aws-sdk-bedrockagent/types.rb +77 -7
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +13 -2
- data/sig/types.rbs +12 -1
- metadata +4 -4
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
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.59.0 (2025-07-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for S3 Vectors as a vector store.
|
8
|
+
|
9
|
+
1.58.0 (2025-06-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds the Agent Lifecycle Paused State feature to Amazon Bedrock agents. By using an agent's alias, you can temporarily suspend agent operations during maintenance, updates, or other situations.
|
13
|
+
|
4
14
|
1.57.0 (2025-05-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.59.0
|
@@ -965,7 +965,7 @@ module Aws::BedrockAgent
|
|
965
965
|
#
|
966
966
|
#
|
967
967
|
#
|
968
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
968
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
|
969
969
|
#
|
970
970
|
# @option params [Hash<String,String>] :parent_action_group_signature_params
|
971
971
|
# The configuration settings for a computer use action.
|
@@ -977,7 +977,7 @@ module Aws::BedrockAgent
|
|
977
977
|
#
|
978
978
|
#
|
979
979
|
#
|
980
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
980
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
|
981
981
|
#
|
982
982
|
# @return [Types::CreateAgentActionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
983
983
|
#
|
@@ -1127,6 +1127,7 @@ module Aws::BedrockAgent
|
|
1127
1127
|
# resp.agent_alias.agent_alias_name #=> String
|
1128
1128
|
# resp.agent_alias.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING", "DISSOCIATED"
|
1129
1129
|
# resp.agent_alias.agent_id #=> String
|
1130
|
+
# resp.agent_alias.alias_invocation_state #=> String, one of "ACCEPT_INVOCATIONS", "REJECT_INVOCATIONS"
|
1130
1131
|
# resp.agent_alias.client_token #=> String
|
1131
1132
|
# resp.agent_alias.created_at #=> Time
|
1132
1133
|
# resp.agent_alias.description #=> String
|
@@ -2435,7 +2436,12 @@ module Aws::BedrockAgent
|
|
2435
2436
|
# },
|
2436
2437
|
# vector_index_name: "RedisEnterpriseCloudIndexName", # required
|
2437
2438
|
# },
|
2438
|
-
#
|
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
|
2439
2445
|
# },
|
2440
2446
|
# tags: {
|
2441
2447
|
# "TagKey" => "TagValue",
|
@@ -2531,7 +2537,10 @@ module Aws::BedrockAgent
|
|
2531
2537
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
|
2532
2538
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
|
2533
2539
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
|
2534
|
-
# 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"
|
2535
2544
|
# resp.knowledge_base.updated_at #=> Time
|
2536
2545
|
#
|
2537
2546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateKnowledgeBase AWS API Documentation
|
@@ -3561,6 +3570,7 @@ module Aws::BedrockAgent
|
|
3561
3570
|
# resp.agent_alias.agent_alias_name #=> String
|
3562
3571
|
# resp.agent_alias.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING", "DISSOCIATED"
|
3563
3572
|
# resp.agent_alias.agent_id #=> String
|
3573
|
+
# resp.agent_alias.alias_invocation_state #=> String, one of "ACCEPT_INVOCATIONS", "REJECT_INVOCATIONS"
|
3564
3574
|
# resp.agent_alias.client_token #=> String
|
3565
3575
|
# resp.agent_alias.created_at #=> Time
|
3566
3576
|
# resp.agent_alias.description #=> String
|
@@ -4411,7 +4421,10 @@ module Aws::BedrockAgent
|
|
4411
4421
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
|
4412
4422
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
|
4413
4423
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
|
4414
|
-
# 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"
|
4415
4428
|
# resp.knowledge_base.updated_at #=> Time
|
4416
4429
|
#
|
4417
4430
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetKnowledgeBase AWS API Documentation
|
@@ -4790,6 +4803,7 @@ module Aws::BedrockAgent
|
|
4790
4803
|
# resp.agent_alias_summaries[0].agent_alias_id #=> String
|
4791
4804
|
# resp.agent_alias_summaries[0].agent_alias_name #=> String
|
4792
4805
|
# resp.agent_alias_summaries[0].agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING", "DISSOCIATED"
|
4806
|
+
# resp.agent_alias_summaries[0].alias_invocation_state #=> String, one of "ACCEPT_INVOCATIONS", "REJECT_INVOCATIONS"
|
4793
4807
|
# resp.agent_alias_summaries[0].created_at #=> Time
|
4794
4808
|
# resp.agent_alias_summaries[0].description #=> String
|
4795
4809
|
# resp.agent_alias_summaries[0].routing_configuration #=> Array
|
@@ -6086,7 +6100,7 @@ module Aws::BedrockAgent
|
|
6086
6100
|
#
|
6087
6101
|
#
|
6088
6102
|
#
|
6089
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
6103
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
|
6090
6104
|
# [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
|
6091
6105
|
#
|
6092
6106
|
# @option params [Hash<String,String>] :parent_action_group_signature_params
|
@@ -6099,7 +6113,7 @@ module Aws::BedrockAgent
|
|
6099
6113
|
#
|
6100
6114
|
#
|
6101
6115
|
#
|
6102
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
6116
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
|
6103
6117
|
#
|
6104
6118
|
# @return [Types::UpdateAgentActionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6105
6119
|
#
|
@@ -6195,6 +6209,13 @@ module Aws::BedrockAgent
|
|
6195
6209
|
# @option params [required, String] :agent_id
|
6196
6210
|
# The unique identifier of the agent.
|
6197
6211
|
#
|
6212
|
+
# @option params [String] :alias_invocation_state
|
6213
|
+
# The invocation state for the agent alias. To pause the agent alias,
|
6214
|
+
# set the value to `REJECT_INVOCATIONS`. To start the agent alias
|
6215
|
+
# running again, set the value to `ACCEPT_INVOCATIONS`. Use the
|
6216
|
+
# `GetAgentAlias`, or `ListAgentAliases`, operation to get the
|
6217
|
+
# invocation state of an agent alias.
|
6218
|
+
#
|
6198
6219
|
# @option params [String] :description
|
6199
6220
|
# Specifies a new description for the alias.
|
6200
6221
|
#
|
@@ -6211,6 +6232,7 @@ module Aws::BedrockAgent
|
|
6211
6232
|
# agent_alias_id: "AgentAliasId", # required
|
6212
6233
|
# agent_alias_name: "Name", # required
|
6213
6234
|
# agent_id: "Id", # required
|
6235
|
+
# alias_invocation_state: "ACCEPT_INVOCATIONS", # accepts ACCEPT_INVOCATIONS, REJECT_INVOCATIONS
|
6214
6236
|
# description: "Description",
|
6215
6237
|
# routing_configuration: [
|
6216
6238
|
# {
|
@@ -6233,6 +6255,7 @@ module Aws::BedrockAgent
|
|
6233
6255
|
# resp.agent_alias.agent_alias_name #=> String
|
6234
6256
|
# resp.agent_alias.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING", "DISSOCIATED"
|
6235
6257
|
# resp.agent_alias.agent_id #=> String
|
6258
|
+
# resp.agent_alias.alias_invocation_state #=> String, one of "ACCEPT_INVOCATIONS", "REJECT_INVOCATIONS"
|
6236
6259
|
# resp.agent_alias.client_token #=> String
|
6237
6260
|
# resp.agent_alias.created_at #=> Time
|
6238
6261
|
# resp.agent_alias.description #=> String
|
@@ -7398,7 +7421,12 @@ module Aws::BedrockAgent
|
|
7398
7421
|
# },
|
7399
7422
|
# vector_index_name: "RedisEnterpriseCloudIndexName", # required
|
7400
7423
|
# },
|
7401
|
-
#
|
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
|
7402
7430
|
# },
|
7403
7431
|
# })
|
7404
7432
|
#
|
@@ -7491,7 +7519,10 @@ module Aws::BedrockAgent
|
|
7491
7519
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.text_field #=> String
|
7492
7520
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.field_mapping.vector_field #=> String
|
7493
7521
|
# resp.knowledge_base.storage_configuration.redis_enterprise_cloud_configuration.vector_index_name #=> String
|
7494
|
-
# 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"
|
7495
7526
|
# resp.knowledge_base.updated_at #=> Time
|
7496
7527
|
#
|
7497
7528
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateKnowledgeBase AWS API Documentation
|
@@ -8065,7 +8096,7 @@ module Aws::BedrockAgent
|
|
8065
8096
|
tracer: tracer
|
8066
8097
|
)
|
8067
8098
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
8068
|
-
context[:gem_version] = '1.
|
8099
|
+
context[:gem_version] = '1.59.0'
|
8069
8100
|
Seahorse::Client::Request.new(handlers, context)
|
8070
8101
|
end
|
8071
8102
|
|
@@ -56,6 +56,7 @@ module Aws::BedrockAgent
|
|
56
56
|
AgentVersion = Shapes::StructureShape.new(name: 'AgentVersion')
|
57
57
|
AgentVersionSummaries = Shapes::ListShape.new(name: 'AgentVersionSummaries')
|
58
58
|
AgentVersionSummary = Shapes::StructureShape.new(name: 'AgentVersionSummary')
|
59
|
+
AliasInvocationState = Shapes::StringShape.new(name: 'AliasInvocationState')
|
59
60
|
AnyToolChoice = Shapes::StructureShape.new(name: 'AnyToolChoice')
|
60
61
|
AssociateAgentCollaboratorRequest = Shapes::StructureShape.new(name: 'AssociateAgentCollaboratorRequest')
|
61
62
|
AssociateAgentCollaboratorResponse = Shapes::StructureShape.new(name: 'AssociateAgentCollaboratorResponse')
|
@@ -297,6 +298,8 @@ module Aws::BedrockAgent
|
|
297
298
|
IncludeExclude = Shapes::StringShape.new(name: 'IncludeExclude')
|
298
299
|
IncompatibleConnectionDataTypeFlowValidationDetails = Shapes::StructureShape.new(name: 'IncompatibleConnectionDataTypeFlowValidationDetails')
|
299
300
|
IncompatibleLoopNodeType = Shapes::StringShape.new(name: 'IncompatibleLoopNodeType')
|
301
|
+
IndexArn = Shapes::StringShape.new(name: 'IndexArn')
|
302
|
+
IndexName = Shapes::StringShape.new(name: 'IndexName')
|
300
303
|
InferenceConfiguration = Shapes::StructureShape.new(name: 'InferenceConfiguration')
|
301
304
|
IngestKnowledgeBaseDocumentsRequest = Shapes::StructureShape.new(name: 'IngestKnowledgeBaseDocumentsRequest')
|
302
305
|
IngestKnowledgeBaseDocumentsResponse = Shapes::StructureShape.new(name: 'IngestKnowledgeBaseDocumentsResponse')
|
@@ -560,6 +563,7 @@ module Aws::BedrockAgent
|
|
560
563
|
S3ObjectUri = Shapes::StringShape.new(name: 'S3ObjectUri')
|
561
564
|
S3Prefix = Shapes::StringShape.new(name: 'S3Prefix')
|
562
565
|
S3Prefixes = Shapes::ListShape.new(name: 'S3Prefixes')
|
566
|
+
S3VectorsConfiguration = Shapes::StructureShape.new(name: 'S3VectorsConfiguration')
|
563
567
|
SalesforceAuthType = Shapes::StringShape.new(name: 'SalesforceAuthType')
|
564
568
|
SalesforceCrawlerConfiguration = Shapes::StructureShape.new(name: 'SalesforceCrawlerConfiguration')
|
565
569
|
SalesforceDataSourceConfiguration = Shapes::StructureShape.new(name: 'SalesforceDataSourceConfiguration')
|
@@ -674,6 +678,7 @@ module Aws::BedrockAgent
|
|
674
678
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
675
679
|
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
|
676
680
|
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
681
|
+
VectorBucketArn = Shapes::StringShape.new(name: 'VectorBucketArn')
|
677
682
|
VectorIngestionConfiguration = Shapes::StructureShape.new(name: 'VectorIngestionConfiguration')
|
678
683
|
VectorKnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'VectorKnowledgeBaseConfiguration')
|
679
684
|
VectorSearchBedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingConfiguration')
|
@@ -772,6 +777,7 @@ module Aws::BedrockAgent
|
|
772
777
|
AgentAlias.add_member(:agent_alias_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentAliasName"))
|
773
778
|
AgentAlias.add_member(:agent_alias_status, Shapes::ShapeRef.new(shape: AgentAliasStatus, required: true, location_name: "agentAliasStatus"))
|
774
779
|
AgentAlias.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "agentId"))
|
780
|
+
AgentAlias.add_member(:alias_invocation_state, Shapes::ShapeRef.new(shape: AliasInvocationState, location_name: "aliasInvocationState"))
|
775
781
|
AgentAlias.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken"))
|
776
782
|
AgentAlias.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
777
783
|
AgentAlias.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
@@ -798,6 +804,7 @@ module Aws::BedrockAgent
|
|
798
804
|
AgentAliasSummary.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location_name: "agentAliasId"))
|
799
805
|
AgentAliasSummary.add_member(:agent_alias_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentAliasName"))
|
800
806
|
AgentAliasSummary.add_member(:agent_alias_status, Shapes::ShapeRef.new(shape: AgentAliasStatus, required: true, location_name: "agentAliasStatus"))
|
807
|
+
AgentAliasSummary.add_member(:alias_invocation_state, Shapes::ShapeRef.new(shape: AliasInvocationState, location_name: "aliasInvocationState"))
|
801
808
|
AgentAliasSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
802
809
|
AgentAliasSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
803
810
|
AgentAliasSummary.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: AgentAliasRoutingConfiguration, location_name: "routingConfiguration"))
|
@@ -2494,6 +2501,11 @@ module Aws::BedrockAgent
|
|
2494
2501
|
|
2495
2502
|
S3Prefixes.member = Shapes::ShapeRef.new(shape: S3Prefix)
|
2496
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
|
+
|
2497
2509
|
SalesforceCrawlerConfiguration.add_member(:filter_configuration, Shapes::ShapeRef.new(shape: CrawlFilterConfiguration, location_name: "filterConfiguration"))
|
2498
2510
|
SalesforceCrawlerConfiguration.struct_class = Types::SalesforceCrawlerConfiguration
|
2499
2511
|
|
@@ -2575,6 +2587,7 @@ module Aws::BedrockAgent
|
|
2575
2587
|
StorageConfiguration.add_member(:pinecone_configuration, Shapes::ShapeRef.new(shape: PineconeConfiguration, location_name: "pineconeConfiguration"))
|
2576
2588
|
StorageConfiguration.add_member(:rds_configuration, Shapes::ShapeRef.new(shape: RdsConfiguration, location_name: "rdsConfiguration"))
|
2577
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"))
|
2578
2591
|
StorageConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: KnowledgeBaseStorageType, required: true, location_name: "type"))
|
2579
2592
|
StorageConfiguration.struct_class = Types::StorageConfiguration
|
2580
2593
|
|
@@ -2738,6 +2751,7 @@ module Aws::BedrockAgent
|
|
2738
2751
|
UpdateAgentAliasRequest.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location: "uri", location_name: "agentAliasId"))
|
2739
2752
|
UpdateAgentAliasRequest.add_member(:agent_alias_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "agentAliasName"))
|
2740
2753
|
UpdateAgentAliasRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
|
2754
|
+
UpdateAgentAliasRequest.add_member(:alias_invocation_state, Shapes::ShapeRef.new(shape: AliasInvocationState, location_name: "aliasInvocationState"))
|
2741
2755
|
UpdateAgentAliasRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
2742
2756
|
UpdateAgentAliasRequest.add_member(:routing_configuration, Shapes::ShapeRef.new(shape: AgentAliasRoutingConfiguration, location_name: "routingConfiguration"))
|
2743
2757
|
UpdateAgentAliasRequest.struct_class = Types::UpdateAgentAliasRequest
|
@@ -386,7 +386,7 @@ module Aws::BedrockAgent
|
|
386
386
|
#
|
387
387
|
#
|
388
388
|
#
|
389
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
389
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
|
390
390
|
# @return [Hash<String,String>]
|
391
391
|
#
|
392
392
|
# @!attribute [rw] parent_action_signature
|
@@ -471,6 +471,13 @@ module Aws::BedrockAgent
|
|
471
471
|
# The unique identifier of the agent.
|
472
472
|
# @return [String]
|
473
473
|
#
|
474
|
+
# @!attribute [rw] alias_invocation_state
|
475
|
+
# The invocation state for the agent alias. If the agent alias is
|
476
|
+
# running, the value is `ACCEPT_INVOCATIONS`. If the agent alias is
|
477
|
+
# paused, the value is `REJECT_INVOCATIONS`. Use the
|
478
|
+
# `UpdateAgentAlias` operation to change the invocation state.
|
479
|
+
# @return [String]
|
480
|
+
#
|
474
481
|
# @!attribute [rw] client_token
|
475
482
|
# A unique, case-sensitive identifier to ensure that the API request
|
476
483
|
# completes no more than one time. If this token matches a previous
|
@@ -512,6 +519,7 @@ module Aws::BedrockAgent
|
|
512
519
|
:agent_alias_name,
|
513
520
|
:agent_alias_status,
|
514
521
|
:agent_id,
|
522
|
+
:alias_invocation_state,
|
515
523
|
:client_token,
|
516
524
|
:created_at,
|
517
525
|
:description,
|
@@ -583,6 +591,13 @@ module Aws::BedrockAgent
|
|
583
591
|
# The status of the alias.
|
584
592
|
# @return [String]
|
585
593
|
#
|
594
|
+
# @!attribute [rw] alias_invocation_state
|
595
|
+
# The invocation state for the agent alias. If the agent alias is
|
596
|
+
# running, the value is `ACCEPT_INVOCATIONS`. If the agent alias is
|
597
|
+
# paused, the value is `REJECT_INVOCATIONS`. Use the
|
598
|
+
# `UpdateAgentAlias` operation to change the invocation state.
|
599
|
+
# @return [String]
|
600
|
+
#
|
586
601
|
# @!attribute [rw] created_at
|
587
602
|
# The time at which the alias of the agent was created.
|
588
603
|
# @return [Time]
|
@@ -606,6 +621,7 @@ module Aws::BedrockAgent
|
|
606
621
|
:agent_alias_id,
|
607
622
|
:agent_alias_name,
|
608
623
|
:agent_alias_status,
|
624
|
+
:alias_invocation_state,
|
609
625
|
:created_at,
|
610
626
|
:description,
|
611
627
|
:routing_configuration,
|
@@ -1773,7 +1789,7 @@ module Aws::BedrockAgent
|
|
1773
1789
|
#
|
1774
1790
|
#
|
1775
1791
|
#
|
1776
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
1792
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
|
1777
1793
|
# @return [String]
|
1778
1794
|
#
|
1779
1795
|
# @!attribute [rw] parent_action_group_signature_params
|
@@ -1786,7 +1802,7 @@ module Aws::BedrockAgent
|
|
1786
1802
|
#
|
1787
1803
|
#
|
1788
1804
|
#
|
1789
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
1805
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
|
1790
1806
|
# @return [Hash<String,String>]
|
1791
1807
|
#
|
1792
1808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateAgentActionGroupRequest AWS API Documentation
|
@@ -7118,7 +7134,11 @@ module Aws::BedrockAgent
|
|
7118
7134
|
# inputs from nodes outside the loop and from previous loop
|
7119
7135
|
# iterations.
|
7120
7136
|
#
|
7121
|
-
# * Body nodes -
|
7137
|
+
# * Body nodes - The processing nodes that execute within each loop
|
7138
|
+
# iteration. These can be nodes for handling data in your flow, such
|
7139
|
+
# as a prompt or Lambda function nodes. Some node types aren't
|
7140
|
+
# supported inside a DoWhile loop body. For more information, see
|
7141
|
+
# [LoopIncompatibleNodeTypeFlowValidationDetails][1].
|
7122
7142
|
#
|
7123
7143
|
# * `LoopController` - The node that evaluates whether the loop should
|
7124
7144
|
# continue or exit based on a condition.
|
@@ -7127,6 +7147,10 @@ module Aws::BedrockAgent
|
|
7127
7147
|
# continues until a specified condition is met or a maximum number of
|
7128
7148
|
# iterations is reached.
|
7129
7149
|
#
|
7150
|
+
#
|
7151
|
+
#
|
7152
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_LoopIncompatibleNodeTypeFlowValidationDetails.html
|
7153
|
+
#
|
7130
7154
|
# @!attribute [rw] definition
|
7131
7155
|
# The definition of the DoWhile loop nodes and connections between
|
7132
7156
|
# nodes in the flow.
|
@@ -8268,7 +8292,7 @@ module Aws::BedrockAgent
|
|
8268
8292
|
# skips that step. The default state for each `promptType` is as
|
8269
8293
|
# follows.
|
8270
8294
|
#
|
8271
|
-
# * `PRE_PROCESSING` – `
|
8295
|
+
# * `PRE_PROCESSING` – `DISABLED`
|
8272
8296
|
#
|
8273
8297
|
# * `ORCHESTRATION` – `ENABLED`
|
8274
8298
|
#
|
@@ -9388,6 +9412,36 @@ module Aws::BedrockAgent
|
|
9388
9412
|
include Aws::Structure
|
9389
9413
|
end
|
9390
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
|
+
|
9391
9445
|
# The configuration of the Salesforce content. For example, configuring
|
9392
9446
|
# specific types of Salesforce content.
|
9393
9447
|
#
|
@@ -9835,6 +9889,12 @@ module Aws::BedrockAgent
|
|
9835
9889
|
# Enterprise Cloud.
|
9836
9890
|
# @return [Types::RedisEnterpriseCloudConfiguration]
|
9837
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
|
+
#
|
9838
9898
|
# @!attribute [rw] type
|
9839
9899
|
# The vector store service in which the knowledge base is stored.
|
9840
9900
|
# @return [String]
|
@@ -9849,6 +9909,7 @@ module Aws::BedrockAgent
|
|
9849
9909
|
:pinecone_configuration,
|
9850
9910
|
:rds_configuration,
|
9851
9911
|
:redis_enterprise_cloud_configuration,
|
9912
|
+
:s3_vectors_configuration,
|
9852
9913
|
:type)
|
9853
9914
|
SENSITIVE = []
|
9854
9915
|
include Aws::Structure
|
@@ -10552,7 +10613,7 @@ module Aws::BedrockAgent
|
|
10552
10613
|
#
|
10553
10614
|
#
|
10554
10615
|
#
|
10555
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
10616
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
|
10556
10617
|
# [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
|
10557
10618
|
# @return [String]
|
10558
10619
|
#
|
@@ -10566,7 +10627,7 @@ module Aws::BedrockAgent
|
|
10566
10627
|
#
|
10567
10628
|
#
|
10568
10629
|
#
|
10569
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/
|
10630
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
|
10570
10631
|
# @return [Hash<String,String>]
|
10571
10632
|
#
|
10572
10633
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentActionGroupRequest AWS API Documentation
|
@@ -10611,6 +10672,14 @@ module Aws::BedrockAgent
|
|
10611
10672
|
# The unique identifier of the agent.
|
10612
10673
|
# @return [String]
|
10613
10674
|
#
|
10675
|
+
# @!attribute [rw] alias_invocation_state
|
10676
|
+
# The invocation state for the agent alias. To pause the agent alias,
|
10677
|
+
# set the value to `REJECT_INVOCATIONS`. To start the agent alias
|
10678
|
+
# running again, set the value to `ACCEPT_INVOCATIONS`. Use the
|
10679
|
+
# `GetAgentAlias`, or `ListAgentAliases`, operation to get the
|
10680
|
+
# invocation state of an agent alias.
|
10681
|
+
# @return [String]
|
10682
|
+
#
|
10614
10683
|
# @!attribute [rw] description
|
10615
10684
|
# Specifies a new description for the alias.
|
10616
10685
|
# @return [String]
|
@@ -10625,6 +10694,7 @@ module Aws::BedrockAgent
|
|
10625
10694
|
:agent_alias_id,
|
10626
10695
|
:agent_alias_name,
|
10627
10696
|
:agent_id,
|
10697
|
+
:alias_invocation_state,
|
10628
10698
|
:description,
|
10629
10699
|
:routing_configuration)
|
10630
10700
|
SENSITIVE = []
|
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
|
@@ -1864,6 +1869,7 @@ module Aws
|
|
1864
1869
|
agent_alias_id: ::String,
|
1865
1870
|
agent_alias_name: ::String,
|
1866
1871
|
agent_id: ::String,
|
1872
|
+
?alias_invocation_state: ("ACCEPT_INVOCATIONS" | "REJECT_INVOCATIONS"),
|
1867
1873
|
?description: ::String,
|
1868
1874
|
?routing_configuration: Array[
|
1869
1875
|
{
|
@@ -2555,7 +2561,12 @@ module Aws
|
|
2555
2561
|
},
|
2556
2562
|
vector_index_name: ::String
|
2557
2563
|
}?,
|
2558
|
-
|
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")
|
2559
2570
|
}
|
2560
2571
|
) -> _UpdateKnowledgeBaseResponseSuccess
|
2561
2572
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -102,6 +102,7 @@ module Aws::BedrockAgent
|
|
102
102
|
attr_accessor agent_alias_name: ::String
|
103
103
|
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING" | "DISSOCIATED")
|
104
104
|
attr_accessor agent_id: ::String
|
105
|
+
attr_accessor alias_invocation_state: ("ACCEPT_INVOCATIONS" | "REJECT_INVOCATIONS")
|
105
106
|
attr_accessor client_token: ::String
|
106
107
|
attr_accessor created_at: ::Time
|
107
108
|
attr_accessor description: ::String
|
@@ -128,6 +129,7 @@ module Aws::BedrockAgent
|
|
128
129
|
attr_accessor agent_alias_id: ::String
|
129
130
|
attr_accessor agent_alias_name: ::String
|
130
131
|
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING" | "DISSOCIATED")
|
132
|
+
attr_accessor alias_invocation_state: ("ACCEPT_INVOCATIONS" | "REJECT_INVOCATIONS")
|
131
133
|
attr_accessor created_at: ::Time
|
132
134
|
attr_accessor description: ::String
|
133
135
|
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
@@ -2392,6 +2394,13 @@ module Aws::BedrockAgent
|
|
2392
2394
|
SENSITIVE: []
|
2393
2395
|
end
|
2394
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
|
+
|
2395
2404
|
class SalesforceCrawlerConfiguration
|
2396
2405
|
attr_accessor filter_configuration: Types::CrawlFilterConfiguration
|
2397
2406
|
SENSITIVE: []
|
@@ -2502,7 +2511,8 @@ module Aws::BedrockAgent
|
|
2502
2511
|
attr_accessor pinecone_configuration: Types::PineconeConfiguration
|
2503
2512
|
attr_accessor rds_configuration: Types::RdsConfiguration
|
2504
2513
|
attr_accessor redis_enterprise_cloud_configuration: Types::RedisEnterpriseCloudConfiguration
|
2505
|
-
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")
|
2506
2516
|
SENSITIVE: []
|
2507
2517
|
end
|
2508
2518
|
|
@@ -2738,6 +2748,7 @@ module Aws::BedrockAgent
|
|
2738
2748
|
attr_accessor agent_alias_id: ::String
|
2739
2749
|
attr_accessor agent_alias_name: ::String
|
2740
2750
|
attr_accessor agent_id: ::String
|
2751
|
+
attr_accessor alias_invocation_state: ("ACCEPT_INVOCATIONS" | "REJECT_INVOCATIONS")
|
2741
2752
|
attr_accessor description: ::String
|
2742
2753
|
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
2743
2754
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrockagent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.59.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.225.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.225.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -83,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
83
|
requirements:
|
84
84
|
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: '2.
|
86
|
+
version: '2.7'
|
87
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - ">="
|