Class: Aws::Polly::Presigner
- Inherits:
-
Object
- Object
- Aws::Polly::Presigner
- Defined in:
- lib/aws-sdk-polly/presigner.rb
Overview
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.
35 36 37 38 |
# File 'lib/aws-sdk-polly/presigner.rb', line 35 def initialize( = {}) @credentials = .fetch(:credentials) @region = .fetch(:region) end |
Instance Method Details
#synthesize_speech_presigned_url(params = {}) ⇒ Object
41 42 43 44 |
# File 'lib/aws-sdk-polly/presigner.rb', line 41 def synthesize_speech_presigned_url(params = {}) input_shape = Client.api.operation(:synthesize_speech).input.shape sign_but_dont_send(input_shape, params) end |