ExtractGrantsGovDBToXML

command
v0.0.0-...-f36794c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package main compiles to an AWS Lambda handler binary that, when invoked, downloads and extracts the zip archive file object specified in the invocation event from S3. The XML file extracted from the zip archive is then uploaded back to S3, first to an intermediary destination (of "$TMP_KEY_PATH_PREFIX/<archive base path>/extract.xml"). It then verifies that no unexpected content is provided by the zip file (suggesting that the contents from Grants.gov may contain breaking changes). Upon successful verification, the extracted XML file object is moved to its permanent S3 destination, with the same base path (key prefix) of the incoming zip archive, but with a file name (key suffix) of "extract.xml", i.e. "<archive base path>/extract.xml".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL