DefaultDynamoDbEndpointDiscoverer

class DefaultDynamoDbEndpointDiscoverer(val cache: ERROR CLASS: Symbol not found for ExpiringKeyedCache<aws/sdk/kotlin/services/dynamodb/endpoints/DiscoveryParams, ERROR CLASS: Symbol not found for Host> = PeriodicSweepCache(10.minutes)) : DynamoDbEndpointDiscoverer

A class which looks up specific endpoints for DynamoDb calls via the describeEndpoints API. These unique endpoints are cached as appropriate to avoid unnecessary latency in subsequent calls.

Parameters

cache

An ExpiringKeyedCache implementation used to cache discovered hosts

Constructors

Link copied to clipboard
constructor(cache: ERROR CLASS: Symbol not found for ExpiringKeyedCache<aws/sdk/kotlin/services/dynamodb/endpoints/DiscoveryParams, ERROR CLASS: Symbol not found for Host> = PeriodicSweepCache(10.minutes))

Properties

Link copied to clipboard
val cache: ERROR CLASS: Symbol not found for ExpiringKeyedCache<aws/sdk/kotlin/services/dynamodb/endpoints/DiscoveryParams, ERROR CLASS: Symbol not found for Host>

Functions

Link copied to clipboard
open override fun asEndpointResolver(client: DynamoDbClient, delegate: ERROR CLASS: Symbol not found for EndpointResolver): ERROR CLASS: Symbol not found for EndpointResolver
Link copied to clipboard
open suspend override fun invalidate(context: ERROR CLASS: Symbol not found for ExecutionContext)

Inherited functions

Link copied to clipboard
open suspend fun discoverHost(client: DynamoDbClient): ERROR CLASS: Symbol not found for ExpiringValue<ERROR CLASS: Symbol not found for Host>