Setting the delimiter parameter for Get-S3ObjectV2 should return a collection of objects #234
Labels
doc-developerguide
documentation
This is a problem with documentation.
feature-request
A feature should be added or improved.
module/powershell-cmdlets
p2
This is a standard priority issue
queued
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.
The text was updated successfully, but these errors were encountered: