PutEventRequest
¶
Source code in docs_src/capo_appmonetization/types/put_event_request.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.
event_type
instance-attribute
¶
event_type: SourceEventType
The event type. Correlates with the event type of the metrics that aggregate it.
properties
instance-attribute
¶
properties: NotRequired[EventProperties]
The key/value properties carried on the event, usable in metric filters and grouping. When a metric sums or takes the max of a property, that property's value must be a plain non-negative decimal (up to 15 digits before the point and 6 after; no sign, exponent, spaces, or commas, for example "1200" or "12.5"), and events that break this are rejected.
quantity
instance-attribute
¶
quantity: Quantity
The amount of usage the event represents, as a non-negative decimal string (for example, "1" or "12.5").
scope
instance-attribute
¶
scope: RequestScope
The environment of the app that this operation applies to: the live app or the app's isolated sandbox test environment.