aws.ce.get_approximate_usage_records
Example SQL Queries
SELECT * FROMaws.ce.get_approximate_usage_recordsWHERE"granularity" = 'VALUE'AND "approximation_dimension" = 'VALUE';Description
Retrieves estimated usage records for hourly granularity or resource-level data at daily granularity.
Table Definition
| Column Name | Column Data Type |
|---|---|
| approximation_dimension Required Input Column The service to evaluate for the usage records. You can choose resource-level data at daily granularity, or hourly granularity with or without resource-level data. | VARCHAR |
| granularity Required Input Column How granular you want the data to be. You can enable data at hourly or daily granularity. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _input_services Input Column | VARCHAR[] |
Show child fields
| |
| lookback_period The lookback period that's used for the estimation. | STRUCT( |
Show child fields
| |
| services The service metadata for the service or services in the response. | MAP(VARCHAR, BIGINT) |
| total_records The total number of usage records for all services in the services list. | BIGINT |