Skip to main content

savings_plans_utilization_details

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

Overview

Namesavings_plans_utilization_details
TypeResource
Idaws.ce.savings_plans_utilization_details

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe 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_detailsarrayRetrieves a single daily or monthly Savings Plans utilization rate and details for your account.
time_periodobjectThe time period of the request.
totalobjectThe total Savings Plans utilization, regardless of time period.

Methods

The following methods are available for this resource:

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

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

SELECT examples

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
;