Skip to content

Get Savings Plan Purchase Recommendation Details

costexplorer_get_savings_plan_purchase_recommendation_details R Documentation

Retrieves the details for a Savings Plan recommendation

Description

Retrieves the details for a Savings Plan recommendation. These details include the hourly data-points that construct the cost, coverage, and utilization charts.

Usage

costexplorer_get_savings_plan_purchase_recommendation_details(
  RecommendationDetailId)

Arguments

RecommendationDetailId

[required] The ID that is associated with the Savings Plan recommendation.

Value

A list with the following syntax:

list(
  RecommendationDetailId = "string",
  RecommendationDetailData = list(
    AccountScope = "PAYER"|"LINKED",
    LookbackPeriodInDays = "SEVEN_DAYS"|"THIRTY_DAYS"|"SIXTY_DAYS",
    SavingsPlansType = "COMPUTE_SP"|"EC2_INSTANCE_SP"|"SAGEMAKER_SP",
    TermInYears = "ONE_YEAR"|"THREE_YEARS",
    PaymentOption = "NO_UPFRONT"|"PARTIAL_UPFRONT"|"ALL_UPFRONT"|"LIGHT_UTILIZATION"|"MEDIUM_UTILIZATION"|"HEAVY_UTILIZATION",
    AccountId = "string",
    CurrencyCode = "string",
    InstanceFamily = "string",
    Region = "string",
    OfferingId = "string",
    GenerationTimestamp = "string",
    LatestUsageTimestamp = "string",
    CurrentAverageHourlyOnDemandSpend = "string",
    CurrentMaximumHourlyOnDemandSpend = "string",
    CurrentMinimumHourlyOnDemandSpend = "string",
    EstimatedAverageUtilization = "string",
    EstimatedMonthlySavingsAmount = "string",
    EstimatedOnDemandCost = "string",
    EstimatedOnDemandCostWithCurrentCommitment = "string",
    EstimatedROI = "string",
    EstimatedSPCost = "string",
    EstimatedSavingsAmount = "string",
    EstimatedSavingsPercentage = "string",
    ExistingHourlyCommitment = "string",
    HourlyCommitmentToPurchase = "string",
    UpfrontCost = "string",
    CurrentAverageCoverage = "string",
    EstimatedAverageCoverage = "string",
    MetricsOverLookbackPeriod = list(
      list(
        StartTime = "string",
        EstimatedOnDemandCost = "string",
        CurrentCoverage = "string",
        EstimatedCoverage = "string",
        EstimatedNewCommitmentUtilization = "string"
      )
    )
  )
)

Request syntax

svc$get_savings_plan_purchase_recommendation_details(
  RecommendationDetailId = "string"
)