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
21624 21625 21626 21627 21628 21629 21630 21631 21632 21633 21634 21635 21636 21637 21638 21639 21640 21641 21642 21643 21644 21645 21646 21647 21648 21649 21650 21651 21652 21653 21654 21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 21683 21684 21685 21686 21687 21688 21689 21690 21691 21692 21693 21694 21695 21696 21697 21698 21699 21700 21701 21702 21703 21704 21705 21706 21707 21708 21709 21710 21711 21712 21713 21714 21715 21716 21717 21718 21719 21720 21721 21722 21723 21724 | |