aws-samples / aws-dataexchange-api-samples

Samples to help you get started with the AWS Data Exchange API.
https://aws.amazon.com/data-exchange
MIT No Attribution
22 stars 14 forks source link

Upgraded to AWS SDK v3. #45

Closed dblock closed 3 years ago

dblock commented 3 years ago

I went down the rabbit hole trying to help a customer in https://github.com/aws-samples/aws-marketplace-serverless-saas-integration/issues/10. I was wrong about their problem, but you win an upgrade to AWS SDK 3, which is quite a bit nicer: no need to bring the entire SDK along and we get promises by default.

I also locked node version >= 10, otherwise you get an Unexpected token * in async function* paginateListAccountRoles(config, input, ...additionalArguments).

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.