Unable to set ScheduleExpression to at(some date) and delete rule after completion #4420
Labels
bug
This issue is a confirmed bug.
cloudwatch
p2
This is a standard priority issue
response-requested
Waiting on additional information or feedback.
Describe the bug
Hi,
I am encountering an issue with the boto3 library where I am unable to set the
ScheduleExpression
toat(some date)
using theput_rule
method for CloudWatch Events. Additionally, I am unable to delete the rule after it has been triggered because the library does not accept theat
ScheduleExpression
.Please let me know if there is a workaround for this issue or if there are any plans to support the
at(some date)
ScheduleExpression
in the future.Thank you!
Regression Issue
Expected Behavior
The
put_rule
method should accept theat(some date)
ScheduleExpression
and create the rule successfully.Current Behavior
The
put_rule
method throws aValidationException
indicating that theScheduleExpression
is not valid.Reproduction Steps
ScheduleExpression
set toat(some date)
using theput_rule
method.ScheduleExpression
is not accepted and results in aValidationException
.Code Example:
Possible Solution
IDK
Additional Information/Context
I also need to delete the rule after it has been triggered, but since the
at
ScheduleExpression
is not accepted, I am unable to achieve this.SDK version used
boto3==1.36.10
Environment details (OS name and version, etc.)
Python 3.11.5 // macOS Sonoma 14.2.1
The text was updated successfully, but these errors were encountered: