MDAA TS Docs
    Preparing search index...
    • Validates an alarm's evaluation range, period x evaluation periods, against the limits PutMetricAlarm enforces at deploy: 1 day for a period under one hour, 7 days otherwise.

      Parameters

      • window: { evaluationPeriods: number; periodSeconds: number }

        The period, in seconds, and the number of evaluation periods

      • propNames: MetricsInsightsAlarmWindowPropNames

        Property names used in the error messages

      Returns void

      Error if evaluationPeriods is invalid or the range exceeds the limit