Smaws_Client_BCMPricingCalculator.BatchUpdateBillScenarioCommitmentModificationUpdate a newly added or existing commitment. You can update the commitment group based on a commitment ID and a Bill scenario ID.
The BatchUpdateBillScenarioCommitmentModification operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:UpdateBillScenarioCommitmentModification in your policies.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `DataUnavailableException of Types.data_unavailable_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.batch_update_bill_scenario_commitment_modification_request ->
(Types.batch_update_bill_scenario_commitment_modification_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `DataUnavailableException of Types.data_unavailable_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.batch_update_bill_scenario_commitment_modification_request ->
(Types.batch_update_bill_scenario_commitment_modification_response
Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `DataUnavailableException of Types.data_unavailable_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result