Setting up keys from S3 bucket


#1

Hi all,
I was wondering how to make keys to get access into the right folder in my S3 bucket. I use the emr-etl-runner ver. r90 to enrich the data. As of right now, it is only showing keys into the archive section of S3 bucket. I use the s3.list_objects_v2(Bucket='snowplow-enrich-output') I would like to have a proper path into the enriched/archive section of the bucket. Example of a key 'Key': 'archive_data/run=2019-02-05-09-17-49/EY9Pxx.2019-01-31-12.5173dd58.gz'


#2

@morris206, it doesn’t look like Snowplow related question. It is rather an AWS question unless I misunderstood what you are trying to do.

If you use AWS CLI, you can run s3 ls with --recursive option to see the full path (key) of the enriched files: https://docs.aws.amazon.com/cli/latest/reference/s3/ls.html