MDAA TS Docs
    Preparing search index...
    • Builds the Metrics Insights query aggregating a guardrail's interventions across all of its versions. Bedrock publishes the metric per {GuardrailArn, GuardrailVersion} and callers choose the version, so the query pins only the ARN.

      Parameters

      • aggregation: "SUM" | "AVG"

        SUM for the intervention count, AVG for the share intervened

      • guardrailArn: string

        ARN of the guardrail, as published in the GuardrailArn dimension

      Returns string