Copy link to clipboard
you wont be able to use the aws-sdk (not in extend script) but you might be able to user either
this page for inspirattion
possibly combined with the REST API -
Then you can coble together a solution. maybe.