amplify-js
amplify-js copied to clipboard
feat(storage): add delimiter support to list API
Description of changes
This change will enable delimiter support by passing a Delimiter
option in the underlying ListObjectsV2
API.
Main changes to list API:
- add
subpathStrategy
to input - add
excludedSubpaths
to output
Issue #, if available
Description of how you validated changes
- unit tests
- smoke tests
- e2e test is pending
Checklist
- [x] PR description included
- [x]
yarn test
passes - [x] Tests are changed or added
- [ ] Relevant documentation is changed or added (and PR referenced)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.