Class EndpointDiscoveryResolverBase
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
IClientConfiglogger
Logger
Properties
CacheCount
Gets the number of cache keys in the cache
public virtual int CacheCount { get; }
Property Value
Methods
GetDiscoveryEndpointsFromCache(string)
public virtual IList<DiscoveryEndpointBase> GetDiscoveryEndpointsFromCache(string cacheKey)
Parameters
cacheKey
string
Returns
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
EndpointOperationContextBaseContext information used in calculations for endpoint discovery
InvokeEndpointOperation
Func<IList<DiscoveryEndpointBase>>The operation to fetch endpoints from the server