This creates a mode of A Harmonic Minor which is called E Phrygian dominant ... It could be seen as an A Aeolian line but ...
Harmonic minor keys are used when writing chords. There is another version of the minor key known as the melodic minor. This is used when writing a melody. Each key signature has two possible keys.