jcberquist / aws-cfml

Lucee/ColdFusion library for interacting with AWS API's
MIT License
72 stars 53 forks source link

Added listBucketV2 which can handle ContinuationToken #39

Closed LucidSolutions closed 3 years ago

LucidSolutions commented 4 years ago

Added listBucketV2 which can handle ContinuationToken, which you can pass to this function and it will return you next set of records.

jcberquist commented 4 years ago

Thanks for adding this. Given that listType needs to be set to 2 in order to use v2, I think it should be hard coded in the query params and not passed in the function arguments. For example:

var queryParams = { 'list-type': 2 };

Unless I am missing something?

jcberquist commented 3 years ago

@LucidSolutions Thanks again for the pull request. I am going to merge this and make the suggested change myself. I believe it should work, but let me know if there is something I am missing.