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
18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 | |