Table of Contents

Class Unmarshaller

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

This handler unmarshalls the HTTP response.

public class Unmarshaller : PipelineHandler, IPipelineHandler
Inheritance
Unmarshaller
Implements
Inherited Members

Constructors

Unmarshaller(bool)

The constructor for Unmarshaller.

public Unmarshaller(bool supportsResponseLogging)

Parameters

supportsResponseLogging bool

Boolean value which indicated if the unmarshaller handler supports response logging.

Methods

InvokeAsync<T>(IExecutionContext)

Unmarshalls the response returned by the HttpHandler.

public override Task<T> InvokeAsync<T>(IExecutionContext executionContext) where T : AmazonWebServiceResponse, new()

Parameters

executionContext IExecutionContext

The execution context, it contains the request and response context.

Returns

Task<T>

A task that represents the asynchronous operation.

Type Parameters

T

The response type for the current request.

InvokeSync(IExecutionContext)

Unmarshalls the response returned by the HttpHandler.

public override void InvokeSync(IExecutionContext executionContext)

Parameters

executionContext IExecutionContext

The execution context which contains both the requests and response context.