Skip to content

AudioSource

Union Type

AudioSource module-attribute

The source of audio data, which can be provided either as raw bytes or a reference to an S3 location.

Union Member Types

AudioSourceBytes dataclass

Bases: _SerdeShape

Audio data encoded in base64.

Attributes

value instance-attribute
value: bytes

AudioSourceS3Location dataclass

Bases: _SerdeShape

A reference to audio data stored in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.

Attributes

value instance-attribute
value: S3Location

AudioSourceUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str