"""Config file for lambda function.""" # HTTP Status Codes HTTP_SUCCESS = 200 # Response Statuses STATUS_SUCCESS = 'success' STATUS_ERROR = 'error' STATUS_SKIP = 'skip' # Scoring Flags ENABLED = 'enabled' # Logging Messages LOG_SUCCESS_S3_UPLOAD = 'Retrieved indexable product and uploaded to S3' LOG_SUCCESS_NO_SCORING = 'Processing completed but not eligible for scoring' LOG_ERROR_PROCESSING = 'Processing failed: {error}' # Error Messages ERROR_S3_UPLOAD = 'S3 upload failed with status code: {status_code}' ERROR_INVALID_PAYLOAD = 'Invalid message structure: Missing payload' TTL_15_MIN = 900