Skip to main content

revenue_statistics

Creates, updates, deletes, gets or lists a revenue_statistics resource.

Overview

Namerevenue_statistics
TypeResource
Idaws.wafv2.revenue_statistics

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_markerstringWhen you get a paginated response, this marker indicates that additional results are available. (pattern: <code>.\S.</code>)
revenue_path_statisticsarrayStatistics for top revenue paths. Populated when StatisticType is TOP_PATHS_BY_REVENUE.
source_statisticsarrayStatistics for top revenue sources (AI bots). Populated when StatisticType is TOP_SOURCES_BY_REVENUE.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_revenue_statisticsselectregionRetrieves 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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.

SELECT
next_marker,
revenue_path_statistics,
source_statistics
FROM aws.wafv2.revenue_statistics
WHERE region = '{{ region }}' -- required
;