update_index
¶
update_index(
application_id: ApplicationId,
index_id: IndexId,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
display_name: Optional[ApplicationName] = None,
description: Optional[Description] = None,
capacity_configuration: Optional[IndexCapacityConfiguration] = None,
document_attribute_configurations: Optional[DocumentAttributeConfigurations] = None,
) -> UpdateIndexResponse
Updates an Amazon Q Business index.
Parameters:
-
application_id(ApplicationId) –The identifier of the Amazon Q Business application connected to the index.
-
index_id(IndexId) –The identifier of the Amazon Q Business index.
-
display_name(Optional[ApplicationName], default:None) –The name of the Amazon Q Business index.
-
description(Optional[Description], default:None) –The description of the Amazon Q Business index.
-
capacity_configuration(Optional[IndexCapacityConfiguration], default:None) –The storage capacity units you want to provision for your Amazon Q Business index. You can add and remove capacity to fit your usage needs.
-
document_attribute_configurations(Optional[DocumentAttributeConfigurations], default:None) –Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document. For more information, see Understanding document attributes.
Raises:
-
AccessDeniedException–You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
-
ConflictException–You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
-
ResourceNotFoundException–The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
-
ServiceQuotaExceededException–You have exceeded the set limits for your Amazon Q Business service.
-
ThrottlingException–The request was denied due to throttling. Reduce the number of requests and try again.
-
ValidationException–The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qbusiness/_services/q_business.py
4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 | |