Function create_analytics_rule

Source
pub async fn create_analytics_rule(
    configuration: &Configuration,
    analytics_rule_schema: AnalyticsRuleSchema,
) -> Result<AnalyticsRuleSchema, Error<CreateAnalyticsRuleError>>
Expand description

When an analytics rule is created, we give it a name and describe the type, the source collections and the destination collection.