update_topic_permissions_v2
¶
update_topic_permissions_v2(
aws_account_id: AwsAccountId,
topic_id: TopicId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
grant_permissions: Optional[UpdateResourcePermissionList] = None,
revoke_permissions: Optional[UpdateResourcePermissionList] = None,
) -> UpdateTopicPermissionsV2Response
Updates the permissions of a topic.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the topic that you want to update the permissions for.
-
topic_id(TopicId) –The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
-
grant_permissions(Optional[UpdateResourcePermissionList], default:None) –The resource permissions that you want to grant to the topic.
-
revoke_permissions(Optional[UpdateResourcePermissionList], default:None) –The resource permissions that you want to revoke from the topic.
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.
-
LimitExceededException–A limit is exceeded.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
21295 21296 21297 21298 21299 21300 21301 21302 21303 21304 21305 21306 21307 21308 21309 21310 21311 21312 21313 21314 21315 21316 21317 21318 21319 21320 21321 21322 21323 21324 21325 21326 21327 21328 21329 21330 21331 21332 21333 21334 21335 21336 21337 21338 21339 21340 21341 21342 21343 21344 21345 21346 21347 21348 21349 21350 21351 21352 21353 21354 21355 21356 21357 21358 21359 21360 | |