AWS Lambda Response Message
Upon completion of the FileMasker Lambda, AWS shall return a JSON completion response message from FileMasker.
inPath: The S3 path to the original file that was used as input for masking. This original file is never overwritten or deleted by FileMasker.
outPath: The S3 path to where the masked version of the original file was written.
projectPath: the S3 path to the FileMasker project file (.fmp) that was used for the masking definitions.
resultCode: SUCCESS, WARNING or ERROR
resordsProcessed: The count of records that were written to the output file. This shall always be the same as the number of records in the input file when resultCode is SUCCESS.
inSizeBytes: The byte count of the input file.
outSizeBytes: The byte count of the output file. This can be different to inSizeBytes because masked values may be different in length to the original values. E.g. A masked person's name will likely be a different length to the original name.
inCompressionActual: Actual compression determined for the input file. NONE or GZIP.
outCompressionActual: Actual compression used for the output file. NONE or GZIP.
valuesUpdated: The total number of fields that were processed by masks.
durationMs: The total masking execution duration in milliseconds.
diagnosticMsg: If resultCode is WARNING or ERROR then this shall contain a descriptive message of this issue encountered. If resultCode is SUCCESS then this field shall be empty.
version: The version number of the FileMasker masking library.