private String populateASGName(String region,String instanceId){
  GetASGName getASGName=new GetASGName(region,instanceId);
  try {
    return getASGName.call();
  }
 catch (  Exception e) {
    logger.error("Failed to determine ASG name.",e);
    return null;
  }
}

private String populateASGName ( String region , String instanceId ) { GetASGName getASGName = new GetASGName ( region , instanceId ) ; try { return getASGName . call ( ) ; } catch ( Exception e ) { logger . error ( "Failed to determine ASG name." , e ) ; return null ; } }
query amazon to get asg name . currently not available as part of instance info api .
