Socket
Socket
Sign inDemoInstall

@aws-sdk/middleware-eventstream

Package Overview
Dependencies
3
Maintainers
5
Versions
143
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/middleware-eventstream


Version published
Maintainers
5
Created

Package description

What is @aws-sdk/middleware-eventstream?

@aws-sdk/middleware-eventstream is a middleware package for the AWS SDK for JavaScript. It provides functionality to handle event streams, which are used in various AWS services to deliver real-time data. This package is essential for working with services that use event streams, such as AWS Transcribe, AWS Kinesis, and others.

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

Event Stream Handling

This feature allows you to handle event streams by marshalling data into the event stream format. The code sample demonstrates how to create an event stream using the EventStreamMarshaller.

const { EventStreamMarshaller } = require('@aws-sdk/middleware-eventstream');

const marshaller = new EventStreamMarshaller();

const eventStream = marshaller.marshall({
  headers: {},
  body: Buffer.from('example event data')
});

console.log(eventStream);

Event Stream Unmarshalling

This feature allows you to unmarshall event streams back into their original data format. The code sample demonstrates how to unmarshall an event stream using the EventStreamMarshaller.

const { EventStreamMarshaller } = require('@aws-sdk/middleware-eventstream');

const marshaller = new EventStreamMarshaller();

const eventStream = Buffer.from('example event stream');
const event = marshaller.unmarshall(eventStream);

console.log(event);

Other packages similar to @aws-sdk/middleware-eventstream

Changelog

Source

3.326.0 (2023-05-03)

Features

  • client-appsync: Private API support for AWS AppSync. With Private APIs, you can now create GraphQL APIs that can only be accessed from your Amazon Virtual Private Cloud ("VPC"). (c28aac2)
  • client-ec2: Adds an SDK paginator for GetNetworkInsightsAccessScopeAnalysisFindings (ed4b264)
  • client-inspector2: This feature provides deep inspection for linux based instance (0fa21fd)
  • client-iottwinmaker: This release adds a field for GetScene API to return error code and message from dependency services. (653fc59)
  • client-network-firewall: AWS Network Firewall now supports policy level HOME_NET variable overrides. (aef051a)
  • client-opensearch: Amazon OpenSearch Service adds the option to deploy a domain across multiple Availability Zones, with each AZ containing a complete copy of data and with nodes in one AZ acting as a standby. This option provides 99.99% availability and consistent performance in the event of infrastructure failure. (bd6c71a)
  • client-wellarchitected: This release deepens integration with AWS Service Catalog AppRegistry to improve workload resource discovery. (560a299)

Readme

Source

@aws-sdk/middleware-eventstream

NPM version NPM downloads

FAQs

Last updated on 03 May 2023

Did you know?

Socket

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