savings_plans_utilization_details
Creates, updates, deletes, gets or lists a savings_plans_utilization_details resource.
Overview
| Name | savings_plans_utilization_details |
| Type | Resource |
| Id | aws.ce.savings_plans_utilization_details |
Fields
The following fields are returned by SELECT queries:
- get_savings_plans_utilization_details
| Name | Datatype | Description |
|---|---|---|
next_token | string | The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size. (pattern: <code>[\S\s]*</code>) |
savings_plans_utilization_details | array | Retrieves a single daily or monthly Savings Plans utilization rate and details for your account. |
time_period | object | The time period of the request. |
total | object | The total Savings Plans utilization, regardless of time period. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_savings_plans_utilization_details | select | region | Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization, but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails by providing individual dates. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn. |
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_details
Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single response similar to GetSavingsPlanUtilization, but you have the option to make multiple calls to GetSavingsPlanUtilizationDetails by providing individual dates. You can use GetDimensionValues in SAVINGS_PLANS to determine the possible dimension values. GetSavingsPlanUtilizationDetails internally groups data by SavingsPlansArn.
SELECT
next_token,
savings_plans_utilization_details,
time_period,
total
FROM aws.ce.savings_plans_utilization_details
WHERE region = '{{ region }}' -- required
;