2 Answers
- Newest
- Most votes
- Most comments
0
Hi,
Did you try to create your schedule with the regular CLI command to associate a schedule to a group rather than via SageMaker ?
See https://docs.aws.amazon.com/scheduler/latest/UserGuide/managing-schedule-group-create.html
aws scheduler create-schedule --name <your-schedule> --schedule-expression 'rate(5 minutes)' \
--target '{"RoleArn": "ROLE_ARN", "Arn": "QUEUE_ARN", "Input": "TEST_PAYLOAD" }' \
--group-name <your-group>
--flexible-time-window '{ "Mode": "OFF"}'
Best,
Didier
0
Yeah I can do that, or from the console. I was just wondering if I could do the same via the sagemaker api. Also I'd like to attach a schedule to an existing pipeline and was wondering if this is possible via the api or only from cli/console.
answered 2 years ago
See my comment in my answer
Relevant content
- asked 2 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 2 years ago

To answer your additional question: yes, you can call create-schedule via programming. For example, with Python, the API is https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/scheduler/client/create_schedule.html