Elixir aws s3 response - how to get the “key” value?

Try:

{:ok, response} = ExAws.S3.list_objects(bucket_name, prefix: “img/pic/”,delimiter: “/”) |> ExAws.request(region: “xxxxx”)

Enum.map(response.body.contents, fn( c ) → c.key end)

It should return a list with the keys.

Best regards