Smaws_Client_BCMPricingCalculator.BatchUpdateWorkloadEstimateUsageUpdate a newly added or existing usage lines. You can update the usage amounts and usage group based on a usage ID and a Workload estimate ID.
The BatchUpdateWorkloadEstimateUsage operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:UpdateWorkloadEstimateUsage in your policies.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `DataUnavailableException of Types.data_unavailable_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.batch_update_workload_estimate_usage_request ->
(Types.batch_update_workload_estimate_usage_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `DataUnavailableException of Types.data_unavailable_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.batch_update_workload_estimate_usage_request ->
(Types.batch_update_workload_estimate_usage_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `DataUnavailableException of Types.data_unavailable_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result