Norvell, Please Merge

    @aws-sdk/endpoint-cache
    TypeScript icon, indicating that this package has built-in type declarations

    3.55.0 • Public • Published

    @aws-sdk/endpoint-cache

    NPM version NPM downloads

    An internal package

    Usage

    You probably shouldn't, at least directly.

    EndpointCache

    • uses mnemonist/lru-cache for storing the cache.
    • the set operation stores milliseconds elapsed since the UNIX epoch in Expires param based on CachePeriodInMinutes provided in Endpoint.
    • the get operation returns all un-expired endpoints with their Expires values.
    • the getEndpoint operation returns a randomly selected un-expired endpoint.

    Keywords

    none

    Install

    npm i @aws-sdk/endpoint-cache

    DownloadsWeekly Downloads

    299,164

    Version

    3.55.0

    License

    Apache-2.0

    Unpacked Size

    24.1 kB

    Total Files

    16

    Last publish

    Collaborators

    • mattsb42-aws
    • kuhe
    • amzn-oss
    • zheallan
    • aws-sdk-bot
    • trivikr-aws