amazonka-alexa-business-2.0: Amazon Alexa For Business 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.AlexaBusiness.Types.Content

Description

 
Synopsis

Documentation

data Content Source #

The content definition. This can contain only one text, SSML, or audio list object.

See: newContent smart constructor.

Constructors

Content' 

Fields

Instances

Instances details
ToJSON Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

Generic Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

Associated Types

type Rep Content :: Type -> Type #

Methods

from :: Content -> Rep Content x #

to :: Rep Content x -> Content #

Read Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

Show Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

NFData Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

Methods

rnf :: Content -> () #

Eq Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

Methods

(==) :: Content -> Content -> Bool #

(/=) :: Content -> Content -> Bool #

Hashable Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

Methods

hashWithSalt :: Int -> Content -> Int #

hash :: Content -> Int #

type Rep Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

type Rep Content = D1 ('MetaData "Content" "Amazonka.AlexaBusiness.Types.Content" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "Content'" 'PrefixI 'True) (S1 ('MetaSel ('Just "audioList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Audio])) :*: (S1 ('MetaSel ('Just "ssmlList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Ssml])) :*: S1 ('MetaSel ('Just "textList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextMessage])))))

newContent :: Content Source #

Create a value of Content 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:audioList:Content', content_audioList - The list of audio messages.

$sel:ssmlList:Content', content_ssmlList - The list of SSML messages.

$sel:textList:Content', content_textList - The list of text messages.

content_audioList :: Lens' Content (Maybe [Audio]) Source #

The list of audio messages.

content_ssmlList :: Lens' Content (Maybe [Ssml]) Source #

The list of SSML messages.

content_textList :: Lens' Content (Maybe [TextMessage]) Source #

The list of text messages.