package hudson.plugins.ec2;


/**
 * @author Kohsuke Kawaguchi
 */
public class ListRegions {
    public static void main(String[] args) throws Exception {
//        Jec2 ec2 = new Jec2("...","...");
//        final List<RegionInfo> regions = ec2.describeRegions(null);
//        for (RegionInfo r : regions)
//            System.out.println(r);
        /*
            AvailabilityZone[name=eu-west-1, url=ec2.eu-west-1.amazonaws.com]
            AvailabilityZone[name=us-east-1, url=ec2.us-east-1.amazonaws.com]
            AvailabilityZone[name=ap-northeast-1, url=ec2.ap-northeast-1.amazonaws.com]
            AvailabilityZone[name=us-west-1, url=ec2.us-west-1.amazonaws.com]
            AvailabilityZone[name=ap-southeast-1, url=ec2.ap-southeast-1.amazonaws.com]
         */
    }
}
