I need to get all the files under a directory in aws fsx, I already know how to get a files from a particular directory using FS npm module ,but don't know how to get from AWS Fsx.
I read this document but no idea or what method need to use for this.
Document : https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-fsx/ Npm: https://www.npmjs.com/package/@aws-sdk/client-fsx
I tried with multiple doc , but not get the correct method to use.
I have some sample node code that you can use. It uses the
aws-sdk@v2, so if you have done R&D on the v3 SDK it will be different.