You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Polly::Presigner
- Inherits:
-
Object
- Object
- Aws::Polly::Presigner
- Defined in:
- aws-sdk-core/lib/aws-sdk-core/polly/presigner.rb
Overview
Allows 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' )
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Presigner
constructor
A new instance of Presigner.
-
#synthesize_speech_presigned_url(params = {}) ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ 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( = {}) @credentials = .fetch(:credentials) @region = .fetch(:region) end |