Delete an Amazon S3 Storage Lens for Tables dashboard
You can delete an Amazon S3 Storage Lens for Tables configuration to permanently stop collecting metrics for the table buckets in its scope. If you want to stop collecting metrics temporarily without losing the configuration, disable it instead. See Disable an Amazon S3 Storage Lens for Tables dashboard.
Deleting a dashboard removes access to its historical data. To regain access, create a dashboard with the same name in the same home AWS Region. Deleting a dashboard doesn't delete metrics that were already exported to your general purpose bucket or table bucket. You manage the lifecycle of those exports.
Use the following steps to delete an Amazon S3 Storage Lens for Tables dashboard on the Amazon S3 console.
This action can't be undone. To stop collecting metrics temporarily, disable the
dashboard instead. The default dashboard
(default-account-dashboard-table) can't be deleted.
To delete an Amazon S3 Storage Lens for Tables dashboard
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 delete, and then choose Delete.
NoteYou can't delete the default dashboard (
default-account-dashboard-table). You can disable it instead. For more information, see Disable an Amazon S3 Storage Lens for Tables dashboard. -
In the Delete dialog box, to confirm the deletion, type the name of the dashboard, and then choose Delete.
This action can't be undone. To stop collecting metrics temporarily, disable the
dashboard instead. The default dashboard
(default-account-dashboard-table) can't be deleted.
Example
The following example command deletes an Amazon S3 Storage Lens for Tables configuration.
To use this example, replace the with your own information.user input
placeholders
aws s3tables delete-storage-lens-configuration --storage-lens-id=your-configuration-id
The following example deletes an Amazon S3 Storage Lens for Tables configuration in SDK for Java.
To use this example, replace the with your own information.user input
placeholders
This action can't be undone. To stop collecting metrics temporarily, disable the
dashboard instead. The default dashboard
(default-account-dashboard-table) can't be deleted.
Example– Delete 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.DeleteStorageLensConfigurationRequest; public class DeleteStorageLensConfiguration { public static void main(String[] args) { try (S3TablesClient s3TablesClient = S3TablesClient.builder() .region(Region.US_EAST_1) .build()) { s3TablesClient.deleteStorageLensConfiguration(DeleteStorageLensConfigurationRequest.builder() .storageLensId("your-configuration-id") .build()); } } }