Table of Contents

Class EndpointDiscoveryResolverBase

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

Class used to resolve endpoints using Endpoint Discovery.

This class is only intended for internal use inside the AWS client libraries. Callers shouldn't ever interact directly with objects of this class.

public abstract class EndpointDiscoveryResolverBase
Inheritance
EndpointDiscoveryResolverBase
Derived
Inherited Members

Constructors

EndpointDiscoveryResolverBase(IClientConfig, Logger)

protected EndpointDiscoveryResolverBase(IClientConfig config, Logger logger)

Parameters

config IClientConfig
logger Logger

Properties

CacheCount

Gets the number of cache keys in the cache

public virtual int CacheCount { get; }

Property Value

int

Methods

GetDiscoveryEndpointsFromCache(string)

public virtual IList<DiscoveryEndpointBase> GetDiscoveryEndpointsFromCache(string cacheKey)

Parameters

cacheKey string

Returns

IList<DiscoveryEndpointBase>

ResolveEndpoints(EndpointOperationContextBase, Func<IList<DiscoveryEndpointBase>>)

Method that performs endpoint discovery for the current operation

public virtual IEnumerable<DiscoveryEndpointBase> ResolveEndpoints(EndpointOperationContextBase context, Func<IList<DiscoveryEndpointBase>> InvokeEndpointOperation)

Parameters

context EndpointOperationContextBase

Context information used in calculations for endpoint discovery

InvokeEndpointOperation Func<IList<DiscoveryEndpointBase>>

The operation to fetch endpoints from the server

Returns

IEnumerable<DiscoveryEndpointBase>