Comments (6)
It's a bug in the SDK. I'm working on a fix.
from aws-sdk-kotlin.
Thanks for the report, I was able to recreate this.
It seems related to the use of xmlFlattened on the model:
"Versions": {
"target": "com.amazonaws.s3#ObjectVersionList",
"traits": {
"smithy.api#documentation": "<p>Container for version information.</p>",
"smithy.api#xmlFlattened": {},
"smithy.api#xmlName": "Version"
}
},
"DeleteMarkers": {
"target": "com.amazonaws.s3#DeleteMarkers",
"traits": {
"smithy.api#documentation": "<p>Container for an object that is a delete marker.</p>",
"smithy.api#xmlFlattened": {},
"smithy.api#xmlName": "DeleteMarker"
}
},
The response I'm seeing has version and delete marker elements intermixed:
<ListVersionsResult ...>
<DeleteMarker> ... </DeleteMarker>
<Version> ... </Version>
<DeleteMarker> ... </DeleteMarker>
<Version> ... </Version>
....
</ListVersionsResult>
This is of course valid XML but wasn't expected by the XML deserializer for the given trait.
We'll have to investigate how to best rectify this in the short term and in the longer term clarify with Smithy team on whether this is expected service behavior.
from aws-sdk-kotlin.
Hello @aajtodd. Do you have any updates from the Smithy team? I don't think this is expected service behavior since this is a different behavior from the one present in the Java SDK.
from aws-sdk-kotlin.
⚠️ COMMENT VISIBILITY WARNING⚠️
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.
from aws-sdk-kotlin.
Fix for this has been merged to main, should be available in a release either today or tomorrow.
from aws-sdk-kotlin.
Fix for this has been merged to main, should be available in a release either today or tomorrow.
Thank you for your help @aajtodd 🦾
from aws-sdk-kotlin.
Related Issues (20)
- Support for EKS Pod Identities HOT 2
- ParseException when publishing batch to SNS HOT 4
- Add ecs task 'overrides' to eventbridge builder HOT 4
- Re-examine usage of `mavenLocal`
- S3 store resource failed when upgrading to v1.2.x HOT 2
- Telemetry provider implementation for micrometer HOT 2
- New protocol support for RPCv2/CBOR
- ImdsCredentialsProvider does not follow redirects HOT 4
- On-disk credentials caching
- Mutual TLS (mTLS)
- Add support for `x-amz-retry-after` header
- Smart defaults configuration
- SNS message signature validation
- Route53 GetHostedZoneLimit HOT 3
- AWS SDK's for other languages (python/java) use a no proxy flag when requesting IMDS metadata HOT 4
- Trouble configuring DynamoDb Client timeout HOT 3
- Retry logic stop early HOT 4
- `RetryCapacityExceededException` not being thrown as expected when `circuitBreakerMode` is tripped in the `StandardRetryStrategy`
- NullPointerException with getObject HOT 11
- CloudWatch Logs's GetLogEvents paginator never terminates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-kotlin.