Smaws_Client_CostExplorer.DescribeCostCategoryDefinitionReturns the name, Amazon Resource Name (ARN), rules, definition, and effective dates of a cost category that's defined in the account.
You have the option to use EffectiveOn to return a cost category that's active on a specific date. If there's no EffectiveOn specified, you see a Cost Category that's effective on the current date. If cost category is still effective, EffectiveEnd is omitted in the response.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_cost_category_definition_request ->
(Types.describe_cost_category_definition_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_cost_category_definition_request ->
(Types.describe_cost_category_definition_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `LimitExceededException of Types.limit_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result