---
title: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments"
method: GET
path: "/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments"
---

# GET /accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments

`GET /accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments`

Lists IAM policy assignments in the current Amazon QuickSight account.

## Path parameters

- `AwsAccountId` string, required
- `Namespace` string, required

## Query parameters

- `next-token` string
- `max-results` integer

## Request body

- object
  - `AssignmentStatus` 'ENABLED' | 'DRAFT' | 'DISABLED' — The status of the assignments.

## Response `200`

Success

- ListIAMPolicyAssignmentsResponse
  - `IAMPolicyAssignments` IAMPolicyAssignmentSummary[] — Information describing the IAM policy assignments.
    - `AssignmentName` string — Assignment name.
    - `AssignmentStatus` 'ENABLED' | 'DRAFT' | 'DISABLED' — Assignment status.
  - `NextToken` string — The token for the next set of results, or null if there are no more results.
  - `RequestId` string — The Amazon Web Services request ID for this operation.
  - `Status` integer — The HTTP status of the request.

## Other responses

- `480` — AccessDeniedException
- `481` — InvalidParameterValueException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InvalidNextTokenException
- `485` — InternalFailureException

---

[API](https://skmtc.net/aws/apis/quicksight.md) · [All operations](https://skmtc.net/aws/apis/quicksight/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/quicksight/versions/2f2bbd7e70ca/schema)
