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.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
Eq Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

Methods

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

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

Read Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

Show 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 #

NFData Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

Methods

rnf :: Content -> () #

Hashable Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

Methods

hashWithSalt :: Int -> Content -> Int #

hash :: Content -> Int #

ToJSON Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

type Rep Content Source # 
Instance details

Defined in Amazonka.AlexaBusiness.Types.Content

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

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:textList:Content', content_textList - The list of text messages.

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

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

The list of audio messages.

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

The list of text messages.

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

The list of SSML messages.