Unable to describe_recovery_snapshots (drs) based on date range #3703
-
Folks, Trying to describe DRS recovery snapshots like this works just fine: `
This works, it results in an output with the recovery snapshots. However, I've been unable to make it work with a filter for fromDateTime and toDateTime: `
` Output:
Exception:
Documentation says the from and to dates are string values. Any help would be appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @mmilanetti, thanks for reaching out. Looking at the regex mentioned in the documentation, it looks like it's expecting a 'Z' with an optional decimal value at the end of your dates. 2023-05-07T22:46:26Z Both of those match the regex it's asking for. Could you give that a try, and if it doesn't work, provide debug logs (boto3.set_stream_logger('') and redact sensitive information)? Thanks! |
Beta Was this translation helpful? Give feedback.
Hi @mmilanetti, thanks for reaching out. Looking at the regex mentioned in the documentation, it looks like it's expecting a 'Z' with an optional decimal value at the end of your dates.
2023-05-07T22:46:26Z
2023-05-07T22:46:26.1Z
Both of those match the regex it's asking for. Could you give that a try, and if it doesn't work, provide debug logs (boto3.set_stream_logger('') and redact sensitive information)? Thanks!