Skip to content

KnowledgeBaseRefreshFrequency

Source code in docs_src/capo_quicksight/types/knowledge_base_refresh_frequency.py
class KnowledgeBaseRefreshFrequency(TypedDict, closed=True):
    interval: "capo_quicksight.types.kb_refresh_interval.KbRefreshInterval"
    """<p>The interval at which the schedule refreshes the knowledge base. Valid values include:</p> <ul> <li> <p> <code>DAILY</code> – The schedule refreshes the knowledge base once each day.</p> </li> <li> <p> <code>WEEKLY</code> – The schedule refreshes the knowledge base once each week, on the day that you specify in <code>RefreshOnDay.DayOfWeek</code>.</p> </li> <li> <p> <code>MONTHLY</code> – The schedule refreshes the knowledge base once each month, on the day that you specify in <code>RefreshOnDay.DayOfMonth</code>.</p> </li> <li> <p> <code>HOURLY</code> – The schedule refreshes the knowledge base once each hour. Available only if your account is enabled for hourly refresh. Otherwise, the request fails with an <code>InvalidParameterValueException</code>.</p> </li> </ul> <p>For <code>DAILY</code>, <code>WEEKLY</code>, and <code>MONTHLY</code> intervals, the service chooses the time of day at which the refresh runs. You can't specify the time of day.</p>"""
    refresh_on_day: NotRequired[
        "capo_quicksight.types.knowledge_base_schedule_refresh_on_entity.KnowledgeBaseScheduleRefreshOnEntity"
    ]
    """<p>The day on which the refresh runs. This parameter is required for a <code>WEEKLY</code> or <code>MONTHLY</code> interval: specify the day of the week for <code>WEEKLY</code> or the day of the month for <code>MONTHLY</code>. If you don't specify it for one of these intervals, the request fails. This parameter isn't used for a <code>DAILY</code> or <code>HOURLY</code> interval.</p>"""

interval instance-attribute

The interval at which the schedule refreshes the knowledge base. Valid values include:

  • DAILY – The schedule refreshes the knowledge base once each day.

  • WEEKLY – The schedule refreshes the knowledge base once each week, on the day that you specify in RefreshOnDay.DayOfWeek.

  • MONTHLY – The schedule refreshes the knowledge base once each month, on the day that you specify in RefreshOnDay.DayOfMonth.

  • HOURLY – The schedule refreshes the knowledge base once each hour. Available only if your account is enabled for hourly refresh. Otherwise, the request fails with an InvalidParameterValueException.

For DAILY, WEEKLY, and MONTHLY intervals, the service chooses the time of day at which the refresh runs. You can't specify the time of day.

refresh_on_day instance-attribute

refresh_on_day: NotRequired[KnowledgeBaseScheduleRefreshOnEntity]

The day on which the refresh runs. This parameter is required for a WEEKLY or MONTHLY interval: specify the day of the week for WEEKLY or the day of the month for MONTHLY. If you don't specify it for one of these intervals, the request fails. This parameter isn't used for a DAILY or HOURLY interval.