Using s3 response and iterate over file to add new responses

+1 vote
Hi All,

I have a use case in which i am able to retreive the S3 file response. Then i read the file content body and unmarshal it to a struct. The response(file i pulled from s3) basically is a json file with multiple fields.

I wanted to check if a saved copy of this file exists, and if so i wanted to pull that file and loop over the json file i just retreived from S3(this file has fields which are empty) so that fields which have answers can be populated. Does someone have any example of doing this in Golang?
Mar 27 in AWS by anonymous
• 130 points
52 views

1 answer to this question.

0 votes
answered Mar 31 by Kim

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

How to upload to Dropbox and overwrite a file Using CURL

You need to use mode with parameter ...READ MORE

answered Aug 8, 2018 in AWS by Priyaj
• 57,530 points
1,321 views
0 votes
2 answers

How to skip headers when reading a CSV file in S3 and creating a table in AWS Athena?

Thanks for the answer. This should be clear ...READ MORE

answered Aug 14, 2019 in AWS by athenauserz
3,029 views
0 votes
1 answer

How to download the latest file in a S3 bucket using AWS CLI?

You can use the below command $ aws ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,150 points
7,987 views
–1 vote
1 answer

How to read a csv file stored in Amazon S3 using csv.DictReader

The code would be something like this: import ...READ MORE

answered Oct 25, 2018 in AWS by Archana
• 5,600 points
21,803 views
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 57,530 points
742 views
0 votes
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 57,530 points
1,522 views
0 votes
1 answer

Import my AWS credentials using python script

Using AWS Cli  Configure your IAM user then ...READ MORE

answered Nov 16, 2018 in AWS by Jino
• 5,670 points
931 views
0 votes
2 answers