savings_plans_utilizations
Creates, updates, deletes, gets or lists a savings_plans_utilizations resource.
Overview
| Name | savings_plans_utilizations |
| Type | Resource |
| Id | aws.ce.savings_plans_utilizations |
Fields
The following fields are returned by SELECT queries:
- get_savings_plans_utilization
| Name | Datatype | Description |
|---|---|---|
savings_plans_utilizations_by_time | array | The amount of cost/commitment that you used your Savings Plans. You can use it to specify date ranges. |
total | object | The total amount of cost/commitment that you used your Savings Plans, regardless of date ranges. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_savings_plans_utilization | select | region | 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. |
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_savings_plans_utilization
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
;