Smaws_Client_WAFV2.GetRevenueStatisticsTimeSeriesRetrieves time series data for monetization revenue. Returns data points aggregated at the specified interval for the given time window. 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 ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_revenue_statistics_time_series_request ->
(Types.get_revenue_statistics_time_series_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.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_revenue_statistics_time_series_request ->
(Types.get_revenue_statistics_time_series_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