Skip to content

Recording

Source code in docs_src/capo_polly/types/recording.py
class Recording(TypedDict, closed=True):
    format: "capo_polly.types.audio_format.AudioFormat"
    """<p>The audio format of the recording: <code>wav</code>, <code>flac</code>, <code>ogg_vorbis</code>, or <code>mp3</code>. The format must match the audio data.</p>"""
    data: "capo_polly.types.recording_data.RecordingData"
    """<p>The audio source of the recording. Specify either an Amazon S3 object or the audio data.</p>"""

data instance-attribute

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

format instance-attribute

format: AudioFormat

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