Table of Contents

Interface IErrorResponseUnmarshaller<TUnmarshaller, TUnmarshalleContext>

Namespace
Amazon.Runtime.Internal.Transform
Assembly
AWSSDK.Core.dll

Interface for unmarshallers which unmarshall objects from response data. The Unmarshallers are stateless, and only encode the rules for what data in the XML stream goes into what members of an object.

public interface IErrorResponseUnmarshaller<TUnmarshaller, TUnmarshalleContext> : IUnmarshaller<TUnmarshaller, TUnmarshalleContext>

Type Parameters

TUnmarshaller

The type of object the unmarshaller returns

TUnmarshalleContext

The type of the XML unmashaller context, which contains the state during parsing of the XML stream. Usually an instance of Amazon.Runtime.Internal.Transform.UnmarshallerContext.

Inherited Members

Methods

Unmarshall(TUnmarshalleContext, ErrorResponse)

Given the current position in the XML stream, extract a T.

TUnmarshaller Unmarshall(TUnmarshalleContext input, ErrorResponse errorResponse)

Parameters

input TUnmarshalleContext

The XML parsing context

errorResponse ErrorResponse

Returns

TUnmarshaller

An object of type T populated with data from the XML stream.