Skip to content

VoiceTemplateResponse

Source code in docs_src/capo_pinpoint/types/voice_template_response.py
class VoiceTemplateResponse(TypedDict, closed=True):
    arn: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The Amazon Resource Name (ARN) of the message template.</p>"""
    body: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The text of the script that's used in messages that are based on the message template, in plain text format.</p>"""
    creation_date: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The date, in ISO 8601 format, when the message template was created.</p>"""
    default_substitutions: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.</p>"""
    language_code: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The code for the language that's used when synthesizing the text of the script in messages that are based on the message template. For a list of supported languages and the code for each one, see the <a href="https://docs.aws.amazon.com/polly/latest/dg/what-is.html">Amazon Polly Developer Guide</a>.</p>"""
    last_modified_date: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The date, in ISO 8601 format, when the message template was last modified.</p>"""
    tags: NotRequired["capo_pinpoint.types.map_of__string.MapOf__string"]
    """<p>A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.</p>"""
    template_description: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The custom description of the message template.</p>"""
    template_name: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The name of the message template.</p>"""
    template_type: NotRequired["capo_pinpoint.types.template_type.TemplateType"]
    """<p>The type of channel that the message template is designed for. For a voice template, this value is VOICE.</p>"""
    version: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.</p>"""
    voice_id: NotRequired["capo_pinpoint.types.__string.__string"]
    """<p>The name of the voice that's used when delivering messages that are based on the message template. For a list of supported voices, see the <a href="https://docs.aws.amazon.com/polly/latest/dg/what-is.html">Amazon Polly Developer Guide</a>.</p>"""

arn instance-attribute

arn: NotRequired[__string]

The Amazon Resource Name (ARN) of the message template.

body instance-attribute

body: NotRequired[__string]

The text of the script that's used in messages that are based on the message template, in plain text format.

creation_date instance-attribute

creation_date: NotRequired[__string]

The date, in ISO 8601 format, when the message template was created.

default_substitutions instance-attribute

default_substitutions: NotRequired[__string]

The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.

language_code instance-attribute

language_code: NotRequired[__string]

The code for the language that's used when synthesizing the text of the script in messages that are based on the message template. For a list of supported languages and the code for each one, see the Amazon Polly Developer Guide.

last_modified_date instance-attribute

last_modified_date: NotRequired[__string]

The date, in ISO 8601 format, when the message template was last modified.

tags instance-attribute

tags: NotRequired[MapOf__string]

A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.

template_description instance-attribute

template_description: NotRequired[__string]

The custom description of the message template.

template_name instance-attribute

template_name: NotRequired[__string]

The name of the message template.

template_type instance-attribute

template_type: NotRequired[TemplateType]

The type of channel that the message template is designed for. For a voice template, this value is VOICE.

version instance-attribute

version: NotRequired[__string]

The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.

voice_id instance-attribute

voice_id: NotRequired[__string]

The name of the voice that's used when delivering messages that are based on the message template. For a list of supported voices, see the Amazon Polly Developer Guide.