Closed wunderbarb closed 3 months ago
Hi @wunderbarb ,
Thanks for reaching out. The restore operation is notorious for lacking documentation. I personally have seen many other customers running into the same issue and I reached out to S3 internally trying to get them to fix their docs but to date this has not happened.
related https://github.com/aws/aws-sdk/issues/505
From my correspondence with the S3 team:
For the two types of
tier
parameter, the GlacierJobParameters tier is used for normal restore operations, while theTier
on the root request is only used for select restore operations (which is currently broken for newly created objects).
Which leads me to believe that OutputLocation
should only be used for select restore and not glacier restore (normal restore)
I have reached out to the S3 team again for clarification on your behalf.
Thanks, Ran~
Thanks.
Your answer seems to indicate that OutputLocation
cannot be used in "normal" operations. I was expecting to use it to restore directly in a given location with additional custom contextual User Metadata. Thus, it seems that I have to design a different solution.
Let's wait for the S3 team's confirmation.
Since this is not a Go SDK problem, Im transferring this to the cross SDK repo for tracking.
Internal ticket with S3 - P124047747
Hi @wunderbarb
I heard back from the S3 service team. The following inputs are only for glacier select jobs:
Thanks, Ran~
This issue is now closed.
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.
Describe the issue
In the structure
s3.RestoreObjectInput.RequestRestore
, there are two times thetypes.Tier
. The first one withinRestoreRequest.GlacierJobParameters
and the one asRestoreRequest.Tier
.1- What is the difference? What would happen if they differ? 2-
GlacierJobParameteters
is not valid when usingOutputLocation
. Thus, I guess that we should use the second one to define the retrieval speed. Unfortunately when using something like