diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..72851ad --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,296 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + + { + "type": "aws-sam", + "request": "direct-invoke", + "name": "Invoke Lambda", + "invokeTarget": { + "target": "code", + "lambdaHandler": "${fileBasenameNoExtension}.lambda_handler", + "projectRoot": "${fileDirname}" + }, + "lambda": { + "runtime": "python3.11", + "payload": { + "json": { + "level": "INFO", + "location": "lambda_handler:30", + "message": { + "Records": [ + { + "eventSource": "aws:ses", + "eventVersion": "1.0", + "ses": { + "mail": { + "timestamp": "2024-04-19T19:02:04.426Z", + "source": "joel.balcaen@levio.ca", + "messageId": "uo9qeogfos736jfkqdeh0jupfieiulp0h53d9qg1", + "destination": [ + "rfp@lab.levio.cloud" + ], + "headersTruncated": false, + "headers": [ + { + "name": "Return-Path", + "value": "" + }, + { + "name": "Received", + "value": "from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2124.outbound.protection.outlook.com [40.107.96.124]) by inbound-smtp.us-east-1.amazonaws.com with SMTP id uo9qeogfos736jfkqdeh0jupfieiulp0h53d9qg1 for rfp@lab.levio.cloud; Fri, 19 Apr 2024 19:02:04 +0000 (UTC)" + }, + { + "name": "X-SES-Spam-Verdict", + "value": "PASS" + }, + { + "name": "X-SES-Virus-Verdict", + "value": "PASS" + }, + { + "name": "Received-SPF", + "value": "pass (spfCheck: domain of levio.ca designates 40.107.96.124 as permitted sender) client-ip=40.107.96.124; envelope-from=joel.balcaen@levio.ca; helo=NAM02-SN1-obe.outbound.protection.outlook.com;" + }, + { + "name": "Authentication-Results", + "value": "amazonses.com; spf=pass (spfCheck: domain of levio.ca designates 40.107.96.124 as permitted sender) client-ip=40.107.96.124; envelope-from=joel.balcaen@levio.ca; helo=NAM02-SN1-obe.outbound.protection.outlook.com; dkim=pass header.i=@levio.ca; dmarc=pass header.from=levio.ca;" + }, + { + "name": "X-SES-RECEIPT", + "value": "AEFBQUFBQUFBQUFGOWg0amx2UUUwMml4YUMxRnhXUFovM3J5UnRvdUdxTHpKeUJpQUVTTmgxWHRYZTBleHdlK09xaVIrOWtjTFYxL29ldC8rSWJiRyttOVphQlhjWFpEZ2NrczRuanJrN0RCRnE4WkxKak9xaXVsd0Fhb0VpYVBubHAwaDdBVVhXeDRNTGoxWlVJQmk0bFpTaGFlVlEyZ2hTOVZZR2tNeE01dlgrR2VQdkJJb2VaVWl1aEtTbWZUZDY5TDdZeW0wREhabTFxYjF6WWNXbGgwZU13Q1NzM1F4ODBZRFR2RVRQcjVDTlZhczNmeUQ4N1R2a3JUOG9LTFEyUm51anloWngvdHp2TWY2dW1SbFowSGZ1aEJlZHBNYXJXS0VneW9sd1UxeURLdGJmVnlseFE9PQ==" + }, + { + "name": "X-SES-DKIM-SIGNATURE", + "value": "a=rsa-sha256; q=dns/txt; b=Y0CsQ2/1kB/rWVLbroWjwTfiM6EaboDSfu3HTN+nLcPZENAi4q9Ippl+3irTkSrgxMVNl4Xwpw/XzLoD9/DGGNn8s3FBXKdeySeU8yx3zntJeTAgxMoHMCHGPlWXSVAjzYUhfArw/UQ49njS/bQqLEUZN+/9nWEOZ9hOWfYKs3k=; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1713553325; v=1; bh=9hdD0mfJUbwVrBO6+3Ua+gQ3Y0e6mrZbgqWAJ5NmtEo=; h=From:To:Cc:Bcc:Subject:Date:Message-ID:MIME-Version:Content-Type:X-SES-RECEIPT;" + }, + { + "name": "ARC-Seal", + "value": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VDJmyKH+waucS2RuRcBtIo8mydqkoNcUpNq8JzE/oOyTFNmOdfMk1RSzprrFn1nb8bFHWByzsLU/IHzTNezdzK7P7ovolhD/Mb9CyLFEEA2Ide3iE9x0NOE5lnNOjClUO/rDS0xOnDcrKId52l6/8e2R0aqo8g3JIcrOA2ogtYkJKFUBl5e2hNSmkNTQb+6n9KlQNmLFBnDcw8BDJEYRMUIeVBctq8BnYQWX9GfE8uqZecrO1BQt8gc7v589xYX8Az54ElURSmFlnLWGOUjkSWwVkrX4aTOvpL/EQVD/cMO2QPhcQTxqtcp7ZvRC3MQBnYIi/CjY2AWtaD8zuxdB6w==" + }, + { + "name": "ARC-Message-Signature", + "value": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9hdD0mfJUbwVrBO6+3Ua+gQ3Y0e6mrZbgqWAJ5NmtEo=; b=KjeyDK4+1wfgQL/bXkGdohkZUozIiWuGMI8W4INKKQpTBo0qa9MTD0cyuvySVXqbE6g36DWUYBOzQxbKnGS6e+ekVJK1jAzs9lYwkJrKipT6dEHfuwHuziaYhPuBGN9uxq8yrTL8iRo1oXgjeUlj8kVJaXmsfuENEWQ9m4Msy+DS9jI/DwFb4KKsjj+pIwc+T27IgBCdjaIH0f/Jy/WXuaS9Yyp62hJwRvms8strwkzPLM4OSqBL5eVa4iW55Y0gsHAlqb8QfeMI+3WhEUVBmHwLbqxaV9+hB4GDewk9g+fFX8Hct+MxeV+sSxNOibxXVqfylc0BzrL5E/JMFRFWvw==" + }, + { + "name": "ARC-Authentication-Results", + "value": "i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=levio.ca; dmarc=pass action=none header.from=levio.ca; dkim=pass header.d=levio.ca; arc=none" + }, + { + "name": "DKIM-Signature", + "value": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=levio.ca; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9hdD0mfJUbwVrBO6+3Ua+gQ3Y0e6mrZbgqWAJ5NmtEo=; b=CFawG/oR3lU/dUvQtFogEmMw0yf3R6Pv9kgHkpHTpPLOgBtHm2ZOlr/lRsicFcKlSI/6bIZo4zrY7RZuq+JVM+waWqbZkS3O7A73qcrKdvArhBik54Fh7yDNgKkU/2yu/Co6O5asSCbP2Q02t0dyk3UfGkv0XF4XUZjzUkJEOqk=" + }, + { + "name": "Received", + "value": "from BN7PR08MB4305.namprd08.prod.outlook.com (2603:10b6:406:ef::29) by PH0PR08MB7034.namprd08.prod.outlook.com (2603:10b6:510:97::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Fri, 19 Apr 2024 19:02:00 +0000" + }, + { + "name": "Received", + "value": "from BN7PR08MB4305.namprd08.prod.outlook.com ([fe80::e9b4:e429:4cb:5d9c]) by BN7PR08MB4305.namprd08.prod.outlook.com ([fe80::e9b4:e429:4cb:5d9c%6]) with mapi id 15.20.7472.037; Fri, 19 Apr 2024 19:02:00 +0000" + }, + { + "name": "From", + "value": "Joel Balcaen " + }, + { + "name": "To", + "value": "\"rfp@lab.levio.cloud\" " + }, + { + "name": "Subject", + "value": "reded" + }, + { + "name": "Thread-Topic", + "value": "reded" + }, + { + "name": "Thread-Index", + "value": "AQHakowMPX2aDZ1170yuNyukkl8uSw==" + }, + { + "name": "Date", + "value": "Fri, 19 Apr 2024 19:02:00 +0000" + }, + { + "name": "Message-ID", + "value": "" + }, + { + "name": "Accept-Language", + "value": "en-CA, en-US" + }, + { + "name": "Content-Language", + "value": "en-CA" + }, + { + "name": "X-MS-Has-Attach", + "value": "" + }, + { + "name": "X-MS-TNEF-Correlator", + "value": "" + }, + { + "name": "msip_labels", + "value": "" + }, + { + "name": "authentication-results", + "value": "dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=levio.ca;" + }, + { + "name": "x-ms-publictraffictype", + "value": "Email" + }, + { + "name": "x-ms-traffictypediagnostic", + "value": "BN7PR08MB4305:EE_|PH0PR08MB7034:EE_" + }, + { + "name": "x-ms-office365-filtering-correlation-id", + "value": "1ce3497b-89d4-4810-ddda-08dc60a33147" + }, + { + "name": "x-ms-exchange-senderadcheck", + "value": "1" + }, + { + "name": "x-ms-exchange-antispam-relay", + "value": "0" + }, + { + "name": "x-microsoft-antispam", + "value": "BCL:0;" + }, + { + "name": "x-microsoft-antispam-message-info", + "value": "u1Bp/CJ4/Q8/Ly4EkE405ch+mUwPb3FE13UbmpDnbwJcylVj8tpwVH1z8qwA7LqQ1V6aGF+ldjWtJL/DhIyHLarn/8dbRN6VtVeVvULJv5RsmPsbqKZ1RMiSEGQQP9xpwb+00DiCvlW8bCBMsxI88u3zdcmSXLTU6y3Eg1gWqgGtxaF2IgrsdqpsfIqrEOfya8X4QM1+mDGQZiWLjhzWJHdATmDl6IFZ5s+MXkHwSAeujvB45VNvKNV+jemFLWzwIYRxtaBd5Q+Gvd0yi+hU3ivFVDj5cukVtTHAh7hhGzPRNbRf4DvmUdaVfaTL+jY42OtynmGPWyE2pFnTLm4AhVKV8LXEEH4bJz9UbHlpzhsG3JDgqdaPXqIUuRZExXVEO7CopP4pzw4cG8nIqkIKMgS2KBRwk5BFVQLEzrhd+t+TudeN6487pJ+XRNqdb+ZUtByTpDCRr2Kk47P9O78cd3xzbHZNyC7kKsmQIKjGtptlUyiTwEslh5WguhaE1XhlOIQzaMIQGdKKZAdkK8wYFhVfky4EvfE4WciAg5XuxGcv3iwFWtHd2uLVMvv9C6OxV2Kdhgsv/eO4dPCz3yhe1MAf7SfqLDsKijc/BUiPxs0exbIoesxm/1CM60eIpIGcM0wWgB6td5Lg3DkEexPVZh5oG2SnXpnzutn0IJ3qK6ytGQHA7x5Fyl0h4g/KfGz2MPQaC5iAcZ4u30ypAjp9hPKZ/x7FruKyT50WhXX76RQkOhSoU/mk6dLgGOpGjDqibV/n2s+TpB6m7pN1soiGOLMeIBzCP5HpM3vhlUbYu46iejp/AvNhFFVH0/y/U1E74EebjSq7/ArmuiaNtZZ4jjGQMnElaIRyiC6qRdYztxY/1S7msXYrKI3rnpK/Ka+Unb8yogx4k81ldDJRGlznZcaZjzh0zjSjXw+Orw6Gy10Hcwk4/g390rTpKHiPimVrL43NeJDHvxNy9JpcXcTQcxZrAiQSsIzpawctrcMubYO1wCmmiyKpROPn+bIi517/hkympOAyXlyCF4p7aTmLow8Sknv58E858n32OOR6qu8zdGj0X2ytwwbDilNyX1bi" + }, + { + "name": "x-forefront-antispam-report", + "value": "CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN7PR08MB4305.namprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(366007)(376005)(38070700009);DIR:OUT;SFP:1102;" + }, + { + "name": "x-ms-exchange-antispam-messagedata-chunkcount", + "value": "1" + }, + { + "name": "x-ms-exchange-antispam-messagedata-0", + "value": "H+TCZOq7/+e9qYWe1pJQ7yEM4gXMxA6OqSK7oQzsOJhxv6cBt1tQyKMGvQOvk2vy2yXo+lOanv8YxzA1l1ffvNezNegJs8rSqKGAnzdeBRUmHVI0YphzpyJxNPJDv6eei+nzYlWLSd5+gYLllHWa6hg3xUZsc7YdwVNS2IR5qknX3myKjgCWEWsKkHa8yp3ScRP7JFWLA/de8/n3eujD1cHPTflD6XZdBw3itrj9XHe1Ms46Ha5mCVJsHL6b//fJ6AkJbxPfWsWm89z66whn2DUtrsx6ZsyayipfV5mUBg4xiPRASOFUtRXI74fVTOpcf/sSC0ZzwgP0N8/J4rL/Sptkv0KMAAPhzvfKs/qh+yd2cruDklusBguPF4Yhj7b68FmxwGmKeZYxb3DwjxtQ4D30k4lJ2waRXp2UABvkA0x6ymGhDY4vlsqFfXLxNgJpMShDbp4rt+VSZvGpmELzTB3/ZVvhCs0xXLvUMd6bdZLQBDoVv4G7xecPhGm60ui96tDeuRF+dsLTW8O5kEHDf8bgmrRrE7xNzy69rtp7+lNJucG6bayM03h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tS2Drnom4Af9dm++W8QZu5/r2uGBuh" + }, + { + "name": "Content-Type", + "value": "multipart/alternative; boundary=\"_000_BN7PR08MB430577F745E77144C2E7EF39EB0D2BN7PR08MB4305namp_\"" + }, + { + "name": "MIME-Version", + "value": "1.0" + }, + { + "name": "X-OriginatorOrg", + "value": "levio.ca" + }, + { + "name": "X-MS-Exchange-CrossTenant-AuthAs", + "value": "Internal" + }, + { + "name": "X-MS-Exchange-CrossTenant-AuthSource", + "value": "BN7PR08MB4305.namprd08.prod.outlook.com" + }, + { + "name": "X-MS-Exchange-CrossTenant-Network-Message-Id", + "value": "1ce3497b-89d4-4810-ddda-08dc60a33147" + }, + { + "name": "X-MS-Exchange-CrossTenant-originalarrivaltime", + "value": "19 Apr 2024 19:02:00.2426 (UTC)" + }, + { + "name": "X-MS-Exchange-CrossTenant-fromentityheader", + "value": "Hosted" + }, + { + "name": "X-MS-Exchange-CrossTenant-id", + "value": "29d0fa93-cce4-4ea5-9e3c-5808b2d2c7ea" + }, + { + "name": "X-MS-Exchange-CrossTenant-mailboxtype", + "value": "HOSTED" + }, + { + "name": "X-MS-Exchange-CrossTenant-userprincipalname", + "value": "w6vkC/wJ90b37WXm2WwvCvomcHjRYCg4lMAebBBRLlsFO0foAA6xrsedU93+73eERVTZTfTbJ7s+GEI9S6567A==" + }, + { + "name": "X-MS-Exchange-Transport-CrossTenantHeadersStamped", + "value": "PH0PR08MB7034" + } + ], + "commonHeaders": { + "returnPath": "joel.balcaen@levio.ca", + "from": [ + "Joel Balcaen " + ], + "date": "Fri, 19 Apr 2024 19:02:00 +0000", + "to": [ + "\"rfp@lab.levio.cloud\" " + ], + "messageId": "", + "subject": "reded" + } + }, + "receipt": { + "timestamp": "2024-04-19T19:02:04.426Z", + "processingTimeMillis": 864, + "recipients": [ + "rfp@lab.levio.cloud" + ], + "spamVerdict": { + "status": "PASS" + }, + "virusVerdict": { + "status": "PASS" + }, + "spfVerdict": { + "status": "PASS" + }, + "dkimVerdict": { + "status": "PASS" + }, + "dmarcVerdict": { + "status": "PASS" + }, + "action": { + "type": "Lambda", + "functionArn": "arn:aws:lambda:us-east-1:446872271111:function:step-function-ivoker", + "invocationType": "Event" + } + } + } + } + ] + }, + "timestamp": "2024-04-19 19:02:06,528+0000", + "service": "service_undefined", + "xray_trace_id": "1-6622bfad-475f02ba556b0d010a0b95bc" + } + + } + } + }, + { + "name": "Python Debugger: Current File", + "type": "debugpy", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal", + "env": { "PYTHONPATH": "${workspaceRoot}"} + } + ] +} \ No newline at end of file