View source: R/wafv2_operations.R
| wafv2_get_revenue_statistics | R Documentation |
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.
See https://www.paws-r-sdk.com/docs/wafv2_get_revenue_statistics/ for full documentation.
wafv2_get_revenue_statistics(
StatisticType,
TimeWindow,
Scope,
Currency,
GroupBy = NULL,
Filters = NULL,
NextMarker = NULL,
Limit = NULL,
SortBy = NULL,
SortOrder = NULL
)
StatisticType |
[required] |
TimeWindow |
[required] The time range for the query. Specify start and end timestamps. |
Scope |
[required] Specifies whether this is for a Amazon CloudFront distribution ( |
Currency |
[required] The currency for the revenue amounts in the response. |
GroupBy |
The dimension to group results by: |
Filters |
Optional filters to narrow the results. |
NextMarker |
When you get a paginated response, this marker indicates that additional results are available. Use it in a subsequent request to retrieve the next page of results. |
Limit |
The maximum number of results to return. |
SortBy |
The field to sort results by: |
SortOrder |
The sort order: |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.