update_knowledge_base_permissions
¶
update_knowledge_base_permissions(
aws_account_id: KbAwsAccountId,
knowledge_base_id: KnowledgeBaseId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
grant_permissions: Optional[ResourcePermissionList] = None,
revoke_permissions: Optional[ResourcePermissionList] = None,
) -> UpdateKnowledgeBasePermissionsResponse
Updates the resource permissions for a 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.
-
grant_permissions(Optional[ResourcePermissionList], default:None) –The resource permissions that you want to grant on the knowledge base.
-
revoke_permissions(Optional[ResourcePermissionList], default:None) –The resource permissions that you want to revoke from the knowledge base.
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
19831 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 | |