Skip to content

Setting the delimiter parameter for Get-S3ObjectV2 should return a collection of objects #234

Open
@githpuk

Description

@githpuk

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions