Socket
Socket
Sign inDemoInstall

@aws-sdk/middleware-recursion-detection

Package Overview
Dependencies
3
Maintainers
5
Versions
84
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aws-sdk/middleware-recursion-detection

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


Version published
Weekly downloads
18M
increased by1%
Maintainers
5
Created
Weekly downloads
 

Package description

What is @aws-sdk/middleware-recursion-detection?

@aws-sdk/middleware-recursion-detection is a middleware package for the AWS SDK for JavaScript. It helps in detecting and preventing recursive calls in AWS SDK clients, which can be useful in avoiding infinite loops and ensuring the stability of your application.

What are @aws-sdk/middleware-recursion-detection's main functionalities?

Recursion Detection Middleware

This feature allows you to add recursion detection middleware to an AWS SDK client. The middleware helps in detecting recursive calls and prevents potential infinite loops.

const { S3Client } = require('@aws-sdk/client-s3');
const { recursionDetectionMiddleware } = require('@aws-sdk/middleware-recursion-detection');

const client = new S3Client({});
client.middlewareStack.add(recursionDetectionMiddleware, {
  step: 'initialize',
  name: 'recursionDetectionMiddleware',
  tags: ['RECURSION_DETECTION'],
});

// Now you can use the client with recursion detection enabled
client.send(new ListBucketsCommand({}));

Other packages similar to @aws-sdk/middleware-recursion-detection

Changelog

Source

3.224.0 (2022-12-05)

Bug Fixes

  • lib-dynamodb: fix use of log filters in conjunction with DynamDBDocumentClient (#4249) (1534f62)

Features

  • client-cost-explorer: This release introduces two new APIs that offer a 1-click experience to refresh Savings Plans recommendations. The two APIs are StartSavingsPlansPurchaseRecommendationGeneration and ListSavingsPlansPurchaseRecommendationGeneration. (d0dbebc)
  • client-ec2: Documentation updates for EC2. (7446494)
  • client-ivschat: Adds PendingVerification error type to messaging APIs to block the resource usage for accounts identified as being fraudulent. (e94d8e5)
  • client-rds: This release adds the InvalidDBInstanceStateFault to the RestoreDBClusterFromSnapshot operation. (b1d84f4)
  • client-transcribe: Amazon Transcribe now supports creating custom language models in the following languages: Japanese (ja-JP) and German (de-DE). (57057bb)
  • clients: update client endpoints as of 2022-12-05 (b302f16)

Readme

Source

@aws-sdk/middleware-recursion-detection

NPM version NPM downloads

An internal package

Usage

You probably shouldn't, at least directly.

FAQs

Last updated on 05 Dec 2022

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc