def METHOD_NAME(period: MetricTimePeriod):
    """
    Granularity of AWS statistics.
    1 minute for HOURS_1; returns 60 data points
    10 minutes for HOURS_24; returns 144 data points
    1 hour for DAYS_7; return 168 data points
    """
    return {
        MetricTimePeriod.HOURS_1: 60,
        MetricTimePeriod.HOURS_24: 60 * 10,
        MetricTimePeriod.DAYS_7: 60 * 60,
    }[period] or 60 * 10