Smaws_Client_CostExplorer.StartCommitmentPurchaseAnalysisSpecifies the parameters of a planned commitment purchase and starts the generation of the analysis. This enables you to estimate the cost, coverage, and utilization impact of your planned commitment purchases.
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_commitment_purchase_analysis_request ->
(Types.start_commitment_purchase_analysis_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_commitment_purchase_analysis_request ->
(Types.start_commitment_purchase_analysis_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