aws-sdk-bedrockagent 1.98.0 → 1.100.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 +58 -1
- data/lib/aws-sdk-bedrockagent/client_api.rb +21 -0
- data/lib/aws-sdk-bedrockagent/types.rb +90 -2
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +20 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e05987ad8837fcefe63d8d1cb439600c431644897890ea0eae6844e495d455d5
|
|
4
|
+
data.tar.gz: d815dccbc60d3bb0a27e37de5e607bce4e12ccc1403ff27f40734fd4b441be20
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 477f15b85b0ed93aeae33e4b5ec158cf38d1cc59b905d255b6c3eebadc6bcdf0faec141426933f5bfdeb5fdc7ff02f4369347276941ce2e5746e189ef4b88cd7
|
|
7
|
+
data.tar.gz: 77dadc58f488f77811b6d34b32148366443a63353eb75164cdd4434d9c708855815f2de1dc9e0facfd6b15d2d57da569a7ee01531cd48c6df100735f6de83395
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.100.0 (2026-12-04)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.99.0 (2026-12-01)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds support for identity-enhanced retrieval in Amazon Bedrock Knowledge Bases. CreateKnowledgeBase and UpdateKnowledgeBase now accept userContextModeForRetrieval and trustedIdentitySources to control which end-user identity is used for document access filtering.
|
|
13
|
+
|
|
4
14
|
1.98.0 (2026-11-18)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.100.0
|
|
@@ -2343,6 +2343,22 @@ module Aws::BedrockAgent
|
|
|
2343
2343
|
# Contains details about the configuration of the vector database used
|
|
2344
2344
|
# for the knowledge base.
|
|
2345
2345
|
#
|
|
2346
|
+
# @option params [String] :user_context_mode_for_retrieval
|
|
2347
|
+
# Specifies the end-user identity that you want the knowledge base to
|
|
2348
|
+
# use to filter retrieval results by document access controls. If you
|
|
2349
|
+
# don't specify a value, the knowledge base uses `API_INPUT_ONLY`.
|
|
2350
|
+
#
|
|
2351
|
+
# @option params [Array<Types::TrustedIdentitySource>] :trusted_identity_sources
|
|
2352
|
+
# Specifies up to 5 identity sources that you want the knowledge base to
|
|
2353
|
+
# trust for identity-enhanced sessions. An identity source is an AWS IAM
|
|
2354
|
+
# Identity Center identity store or an AWS Identity and Access
|
|
2355
|
+
# Management (IAM) identity provider.
|
|
2356
|
+
#
|
|
2357
|
+
# By default, the knowledge base trusts sessions from an identity store
|
|
2358
|
+
# or identity provider in your account. Use this list to also trust
|
|
2359
|
+
# identity sources in other accounts. The list applies only when
|
|
2360
|
+
# `userContextModeForRetrieval` isn't `API_INPUT_ONLY`.
|
|
2361
|
+
#
|
|
2346
2362
|
# @option params [Hash<String,String>] :tags
|
|
2347
2363
|
# Specify the key-value pairs for the tags that you want to attach to
|
|
2348
2364
|
# your knowledge base in this object.
|
|
@@ -2577,6 +2593,13 @@ module Aws::BedrockAgent
|
|
|
2577
2593
|
# index_name: "IndexName",
|
|
2578
2594
|
# },
|
|
2579
2595
|
# },
|
|
2596
|
+
# user_context_mode_for_retrieval: "API_INPUT_ONLY", # accepts API_INPUT_ONLY, IDENTITY_ENHANCED_SESSION_ELSE_API_INPUT, IDENTITY_ENHANCED_SESSION
|
|
2597
|
+
# trusted_identity_sources: [
|
|
2598
|
+
# {
|
|
2599
|
+
# identity_store_arn: "IdentityStoreArn",
|
|
2600
|
+
# identity_provider_arn: "IdentityProviderArn",
|
|
2601
|
+
# },
|
|
2602
|
+
# ],
|
|
2580
2603
|
# tags: {
|
|
2581
2604
|
# "TagKey" => "TagValue",
|
|
2582
2605
|
# },
|
|
@@ -2696,6 +2719,10 @@ module Aws::BedrockAgent
|
|
|
2696
2719
|
# resp.knowledge_base.metadata_configurations[0].name #=> String
|
|
2697
2720
|
# resp.knowledge_base.metadata_configurations[0].type #=> String, one of "STRING", "STRING_LIST"
|
|
2698
2721
|
# resp.knowledge_base.metadata_configurations[0].searchability #=> String, one of "ENABLED", "DISABLED"
|
|
2722
|
+
# resp.knowledge_base.user_context_mode_for_retrieval #=> String, one of "API_INPUT_ONLY", "IDENTITY_ENHANCED_SESSION_ELSE_API_INPUT", "IDENTITY_ENHANCED_SESSION"
|
|
2723
|
+
# resp.knowledge_base.trusted_identity_sources #=> Array
|
|
2724
|
+
# resp.knowledge_base.trusted_identity_sources[0].identity_store_arn #=> String
|
|
2725
|
+
# resp.knowledge_base.trusted_identity_sources[0].identity_provider_arn #=> String
|
|
2699
2726
|
#
|
|
2700
2727
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateKnowledgeBase AWS API Documentation
|
|
2701
2728
|
#
|
|
@@ -5009,6 +5036,10 @@ module Aws::BedrockAgent
|
|
|
5009
5036
|
# resp.knowledge_base.metadata_configurations[0].name #=> String
|
|
5010
5037
|
# resp.knowledge_base.metadata_configurations[0].type #=> String, one of "STRING", "STRING_LIST"
|
|
5011
5038
|
# resp.knowledge_base.metadata_configurations[0].searchability #=> String, one of "ENABLED", "DISABLED"
|
|
5039
|
+
# resp.knowledge_base.user_context_mode_for_retrieval #=> String, one of "API_INPUT_ONLY", "IDENTITY_ENHANCED_SESSION_ELSE_API_INPUT", "IDENTITY_ENHANCED_SESSION"
|
|
5040
|
+
# resp.knowledge_base.trusted_identity_sources #=> Array
|
|
5041
|
+
# resp.knowledge_base.trusted_identity_sources[0].identity_store_arn #=> String
|
|
5042
|
+
# resp.knowledge_base.trusted_identity_sources[0].identity_provider_arn #=> String
|
|
5012
5043
|
#
|
|
5013
5044
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetKnowledgeBase AWS API Documentation
|
|
5014
5045
|
#
|
|
@@ -8270,6 +8301,21 @@ module Aws::BedrockAgent
|
|
|
8270
8301
|
# no longer searchable. An empty list removes all configurations. If you
|
|
8271
8302
|
# don't specify a list, the existing configurations don't change.
|
|
8272
8303
|
#
|
|
8304
|
+
# @option params [String] :user_context_mode_for_retrieval
|
|
8305
|
+
# Specifies the end-user identity that you want the knowledge base to
|
|
8306
|
+
# use to filter retrieval results by document access controls. If you
|
|
8307
|
+
# don't specify a value, the knowledge base keeps its current value.
|
|
8308
|
+
#
|
|
8309
|
+
# @option params [Array<Types::TrustedIdentitySource>] :trusted_identity_sources
|
|
8310
|
+
# Specifies up to 5 identity sources that you want the knowledge base to
|
|
8311
|
+
# trust for identity-enhanced sessions. An identity source is an AWS IAM
|
|
8312
|
+
# Identity Center identity store or an AWS Identity and Access
|
|
8313
|
+
# Management (IAM) identity provider.
|
|
8314
|
+
#
|
|
8315
|
+
# The list that you specify replaces the existing list. To remove all
|
|
8316
|
+
# identity sources, specify an empty list. If you don't specify a list,
|
|
8317
|
+
# the knowledge base keeps its current identity sources.
|
|
8318
|
+
#
|
|
8273
8319
|
# @return [Types::UpdateKnowledgeBaseResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8274
8320
|
#
|
|
8275
8321
|
# * {Types::UpdateKnowledgeBaseResponse#knowledge_base #knowledge_base} => Types::KnowledgeBase
|
|
@@ -8507,6 +8553,13 @@ module Aws::BedrockAgent
|
|
|
8507
8553
|
# searchability: "ENABLED", # required, accepts ENABLED, DISABLED
|
|
8508
8554
|
# },
|
|
8509
8555
|
# ],
|
|
8556
|
+
# user_context_mode_for_retrieval: "API_INPUT_ONLY", # accepts API_INPUT_ONLY, IDENTITY_ENHANCED_SESSION_ELSE_API_INPUT, IDENTITY_ENHANCED_SESSION
|
|
8557
|
+
# trusted_identity_sources: [
|
|
8558
|
+
# {
|
|
8559
|
+
# identity_store_arn: "IdentityStoreArn",
|
|
8560
|
+
# identity_provider_arn: "IdentityProviderArn",
|
|
8561
|
+
# },
|
|
8562
|
+
# ],
|
|
8510
8563
|
# })
|
|
8511
8564
|
#
|
|
8512
8565
|
# @example Response structure
|
|
@@ -8623,6 +8676,10 @@ module Aws::BedrockAgent
|
|
|
8623
8676
|
# resp.knowledge_base.metadata_configurations[0].name #=> String
|
|
8624
8677
|
# resp.knowledge_base.metadata_configurations[0].type #=> String, one of "STRING", "STRING_LIST"
|
|
8625
8678
|
# resp.knowledge_base.metadata_configurations[0].searchability #=> String, one of "ENABLED", "DISABLED"
|
|
8679
|
+
# resp.knowledge_base.user_context_mode_for_retrieval #=> String, one of "API_INPUT_ONLY", "IDENTITY_ENHANCED_SESSION_ELSE_API_INPUT", "IDENTITY_ENHANCED_SESSION"
|
|
8680
|
+
# resp.knowledge_base.trusted_identity_sources #=> Array
|
|
8681
|
+
# resp.knowledge_base.trusted_identity_sources[0].identity_store_arn #=> String
|
|
8682
|
+
# resp.knowledge_base.trusted_identity_sources[0].identity_provider_arn #=> String
|
|
8626
8683
|
#
|
|
8627
8684
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateKnowledgeBase AWS API Documentation
|
|
8628
8685
|
#
|
|
@@ -9258,7 +9315,7 @@ module Aws::BedrockAgent
|
|
|
9258
9315
|
tracer: tracer
|
|
9259
9316
|
)
|
|
9260
9317
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
|
9261
|
-
context[:gem_version] = '1.
|
|
9318
|
+
context[:gem_version] = '1.100.0'
|
|
9262
9319
|
Seahorse::Client::Request.new(handlers, context)
|
|
9263
9320
|
end
|
|
9264
9321
|
|
|
@@ -341,6 +341,8 @@ module Aws::BedrockAgent
|
|
|
341
341
|
HostHeader = Shapes::StringShape.new(name: 'HostHeader')
|
|
342
342
|
HttpsUrl = Shapes::StringShape.new(name: 'HttpsUrl')
|
|
343
343
|
Id = Shapes::StringShape.new(name: 'Id')
|
|
344
|
+
IdentityProviderArn = Shapes::StringShape.new(name: 'IdentityProviderArn')
|
|
345
|
+
IdentityStoreArn = Shapes::StringShape.new(name: 'IdentityStoreArn')
|
|
344
346
|
ImageExtractionConfiguration = Shapes::StructureShape.new(name: 'ImageExtractionConfiguration')
|
|
345
347
|
IncludeExclude = Shapes::StringShape.new(name: 'IncludeExclude')
|
|
346
348
|
IncludedData = Shapes::StringShape.new(name: 'IncludedData')
|
|
@@ -726,6 +728,8 @@ module Aws::BedrockAgent
|
|
|
726
728
|
TransformationFunction = Shapes::StructureShape.new(name: 'TransformationFunction')
|
|
727
729
|
TransformationLambdaConfiguration = Shapes::StructureShape.new(name: 'TransformationLambdaConfiguration')
|
|
728
730
|
Transformations = Shapes::ListShape.new(name: 'Transformations')
|
|
731
|
+
TrustedIdentitySource = Shapes::UnionShape.new(name: 'TrustedIdentitySource')
|
|
732
|
+
TrustedIdentitySources = Shapes::ListShape.new(name: 'TrustedIdentitySources')
|
|
729
733
|
Type = Shapes::StringShape.new(name: 'Type')
|
|
730
734
|
UnfulfilledNodeInputFlowValidationDetails = Shapes::StructureShape.new(name: 'UnfulfilledNodeInputFlowValidationDetails')
|
|
731
735
|
UnknownConnectionConditionFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownConnectionConditionFlowValidationDetails')
|
|
@@ -766,6 +770,7 @@ module Aws::BedrockAgent
|
|
|
766
770
|
UrlConfiguration = Shapes::StructureShape.new(name: 'UrlConfiguration')
|
|
767
771
|
UserAgent = Shapes::StringShape.new(name: 'UserAgent')
|
|
768
772
|
UserAgentHeader = Shapes::StringShape.new(name: 'UserAgentHeader')
|
|
773
|
+
UserContextModeForRetrieval = Shapes::StringShape.new(name: 'UserContextModeForRetrieval')
|
|
769
774
|
ValidateFlowDefinitionRequest = Shapes::StructureShape.new(name: 'ValidateFlowDefinitionRequest')
|
|
770
775
|
ValidateFlowDefinitionResponse = Shapes::StructureShape.new(name: 'ValidateFlowDefinitionResponse')
|
|
771
776
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
|
@@ -1253,6 +1258,8 @@ module Aws::BedrockAgent
|
|
|
1253
1258
|
CreateKnowledgeBaseRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: KnowledgeBaseRoleArn, required: true, location_name: "roleArn"))
|
|
1254
1259
|
CreateKnowledgeBaseRequest.add_member(:knowledge_base_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseConfiguration, required: true, location_name: "knowledgeBaseConfiguration"))
|
|
1255
1260
|
CreateKnowledgeBaseRequest.add_member(:storage_configuration, Shapes::ShapeRef.new(shape: StorageConfiguration, location_name: "storageConfiguration"))
|
|
1261
|
+
CreateKnowledgeBaseRequest.add_member(:user_context_mode_for_retrieval, Shapes::ShapeRef.new(shape: UserContextModeForRetrieval, location_name: "userContextModeForRetrieval"))
|
|
1262
|
+
CreateKnowledgeBaseRequest.add_member(:trusted_identity_sources, Shapes::ShapeRef.new(shape: TrustedIdentitySources, location_name: "trustedIdentitySources"))
|
|
1256
1263
|
CreateKnowledgeBaseRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
|
1257
1264
|
CreateKnowledgeBaseRequest.struct_class = Types::CreateKnowledgeBaseRequest
|
|
1258
1265
|
|
|
@@ -2132,6 +2139,8 @@ module Aws::BedrockAgent
|
|
|
2132
2139
|
KnowledgeBase.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
|
|
2133
2140
|
KnowledgeBase.add_member(:failure_reasons, Shapes::ShapeRef.new(shape: FailureReasons, location_name: "failureReasons"))
|
|
2134
2141
|
KnowledgeBase.add_member(:metadata_configurations, Shapes::ShapeRef.new(shape: MetadataConfigurations, location_name: "metadataConfigurations"))
|
|
2142
|
+
KnowledgeBase.add_member(:user_context_mode_for_retrieval, Shapes::ShapeRef.new(shape: UserContextModeForRetrieval, location_name: "userContextModeForRetrieval"))
|
|
2143
|
+
KnowledgeBase.add_member(:trusted_identity_sources, Shapes::ShapeRef.new(shape: TrustedIdentitySources, location_name: "trustedIdentitySources"))
|
|
2135
2144
|
KnowledgeBase.struct_class = Types::KnowledgeBase
|
|
2136
2145
|
|
|
2137
2146
|
KnowledgeBaseConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: KnowledgeBaseType, required: true, location_name: "type"))
|
|
@@ -3066,6 +3075,16 @@ module Aws::BedrockAgent
|
|
|
3066
3075
|
|
|
3067
3076
|
Transformations.member = Shapes::ShapeRef.new(shape: Transformation)
|
|
3068
3077
|
|
|
3078
|
+
TrustedIdentitySource.add_member(:identity_store_arn, Shapes::ShapeRef.new(shape: IdentityStoreArn, location_name: "identityStoreArn"))
|
|
3079
|
+
TrustedIdentitySource.add_member(:identity_provider_arn, Shapes::ShapeRef.new(shape: IdentityProviderArn, location_name: "identityProviderArn"))
|
|
3080
|
+
TrustedIdentitySource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
3081
|
+
TrustedIdentitySource.add_member_subclass(:identity_store_arn, Types::TrustedIdentitySource::IdentityStoreArn)
|
|
3082
|
+
TrustedIdentitySource.add_member_subclass(:identity_provider_arn, Types::TrustedIdentitySource::IdentityProviderArn)
|
|
3083
|
+
TrustedIdentitySource.add_member_subclass(:unknown, Types::TrustedIdentitySource::Unknown)
|
|
3084
|
+
TrustedIdentitySource.struct_class = Types::TrustedIdentitySource
|
|
3085
|
+
|
|
3086
|
+
TrustedIdentitySources.member = Shapes::ShapeRef.new(shape: TrustedIdentitySource)
|
|
3087
|
+
|
|
3069
3088
|
UnfulfilledNodeInputFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
|
|
3070
3089
|
UnfulfilledNodeInputFlowValidationDetails.add_member(:input, Shapes::ShapeRef.new(shape: FlowNodeInputName, required: true, location_name: "input"))
|
|
3071
3090
|
UnfulfilledNodeInputFlowValidationDetails.struct_class = Types::UnfulfilledNodeInputFlowValidationDetails
|
|
@@ -3235,6 +3254,8 @@ module Aws::BedrockAgent
|
|
|
3235
3254
|
UpdateKnowledgeBaseRequest.add_member(:knowledge_base_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseConfiguration, required: true, location_name: "knowledgeBaseConfiguration"))
|
|
3236
3255
|
UpdateKnowledgeBaseRequest.add_member(:storage_configuration, Shapes::ShapeRef.new(shape: StorageConfiguration, location_name: "storageConfiguration"))
|
|
3237
3256
|
UpdateKnowledgeBaseRequest.add_member(:metadata_configurations, Shapes::ShapeRef.new(shape: MetadataConfigurations, location_name: "metadataConfigurations"))
|
|
3257
|
+
UpdateKnowledgeBaseRequest.add_member(:user_context_mode_for_retrieval, Shapes::ShapeRef.new(shape: UserContextModeForRetrieval, location_name: "userContextModeForRetrieval"))
|
|
3258
|
+
UpdateKnowledgeBaseRequest.add_member(:trusted_identity_sources, Shapes::ShapeRef.new(shape: TrustedIdentitySources, location_name: "trustedIdentitySources"))
|
|
3238
3259
|
UpdateKnowledgeBaseRequest.struct_class = Types::UpdateKnowledgeBaseRequest
|
|
3239
3260
|
|
|
3240
3261
|
UpdateKnowledgeBaseResponse.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBase, required: true, location_name: "knowledgeBase"))
|
|
@@ -2604,6 +2604,24 @@ module Aws::BedrockAgent
|
|
|
2604
2604
|
# for the knowledge base.
|
|
2605
2605
|
# @return [Types::StorageConfiguration]
|
|
2606
2606
|
#
|
|
2607
|
+
# @!attribute [rw] user_context_mode_for_retrieval
|
|
2608
|
+
# Specifies the end-user identity that you want the knowledge base to
|
|
2609
|
+
# use to filter retrieval results by document access controls. If you
|
|
2610
|
+
# don't specify a value, the knowledge base uses `API_INPUT_ONLY`.
|
|
2611
|
+
# @return [String]
|
|
2612
|
+
#
|
|
2613
|
+
# @!attribute [rw] trusted_identity_sources
|
|
2614
|
+
# Specifies up to 5 identity sources that you want the knowledge base
|
|
2615
|
+
# to trust for identity-enhanced sessions. An identity source is an
|
|
2616
|
+
# AWS IAM Identity Center identity store or an AWS Identity and Access
|
|
2617
|
+
# Management (IAM) identity provider.
|
|
2618
|
+
#
|
|
2619
|
+
# By default, the knowledge base trusts sessions from an identity
|
|
2620
|
+
# store or identity provider in your account. Use this list to also
|
|
2621
|
+
# trust identity sources in other accounts. The list applies only when
|
|
2622
|
+
# `userContextModeForRetrieval` isn't `API_INPUT_ONLY`.
|
|
2623
|
+
# @return [Array<Types::TrustedIdentitySource>]
|
|
2624
|
+
#
|
|
2607
2625
|
# @!attribute [rw] tags
|
|
2608
2626
|
# Specify the key-value pairs for the tags that you want to attach to
|
|
2609
2627
|
# your knowledge base in this object.
|
|
@@ -2618,6 +2636,8 @@ module Aws::BedrockAgent
|
|
|
2618
2636
|
:role_arn,
|
|
2619
2637
|
:knowledge_base_configuration,
|
|
2620
2638
|
:storage_configuration,
|
|
2639
|
+
:user_context_mode_for_retrieval,
|
|
2640
|
+
:trusted_identity_sources,
|
|
2621
2641
|
:tags)
|
|
2622
2642
|
SENSITIVE = []
|
|
2623
2643
|
include Aws::Structure
|
|
@@ -6907,6 +6927,17 @@ module Aws::BedrockAgent
|
|
|
6907
6927
|
# retry the update from `UPDATE_UNSUCCESSFUL`.
|
|
6908
6928
|
# @return [Array<Types::MetadataConfiguration>]
|
|
6909
6929
|
#
|
|
6930
|
+
# @!attribute [rw] user_context_mode_for_retrieval
|
|
6931
|
+
# The end-user identity that your knowledge base uses to filter
|
|
6932
|
+
# retrieval results by document access controls.
|
|
6933
|
+
# @return [String]
|
|
6934
|
+
#
|
|
6935
|
+
# @!attribute [rw] trusted_identity_sources
|
|
6936
|
+
# The identity sources that your knowledge base trusts for
|
|
6937
|
+
# identity-enhanced sessions, in addition to identity sources in your
|
|
6938
|
+
# account.
|
|
6939
|
+
# @return [Array<Types::TrustedIdentitySource>]
|
|
6940
|
+
#
|
|
6910
6941
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/KnowledgeBase AWS API Documentation
|
|
6911
6942
|
#
|
|
6912
6943
|
class KnowledgeBase < Struct.new(
|
|
@@ -6921,7 +6952,9 @@ module Aws::BedrockAgent
|
|
|
6921
6952
|
:created_at,
|
|
6922
6953
|
:updated_at,
|
|
6923
6954
|
:failure_reasons,
|
|
6924
|
-
:metadata_configurations
|
|
6955
|
+
:metadata_configurations,
|
|
6956
|
+
:user_context_mode_for_retrieval,
|
|
6957
|
+
:trusted_identity_sources)
|
|
6925
6958
|
SENSITIVE = []
|
|
6926
6959
|
include Aws::Structure
|
|
6927
6960
|
end
|
|
@@ -11774,6 +11807,42 @@ module Aws::BedrockAgent
|
|
|
11774
11807
|
include Aws::Structure
|
|
11775
11808
|
end
|
|
11776
11809
|
|
|
11810
|
+
# An identity source that you want a knowledge base to trust for
|
|
11811
|
+
# identity-enhanced sessions. Specify exactly one of `identityStoreArn`
|
|
11812
|
+
# or `identityProviderArn`.
|
|
11813
|
+
#
|
|
11814
|
+
# @note TrustedIdentitySource is a union - when making an API calls you must set exactly one of the members.
|
|
11815
|
+
#
|
|
11816
|
+
# @note TrustedIdentitySource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TrustedIdentitySource corresponding to the set member.
|
|
11817
|
+
#
|
|
11818
|
+
# @!attribute [rw] identity_store_arn
|
|
11819
|
+
# The Amazon Resource Name (ARN) of an AWS IAM Identity Center
|
|
11820
|
+
# identity store. The knowledge base trusts sessions whose user comes
|
|
11821
|
+
# from this identity store.
|
|
11822
|
+
# @return [String]
|
|
11823
|
+
#
|
|
11824
|
+
# @!attribute [rw] identity_provider_arn
|
|
11825
|
+
# The Amazon Resource Name (ARN) of an AWS Identity and Access
|
|
11826
|
+
# Management (IAM) Security Assertion Markup Language (SAML) or OpenID
|
|
11827
|
+
# Connect (OIDC) identity provider. The knowledge base trusts sessions
|
|
11828
|
+
# that are federated through this identity provider.
|
|
11829
|
+
# @return [String]
|
|
11830
|
+
#
|
|
11831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/TrustedIdentitySource AWS API Documentation
|
|
11832
|
+
#
|
|
11833
|
+
class TrustedIdentitySource < Struct.new(
|
|
11834
|
+
:identity_store_arn,
|
|
11835
|
+
:identity_provider_arn,
|
|
11836
|
+
:unknown)
|
|
11837
|
+
SENSITIVE = []
|
|
11838
|
+
include Aws::Structure
|
|
11839
|
+
include Aws::Structure::Union
|
|
11840
|
+
|
|
11841
|
+
class IdentityStoreArn < TrustedIdentitySource; end
|
|
11842
|
+
class IdentityProviderArn < TrustedIdentitySource; end
|
|
11843
|
+
class Unknown < TrustedIdentitySource; end
|
|
11844
|
+
end
|
|
11845
|
+
|
|
11777
11846
|
# Details about an unfulfilled node input with no valid connections.
|
|
11778
11847
|
#
|
|
11779
11848
|
# @!attribute [rw] node
|
|
@@ -12716,6 +12785,23 @@ module Aws::BedrockAgent
|
|
|
12716
12785
|
# change.
|
|
12717
12786
|
# @return [Array<Types::MetadataConfiguration>]
|
|
12718
12787
|
#
|
|
12788
|
+
# @!attribute [rw] user_context_mode_for_retrieval
|
|
12789
|
+
# Specifies the end-user identity that you want the knowledge base to
|
|
12790
|
+
# use to filter retrieval results by document access controls. If you
|
|
12791
|
+
# don't specify a value, the knowledge base keeps its current value.
|
|
12792
|
+
# @return [String]
|
|
12793
|
+
#
|
|
12794
|
+
# @!attribute [rw] trusted_identity_sources
|
|
12795
|
+
# Specifies up to 5 identity sources that you want the knowledge base
|
|
12796
|
+
# to trust for identity-enhanced sessions. An identity source is an
|
|
12797
|
+
# AWS IAM Identity Center identity store or an AWS Identity and Access
|
|
12798
|
+
# Management (IAM) identity provider.
|
|
12799
|
+
#
|
|
12800
|
+
# The list that you specify replaces the existing list. To remove all
|
|
12801
|
+
# identity sources, specify an empty list. If you don't specify a
|
|
12802
|
+
# list, the knowledge base keeps its current identity sources.
|
|
12803
|
+
# @return [Array<Types::TrustedIdentitySource>]
|
|
12804
|
+
#
|
|
12719
12805
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateKnowledgeBaseRequest AWS API Documentation
|
|
12720
12806
|
#
|
|
12721
12807
|
class UpdateKnowledgeBaseRequest < Struct.new(
|
|
@@ -12725,7 +12811,9 @@ module Aws::BedrockAgent
|
|
|
12725
12811
|
:role_arn,
|
|
12726
12812
|
:knowledge_base_configuration,
|
|
12727
12813
|
:storage_configuration,
|
|
12728
|
-
:metadata_configurations
|
|
12814
|
+
:metadata_configurations,
|
|
12815
|
+
:user_context_mode_for_retrieval,
|
|
12816
|
+
:trusted_identity_sources)
|
|
12729
12817
|
SENSITIVE = []
|
|
12730
12818
|
include Aws::Structure
|
|
12731
12819
|
end
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -306,6 +306,13 @@ module Aws
|
|
|
306
306
|
role_arn: ::String,
|
|
307
307
|
knowledge_base_configuration: Params::knowledge_base_configuration,
|
|
308
308
|
?storage_configuration: Params::storage_configuration,
|
|
309
|
+
?user_context_mode_for_retrieval: ("API_INPUT_ONLY" | "IDENTITY_ENHANCED_SESSION_ELSE_API_INPUT" | "IDENTITY_ENHANCED_SESSION"),
|
|
310
|
+
?trusted_identity_sources: Array[
|
|
311
|
+
{
|
|
312
|
+
identity_store_arn: ::String?,
|
|
313
|
+
identity_provider_arn: ::String?
|
|
314
|
+
}
|
|
315
|
+
],
|
|
309
316
|
?tags: Hash[::String, ::String]
|
|
310
317
|
) -> _CreateKnowledgeBaseResponseSuccess
|
|
311
318
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKnowledgeBaseResponseSuccess
|
|
@@ -1470,6 +1477,13 @@ module Aws
|
|
|
1470
1477
|
type: ("STRING" | "STRING_LIST"),
|
|
1471
1478
|
searchability: ("ENABLED" | "DISABLED")
|
|
1472
1479
|
}
|
|
1480
|
+
],
|
|
1481
|
+
?user_context_mode_for_retrieval: ("API_INPUT_ONLY" | "IDENTITY_ENHANCED_SESSION_ELSE_API_INPUT" | "IDENTITY_ENHANCED_SESSION"),
|
|
1482
|
+
?trusted_identity_sources: Array[
|
|
1483
|
+
{
|
|
1484
|
+
identity_store_arn: ::String?,
|
|
1485
|
+
identity_provider_arn: ::String?
|
|
1486
|
+
}
|
|
1473
1487
|
]
|
|
1474
1488
|
) -> _UpdateKnowledgeBaseResponseSuccess
|
|
1475
1489
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateKnowledgeBaseResponseSuccess
|
data/sig/types.rbs
CHANGED
|
@@ -555,6 +555,8 @@ module Aws::BedrockAgent
|
|
|
555
555
|
attr_accessor role_arn: ::String
|
|
556
556
|
attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
|
|
557
557
|
attr_accessor storage_configuration: Types::StorageConfiguration
|
|
558
|
+
attr_accessor user_context_mode_for_retrieval: ("API_INPUT_ONLY" | "IDENTITY_ENHANCED_SESSION_ELSE_API_INPUT" | "IDENTITY_ENHANCED_SESSION")
|
|
559
|
+
attr_accessor trusted_identity_sources: ::Array[Types::TrustedIdentitySource]
|
|
558
560
|
attr_accessor tags: ::Hash[::String, ::String]
|
|
559
561
|
SENSITIVE: []
|
|
560
562
|
end
|
|
@@ -1726,6 +1728,8 @@ module Aws::BedrockAgent
|
|
|
1726
1728
|
attr_accessor updated_at: ::Time
|
|
1727
1729
|
attr_accessor failure_reasons: ::Array[::String]
|
|
1728
1730
|
attr_accessor metadata_configurations: ::Array[Types::MetadataConfiguration]
|
|
1731
|
+
attr_accessor user_context_mode_for_retrieval: ("API_INPUT_ONLY" | "IDENTITY_ENHANCED_SESSION_ELSE_API_INPUT" | "IDENTITY_ENHANCED_SESSION")
|
|
1732
|
+
attr_accessor trusted_identity_sources: ::Array[Types::TrustedIdentitySource]
|
|
1729
1733
|
SENSITIVE: []
|
|
1730
1734
|
end
|
|
1731
1735
|
|
|
@@ -3007,6 +3011,20 @@ module Aws::BedrockAgent
|
|
|
3007
3011
|
SENSITIVE: []
|
|
3008
3012
|
end
|
|
3009
3013
|
|
|
3014
|
+
class TrustedIdentitySource
|
|
3015
|
+
attr_accessor identity_store_arn: ::String
|
|
3016
|
+
attr_accessor identity_provider_arn: ::String
|
|
3017
|
+
attr_accessor unknown: untyped
|
|
3018
|
+
SENSITIVE: []
|
|
3019
|
+
|
|
3020
|
+
class IdentityStoreArn < TrustedIdentitySource
|
|
3021
|
+
end
|
|
3022
|
+
class IdentityProviderArn < TrustedIdentitySource
|
|
3023
|
+
end
|
|
3024
|
+
class Unknown < TrustedIdentitySource
|
|
3025
|
+
end
|
|
3026
|
+
end
|
|
3027
|
+
|
|
3010
3028
|
class UnfulfilledNodeInputFlowValidationDetails
|
|
3011
3029
|
attr_accessor node: ::String
|
|
3012
3030
|
attr_accessor input: ::String
|
|
@@ -3233,6 +3251,8 @@ module Aws::BedrockAgent
|
|
|
3233
3251
|
attr_accessor knowledge_base_configuration: Types::KnowledgeBaseConfiguration
|
|
3234
3252
|
attr_accessor storage_configuration: Types::StorageConfiguration
|
|
3235
3253
|
attr_accessor metadata_configurations: ::Array[Types::MetadataConfiguration]
|
|
3254
|
+
attr_accessor user_context_mode_for_retrieval: ("API_INPUT_ONLY" | "IDENTITY_ENHANCED_SESSION_ELSE_API_INPUT" | "IDENTITY_ENHANCED_SESSION")
|
|
3255
|
+
attr_accessor trusted_identity_sources: ::Array[Types::TrustedIdentitySource]
|
|
3236
3256
|
SENSITIVE: []
|
|
3237
3257
|
end
|
|
3238
3258
|
|
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.100.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.274.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.274.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|