update_role_custom_permission
¶
update_role_custom_permission(
custom_permissions_name: RoleName,
role: Role,
aws_account_id: AwsAccountId,
namespace: Namespace,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
) -> UpdateRoleCustomPermissionResponse
Updates the custom permissions that are associated with a role.
Parameters:
-
custom_permissions_name(RoleName) –The name of the custom permission that you want to update the role with.
-
role(Role) –The name of role tht you want to update.
-
aws_account_id(AwsAccountId) –The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon Quick Sight account.
-
namespace(Namespace) –The namespace that contains the role that you want to update.
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.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceNotFoundException–One or more resources can't be found.
-
ResourceUnavailableException–This resource is currently unavailable.
-
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
22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355 22356 22357 22358 22359 22360 22361 22362 22363 22364 22365 22366 22367 22368 22369 22370 22371 22372 22373 22374 22375 22376 22377 22378 22379 22380 22381 22382 | |