amazonka-sms-voice-2.0: Amazon Pinpoint SMS and Voice Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SmsVoice.Types.SSMLMessageType

Description

 
Synopsis

Documentation

data SSMLMessageType Source #

An object that defines a message that contains SSML-formatted text.

See: newSSMLMessageType smart constructor.

Constructors

SSMLMessageType' 

Fields

  • languageCode :: Maybe Text

    The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

  • text :: Maybe Text

    The SSML-formatted text to deliver to the recipient.

  • voiceId :: Maybe Text

    The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.

Instances

Instances details
ToJSON SSMLMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.SSMLMessageType

Generic SSMLMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.SSMLMessageType

Associated Types

type Rep SSMLMessageType :: Type -> Type #

Read SSMLMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.SSMLMessageType

Show SSMLMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.SSMLMessageType

NFData SSMLMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.SSMLMessageType

Methods

rnf :: SSMLMessageType -> () #

Eq SSMLMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.SSMLMessageType

Hashable SSMLMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.SSMLMessageType

type Rep SSMLMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.SSMLMessageType

type Rep SSMLMessageType = D1 ('MetaData "SSMLMessageType" "Amazonka.SmsVoice.Types.SSMLMessageType" "amazonka-sms-voice-2.0-3p97esUzflC4CxQYj8cHEb" 'False) (C1 ('MetaCons "SSMLMessageType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "voiceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSSMLMessageType :: SSMLMessageType Source #

Create a value of SSMLMessageType with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:languageCode:SSMLMessageType', sSMLMessageType_languageCode - The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

$sel:text:SSMLMessageType', sSMLMessageType_text - The SSML-formatted text to deliver to the recipient.

$sel:voiceId:SSMLMessageType', sSMLMessageType_voiceId - The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.

sSMLMessageType_languageCode :: Lens' SSMLMessageType (Maybe Text) Source #

The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

sSMLMessageType_text :: Lens' SSMLMessageType (Maybe Text) Source #

The SSML-formatted text to deliver to the recipient.

sSMLMessageType_voiceId :: Lens' SSMLMessageType (Maybe Text) Source #

The name of the voice that you want to use to deliver the message. For a complete list of supported voices, see the Amazon Polly Developer Guide.