nl_tokens: Aborts a request emitting the error and complete events .
pl_tokens: function abort ( ) { this . removeAllListeners ( 'validateResponse' ) ; this . removeAllListeners ( 'extractError' ) ; this . on ( 'validateResponse' , function addAbortedError ( resp ) { resp . error = AWS . util . error ( new Error ( 'Request aborted by user' ) , { <mask> : 'RequestAbortedError' , retryable : false } ) ; } ) ; if ( this . httpRequest . stream ) { // abort HTTP stream this . httpRequest . stream . abort ( ) ; if ( this . httpRequest . _abortCallback ) { this . httpRequest . _abortCallback ( ) ; } else { this . removeAllListeners ( 'send' ) ; // haven't sent yet, so let's not } } return this ; }