Retrieves 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.
costexplorer_get_savings_plans_purchase_recommendation(
SavingsPlansType,
TermInYears,
PaymentOption,
AccountScope = NULL,
NextPageToken = NULL,
PageSize = NULL,
LookbackPeriodInDays,
Filter = NULL
)
[required] The Savings Plans recommendation type that's requested.
[required] The savings plan recommendation term that's used to generate these recommendations.
[required] The payment option that's used to generate these recommendations.
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 is
LINKED
, recommendations are calculated for individual member accounts
only.
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.
The number of recommendations that you want returned in a single response object.
[required] The lookback period that's used to generate the recommendation.
You can filter your recommendations by Account ID with the
LINKED_ACCOUNT
dimension. To filter your recommendations by Account
ID, specify Key
as LINKED_ACCOUNT
and Value
as the comma-separated
Acount ID(s) that you want to see Savings Plans purchase recommendations
for.
For GetSavingsPlansPurchaseRecommendation, the Filter
doesn't include
CostCategories
or Tags
. It only includes Dimensions
. With
Dimensions
, Key
must be LINKED_ACCOUNT
and Value
can be a single
Account ID or multiple comma-separated Account IDs that you want to see
Savings Plans Purchase Recommendations for. AND
and OR
operators are
not supported.