Closed SeanFromIT closed 3 months ago
Thanks for reaching out. This is expected behavior for that command and the underlying API — the documentation you linked notes:
This operation can also return information for Amazon RDS clusters and Amazon DocDB clusters.
You can use the Filters
parameter and specify engine
to filter on specific clusters like Neptune:
engine
- Accepts an engine name (such asneptune
), and restricts the results list to DB clusters created by that engine.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Describe the bug
Boto3 Neptune client's describe_db_clusters returns the same DB clusters as RDS's describe_db_clusters.
Expected Behavior
I would expect the Neptune client to only return Neptune clusters.
Current Behavior
Returns all clusters such as DocumentDB.
Reproduction Steps
neptune = boto3.client('neptune') output = neptune.describe_db_clusters() print(output)
Inspect ['DBClusters']['Engine'] response for strings != 'neptune'Possible Solution
I'm guessing it's just passing through to the RDS APIs behind the scenes. Consider filtering on ['DBClusters']['Engine'] == 'neptune'
Additional Information/Context
No response
SDK version used
1.34.91
Environment details (OS name and version, etc.)
macOS 13.6.7 (22G720); Python 3.11.2