Module Smaws_Client_CostExplorer.GetCostCategories

Retrieves an array of cost category names and values incurred cost.

If some cost category names and values are not associated with any cost, they will not be returned by this API.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `BillExpirationException of Types.bill_expiration_exception | `BillingViewHealthStatusException of Types.billing_view_health_status_exception | `DataUnavailableException of Types.data_unavailable_exception | `InvalidNextTokenException of Types.invalid_next_token_exception | `LimitExceededException of Types.limit_exceeded_exception | `RequestChangedException of Types.request_changed_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_cost_categories_request -> (Types.get_cost_categories_response, [> Smaws_Lib.Protocols.AwsJson.error | `BillExpirationException of Types.bill_expiration_exception | `BillingViewHealthStatusException of Types.billing_view_health_status_exception | `DataUnavailableException of Types.data_unavailable_exception | `InvalidNextTokenException of Types.invalid_next_token_exception | `LimitExceededException of Types.limit_exceeded_exception | `RequestChangedException of Types.request_changed_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.get_cost_categories_request -> (Types.get_cost_categories_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `BillExpirationException of Types.bill_expiration_exception | `BillingViewHealthStatusException of Types.billing_view_health_status_exception | `DataUnavailableException of Types.data_unavailable_exception | `InvalidNextTokenException of Types.invalid_next_token_exception | `LimitExceededException of Types.limit_exceeded_exception | `RequestChangedException of Types.request_changed_exception | `ResourceNotFoundException of Types.resource_not_found_exception ] * Smaws_Lib.Response.metadata) Stdlib.result