CreateMetricRequest
¶
Source code in docs_src/capo_appmonetization/types/create_metric_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.
definition
instance-attribute
¶
definition: MetricDefinition
The aggregation definition: filters, aggregation function, grouping, and period.
description
instance-attribute
¶
description: MetricDescription
A description of what the metric measures.
event_type
instance-attribute
¶
event_type: SourceEventType
The event type this metric aggregates. Must match the eventType sent on PutEvent.
name
instance-attribute
¶
name: MetricDisplayName
A human-readable display name for the metric (for example, Riddles Solved).