Skip to content

VoiceParameters

Source code in docs_src/capo_endusermessaging/types/voice_parameters.py
class VoiceParameters(TypedDict, closed=True):
    inline_template_body: NotRequired[
        "capo_endusermessaging.types.inline_template_body.InlineTemplateBody"
    ]
    """<p>The freeform message template used to render the one-time passcode for the voice channel. The template must contain the code placeholder.</p>"""
    language_code: NotRequired["capo_endusermessaging.types.language_code.LanguageCode"]
    """<p>The BCP 47 language code used to render the voice message.</p>"""
    voice_id: NotRequired["capo_endusermessaging.types.voice_id.VoiceId"]
    """<p>The Amazon Polly voice ID used for the voice channel.</p>"""
    voice_message_body_text_type: NotRequired[
        "capo_endusermessaging.types.voice_message_body_text_type.VoiceMessageBodyTextType"
    ]
    """<p>The format of the voice message body. Valid values are TEXT and SSML.</p>"""

inline_template_body instance-attribute

inline_template_body: NotRequired[InlineTemplateBody]

The freeform message template used to render the one-time passcode for the voice channel. The template must contain the code placeholder.

language_code instance-attribute

language_code: NotRequired[LanguageCode]

The BCP 47 language code used to render the voice message.

voice_id instance-attribute

voice_id: NotRequired[VoiceId]

The Amazon Polly voice ID used for the voice channel.

voice_message_body_text_type instance-attribute

voice_message_body_text_type: NotRequired[VoiceMessageBodyTextType]

The format of the voice message body. Valid values are TEXT and SSML.