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.PlainTextMessageType

Description

 
Synopsis

Documentation

data PlainTextMessageType Source #

An object that defines a message that contains unformatted text.

See: newPlainTextMessageType smart constructor.

Constructors

PlainTextMessageType' 

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 plain (not 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 PlainTextMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.PlainTextMessageType

Generic PlainTextMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.PlainTextMessageType

Associated Types

type Rep PlainTextMessageType :: Type -> Type #

Read PlainTextMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.PlainTextMessageType

Show PlainTextMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.PlainTextMessageType

NFData PlainTextMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.PlainTextMessageType

Methods

rnf :: PlainTextMessageType -> () #

Eq PlainTextMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.PlainTextMessageType

Hashable PlainTextMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.PlainTextMessageType

type Rep PlainTextMessageType Source # 
Instance details

Defined in Amazonka.SmsVoice.Types.PlainTextMessageType

type Rep PlainTextMessageType = D1 ('MetaData "PlainTextMessageType" "Amazonka.SmsVoice.Types.PlainTextMessageType" "amazonka-sms-voice-2.0-3p97esUzflC4CxQYj8cHEb" 'False) (C1 ('MetaCons "PlainTextMessageType'" '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)))))

newPlainTextMessageType :: PlainTextMessageType Source #

Create a value of PlainTextMessageType 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:PlainTextMessageType', plainTextMessageType_languageCode - The language to use when delivering the message. For a complete list of supported languages, see the Amazon Polly Developer Guide.

$sel:text:PlainTextMessageType', plainTextMessageType_text - The plain (not SSML-formatted) text to deliver to the recipient.

$sel:voiceId:PlainTextMessageType', plainTextMessageType_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.

plainTextMessageType_languageCode :: Lens' PlainTextMessageType (Maybe Text) Source #

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

plainTextMessageType_text :: Lens' PlainTextMessageType (Maybe Text) Source #

The plain (not SSML-formatted) text to deliver to the recipient.

plainTextMessageType_voiceId :: Lens' PlainTextMessageType (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.