Yes its any AA flight as long as it falls within the Flight number range mentioned on the AS site
To ensure flight credit, the two letter airline code must precede the flight number on your ticket receipt or boarding pass.
For example, AA XXXX, operated by American Eagle.
Flights must also be within the eligible flight number range.
0000-5599
6350-7258
7454-7607
8050-8099