Class DecorateErrorFromResponseBodyUnmarshaller

java.lang.Object
software.amazon.awssdk.protocols.xml.internal.unmarshall.DecorateErrorFromResponseBodyUnmarshaller
All Implemented Interfaces:
Function<AwsXmlUnmarshallingContext,AwsXmlUnmarshallingContext>

public class DecorateErrorFromResponseBodyUnmarshaller extends Object implements Function<AwsXmlUnmarshallingContext,AwsXmlUnmarshallingContext>
A function that decorates a AwsXmlUnmarshallingContext that already contains the parsed XML of the response body with parsed error XML if the HTTP response status indicates failure or a serialized error is found in the XML body of a 'successful' response. This is a non-standard error handling behavior that is used by some non-streaming S3 operations.