Module Smaws_Client_WAFV2.GetRevenueStatistics

Retrieves ranked monetization statistics. Use the StatisticType parameter to specify the ranking: TOP_SOURCES_BY_REVENUE for top sources by revenue, or TOP_PATHS_BY_REVENUE for top content paths by revenue. This operation is only available for CLOUDFRONT scope. The maximum supported time window is 90 days. When no CurrencyMode filter is provided, results default to REAL. To retrieve test data, include a CurrencyMode filter with the value TEST.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `WAFInternalErrorException of Types.waf_internal_error_exception | `WAFInvalidOperationException of Types.waf_invalid_operation_exception | `WAFInvalidParameterException of Types.waf_invalid_parameter_exception | `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_revenue_statistics_request -> (Types.get_revenue_statistics_response, [> Smaws_Lib.Protocols.AwsJson.error | `WAFInternalErrorException of Types.waf_internal_error_exception | `WAFInvalidOperationException of Types.waf_invalid_operation_exception | `WAFInvalidParameterException of Types.waf_invalid_parameter_exception | `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.get_revenue_statistics_request -> (Types.get_revenue_statistics_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `WAFInternalErrorException of Types.waf_internal_error_exception | `WAFInvalidOperationException of Types.waf_invalid_operation_exception | `WAFInvalidParameterException of Types.waf_invalid_parameter_exception | `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ] * Smaws_Lib.Response.metadata) Stdlib.result