costexplorer_get_savings_plans_purchase_recommendation: Retrieves the Savings Plans recommendations for your account

View source: R/costexplorer_operations.R

costexplorer_get_savings_plans_purchase_recommendationR Documentation

Retrieves the Savings Plans recommendations for your account

Description

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.

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 is LINKED, 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_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.


paws.cost.management documentation built on Sept. 12, 2023, 1:09 a.m.