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 get_dimension_values
in SAVINGS_PLANS
to determine the possible dimension values.
See https://www.paws-r-sdk.com/docs/costexplorer_get_savings_plans_utilization/ for full documentation.
costexplorer_get_savings_plans_utilization(
TimePeriod,
Granularity = NULL,
Filter = NULL,
SortBy = NULL
)
[required] The time period that you want the usage and costs for. The Start
date
must be within 13 months. The End
date must be after the Start
date,
and before the current date. Future dates can't be used as an End
date.
The granularity of the Amazon Web Services utillization data for your Savings Plans.
The
get_savings_plans_utilization
operation supports only DAILY
and MONTHLY
granularities.
Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
SAVINGS_PLANS_TYPE
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
get_savings_plans_utilization
uses the same
Expression
object as the other operations, but only AND
is supported among each
dimension.
The value that you want to sort the data by.
The following values are supported for Key
:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
The supported values for SortOrder
are ASCENDING
and DESCENDING
.