Socket
Socket
Sign inDemoInstall

@aws-sdk/fetch-http-handler

Package Overview
Dependencies
9
Maintainers
5
Versions
131
Alerts
File Explorer

Advanced tools

Install Socket

Protect your apps from supply chain attacks

Install

@aws-sdk/fetch-http-handler

Provides a way to make requests

    3.374.0latest
    GitHub
    npm

Version published
Maintainers
5
Weekly downloads
4,543,540
increased by3.25%

Weekly downloads

Package description

What is @aws-sdk/fetch-http-handler?

The @aws-sdk/fetch-http-handler npm package is a module that provides a way to send HTTP requests using the Fetch API. It is part of the AWS SDK for JavaScript (v3) and is used internally by the SDK to send requests to AWS services. It can be used directly to make HTTP requests in environments where the Fetch API is available, such as modern web browsers and Node.js (with a polyfill).

What are @aws-sdk/fetch-http-handler's main functionalities?

Sending HTTP requests

This feature allows you to send HTTP requests using the Fetch API. The code sample demonstrates how to create a new instance of FetchHttpHandler and use it to send a GET request to a specified URL.

{"import { FetchHttpHandler } from '@aws-sdk/fetch-http-handler';
const httpHandler = new FetchHttpHandler();
const requestOptions = {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json'
  }
};
httpHandler.handle({
  request: new Request('https://example.com', requestOptions),
  input: {},
  abortSignal: null
}).then(response => {
  // Handle the response
});"}

Other packages similar to @aws-sdk/fetch-http-handler

Changelog

Source

3.374.0 (2023-07-20)

Bug Fixes

  • packages: fix migrated package imports (#4990) (d800f78)

Features

  • client-codecatalyst: This release adds support for updating and deleting spaces and projects in Amazon CodeCatalyst. It also adds support for creating, getting, and deleting source repositories in CodeCatalyst projects. (05a9f89)
  • client-connectcases: This release adds the ability to assign a case to a queue or user. (f47d6f4)
  • client-lex-models-v2: This release updates type for Channel field in SessionSpecification and UtteranceSpecification (1f77d0a)
  • client-route53resolver: This release adds support for Route 53 On Outposts, a new feature that allows customers to run Route 53 Resolver and Resolver endpoints locally on their Outposts. (8acc64c)
  • client-s3: Improve performance of S3 clients by simplifying and optimizing endpoint resolution. (72eb598)
  • client-sagemaker-featurestore-runtime: Cross account support for SageMaker Feature Store (b0593ab)
  • client-sagemaker: Cross account support for SageMaker Feature Store (e4918c1)
  • client-securitylake: Adding support for Tags on Create and Resource Tagging API. (596636d)
  • client-transcribe: Added API argument --toxicity-detection to startTranscriptionJob API, which allows users to view toxicity scores of submitted audio. (9e7552a)
  • smithy-client: update client defaults provider (830cb06)

Readme

Source

@aws-sdk/fetch-http-handler

NPM version NPM downloads

FAQs

Last updated on 20 Jul 2023

Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the 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