Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFileFromS3EventRecord ¶
func DownloadFileFromS3EventRecord(downloader *s3manager.Downloader, record events.S3EventRecord) (*os.File, error)
DownloadFileFromS3EventRecord downloads a file from an S3 event's S3 Event Record. Takes in a pointer to a downloader object.
for _, eventObject := range event.Records { file, err := s3.DownloadFileFromS3EventRecord(downloader, eventObject) if err != nil { log.Panicln(err) } ProcessFile(file.Name()) }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.