awswrangler.quicksight.list_iam_policy_assignments_for_user(user_name: str, namespace: str = 'default', account_id: str | None = None, boto3_session: Session | None = None) List[Dict[str, Any]]

List all 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.

  • user_name (str) – The name of the user.

  • namespace (str) – The namespace. Currently, you should set this to default .

  • account_id (str, optional) – If None, the account ID will be inferred from your boto3 session.

  • boto3_session (boto3.Session(), optional) – Boto3 Session. The default boto3 session will be used if boto3_session receive None.


IAM policy assignments.

Return type:

List[Dict[str, Any]]


>>> import awswrangler as wr
>>> assigns = wr.quicksight.list_iam_policy_assignments_for_user()