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

Make it possible to discard an egress session #424

Open
Malthdk opened this issue Feb 20, 2025 · 0 comments
Open

Make it possible to discard an egress session #424

Malthdk opened this issue Feb 20, 2025 · 0 comments

Comments

@Malthdk
Copy link

Malthdk commented Feb 20, 2025

Describe the problem

Right now we are only able to stop the egress with await egressClient.stopEgress(egressId)
In some cases we want to not only stop it, but also remove the file from s3. Could be when an error happens, if egress session is under a set amount of time etc. We can do so by deleting it after stopping with @aws-sdk/client-s3 however would be beneficial, to have the feature baked into the egress client.

Describe the proposed solution

Either have a flag on the stopEgress function or have a seperate function called discardEgress.

Alternatives considered

No response

Importance

would make my life easier

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant