

# List Amazon S3 Storage Lens for Tables dashboards

You can list the Amazon S3 Storage Lens for Tables configurations in your account by using the Amazon S3 console, the AWS CLI, or the API.

## Using the S3 console
<a name="s3-tables-storage-lens-console-listing"></a>

Use the following steps to list your Amazon S3 Storage Lens for Tables dashboards on the Amazon S3 console.

**To list Amazon S3 Storage Lens for Tables dashboards**

1. Sign in to the AWS Management Console and open the Amazon S3 console at [https://console.aws.amazon.com/s3/](https://console.aws.amazon.com/s3/).

1. In the left navigation pane, choose **Storage Lens**.

1. Choose the **Table buckets** tab. The tab lists the Amazon S3 Storage Lens for Tables dashboards in your account in the current AWS Region, including the default dashboard (`default-account-dashboard-table`). To find a specific dashboard, use the **Search dashboards** box.

## Using the AWS CLI
<a name="s3-tables-storage-lens-cli-listing"></a>

**Example**  
The following example command lists the Amazon S3 Storage Lens for Tables configurations in your account in the current AWS Region.  

```
aws s3tables list-storage-lens-configurations --region {{us-east-1}}
```

## Using the AWS SDK for Java
<a name="s3-tables-storage-lens-java-listing"></a>

The following example lists the Amazon S3 Storage Lens for Tables configurations in your account by using the AWS SDK for SDK for Java. To use this example, replace the `{{user input placeholders}}` with your own information.

**Example – List the Amazon S3 Storage Lens for Tables configurations in your account**  

```Java
import software.amazon.awssdk.regions.Region;
import software.amazon.awssdk.services.s3tables.S3TablesClient;
import software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsRequest;
import software.amazon.awssdk.services.s3tables.model.ListStorageLensConfigurationsResponse;

public class ListStorageLensConfigurations {

    public static void main(String[] args) {
        try (S3TablesClient s3TablesClient = S3TablesClient.builder()
                .region(Region.{{US_EAST_1}})
                .build()) {

            ListStorageLensConfigurationsResponse response = s3TablesClient.listStorageLensConfigurations(
                    ListStorageLensConfigurationsRequest.builder()
                            .build());

            response.storageLensConfigurations().forEach(System.out::println);
        }
    }
}
```