Amplify - Add definitions for decoders and ajaxsettings

also, further defined some instances of "Function" and "any"