approximate_usage_records
Creates, updates, deletes, gets or lists an approximate_usage_records resource.
Overview
| Name | approximate_usage_records |
| Type | Resource |
| Id | aws.ce.approximate_usage_records |
Fields
The following fields are returned by SELECT queries:
- get_approximate_usage_records
| Name | Datatype | Description |
|---|---|---|
lookback_period | object | The lookback period that's used for the estimation. |
services | object | The service metadata for the service or services in the response. |
total_records | integer (int64) | The total number of usage records for all services in the services list. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_approximate_usage_records | select | region | Retrieves estimated usage records for hourly granularity or resource-level data at daily granularity. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_approximate_usage_records
Retrieves estimated usage records for hourly granularity or resource-level data at daily granularity.
SELECT
lookback_period,
services,
total_records
FROM aws.ce.approximate_usage_records
WHERE region = '{{ region }}' -- required
;