update_user_custom_permission
async
¶
update_user_custom_permission(
user_name: UserName,
aws_account_id: AwsAccountId,
namespace: Namespace,
custom_permissions_name: CustomPermissionsName,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = None,
) -> UpdateUserCustomPermissionResponse
Updates a custom permissions profile for a user.
Parameters:
-
user_name(UserName) –The username of the user that you want to update custom permissions for.
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the custom permission configuration that you want to update.
-
namespace(Namespace) –The namespace that the user belongs to.
-
custom_permissions_name(CustomPermissionsName) –The name of the custom permissions 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.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
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
21894 21895 21896 21897 21898 21899 21900 21901 21902 21903 21904 21905 21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 21936 21937 21938 21939 21940 21941 21942 21943 21944 21945 21946 21947 21948 21949 21950 21951 21952 21953 21954 | |