TaskScheduleDetails
¶
Source code in docs_src/capo_datasync/types/task_schedule_details.py
disabled_by
instance-attribute
¶
disabled_by: NotRequired[ScheduleDisabledBy]
Indicates how your task schedule was disabled.
-
USER- Your schedule was manually disabled by using the UpdateTask operation or DataSync console. -
SERVICE- Your schedule was automatically disabled by DataSync because the task failed repeatedly with the same error.
disabled_reason
instance-attribute
¶
disabled_reason: NotRequired[ScheduleDisabledReason]
Provides a reason if the task schedule is disabled.
If your schedule is disabled by USER, you see a Manually disabled by user. message.
If your schedule is disabled by SERVICE, you see an error message to help you understand why the task keeps failing. For information on resolving DataSync errors, see Troubleshooting issues with DataSync transfers.