UpdateIndexRequest
¶
Source code in docs_src/capo_kendra/types/update_index_request.py
capacity_units
instance-attribute
¶
capacity_units: NotRequired[CapacityUnitsConfiguration]
Sets the number of additional document storage and query capacity units that should be used by the index. You can change the capacity of the index up to 5 times per day, or make 5 API calls.
If you are using extra storage units, you can't reduce the storage capacity below what is required to meet the storage needs for your index.
description
instance-attribute
¶
description: NotRequired[Description]
A new description for the index.
document_metadata_configuration_updates
instance-attribute
¶
document_metadata_configuration_updates: NotRequired[DocumentMetadataConfigurationList]
The document metadata configuration you want to update for the index. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
role_arn
instance-attribute
¶
role_arn: NotRequired[RoleArn]
An Identity and Access Management (IAM) role that gives Amazon Kendra permission to access Amazon CloudWatch logs and metrics.
user_context_policy
instance-attribute
¶
user_context_policy: NotRequired[UserContextPolicy]
The user context policy.
If you're using an Amazon Kendra Gen AI Enterprise Edition index, you can only use ATTRIBUTE_FILTER to filter search results by user context. If you're using an Amazon Kendra Gen AI Enterprise Edition index and you try to use USER_TOKEN to configure user context policy, Amazon Kendra returns a ValidationException error.
user_group_resolution_configuration
instance-attribute
¶
user_group_resolution_configuration: NotRequired[UserGroupResolutionConfiguration]
Gets users and groups from IAM Identity Center identity source. To configure this, see UserGroupResolutionConfiguration. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
If you're using an Amazon Kendra Gen AI Enterprise Edition index, UserGroupResolutionConfiguration isn't supported.
user_token_configurations
instance-attribute
¶
user_token_configurations: NotRequired[UserTokenConfigurationList]
The user token configuration.
If you're using an Amazon Kendra Gen AI Enterprise Edition index and you try to use UserTokenConfigurations to configure user context policy, Amazon Kendra returns a ValidationException error.