Need to read the content of text file which is uploaded in the aws S3 bucket. I have the url for the file located in S3 bucket. Could someone please help me to read the text file content using the S3 Url.
I know we can read the Data using ResponseStream but would like to read it using the Url / Path. Need to create AWS lambda using .net core. Below code highlights how to read it using responsestream
using (GetObjectResponse response = await _client.GetObjectAsync(requestGet)) using (Stream responseStream = response.ResponseStream) using (StreamReader reader = new StreamReader(responseStream))