update_index
async
¶
update_index(
application_id: ApplicationId,
index_id: IndexId,
*,
config_overrides: Optional[AsyncQBusinessClientConfig] = 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/async_q_business.py
4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 | |