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
Documentation
data DocumentText Source #
The text of the document.
See: newDocumentText
smart constructor.
Instances
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_text :: Lens' DocumentText (Maybe Text) Source #
Text in the document.
documentText_highlights :: Lens' DocumentText (Maybe [Highlight]) Source #
Highlights in the document text.