code: def s3_upload(source, destination, profile_name=None):
      
      session = boto3.Session(profile_name=profile_name)
      s3 = session.resource('s3')
      bucket_name, key = _s3_path_split(destination)
      with open(source, 'rb') as data:
          s3.Bucket(bucket_name).put_object(Key=key, Body=data)
docs: Copy a file from a local source to an S3 destination.
  
      Parameters
      ----------
      source : str
      destination : str
          Path starting with s3://, e.g. 's3://bucket-name/key/foo.bar'
      profile_name : str, optional
          AWS profile