libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AlexaBusiness.Types.TextMessage

Description

 
Synopsis

Documentation

data TextMessage Source #

The text message.

See: newTextMessage smart constructor.

Constructors

TextMessage' 

Fields

  • locale :: Locale

    The locale of the text message. Currently, en-US is supported.

  • value :: Text

    The value of the text message.

Instances

Instances details
Eq TextMessage Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.TextMessage

Read TextMessage Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.TextMessage

Show TextMessage Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.TextMessage

Generic TextMessage Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.TextMessage

Associated Types

type Rep TextMessage :: Type -> Type #

NFData TextMessage Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.TextMessage

Methods

rnf :: TextMessage -> () #

Hashable TextMessage Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.TextMessage

ToJSON TextMessage Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.TextMessage

type Rep TextMessage Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.TextMessage

type Rep TextMessage = D1 ('MetaData "TextMessage" "Amazonka.AlexaBusiness.Types.TextMessage" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "TextMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Locale) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTextMessage Source #

Create a value of TextMessage 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:locale:TextMessage', textMessage_locale - The locale of the text message. Currently, en-US is supported.

$sel:value:TextMessage', textMessage_value - The value of the text message.

textMessage_locale :: Lens' TextMessage Locale Source #

The locale of the text message. Currently, en-US is supported.

textMessage_value :: Lens' TextMessage Text Source #

The value of the text message.