Amazon has confirmed that it will lay off approximately 9,000 employees