update_knowledge_base
async
¶
update_knowledge_base(
aws_account_id: KbAwsAccountId,
knowledge_base_id: KnowledgeBaseId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
name: Optional[KnowledgeBaseName] = None,
description: Optional[KnowledgeBaseDescription] = None,
knowledge_base_configuration: Optional[KnowledgeBaseConfiguration] = None,
media_extraction_configuration: Optional[MediaExtractionConfiguration] = None,
is_email_notification_opted_for_ingestion_failures: Optional[Boolean] = None,
access_control_configuration: Optional[AccessControlConfiguration] = None,
) -> UpdateKnowledgeBaseResponse
Updates the properties of an existing knowledge base.
Parameters:
-
aws_account_id(KbAwsAccountId) –The ID of the Amazon Web Services account that contains the knowledge base.
-
knowledge_base_id(KnowledgeBaseId) –The unique identifier for the knowledge base.
-
name(Optional[KnowledgeBaseName], default:None) –The name of the knowledge base. If you don't specify a name, the existing name is retained.
-
description(Optional[KnowledgeBaseDescription], default:None) –A description for the knowledge base. If you don't specify a description, the existing description is retained.
-
is_email_notification_opted_for_ingestion_failures(Optional[Boolean], default:None) –Specifies whether email notifications are enabled for ingestion failures.
-
access_control_configuration(Optional[AccessControlConfiguration], default:None) –The access control configuration for the knowledge base. If you don't specify this parameter, the existing setting is retained.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
InvalidRequestException–You don't have this feature activated for your account. To fix this issue, contact Amazon Web Services support.
-
LimitExceededException–A limit is exceeded.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/async_quick_sight.py
21922 21923 21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 21936 21937 21938 21939 21940 21941 21942 21943 21944 21945 21946 21947 21948 21949 21950 21951 21952 21953 21954 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 21974 21975 21976 21977 21978 21979 21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 21994 21995 21996 21997 21998 21999 22000 22001 22002 22003 22004 22005 22006 22007 22008 22009 22010 22011 22012 22013 22014 22015 22016 22017 22018 22019 22020 22021 22022 22023 | |