Get filename from S3 bucket path – Amazon Web Sevices
I am getting the last modified file from S3 bucket using the below code: import boto3 import urllib.parse import json import botocore.session as bc import time from time import mktime from datetime import datetime print('Loading function') def lambda_handler(event, context): s3_client…