Closed nabbar closed 3 years ago
Strangely, when I looking for this bug into the smithy definition model json, I don't find it
Maybe a bug into the codegen ?
Or need defined the xmlname
into the traits
definition of the structure CompletedMultipartUpload at line 1208 ?https://github.com/aws/aws-sdk-go-v2/blob/v0.29.0/codegen/sdk-codegen/aws-models/s3.2006-03-01.json#L1208
thanks in advance for helping :)
Thank you for bringing this to our attention @nabbar and your detailed research into the issue. This appears to be an edge case in our code generation that is not correctly applying the xmlName trait. We will work on getting this fixed in our next release.
This issue was fixed in https://github.com/aws/aws-sdk-go-v2/pull/965 and will be included in the SDK's tagged release.
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.
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug The xml sent to complete a multipart upload has a bad tag name. The tag name sent is "CompletedMultipartUpload" (cf line 153 in the file : https://github.com/aws/aws-sdk-go-v2/blob/master/service/s3/serializers.go#L153)
The AWS API reference documentation report that the tag name must be "CompleteMultipartUpload" (not the 'd' at the end of Complete word). You can find it at this link https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html :
I think this bug was appear with the v0.26.0 release and later (as the v0.29.0 I use).
Version of AWS SDK for Go: v0.29.0
Version of Go : go1.15.2