-
Notifications
You must be signed in to change notification settings - Fork 266
Description
Describe the bug
Requesting describe_volumes_modifications for multiple volumes will return InvalidVolume.NotFound if any of the specified volumes have no modification history. While the documentation says the error should be returned if the volume does not exist.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
The expected behavior is not to get InvalidVolume.NotFound, instead get an empty response if all specified volumes do not have a modification history.
Current Behavior
The received response contains InvalidVolume.NotFound error, while the volume exists and is functional.
Reproduction Steps
- Find a volume (or create one) that has no modification history
- Send a
describe_volumes_modificationssetting the volume ID in the request
Alternatively, you can try to combine multiple volumes with/without modification history, and observe that the result is the same.
Possible Solution
No response
Additional Information/Context
No response
Version
aws-sdk-ec2 v1.97.0
Environment details (OS name and version, etc.)
Ubuntu 22.04
Logs
An error occurred (InvalidVolumeModification.NotFound) when calling the DescribeVolumesModifications operation: Modification for volume 'vol-asdafdf3e38341592' does not exist.