You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Polly::PresignerAllows you to create presigned URLs for synthesize_speech
Example Use:
signer = Aws::Polly::Presigner.new url = signer.synthesize_speech_presigned_url( output_format: 'mp3', text: 'Hello World', voice_id: 'Ewa' )
Attribute Summary collapseA new instance of Presigner.
Returns a new instance of Presigner.
33 34 35 36
# File 'aws-sdk-core/lib/aws-sdk-core/polly/presigner.rb', line 33 def initialize(options = {}) @credentials = options.fetch(:credentials) @region = options.fetch(:region) endInstance Method Details #synthesize_speech_presigned_url(params = {}) ⇒ Object
39 40 41 42
# File 'aws-sdk-core/lib/aws-sdk-core/polly/presigner.rb', line 39 def synthesize_speech_presigned_url(params = {}) input_shape = Client.api.operation(:synthesize_speech).input.shape sign_but_dont_send(input_shape, params) end
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4