Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity
Source:R/costexplorer_operations.R
costexplorer_get_savings_plans_utilization.RdRetrieves 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.
Usage
costexplorer_get_savings_plans_utilization(
TimePeriod,
Granularity = NULL,
Filter = NULL,
SortBy = NULL
)Arguments
- TimePeriod
[required] The time period that you want the usage and costs for. The
Startdate must be within 13 months. TheEnddate must be after theStartdate, and before the current date. Future dates can't be used as anEnddate.- Granularity
The granularity of the Amazon Web Services utillization data for your Savings Plans.
The
get_savings_plans_utilizationoperation supports onlyDAILYandMONTHLYgranularities.- Filter
Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:
LINKED_ACCOUNTSAVINGS_PLAN_ARNSAVINGS_PLANS_TYPEREGIONPAYMENT_OPTIONINSTANCE_TYPE_FAMILY
get_savings_plans_utilizationuses the same Expression object as the other operations, but onlyANDis supported among each dimension.- SortBy
The value that you want to sort the data by.
The following values are supported for
Key:UtilizationPercentageTotalCommitmentUsedCommitmentUnusedCommitmentNetSavings
The supported values for
SortOrderareASCENDINGandDESCENDING.