コード例 #1
0
 @Override
 protected void listUsers() {
   if (group != null) {
     users = iam.getGroup(new GetGroupRequest(group.getGroupName())).getUsers();
   } else {
     users = null;
   }
 }
コード例 #2
0
 private void removeUser(String userName) {
   iam.removeUserFromGroup(
       new RemoveUserFromGroupRequest()
           .withGroupName(group.getGroupName())
           .withUserName(userName));
 }