---
title: "GET /accounts/{AwsAccountId}/data-sets"
method: GET
path: "/accounts/{AwsAccountId}/data-sets"
---

# GET /accounts/{AwsAccountId}/data-sets

`GET /accounts/{AwsAccountId}/data-sets`

Lists all of the datasets belonging to the current Amazon Web Services account in an Amazon Web Services Region.

The permissions resource is `arn:aws:quicksight:region:aws-account-id:dataset/*`.

## Path parameters

- `AwsAccountId` string, required

## Query parameters

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

## Response `200`

Success

- ListDataSetsResponse
  - `DataSetSummaries` DataSetSummary[] — The list of dataset summaries.
    - `Arn` string — The Amazon Resource Name (ARN) of the dataset.
    - `DataSetId` string — The ID of the dataset.
    - `Name` string — A display name for the dataset.
    - `CreatedTime` string, date-time — The time that this dataset was created.
    - `LastUpdatedTime` string, date-time — The last time that this dataset was updated.
    - `ImportMode` 'SPICE' | 'DIRECT_QUERY' — A value that indicates whether you want to import the data into SPICE.
    - `RowLevelPermissionDataSet` object — The row-level security configuration for the dataset.
      - `Namespace` string — The namespace associated with the dataset that contains permissions for RLS.
      - `Arn` string, required — The Amazon Resource Name (ARN) of the dataset that contains permissions for RLS.
      - `PermissionPolicy` 'GRANT_ACCESS' | 'DENY_ACCESS', required — The type of permissions to use when interpreting the permissions for RLS. <code>DENY_ACCESS</code> is included for backward compatibility only.
      - `FormatVersion` 'VERSION_1' | 'VERSION_2' — <p>The user or group rules associated with the dataset that contains permissions for RLS.</p> <p>By default, <code>FormatVersion</code> is <code>VERSION_1</code>. When <code>FormatVersion</code> is <code>VERSION_1</code>, <code>UserName</code> and <code>GroupName</code> are required. When <code>FormatVersion</code> is <code>VERSION_2</code>, <code>UserARN</code> and <code>GroupARN</code> are required, and <code>Namespace</code> must not exist.</p>
      - `Status` 'ENABLED' | 'DISABLED' — The status of the row-level security permission dataset. If enabled, the status is <code>ENABLED</code>. If disabled, the status is <code>DISABLED</code>.
    - `RowLevelPermissionTagConfigurationApplied` boolean — Whether or not the row level permission tags are applied.
    - `ColumnLevelPermissionRulesApplied` boolean — A value that indicates if the dataset has column level permission configured.
  - `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` — ThrottlingException
- `483` — InvalidNextTokenException
- `484` — 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)
