revenue_statistics_summaries
Creates, updates, deletes, gets or lists a revenue_statistics_summaries resource.
Overview
| Name | revenue_statistics_summaries |
| Type | Resource |
| Id | aws.wafv2.revenue_statistics_summaries |
Fields
The following fields are returned by SELECT queries:
- get_revenue_statistics_summary
| Name | Datatype | Description |
|---|---|---|
currency | string | The currency of the revenue amounts. (USDC) |
total_amount | string | The total revenue amount in the specified currency. |
total_monetize_served | integer (int64) | The total number of HTTP 402 Payment Required responses served to AI agents. |
total_settled | integer (int64) | The total number of successfully settled payment transactions. |
unverified_amount | string | The revenue amount from unverified AI bots. |
verified_amount | string | The revenue amount from verified AI bots. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_revenue_statistics_summary | select | region | Retrieves a summary of monetization revenue for the specified time window. Returns total revenue, revenue by verification tier, total settlements, and total HTTP 402 responses served. 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_revenue_statistics_summary
Retrieves a summary of monetization revenue for the specified time window. Returns total revenue, revenue by verification tier, total settlements, and total HTTP 402 responses served. 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
currency,
total_amount,
total_monetize_served,
total_settled,
unverified_amount,
verified_amount
FROM aws.wafv2.revenue_statistics_summaries
WHERE region = '{{ region }}' -- required
;