Smaws_Client_CostExplorer.GetCommitmentPurchaseAnalysisRetrieves a commitment purchase analysis result based on the AnalysisId.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AnalysisNotFoundException of Types.analysis_not_found_exception
| `DataUnavailableException of Types.data_unavailable_exception
| `LimitExceededException of Types.limit_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_commitment_purchase_analysis_request ->
(Types.get_commitment_purchase_analysis_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AnalysisNotFoundException of Types.analysis_not_found_exception
| `DataUnavailableException of Types.data_unavailable_exception
| `LimitExceededException of Types.limit_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_commitment_purchase_analysis_request ->
(Types.get_commitment_purchase_analysis_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AnalysisNotFoundException of Types.analysis_not_found_exception
| `DataUnavailableException of Types.data_unavailable_exception
| `LimitExceededException of Types.limit_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result