aws / aws/aws-tools-for-powershell
Setting the delimiter parameter for Get-S3ObjectV2 should return a collection of objects
- Dominant language
- C#
- Stars
- 298
- Forks
- 102
- Avg merge
- 7d 17m
- Merged PRs (30d)
- 2
Description
Currently setting the delimiter property when calling the PowerShell cmdlet Get-S3ObjectV2 appears to have no effect and requires accessing the $AWSHistory cmdlet buffer to determine results, returned as CommonPrefixes. This makes little sense (to me anyway) when it could return a collection of the objects matching the delimiter.
Instead I propose that it return a Contents collection of objects that match the delimiter.
This would allow requesting a list of "folders" simply by setting the parameter to '/'
This would allow easy iteration through s3 folders which would both simplify and reduce the amount of PowerShell script required for, in my case, a lambda function as no access to $AWSHistory would be needed.
Contributor guide
Assessment
This issue has not been assessed yet.