Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neptune Client Returns All DB Clusters (Not Just Neptune) #4211

Closed
SeanFromIT opened this issue Jul 19, 2024 · 2 comments
Closed

Neptune Client Returns All DB Clusters (Not Just Neptune) #4211

SeanFromIT opened this issue Jul 19, 2024 · 2 comments
Assignees

Comments

@SeanFromIT
Copy link

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

@SeanFromIT SeanFromIT added bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged. labels Jul 19, 2024
@tim-finnigan tim-finnigan self-assigned this Jul 19, 2024
@tim-finnigan tim-finnigan added the investigating This issue is being investigated and/or work is in progress to resolve the issue. label Jul 19, 2024
@tim-finnigan
Copy link
Contributor

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 as neptune), and restricts the results list to DB clusters created by that engine.

@tim-finnigan tim-finnigan removed bug This issue is a confirmed bug. investigating This issue is being investigated and/or work is in progress to resolve the issue. needs-triage This issue or PR still needs to be triaged. labels Jul 19, 2024
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants