Table of Contents

Class EndpointDiscoveryHandler

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

This handler resolves the endpoint to be used for the current request.

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

Constructors

EndpointDiscoveryHandler()

public EndpointDiscoveryHandler()

Methods

DiscoverEndpoints(IRequestContext, bool)

public static void DiscoverEndpoints(IRequestContext requestContext, bool evictCacheKey)

Parameters

requestContext IRequestContext
evictCacheKey bool

EvictCacheKeyForRequest(IRequestContext, Uri)

public static void EvictCacheKeyForRequest(IRequestContext requestContext, Uri regionalEndpoint)

Parameters

requestContext IRequestContext
regionalEndpoint Uri

InvokeAsyncCallback(IAsyncExecutionContext)

Invokes the inner handler

protected override void InvokeAsyncCallback(IAsyncExecutionContext executionContext)

Parameters

executionContext IAsyncExecutionContext

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

InvokeSync(IExecutionContext)

Calls pre invoke logic before calling the next handler in the pipeline.

public override void InvokeSync(IExecutionContext executionContext)

Parameters

executionContext IExecutionContext

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

PreInvoke(IExecutionContext)

Resolves the endpoint to be used for the current request before invoking the next handler.

protected static void PreInvoke(IExecutionContext executionContext)

Parameters

executionContext IExecutionContext

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