update_app_permissions
¶
update_app_permissions(
aws_account_id: AwsAccountId,
app_id: AppId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
grant_permissions: Optional[ResourcePermissionList] = None,
revoke_permissions: Optional[ResourcePermissionList] = None,
visibility: Optional[AppVisibility] = None,
) -> UpdateAppPermissionsResponse
Updates the resource permissions for an app. You can grant or revoke permissions and, optionally, change the app's visibility.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the app.
-
app_id(AppId) –The ID of the app.
-
grant_permissions(Optional[ResourcePermissionList], default:None) –The permissions that you want to grant on the app.
-
revoke_permissions(Optional[ResourcePermissionList], default:None) –The permissions that you want to revoke from the app.
-
visibility(Optional[AppVisibility], default:None) –The visibility to set for the app. Currently, only
PRIVATEis accepted, which removes public (anonymous) access from the app. If you don't specify a value, the app's visibility is unchanged. Setting an app toPUBLICthrough this operation is not supported.
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.
-
InvalidParameterException–One or more parameter 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
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 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 19696 19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 | |