Ok is this Jan 26 2018 expiration? So it's already expired? Ok well in that case, you did the right thing by holding onto the positions then. It was cutting it really close but AMZN closed at 1401.19 on that day, still below your short call so you would've pocketed the entire premium from holding onto that credit spread to its expiration. If you had been exercised against, then you might've been in a bit of trouble since the brokerage usually won't settle your account until Monday so you wouldn't be short until Monday, Jan. 29 and on Jan. 29, AMZN shot up to 141X and with you being short at 1402.5, your losses would've been (1402.5 -1410) X 1000 = $7.5K with commissions. But it would still NOT be $1.4 Million in debit for you because you would NOT have been buying the stock for $1.4M if you got assigned, you would've been SHORT the stock IF you didn't already own the stock at the time when your short calls were exercised against you. When you short a call and somebody exercise that call against you when the call is ITM and you don't own the stock, you would be SHORTING the stock not buying the stock; the person who exercised the long call would be buying the stock from you, the call seller. Your account would've been $1.4 million in credit because you shorted the stock. It's just that you would be slightly short-squeezed on Monday because the market price of AMZN on Monday went up.
Now assuming that AMZN went up further on Jan. 26 and really past your short call strike of 1402.5, then you would've had to close out that short call to avoid being assigned and potentially being short-squeezed should you be assigned and at the same time hope that your long call goes up higher to recover some of your losses.
I would recommend you to study a bit more about the basics of options regarding exercising and etc. in addition to technical analysis. Option trading is more about optimizing trading outcomes more than anything else I find.