UpdateKnowledgeBaseRequest
¶
Source code in docs_src/capo_bedrock_agent/types/update_knowledge_base_request.py
description
instance-attribute
¶
description: NotRequired[Description]
Specifies a new description for the knowledge base.
knowledge_base_configuration
instance-attribute
¶
knowledge_base_configuration: KnowledgeBaseConfiguration
Specifies the configuration for the embeddings model used for the knowledge base. You must use the same configuration as when the knowledge base was created.
knowledge_base_id
instance-attribute
¶
knowledge_base_id: Id
The unique identifier of the knowledge base to update.
metadata_configurations
instance-attribute
¶
metadata_configurations: NotRequired[MetadataConfigurations]
Specifies up to 30 custom metadata field configurations for a managed knowledge base.
The list that you specify replaces the existing configurations. The update removes any configuration that you leave out, and its field is no longer searchable. An empty list removes all configurations. If you don't specify a list, the existing configurations don't change.
role_arn
instance-attribute
¶
role_arn: KnowledgeBaseRoleArn
Specifies a different Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the knowledge base.
storage_configuration
instance-attribute
¶
storage_configuration: NotRequired[StorageConfiguration]
Specifies the configuration for the vector store used for the knowledge base. You must use the same configuration as when the knowledge base was created.
trusted_identity_sources
instance-attribute
¶
trusted_identity_sources: NotRequired[TrustedIdentitySources]
Specifies up to 5 identity sources that you want the knowledge base to trust for identity-enhanced sessions. An identity source is an AWS IAM Identity Center identity store or an AWS Identity and Access Management (IAM) identity provider.
The list that you specify replaces the existing list. To remove all identity sources, specify an empty list. If you don't specify a list, the knowledge base keeps its current identity sources.
user_context_mode_for_retrieval
instance-attribute
¶
user_context_mode_for_retrieval: NotRequired[UserContextModeForRetrieval]
Specifies the end-user identity that you want the knowledge base to use to filter retrieval results by document access controls. If you don't specify a value, the knowledge base keeps its current value.