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
20531 20532 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 20549 20550 20551 20552 20553 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 | |