I have a snapshot id and wanted to know if there was any way to get he volume id the snapshot came from.
Use the DescribeSnapshots
API call. Here's an example using the AWS Command-Line Interface (CLI):
$ aws ec2 describe-snapshots --snapshot-ids snap-5caa7fb4 --query 'Snapshots[*].VolumeId' --output text
vol-bd9b80c5