I am trying to make a call and retrieve meaningful data via the
“describe_instance” method within the Ruby AWS SDK. I’m pretty new to
ruby and it seems I’m missing something fundamental about nested
Here is the doc I’m using as reference http://amzn.to/1baKQ2h
Here is how I set things up (I changed all the data):
aws_instance = @ec2.client.describe_instances(:instance_ids =>
for example, I would like to retrieve the “availability_zone” which
appears to be nested (in the documentation) within the “placement” hash
which is in the “instances” set.
Can someone form a sample call that I could use as a reference?