}
}
public boolean deleteApplicationGroup(String name) {
Map<String, ApplicationGroup> appgroups = getApplicationGroups();
ApplicationGroup appgroup = appgroups.remove(name);
try {
String json = getJson(appgroups);
s3Client.putObject(config.workS3BucketName, config.workS3BucketPrefix + "appgroups", new ByteArrayInputStream(json.getBytes()), new ObjectMetadata());