GetMetricUsageRequest
¶
Source code in docs_src/capo_appmonetization/types/get_metric_usage_request.py
ended_at
instance-attribute
¶
ended_at: Timestamp
Exclusive end of the reporting window. Must be after startedAt; the window may span at most 744 hours (31 days, the longest monthly billing period). Must not be in the future beyond a small clock-skew allowance.
max_results
instance-attribute
¶
max_results: NotRequired[GetMetricUsageMaxResults]
Maximum number of per-metric usage entries to return in this page (1-25, default 25).
next_token
instance-attribute
¶
next_token: NotRequired[NextToken]
Opaque continuation token from a prior response. The window (startedAt/endedAt) must be unchanged across a pagination sequence.
scope
instance-attribute
¶
scope: RequestScope
Required. The environment: live or sandbox. sandbox reads the app's isolated test environment. Usage is kept separately per environment.