def split_s3_bucket_key(s3_path):
 if s3_path.startswith('s3://'):
  s3_path = s3_path[5:]
 return find_bucket_key(s3_path)

def split_s3_bucket_key ( s3_path ) : if s3_path . startswith ( 's3://' ) : s3_path = s3_path [ 5 : ] return find_bucket_key ( s3_path )
split s3 path into bucket and key prefix .