aws-sdk-java icon indicating copy to clipboard operation
aws-sdk-java copied to clipboard

describeDBClusters for DocumentDB returns RDS Clusters

Open anilcs81 opened this issue 6 years ago • 2 comments

AmazonDocDBClient docDBClient = (AmazonDocDBClient) AmazonDocDBClientBuilder.standard().withCredentials(new AWSStaticCredentialsProvider(temporaryCredentials)).withRegion(region.getName()).build(); List<DBCluster> clusterList = docDBClient.describeDBClusters(new DescribeDBClustersRequest()).getDBClusters();

Above code returns RDS clusters not DocDB clusters as expected. Same behavior is observed for Neptune as well

anilcs81 avatar Jan 05 '20 20:01 anilcs81

See https://github.com/aws/aws-sdk-java/issues/2192#issuecomment-571359359, will update when they respond.

debora-ito avatar Jan 06 '20 23:01 debora-ito

@anilcs81 so the DocDB team also responded saying it is an expected behavior. I asked them to add a note to the DescribeDBClusters docs.

I'll go ahead and close this. Feel free to reopen if you have further questions.

debora-ito avatar Jan 21 '20 00:01 debora-ito