SynthesizeSpeechOutput
public struct SynthesizeSpeechOutput : AWSShape
Undocumented
-
The key for the payload
Declaration
Swift
public static let payloadPath: String? -
Declaration
Swift
public static var _members: [AWSShapeMember] -
Stream containing the synthesized speech.
Declaration
Swift
public let audioStream: Data? -
Specifies the type audio stream. This should reflect the OutputFormat parameter in your request. If you request mp3 as the OutputFormat, the ContentType returned is audio/mpeg. If you request ogg_vorbis as the OutputFormat, the ContentType returned is audio/ogg. If you request pcm as the OutputFormat, the ContentType returned is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format. If you request json as the OutputFormat, the ContentType returned is audio/json.
Declaration
Swift
public let contentType: String? -
Number of characters synthesized.
Declaration
Swift
public let requestCharacters: Int? -
Undocumented
Declaration
Swift
public init(audioStream: Data? = nil, contentType: String? = nil, requestCharacters: Int? = nil)
View on GitHub
SynthesizeSpeechOutput Structure Reference