Understanding the Amazon S3 Storage Lens export schema - Amazon Simple Storage Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Understanding the Amazon S3 Storage Lens export schema

The following table contains the schema of your S3 Storage Lens metrics export.

Attribute name Data type Column name Description
VersionNumber String version_number The version of the S3 Storage Lens metrics being used.
ConfigurationId String configuration_id The configuration_id of your S3 Storage Lens configuration.
ReportDate String report_date The date that the metrics were tracked.
AwsAccountNumber String aws_account_number Your Amazon Web Services account number.
AwsRegion String aws_region The Amazon Web Services Region for which the metrics are being tracked.
StorageClass String storage_class The storage class of the bucket in question.
RecordType ENUM record_type The type of artifact that is being reported (ACCOUNT, BUCKET, or PREFIX).
RecordValue String record_value The record value. This field is populated when the record_type is PREFIX.
Note

The record value is URL-encoded.

BucketName String bucket_name The name of the bucket that is being reported.
MetricName String metric_name The name of the metric that is being reported.
MetricValue Long metric_value The value of the metric that is being reported.

Example of an S3 Storage Lens metrics export

The following is an example of an S3 Storage Lens metrics export based on this schema.