update_folder_permissions
¶
update_folder_permissions(
aws_account_id: AwsAccountId,
folder_id: RestrictiveResourceId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
grant_permissions: Optional[ResourcePermissionList] = None,
revoke_permissions: Optional[ResourcePermissionList] = None,
) -> UpdateFolderPermissionsResponse
Updates permissions of a folder.
Parameters:
-
aws_account_id(AwsAccountId) –The ID for the Amazon Web Services account that contains the folder to update.
-
folder_id(RestrictiveResourceId) –The ID of the folder.
-
grant_permissions(Optional[ResourcePermissionList], default:None) –The permissions that you want to grant on a resource. Namespace ARNs are not supported
Principalvalues for folder permissions. -
revoke_permissions(Optional[ResourcePermissionList], default:None) –The permissions that you want to revoke from a resource. Namespace ARNs are not supported
Principalvalues for folder permissions.
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.
-
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
19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 | |