Golang AWS SDK V2 Pagination

Was able to figure out my first issue. I needed to pass in the ListQueuesPaginatorOptions to the NewListQueuesPaginator function:

...

paginator := sqs.NewListQueuesPaginator(client, params, func(o *sqs.ListQueuesPaginatorOptions) {
    o.Limit = 1000
})

Issue now is how to return the entire list of url’s to a different module

1 Like