Socket
Socket
Sign inDemoInstall

@aws-sdk/endpoint-cache

Package Overview
Dependencies
2
Maintainers
5
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aws-sdk/endpoint-cache

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/endpoint-cache/latest.svg)](https://www.npmjs.com/package/@aws-sdk/endpoint-cache) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/endpoint-cache.svg)](https://www.npmjs.com/package/@aws-sdk/e


Version published
Weekly downloads
1.7M
decreased by-4.82%
Maintainers
5
Install size
491 kB
Created
Weekly downloads
 

Changelog

Source

3.495.0 (2024-01-18)

Features

  • client-b2bi: Increasing TestMapping inputFileContent file size limit to 5MB and adding file size limit 250KB for TestParsing input file. This release also includes exposing InternalServerException for Tag APIs. (255a7b4)
  • client-cloudtrail: This release adds a new API ListInsightsMetricData to retrieve metric data from CloudTrail Insights. (8bd69ca)
  • client-connect: GetMetricDataV2 now supports 3 groupings (9f1a143)
  • client-drs: Removed invalid and unnecessary default values. (d7c4d31)
  • client-firehose: Allow support for Snowflake as a Kinesis Data Firehose delivery destination. (bdf431e)
  • client-sagemaker-featurestore-runtime: Increase BatchGetRecord limits from 10 items to 100 items (f12c0b5)
  • clients: update client endpoints as of 2024-01-18 (cfe6ad9)
  • use bundled dist-cjs build (#5687) (5f79e22)

Readme

Source

@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.

FAQs

Last updated on 18 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc