# This file was auto-generated by Fern from our API Definition.

import typing_extensions
from ..types.agent_v1settings_agent_speak_one_item_provider_aws_polly_engine import (
    AgentV1SettingsAgentSpeakOneItemProviderAwsPollyEngine,
)
from ..types.agent_v1settings_agent_speak_one_item_provider_aws_polly_voice import (
    AgentV1SettingsAgentSpeakOneItemProviderAwsPollyVoice,
)
from .agent_v1settings_agent_speak_one_item_provider_aws_polly_credentials import (
    AgentV1SettingsAgentSpeakOneItemProviderAwsPollyCredentialsParams,
)


class AgentV1SettingsAgentSpeakOneItemProviderAwsPollyParams(typing_extensions.TypedDict):
    voice: AgentV1SettingsAgentSpeakOneItemProviderAwsPollyVoice
    """
    AWS Polly voice name
    """

    language: str
    """
    Language code to use, e.g. 'en-US'. Corresponds to the `language_code` parameter in the AWS Polly API
    """

    language_code: typing_extensions.NotRequired[str]
    """
    Use the `language` field instead.
    """

    engine: AgentV1SettingsAgentSpeakOneItemProviderAwsPollyEngine
    credentials: AgentV1SettingsAgentSpeakOneItemProviderAwsPollyCredentialsParams
