update_app_permissions
async
¶
update_app_permissions(
aws_account_id: AwsAccountId,
app_id: AppId,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 19926 19927 19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 | |