Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the "EtagToNotMatch" parameter to "Read-S3Object" cmdlet #18

Closed
thedevopsmachine opened this issue May 29, 2019 · 3 comments
Closed
Labels
enhancement New feature or request feature-request A feature should be added or improved. good first issue Good for newcomers help wanted We are asking the community to submit a PR to resolve this issue. module/powershell-cmdlets needs-review

Comments

@thedevopsmachine
Copy link

The -ETagToNotMatch parameter exists on the Get-S3ObjectMetadata Cmdlet, but it's not much use there. By adding it to Read-S3Object, I can specify a MD5 hash of a local file, and if the local MD5 matches the remote file MD5, it doesn't need to download the file. This can eliminate the need for me to make 2 API calls (i.e. Get-S3ObjectMetadata and then Read-S3Object).

Expected Behavior
Read-S3Object should have a ETagToNotMatch parameter

Current Behavior
Read-S3Object does not have a ETagToNotMatch parameter

Possible Solution
Add the ETagToNotMatch parameter to Read-S3Object Cmdlet

@matteo-prosperi matteo-prosperi added enhancement New feature or request good first issue Good for newcomers help wanted We are asking the community to submit a PR to resolve this issue. labels May 29, 2019
@matteo-prosperi
Copy link
Contributor

Is is worth noting that Read-S3Object uses the TransferUtility, so this requires more investigation and likely a change in the .NET SDK.

@hunanniu
Copy link

hunanniu commented Apr 1, 2022

Will not support this

@hunanniu hunanniu closed this as completed Apr 1, 2022
@github-actions
Copy link

github-actions bot commented Apr 1, 2022

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature-request A feature should be added or improved. good first issue Good for newcomers help wanted We are asking the community to submit a PR to resolve this issue. module/powershell-cmdlets needs-review
Projects
None yet
Development

No branches or pull requests

4 participants