CostExplorer / Client / start_savings_plans_purchase_recommendation_generation

start_savings_plans_purchase_recommendation_generation#

CostExplorer.Client.start_savings_plans_purchase_recommendation_generation()#

Requests a Savings Plans recommendation generation. This enables you to calculate a fresh set of Savings Plans recommendations that takes your latest usage data and current Savings Plans inventory into account. You can refresh Savings Plans recommendations up to three times daily for a consolidated billing family.

Note

StartSavingsPlansPurchaseRecommendationGeneration has no request syntax because no input parameters are needed to support this operation.

See also: AWS API Documentation

Request Syntax

response = client.start_savings_plans_purchase_recommendation_generation()
Return type:

dict

Returns:

Response Syntax

{
    'RecommendationId': 'string',
    'GenerationStartedTime': 'string',
    'EstimatedCompletionTime': 'string'
}

Response Structure

  • (dict) –

    • RecommendationId (string) –

      The ID for this specific recommendation.

    • GenerationStartedTime (string) –

      The start time of the recommendation generation.

    • EstimatedCompletionTime (string) –

      The estimated time for when the recommendation generation will complete.

Exceptions

  • CostExplorer.Client.exceptions.LimitExceededException

  • CostExplorer.Client.exceptions.ServiceQuotaExceededException

  • CostExplorer.Client.exceptions.GenerationExistsException

  • CostExplorer.Client.exceptions.DataUnavailableException