Skip to main content

savings_plans_utilizations

Creates, updates, deletes, gets or lists a savings_plans_utilizations resource.

Overview

Namesavings_plans_utilizations
TypeResource
Idaws.ce.savings_plans_utilizations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
savings_plans_utilizations_by_timearrayThe amount of cost/commitment that you used your Savings Plans. You can use it to specify date ranges.
totalobjectThe total amount of cost/commitment that you used your Savings Plans, regardless of date ranges.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_savings_plans_utilizationselectregionRetrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. You can't group by any dimension values for GetSavingsPlansUtilization.

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 the Savings Plans utilization for your account across date ranges with daily or monthly granularity. Management account in an organization have access to member accounts. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. You can't group by any dimension values for GetSavingsPlansUtilization.

SELECT
savings_plans_utilizations_by_time,
total
FROM aws.ce.savings_plans_utilizations
WHERE region = '{{ region }}' -- required
;