list_iam_policy_assignments_for_user
¶
list_iam_policy_assignments_for_user(
aws_account_id: AwsAccountId,
user_name: UserName,
namespace: Namespace,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxResults] = None,
) -> ListIAMPolicyAssignmentsForUserResponse
Lists all of the IAM policy assignments, including the Amazon Resource Names (ARNs), for the IAM policies assigned to the specified user and group, or groups that the user belongs to.
Parameters:
-
aws_account_id(AwsAccountId) –The ID of the Amazon Web Services account that contains the assignments.
-
user_name(UserName) –The name of the user.
-
next_token(Optional[String], default:None) –The token for the next set of results, or null if there are no more results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to be returned per request.
-
namespace(Namespace) –The namespace of the assignment.
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.
-
ConcurrentUpdatingException–A resource is already in a state that indicates an operation is happening that must complete before a new update can be applied.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
ResourceExistsException–The resource specified already exists.
-
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/quick_sight.py
13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 | |