The A Ionian mode (that's the same as the A major scale, remember ... Here we're building simple major and minor triads (three-note diatonic chords) upon each note of the mode.
Haydn’s Symphony No. 101 in D major, ‘The Clock’, is in a major key and uses mainly diatonic chords: A dominant seventh is used at the end of the phrase before the first time bar.