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

RDS - DescribeDBClusterEndpointsRequest with Filters returns InvalidParameterCombination error #3264

Closed
1 task
karenc-bq opened this issue Jan 22, 2025 · 4 comments
Labels
bug This issue is a bug. p2 This is a standard priority issue

Comments

@karenc-bq
Copy link

Describe the bug

Sending a RDS DescribeDBClusterEndpointsRequest with a Filter returns InvalidParameterCombination - The values list cannot be null for the filter db-cluster-endpoint-type.

Aws::RDS::Model::Filter filter;
filter.SetName("db-cluster-endpoint-type");
filter.SetValues({"CUSTOM"});

Aws::RDS::Model::DescribeDBClusterEndpointsRequest request;
request.SetFilters({filter});

When inspecting the DescribeDBClusterEndpointsRequest object in debug mode m_values has a size of 1 so it is not empty.
Please let me know if I am not using Filter correctly, thanks in advance.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

The custom endpoint matching the filter is returned.

Current Behavior

InvalidParameterCombination error is returned.

Reproduction Steps

  1. Create a custom endpoint with 1 instance on RDS
  2. Create a DescribeDBClusterEndpointsRequest
Aws::RDS::Model::Filter filter;
filter.SetName("db-cluster-endpoint-type");
filter.SetValues({"CUSTOM"});

Aws::RDS::Model::DescribeDBClusterEndpointsRequest request;
request.SetFilters({filter});
const auto response = client->DescribeDBClusterEndpoints(request);

Got the same results with the following filter.

Aws::RDS::Model::Filter filter;
filter.SetName("db-cluster-endpoint-status");
filter.AddValues("available");

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

1.11.488

Compiler and Version used

9.2.0

Operating System and version

Issue seem on both Windows and Ubuntu

@karenc-bq karenc-bq added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 22, 2025
@sbiscigl
Copy link
Contributor

sbiscigl commented Jan 22, 2025

replicated and confirmed its a bug in our serialization of lists members in query xml

we send

Action=DescribeDBClusterEndpoints
  &Filters.member.1.Name=db-cluster-endpoint-type
  &Filters.member.1.Value.1=CUSTOM
  &Version=2014-10-31

should be sending

Action=DescribeDBClusterEndpoints
  &Filters.Filter.1.Name=db-cluster-endpoint-type
  &Filters.Filter.1.Values.Value.1=CUSTOM
  &Version=2014-10-31

looking into a fix right now

@sbiscigl sbiscigl added p2 This is a standard priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Jan 22, 2025
@sbiscigl
Copy link
Contributor

alright should be fixed now, resolving the issue, give a shout again if you see anything wrong!

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.

@karenc-bq
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p2 This is a standard priority issue
Projects
None yet
Development

No branches or pull requests

2 participants