export const awsResolve = ( value ? ) : any => ( { promise : ( ) => Promise . resolve ( value ) } ) ; export const awsReject = ( statusCode , message = "" ) : any => ( { promise : ( ) => Promise . reject ( { statusCode , message } ) } ) ;