Skip to content

RDS - DescribeDBClusterEndpointsRequest with Filters returns InvalidParameterCombination error #3264

@karenc-bq

Description

@karenc-bq

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue is a bug.p2This is a standard priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions