Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Content = Content' {}
- newContent :: Content
- content_audioList :: Lens' Content (Maybe [Audio])
- content_textList :: Lens' Content (Maybe [TextMessage])
- content_ssmlList :: Lens' Content (Maybe [Ssml])
Documentation
The content definition. This can contain only one text, SSML, or audio list object.
See: newContent
smart constructor.
Instances
Eq Content Source # | |
Read Content Source # | |
Show Content Source # | |
Generic Content Source # | |
NFData Content Source # | |
Defined in Amazonka.AlexaBusiness.Types.Content | |
Hashable Content Source # | |
Defined in Amazonka.AlexaBusiness.Types.Content | |
ToJSON Content Source # | |
Defined in Amazonka.AlexaBusiness.Types.Content | |
type Rep Content Source # | |
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_textList :: Lens' Content (Maybe [TextMessage]) Source #
The list of text messages.