An internal package
You probably shouldn't, at least directly.
mnemonist/lru-cache
set
get
getEndpoint
@aws-sdk/endpoint-cache
Usage
You probably shouldn't, at least directly.
EndpointCache
mnemonist/lru-cache
for storing the cache.set
operation stores milliseconds elapsed since the UNIX epoch in Expires param based on CachePeriodInMinutes provided in Endpoint.get
operation returns all un-expired endpoints with their Expires values.getEndpoint
operation returns a randomly selected un-expired endpoint.