Smaws_Client_BCMPricingCalculator.BatchCreateWorkloadEstimateUsageCreate Amazon Web Services service usage that you want to model in a Workload Estimate.
The BatchCreateWorkloadEstimateUsage operation doesn't have its own IAM permission. To authorize this operation for Amazon Web Services principals, include the permission bcm-pricing-calculator:CreateWorkloadEstimateUsage 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
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.batch_create_workload_estimate_usage_request ->
(Types.batch_create_workload_estimate_usage_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `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_create_workload_estimate_usage_request ->
(Types.batch_create_workload_estimate_usage_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
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result