Skip to content
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

Add noErrorWrapping to AWS restXml #390

Merged
merged 1 commit into from
Apr 21, 2020
Merged

Conversation

kstich
Copy link
Contributor

@kstich kstich commented Apr 21, 2020

This commit adds a noErrorWrapping property to the aws.protocols#restXml
trait. This property disables the serialization wrapping of error properties
in an 'Error' XML element. This is used to indicate this behavior in services
like Amazon S3.

Along with this change is documentation of many components of the restXml
protocol, including examples of the above behavior. Documentation of error
behavior in the aws.protocols#restJson1 protocol has also been added.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This commit adds a `noErrorWrapping` property to the `aws.protocols#restXml`
trait. This property disables the serialization wrapping of error properties
in an 'Error' XML element. This is used to indicate this behavior in services
like Amazon S3.

Along with this change is documentation of many components of the `restXml`
protocol, including examples of the above behavior. Documentation of error
behavior in the `aws.protocols#restJson1` protocol has also been added.
@kstich kstich requested a review from mtdowling April 21, 2020 18:06
@kstich kstich merged commit a942b66 into 0.10 Apr 21, 2020
@kstich kstich deleted the rest_xml_disable_error_wrap branch April 21, 2020 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants