Unexpected error type returned for DescribeDBClusterParameterGroups #2661
Labels
bug
This issue is a bug.
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Acknowledgements
go get -u github.com/aws/aws-sdk-go-v2/...
)Describe the bug
When calling
DescribeDBClusterParameterGroups
with aDBClusterParameterGroupName
that does not exist, the error returned isDBParameterGroupNotFoundFault
, but I would expect aDBClusterParameterGroupNotFoundFault
.Expected Behavior
I would expect the error returned would be a
DBClusterParameterGroupNotFoundFault
typeCurrent Behavior
The error type returned is
DBParameterGroupNotFoundFault
, which is for instance parameter groups, not cluster parameter groups.The reproduction code below yields this output:
Reproduction Steps
Possible Solution
No response
Additional Information/Context
No response
AWS Go SDK V2 Module Versions Used
Compiler and Version used
go version go1.22.1 darwin/arm64
Operating System and version
Darwin blklfvq104fww.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:17:33 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6031 arm64
The text was updated successfully, but these errors were encountered: