StorageLensConfiguration
An Amazon S3 Storage Lens for Tables configuration.
Contents
- advancedMetricsCategories
-
The metrics categories that S3 Storage Lens collects advanced metrics for. Every configuration includes the basic storage metrics. Advanced metrics are optional and incur charges. To collect only the basic storage metrics, specify an empty list. Each category can appear in the list only once. Valid values:
-
StorageMetrics- How much data your tables store, such as meterable bytes and file counts by Apache Iceberg file type (data files, delete files, metadata files, and manifest files), and each table's maintenance settings. Specify this category to collect the advanced storage metrics in addition to the basic storage metrics. -
ActivityMetrics- How your tables are accessed, such as request counts by request type, bytes uploaded and downloaded, error counts by status code, and request latency. -
MaintenanceMetrics- What managed table maintenance did, such as the outcomes of compaction, unreferenced file removal, and snapshot expiration, including the files that each operation removed and any errors that occurred.
Type: Array of strings
Valid Values:
ActivityMetrics | MaintenanceMetrics | StorageMetricsRequired: Yes
-
- id
-
The ID of the S3 Storage Lens configuration. In a
PutStorageLensConfigurationrequest, it must matchstorageLensId.Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[a-zA-Z0-9-_.]+Required: Yes
- isEnabled
-
Specifies whether the S3 Storage Lens configuration is enabled.
Type: Boolean
Required: Yes
- awsOrg
-
The AWS organization for an organization-level configuration. To create an organization-level configuration, you must send the request from the organization's management account or from a delegated administrator account for S3 Storage Lens, and trusted access for S3 Storage Lens must be enabled in AWS Organizations. An organization-level configuration can't include or exclude specific table buckets.
Type: StorageLensAwsOrg object
Required: No
- dataExport
-
The properties of your S3 Storage Lens metrics export, including the destinations, schema, and format. If you specify
dataExport, you must specify at least one destination.Type: StorageLensDataExport object
Required: No
- exclude
-
The table buckets and Regions to exclude from the configuration. You can specify
includeorexclude, but not both. If you specifyexclude, it must contain at least one table bucket or Region.Type: StorageLensScope object
Required: No
- include
-
The table buckets and Regions to include in the configuration. You can specify
includeorexclude, but not both. If you specifyinclude, it must contain at least one table bucket or Region.Type: StorageLensScope object
Required: No
- storageLensArn
-
The Amazon Resource Name (ARN) of the S3 Storage Lens configuration, such as
arn:aws:s3tables:us-east-1:111122223333:storage-lens/example-configuration. This property is read-only. S3 Storage Lens ignores it in aPutStorageLensConfigurationrequest.Type: String
Length Constraints: Minimum length of 4. Maximum length of 1024.
Pattern:
arn:aws[-a-z0-9]*:[a-z0-9]+:[-a-z0-9]*:[0-9]{12}:storage-lens/.+Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: