Smaws_Client_CostExplorer.StartSavingsPlansPurchaseRecommendationGenerationRequests 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.
StartSavingsPlansPurchaseRecommendationGeneration has no request syntax because no input parameters are needed to support this operation.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DataUnavailableException of Types.data_unavailable_exception
| `GenerationExistsException of Types.generation_exists_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_savings_plans_purchase_recommendation_generation_request ->
(Types.start_savings_plans_purchase_recommendation_generation_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `DataUnavailableException of Types.data_unavailable_exception
| `GenerationExistsException of Types.generation_exists_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_savings_plans_purchase_recommendation_generation_request ->
(Types.start_savings_plans_purchase_recommendation_generation_response
Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `DataUnavailableException of Types.data_unavailable_exception
| `GenerationExistsException of Types.generation_exists_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result