Skip to content

StorageLensConfiguration

Source code in docs_src/capo_s3tables/types/storage_lens_configuration.py
class StorageLensConfiguration(TypedDict, closed=True):
    id: "capo_s3tables.types.storage_lens_configuration_id.StorageLensConfigurationId"
    """<p>The ID of the S3 Storage Lens configuration. In a <code>PutStorageLensConfiguration</code> request, it must match <code>storageLensId</code>.</p>"""
    advanced_metrics_categories: "capo_s3tables.types.storage_lens_metrics_category_list.StorageLensMetricsCategoryList"
    """<p>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:</p> <ul> <li> <p> <code>StorageMetrics</code> - 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.</p> </li> <li> <p> <code>ActivityMetrics</code> - How your tables are accessed, such as request counts by request type, bytes uploaded and downloaded, error counts by status code, and request latency.</p> </li> <li> <p> <code>MaintenanceMetrics</code> - 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.</p> </li> </ul>"""
    include: NotRequired["capo_s3tables.types.storage_lens_scope.StorageLensScope"]
    """<p>The table buckets and Regions to include in the configuration. You can specify <code>include</code> or <code>exclude</code>, but not both. If you specify <code>include</code>, it must contain at least one table bucket or Region.</p>"""
    exclude: NotRequired["capo_s3tables.types.storage_lens_scope.StorageLensScope"]
    """<p>The table buckets and Regions to exclude from the configuration. You can specify <code>include</code> or <code>exclude</code>, but not both. If you specify <code>exclude</code>, it must contain at least one table bucket or Region.</p>"""
    data_export: NotRequired[
        "capo_s3tables.types.storage_lens_data_export.StorageLensDataExport"
    ]
    """<p>The properties of your S3 Storage Lens metrics export, including the destinations, schema, and format. If you specify <code>dataExport</code>, you must specify at least one destination.</p>"""
    is_enabled: "bool"
    """<p>Specifies whether the S3 Storage Lens configuration is enabled.</p>"""
    aws_org: NotRequired["capo_s3tables.types.storage_lens_aws_org.StorageLensAwsOrg"]
    """<p>The Amazon Web Services 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 Amazon Web Services Organizations. An organization-level configuration can't include or exclude specific table buckets.</p>"""
    storage_lens_arn: NotRequired["capo_s3tables.types.storage_lens_arn.StorageLensARN"]
    """<p>The Amazon Resource Name (ARN) of the S3 Storage Lens configuration, such as <code>arn:aws:s3tables:us-east-1:111122223333:storage-lens/example-configuration</code>. This property is read-only. S3 Storage Lens ignores it in a <code>PutStorageLensConfiguration</code> request.</p>"""

advanced_metrics_categories instance-attribute

advanced_metrics_categories: StorageLensMetricsCategoryList

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.

aws_org instance-attribute

aws_org: NotRequired[StorageLensAwsOrg]

The Amazon Web Services 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 Amazon Web Services Organizations. An organization-level configuration can't include or exclude specific table buckets.

data_export instance-attribute

data_export: NotRequired[StorageLensDataExport]

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.

exclude instance-attribute

exclude: NotRequired[StorageLensScope]

The table buckets and Regions to exclude from the configuration. You can specify include or exclude, but not both. If you specify exclude, it must contain at least one table bucket or Region.

id instance-attribute

The ID of the S3 Storage Lens configuration. In a PutStorageLensConfiguration request, it must match storageLensId.

include instance-attribute

include: NotRequired[StorageLensScope]

The table buckets and Regions to include in the configuration. You can specify include or exclude, but not both. If you specify include, it must contain at least one table bucket or Region.

is_enabled instance-attribute

is_enabled: bool

Specifies whether the S3 Storage Lens configuration is enabled.

storage_lens_arn instance-attribute

storage_lens_arn: NotRequired[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 a PutStorageLensConfiguration request.