Defrost the peas. Cook the pasta in boiling salted water according to the instructions on the packet. Peel and wash the carrot, cut it in half lengthwise and cut into very fine slices. Peel shallot and cut into very fine cubes.
Wash the herbs, dab dry and chop finely. Cut cooked ham into cubes. Put everything together with yoghurt and peas in a bowl and mix. Season to taste with salt and pepper