RecordingData
The audio source of a recording. In a CreateVoice
request, specify exactly one of S3Url and Bytes.
In a response, a recording that Amazon Polly read from Amazon S3 includes its
S3Url. A recording that you passed as Bytes
includes neither field, because Amazon Polly doesn't return the
audio.
Contents
- Bytes
-
The audio data, passed directly in the request. The data must be in the format that
Formatspecifies and can be up to 5 MB. Amazon Polly doesn't store the audio after it creates the voice, and doesn't return this field in responses.Type: Base64-encoded binary data object
Length Constraints: Maximum length of 5242880.
Required: No
- S3Url
-
The Amazon S3 URL of the audio object, in the form
s3://bucket/key. You needs3:GetObjectpermission on the object.Type: String
Length Constraints: Maximum length of 1024.
Pattern:
^s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]/.+$Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: