update_folder_permissions
async
¶
update_folder_permissions(
aws_account_id: AwsAccountId,
folder_id: RestrictiveResourceId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 | |