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.
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
Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/
. -
In the left navigation pane, choose Storage Lens, and then choose the Table buckets tab.
-
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.
Example
The following example command views the details of an Amazon S3 Storage Lens for Tables
configuration. To use this example, replace the with your own information.user input
placeholders
aws s3tables get-storage-lens-configuration --storage-lens-id=your-configuration-id
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
with your own
information.user input placeholders
Example– View an Amazon S3 Storage Lens for Tables configuration
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()); } } }