Class: Aws::Polly::Types::Recording

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb

Overview

A recording of the speaker whose voice you want to create. The recording specifies its audio format and its audio source.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data ⇒ Types::RecordingData

The audio source of the recording. Specify either an Amazon S3 object or the audio data.



872
873
874
875
876
877
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 872

class Recording < Struct.new(
  :format,
  :data)
  SENSITIVE = []
  include Aws::Structure
end

#format ⇒ String

The audio format of the recording: wav, flac, ogg_vorbis, or mp3. The format must match the audio data.

Returns:

  • (String)


872
873
874
875
876
877
# File 'gems/aws-sdk-polly/lib/aws-sdk-polly/types.rb', line 872

class Recording < Struct.new(
  :format,
  :data)
  SENSITIVE = []
  include Aws::Structure
end