update_role_custom_permission
async
¶
update_role_custom_permission(
custom_permissions_name: RoleName,
role: Role,
aws_account_id: AwsAccountId,
namespace: Namespace,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 20606 20607 20608 20609 20610 20611 20612 20613 20614 20615 20616 20617 20618 20619 20620 20621 20622 20623 20624 20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 20638 20639 20640 20641 | |