awswrangler.quicksight.list_iam_policy_assignments¶
- awswrangler.quicksight.list_iam_policy_assignments(status: str | None = None, namespace: str = 'default', account_id: str | None = None, boto3_session: Session | None = None) list[dict[str, Any]] ¶
List IAM policy assignments in the current Amazon QuickSight account.
- Parameters:
status (
str
|None
) – The status of the assignments. ‘ENABLED’|’DRAFT’|’DISABLED’namespace (
str
) – The namespace. Currently, you should set this to default .account_id (
str
|None
) – If None, the account ID will be inferred from your boto3 session.boto3_session (
Session
|None
) – The default boto3 session will be used if boto3_session isNone
.
- Return type:
list
[dict
[str
,Any
]]- Returns:
IAM policy assignments.
Examples
>>> import awswrangler as wr >>> assigns = wr.quicksight.list_iam_policy_assignments()