Closed ChocolateLoverRaj closed 3 months ago
Hi @ChocolateLoverRaj,
I remember seeing this issue come up before but I couldn't find it.
If I remember correctly, the issue is that RestoreRequest
has another place you can specify the tier in, and its specific to the glacier storage class which got me confused as well.
RestoreRequest: {
Days: 30,
//Tier: Tier.Bulk
GlacierJobParameters: {
Tier: Tier.Bulk
}
}
Hope this actually solves your issue. Thanks, Ran~
@RanVaknin it worked. Also, when using the Description
property it doesn't work.
I think that the TypeScript definitions need to be changed.
Hi @ChocolateLoverRaj ,
The SDK types are all auto-generated from the API models of the all the service teams. The SDK team can't change any type definitions because they will get overwritten by the next release. Additionally changing types is not considered a backwards compatible solution and will cause customer's code to break, so this is not an option unfortunately.
Also, when using the Description property it doesn't work.
Can you tell me more about what doesn't work?
Thanks, Ran~
When including the description property, a 400 malformed xml error happens.
Hi @ChocolateLoverRaj ,
Thanks for explaining, Indeed I'm also getting this error. This response is from the service, and Im guessing is this is a documentation issue. I will move this to the cross sdk repo and open an internal ticket with s3 regarding this documentation.
Thanks, Ran~
P84716714
Hi there, I have received confirmation that an update of the S3 lifecycle documentation is now in the S3 team's queue. Since this is not actionable by the SDK team I'm going to go ahead and close this.
please keep an eye of documentation changes for s3.
Thanks again, 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.
Checkboxes for prior research
Describe the bug
I get this error:
MalformedXML: The XML you provided was not well-formed or did not validate against our published schema
The restore doesn't happenSDK version number
@aws-sdk/package-name@version, ...
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v18.15.0
Reproduction Steps
In
.env
haveAWS_REGION
as the AWS region.Observed Behavior
Error:
Expected Behavior
The restore should happen, no error.
Possible Solution
Maybe it's the logic for generating XML by the
RestoreObjectCommand
Additional Information/Context
No response