AWS dms describe-endpoints filters doesn't work if source and target are provided in filter types #7926
-
Hi, I tried to filter dms endpoints by providing source and target as filters but it is throwing a 500 error. I am not sure if filtering is designed the way it is or a bug. `aws dms describe-endpoints --filters Name=endpoint-type,Values=source,target Output: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @divakarpatil51, thanks for reaching out. Could you provide debug logs of this behavior? You can get debug logs by adding |
Beta Was this translation helpful? Give feedback.
-
Hi @RyanFitzSimmonsAK, PFB debug logs: Command: Logs:
|
Beta Was this translation helpful? Give feedback.
-
Hi @divakarpatil51, thanks for following up. It looks like the
Since endpoints are either a source or a target, filtering both of them would be the same as filtering neither of them. I hope this answers your question, please let me know if you have any follow-up questions. @github-actions proposed answer |
Beta Was this translation helpful? Give feedback.
Hi @divakarpatil51, thanks for following up. It looks like the
endpoint-type
filter is intended to filter eithersource
ortarget
, rather than both at the same time. Both of the following commands worked for me.aws dms describe-endpoints --filters Name=endpoint-type,Values=source
aws dms describe-endpoints --filters Name=endpoint-type,Values=target
Since endpoints are either a source or a target, filtering both of them would be the same as filtering neither of them. I hope this answers your question, please let me know if you have any follow-up questions.
@github-actions proposed answer