libZSservicesZSamazonka-wisdomZSamazonka-wisdom
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.Wisdom.Types.DocumentText

Description

 
Synopsis

Documentation

data DocumentText Source #

The text of the document.

See: newDocumentText smart constructor.

Constructors

DocumentText' 

Fields

Instances

Instances details
Eq DocumentText Source # 
Instance details

Defined in Amazonka.Wisdom.Types.DocumentText

Show DocumentText Source # 
Instance details

Defined in Amazonka.Wisdom.Types.DocumentText

Generic DocumentText Source # 
Instance details

Defined in Amazonka.Wisdom.Types.DocumentText

Associated Types

type Rep DocumentText :: Type -> Type #

NFData DocumentText Source # 
Instance details

Defined in Amazonka.Wisdom.Types.DocumentText

Methods

rnf :: DocumentText -> () #

Hashable DocumentText Source # 
Instance details

Defined in Amazonka.Wisdom.Types.DocumentText

FromJSON DocumentText Source # 
Instance details

Defined in Amazonka.Wisdom.Types.DocumentText

type Rep DocumentText Source # 
Instance details

Defined in Amazonka.Wisdom.Types.DocumentText

type Rep DocumentText = D1 ('MetaData "DocumentText" "Amazonka.Wisdom.Types.DocumentText" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "DocumentText'" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "highlights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Highlight]))))

newDocumentText :: DocumentText Source #

Create a value of DocumentText 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:text:DocumentText', documentText_text - Text in the document.

$sel:highlights:DocumentText', documentText_highlights - Highlights in the document text.

documentText_highlights :: Lens' DocumentText (Maybe [Highlight]) Source #

Highlights in the document text.