-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect serialized result of LifecycleRuleAndOperator
#2476
Comments
Hey thanks for opening the issue
Something was wrong with code generation where we were not correctly generating serialization for list shapes that were flattened without flat list members. Created a PR to fix this, running CI tests on it right now, will give a shout when it gets merged. |
fix is merged, and will be release and tagged today in |
|
Great to see this is fixed in the coming patch version! |
Describe the bug
Creating a lifecycle rule with
LifecycleRuleAndOperator
is failedExpected Behavior
The rule is created
Current Behavior
The
PutBucketLifecycleConfiguration
request is rejected with error message like thisReproduction Steps
Possible Solution
I tried to create the same rule by using awscli, it was successful. Then I use
tcpdump
to compare the PUT body of using aws-sdk-cpp and awscli.PUT body of aws-sdk-cpp
PUT body of awscli
It is clear that there is an extra
<Tags>
layer make the request failedThere is a simple fix for removing the
<Tags></Tags>
fromLifecycleRuleAndOperator
JaySon-Huang/aws-sdk-cpp@75b6642...2e64cb4#diff-741ea2316c42c441bb04008c57b2fe74778b8cb5538b603b8e911ddfd31fcca3
But I see the file
LifecycleRuleAndOperator.cpp
was added by a commit with comment "Regenerating Clients". I wonder whether something is wrong with the code generator or the definition.Additional Information/Context
No response
AWS CPP SDK version used
https://github.com/aws/aws-sdk-cpp/releases/tag/1.11.48
Compiler and Version used
clang version 15.0.1
Operating System and version
all
The text was updated successfully, but these errors were encountered: