amazon web services - Transfer file from AWS S3 to OneDrive with AWS Lambda -
a client of ours requested have copies of files on both aws s3 , onedrive.
the usual mo: file sent ios application aws s3 bucket. triggers aws lambda function attaches file email , sends copy client, again store on onedrive. now, want skip email part , transfer file directly onedrive.
all research far points zapier or cloudrail or ms graph rest api. problem i'm having want transfer file aws lambda function (java8), automagically. tutorials , examples on ms graph needs client log in manually. client side logic. other methods have more overhead, , don't (unnecessarily) want make our stack more complicated is.
i realize specific case. systematically replacing client's file management system, without disrupting day-to-day operations much.
any conclusive pointers/examples/tutorials done server side appreciated.
also cloudrail it's necessary authenticate user, there methods store , use access token.
the services have 2 methods, loadasstring , saveasstring, , used store , load credentials. call loadasstring access token, string can different service service, this: [{“access_token”: “your access token”}]
Comments
Post a Comment