Retrieves the Savings Plans recommendations for your account
Source:R/costexplorer_operations.R
costexplorer_get_savings_plans_purchase_recommendation.RdRetrieves the Savings Plans recommendations for your account. First use start_savings_plans_purchase_recommendation_generation to generate a new set of recommendations, and then use get_savings_plans_purchase_recommendation to retrieve them.
See https://www.paws-r-sdk.com/docs/costexplorer_get_savings_plans_purchase_recommendation/ for full documentation.
Usage
costexplorer_get_savings_plans_purchase_recommendation(
SavingsPlansType,
TermInYears,
PaymentOption,
AccountScope = NULL,
NextPageToken = NULL,
PageSize = NULL,
LookbackPeriodInDays,
Filter = NULL
)Arguments
- SavingsPlansType
[required] The Savings Plans recommendation type that's requested.
- TermInYears
[required] The savings plan recommendation term that's used to generate these recommendations.
- PaymentOption
[required] The payment option that's used to generate these recommendations.
- AccountScope
The account scope that you want your recommendations for. Amazon Web Services calculates recommendations including the management account and member accounts if the value is set to
PAYER. If the value isLINKED, recommendations are calculated for individual member accounts only.- NextPageToken
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.
- PageSize
The number of recommendations that you want returned in a single response object.
- LookbackPeriodInDays
[required] The lookback period that's used to generate the recommendation.
- Filter
You can filter your recommendations by Account ID with the
LINKED_ACCOUNTdimension. To filter your recommendations by Account ID, specifyKeyasLINKED_ACCOUNTandValueas the comma-separated Acount ID(s) that you want to see Savings Plans purchase recommendations for.For GetSavingsPlansPurchaseRecommendation, the
Filterdoesn't includeCostCategoriesorTags. It only includesDimensions. WithDimensions,Keymust beLINKED_ACCOUNTandValuecan be a single Account ID or multiple comma-separated Account IDs that you want to see Savings Plans Purchase Recommendations for.ANDandORoperators are not supported.