update_knowledge_base_refresh_schedule
¶
update_knowledge_base_refresh_schedule(
aws_account_id: KbAwsAccountId,
knowledge_base_id: KnowledgeBaseId,
schedule_id: ScheduleId,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
schedule_frequency: Optional[KnowledgeBaseRefreshFrequency] = None,
start_time: Optional[datetime] = None,
state: Optional[ScheduleState] = None,
) -> UpdateKnowledgeBaseRefreshScheduleResponse
Updates the refresh schedule for an Amazon Quick Sight knowledge base. Use this operation to change how often the knowledge base refreshes, or to enable or disable the schedule. Specify the schedule by its ScheduleId. The operation changes only the fields that you provide. Any field that you omit keeps its existing value.
Parameters:
-
aws_account_id(KbAwsAccountId) –The ID of the Amazon Web Services account that contains the knowledge base.
-
knowledge_base_id(KnowledgeBaseId) –The unique identifier for the knowledge base.
-
schedule_id(ScheduleId) –The unique identifier for the refresh schedule to update.
-
schedule_frequency(Optional[KnowledgeBaseRefreshFrequency], default:None) –The frequency configuration for the refresh schedule. The frequency configuration specifies how often the schedule runs and, for weekly or monthly schedules, the day on which it runs. If you don't specify this parameter, the schedule keeps its existing frequency.
-
start_time(Optional[datetime], default:None) –The date and time, in ISO 8601 format, after which the schedule can start refreshing the knowledge base. The first refresh runs at the next scheduled time after this date and time. If you don't specify this parameter, the schedule keeps its existing start time.
-
state(Optional[ScheduleState], default:None) –The state of the refresh schedule. A schedule that isn't
ENABLEDdoesn't run refreshes. If you don't specify this parameter, the schedule keeps its existing state.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
21794 21795 21796 21797 21798 21799 21800 21801 21802 21803 21804 21805 21806 21807 21808 21809 21810 21811 21812 21813 21814 21815 21816 21817 21818 21819 21820 21821 21822 21823 21824 21825 21826 21827 21828 21829 21830 21831 21832 21833 21834 21835 21836 21837 21838 21839 21840 21841 21842 21843 21844 21845 21846 21847 21848 21849 21850 21851 21852 21853 21854 21855 21856 21857 21858 21859 21860 21861 21862 21863 21864 | |