Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/polly-request-presigner

Package Overview
Dependencies
Maintainers
5
Versions
379
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/polly-request-presigner

[![NPM version](https://img.shields.io/npm/v/@aws-sdk/polly-request-presigner/beta.svg)](https://www.npmjs.com/package/@aws-sdk/polly-request-presigner) [![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/polly-request-presigner/beta.svg)](https://ww

  • 3.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6.3K
increased by5.58%
Maintainers
5
Weekly downloads
 
Created
Source

@aws-sdk/polly-request-presigner

NPM version NPM downloads

This package provides a presigner based on signature V4 that will attempt to generate signed url for polly audio.

Get Presigned URL with Client and Command

Example Usage:

import { Polly, PollyClient } from "@aws-sdk/client-polly";

import { getSynthesizeSpeechUrl } from "@aws-sdk/polly-request-presigner";

const synthesizeSpeechParams = {
  Text: "Hello world, the polly presigner is really cool!",
  OutputFormat: "mp3",
  VoiceId: "Kimberly",
};

// Synthesize with full polly.
(async () => {
  let url = await getSynthesizeSpeechUrl({
    client: new Polly({ region: "us-east-1" }),
    params: synthesizeSpeechParams,
  });
  console.log(url);
})();

// Synthesize with polly client.
(async () => {
  let url = await getSynthesizeSpeechUrl({
    client: new PollyClient({ region: "us-east-1" }),
    params: synthesizeSpeechParams,
  });
  console.log(url);
})();

FAQs

Package last updated on 24 Dec 2020

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc