Skip to content

TaskScheduleDetails

Source code in docs_src/capo_datasync/types/task_schedule_details.py
class TaskScheduleDetails(TypedDict, closed=True):
    status_update_time: NotRequired["capo_datasync.types.time.Time"]
    """<p>Indicates the last time the status of your task schedule changed. For example, if DataSync automatically disables your schedule because of a repeated error, you can see when the schedule was disabled.</p>"""
    disabled_reason: NotRequired[
        "capo_datasync.types.schedule_disabled_reason.ScheduleDisabledReason"
    ]
    """<p>Provides a reason if the task schedule is disabled.</p> <p>If your schedule is disabled by <code>USER</code>, you see a <code>Manually disabled by user.</code> message.</p> <p>If your schedule is disabled by <code>SERVICE</code>, you see an error message to help you understand why the task keeps failing. For information on resolving DataSync errors, see <a href="https://docs.aws.amazon.com/datasync/latest/userguide/troubleshooting-datasync-locations-tasks.html">Troubleshooting issues with DataSync transfers</a>.</p>"""
    disabled_by: NotRequired[
        "capo_datasync.types.schedule_disabled_by.ScheduleDisabledBy"
    ]
    """<p>Indicates how your task schedule was disabled.</p> <ul> <li> <p> <code>USER</code> - Your schedule was manually disabled by using the <a href="https://docs.aws.amazon.com/datasync/latest/userguide/API_UpdateTask.html">UpdateTask</a> operation or DataSync console.</p> </li> <li> <p> <code>SERVICE</code> - Your schedule was automatically disabled by DataSync because the task failed repeatedly with the same error.</p> </li> </ul>"""

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.

status_update_time instance-attribute

status_update_time: NotRequired[Time]

Indicates the last time the status of your task schedule changed. For example, if DataSync automatically disables your schedule because of a repeated error, you can see when the schedule was disabled.