Skip to content

RecordingData

Source code in docs_src/capo_polly/types/recording_data.py
class RecordingData(TypedDict, closed=True):
    s3_url: NotRequired["capo_polly.types.s3_url.S3Url"]
    """<p>The Amazon S3 URL of the audio object, in the form <code>s3://bucket/key</code>. You need <code>s3:GetObject</code> permission on the object.</p>"""
    bytes: NotRequired["capo_polly.types.recording_bytes.RecordingBytes"]
    """<p>The audio data, passed directly in the request. The data must be in the format that <code>Format</code> specifies 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.</p>"""

bytes instance-attribute

bytes: NotRequired[RecordingBytes]

The audio data, passed directly in the request. The data must be in the format that Format specifies 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.

s3_url instance-attribute

s3_url: NotRequired[S3Url]

The Amazon S3 URL of the audio object, in the form s3://bucket/key. You need s3:GetObject permission on the object.