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
17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 | |