#! /usr/bin/env python import boto3 import datetime s3_client = boto3.client( 's3', aws_access_key_id='', # add the credentials I sent aws_secret_access_key='', # add the credentials I sent ) try: response = s3_client.upload_file( '', 'apollo-data-dumps', f'test-{datetime.today().timestamp()}' ) print(response) except Exception as e: print("Something went wrong.", e) raise e