Processors - S3 Status Code

Code

Status codes for the s3 processing classes

lambdas.s3_status.EVENT_CANNOT_BE_PROCESSED = 1100

The S3 event passed by AWS cannot be processed

lambdas.s3_status.EVENT_NOT_PUT_OBJECT = 1101

The S3 event passed by AWS is not a PUT object event

lambdas.s3_status.OBJECT_CANNOT_BE_PROCESSED_AS_CSV = 1102

The object in the event cannot be processed as a CSV file

lambdas.s3_status.INVALID_SOURCE_OBJECT_NAMES = 1103

The source dictionary passed to the copy function are not present or invalid

lambdas.s3_status.INVALID_DESTINATION_OBJECT_NAMES = 1104

The destination dictionary passed to the copy function are not present or invalid

lambdas.s3_status.FAILED_TO_COPY_OBJECT = 1105

Failed to copy the S3 object

lambdas.s3_status.FAILED_TO_DELETE_OBJECT = 1106

Failed to copy the S3 object

lambdas.s3_status.S3_BUCKET_NAME_INVALID = 1107

S3 Bucket name passed is None or blank

lambdas.s3_status.S3_KEY_NAME_INVALID = 1108

S3 Key name passed is None or blank

lambdas.s3_status.S3_NO_HEADERS_PASSED_TO_WRITE = 1109

No headers were passed to write to the CSV

lambdas.s3_status.S3_NO_ITEMS_PASSED_TO_WRITE = 1110

No items were passed to write to the csv

lambdas.s3_status.S3_CANNOT_WRITE_INMEMORY_CSV = 1111

No items were passed to write to the csv

lambdas.s3_status.S3_CANNOT_PUT_CSV_TO_S3 = 1112

An error occurred when we tried writing the CSV to S3