ram: could not get pending status ram resource shares #8951
Labels
bug
This issue is a bug.
p2
This is a standard priority issue
ram
service-api
This issue is due to a problem in a service API, not the SDK implementation.
Describe the bug
aws ram get-resource-shares --resource-owner OTHER-ACCOUNTS
could not get PENDING status ram share resources, just shows up ACTIVE status
Even explicitly specifying PENDING status with:
aws ram get-resource-shares --resource-owner OTHER-ACCOUNTS --resource-share-status PENDING
{ "resourceShares": [] }
And after I accepted the pending status ram share resource on console, it will shows up since the status of ram share resource is ACTIVE.
Regression Issue
Expected Behavior
show all status share resources on the ram:get-resource-shares api.
Current Behavior
Only show "ACTIVE" resources, or FAILED? not all resources.
Reproduction Steps
create ram share resources, but not accept on the target account.
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.9.13 Python/3.9.11
Environment details (OS name and version, etc.)
Darwin/23.1.0 exe/x86_64 prompt/off
The text was updated successfully, but these errors were encountered: