s3.Object.restore_object does not accept a description #3885
Labels
bug
This issue is a confirmed bug.
duplicate
This issue is a duplicate.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
p2
This is a standard priority issue
s3
Describe the bug
According to the docs I should be able to supply a description for a restore job, like so:
s3_object.restore_object(RestoreRequest={ "Days": 7, "GlacierJobParameters": {"Tier": "Bulk"}, "Description": "test", })
Expected Behavior
The restore should be initiated, with the description available when viewing the S3 object.
Current Behavior
I get an error:
Reproduction Steps
Get a valid S3 object, then try to restore it:
s3_object.restore_object(RestoreRequest={ "Days": 7, "GlacierJobParameters": {"Tier": "Bulk"}, "Description": "test", })
Try again without the "Description" field and see that it succeeds.
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.28.59
Environment details (OS name and version, etc.)
Ubuntu 22.04.3 LTS
The text was updated successfully, but these errors were encountered: