update_knowledge_base_permissions
async
¶
update_knowledge_base_permissions(
aws_account_id: KbAwsAccountId,
knowledge_base_id: KnowledgeBaseId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
20104 20105 20106 20107 20108 20109 20110 20111 20112 20113 20114 20115 20116 20117 20118 20119 20120 20121 20122 20123 20124 20125 20126 20127 20128 20129 20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 20155 20156 20157 20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 20169 20170 20171 | |