For deprecation you can do something like this: https://github.com/fog/fog/blob/master/lib/fog/aws/requests/compute/describe_instances.rb#L58