update_knowledge_base
¶
update_knowledge_base(
aws_account_id: KbAwsAccountId,
knowledge_base_id: KnowledgeBaseId,
*,
config_overrides: Optional[QuickSightClientConfig] = 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/quick_sight.py
19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 | |