schedule_list = response["MonitoringScheduleSummaries"]
for schedule in schedule_list:
sagemaker_session.delete_monitoring_schedule(
monitoring_schedule_name=schedule["MonitoringScheduleName"]
)
def _show_logs(resource_name, resource_type, sagemaker_session):
After Change
monitor.stop_monitoring_schedule()
executions = monitor.list_executions()
for execution in executions:
execution.stop()
// Wait for all executions to completely stop.
// Schedules can"t be deleted with running executions.
for execution in executions:
for _ in retries(60, "Waiting for executions to stop", seconds_to_sleep=5):