

# View an Amazon S3 Storage Lens for Tables dashboard configuration details

You can view the details of an Amazon S3 Storage Lens for Tables configuration by using the Amazon S3 console, the AWS CLI, or the API.

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

Use the following steps to view the configuration details of an Amazon S3 Storage Lens for Tables dashboard on the Amazon S3 console.

**To view an Amazon S3 Storage Lens for Tables dashboard configuration**

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**, and then choose the **Table buckets** tab.

1. In the list of dashboards, choose the dashboard that you want to view, and then choose **View dashboard configuration**.

   The configuration details page shows the dashboard's general settings, scope, Storage Lens tier, metrics export settings, and CloudWatch publishing status. To change any of these settings, choose **Edit**.

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

**Example**  
The following example command views the details of an Amazon S3 Storage Lens for Tables configuration. To use this example, replace the `{{user input placeholders}}` with your own information.  

```
aws s3tables get-storage-lens-configuration --storage-lens-id={{your-configuration-id}}
```

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

The following example views the details of an Amazon S3 Storage Lens for Tables configuration by using the AWS SDK for SDK for Java. To use this example, replace the `{{user input placeholders}}` with your own information.

**Example – View an Amazon S3 Storage Lens for Tables configuration**  

```Java
import software.amazon.awssdk.regions.Region;
import software.amazon.awssdk.services.s3tables.S3TablesClient;
import software.amazon.awssdk.services.s3tables.model.GetStorageLensConfigurationRequest;
import software.amazon.awssdk.services.s3tables.model.GetStorageLensConfigurationResponse;

public class GetStorageLensConfiguration {

    public static void main(String[] args) {
        String storageLensId = "{{your-configuration-id}}";

        try (S3TablesClient s3TablesClient = S3TablesClient.builder()
                .region(Region.{{US_EAST_1}})
                .build()) {

            GetStorageLensConfigurationResponse response = s3TablesClient.getStorageLensConfiguration(
                    GetStorageLensConfigurationRequest.builder()
                            .storageLensId(storageLensId)
                            .build());

            System.out.println(response.storageLensConfiguration());
        }
    }
}
```