update_data_set_permissions
¶
update_data_set_permissions(
aws_account_id: AwsAccountId,
data_set_id: ResourceId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
grant_permissions: Optional[ResourcePermissionList] = None,
revoke_permissions: Optional[ResourcePermissionList] = None,
) -> UpdateDataSetPermissionsResponse
Updates the permissions on a dataset.
The permissions resource is arn:aws:quicksight:region:aws-account-id:dataset/data-set-id.
Parameters:
-
aws_account_id(AwsAccountId) –The Amazon Web Services account ID.
-
data_set_id(ResourceId) –The ID for the dataset whose permissions you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
-
grant_permissions(Optional[ResourcePermissionList], default:None) –The resource permissions that you want to grant to the dataset.
-
revoke_permissions(Optional[ResourcePermissionList], default:None) –The resource permissions that you want to revoke from the dataset.
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.
-
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
18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 | |