Table of Contents

Class EndpointResolver

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

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

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

Constructors

EndpointResolver()

public EndpointResolver()

Methods

DetermineEndpoint(IClientConfig, IRequest)

public static Uri DetermineEndpoint(IClientConfig config, IRequest request)

Parameters

config IClientConfig
request IRequest

Returns

Uri

DetermineEndpoint(IRequestContext)

Determines the endpoint for the request.

public virtual Uri DetermineEndpoint(IRequestContext requestContext)

Parameters

requestContext IRequestContext

The request context.

Returns

Uri

InvokeAsync(IAsyncExecutionContext)

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

public override IAsyncResult InvokeAsync(IAsyncExecutionContext executionContext)

Parameters

executionContext IAsyncExecutionContext

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

Returns

IAsyncResult

IAsyncResult which represent an async operation.

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 void PreInvoke(IExecutionContext executionContext)

Parameters

executionContext IExecutionContext

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