Skip to main content

approximate_usage_records

Creates, updates, deletes, gets or lists an approximate_usage_records resource.

Overview

Nameapproximate_usage_records
TypeResource
Idaws.ce.approximate_usage_records

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
lookback_periodobjectThe lookback period that's used for the estimation.
servicesobjectThe service metadata for the service or services in the response.
total_recordsinteger (int64)The total number of usage records for all services in the services list.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_approximate_usage_recordsselectregionRetrieves 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;