def save_ec2_state_locally(instance_id,<EOL>region,<EOL>username,<EOL>access_key_id,<EOL>secret_access_key):
<EOL>data = get_ec2_info(instance_id,<EOL>region,<EOL>access_key_id,<EOL>secret_access_key,<EOL>username)<EOL>return _save_state_locally(data)<EOL>
queries EC2 for details about a particular instance_id and
        stores those details locally