View a markdown version of this page

List Amazon S3 Storage Lens for Tables dashboards - Amazon Simple Storage Service

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.

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/.

  2. In the left navigation pane, choose Storage Lens.

  3. 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.

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

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
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); } } }