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
The document.
See: newDocument
smart constructor.
Document' | |
|
Instances
Eq Document Source # | |
Show Document Source # | |
Generic Document Source # | |
NFData Document Source # | |
Defined in Amazonka.Wisdom.Types.Document | |
Hashable Document Source # | |
Defined in Amazonka.Wisdom.Types.Document | |
FromJSON Document Source # | |
type Rep Document Source # | |
Defined in Amazonka.Wisdom.Types.Document type Rep Document = D1 ('MetaData "Document" "Amazonka.Wisdom.Types.Document" "libZSservicesZSamazonka-wisdomZSamazonka-wisdom" 'False) (C1 ('MetaCons "Document'" 'PrefixI 'True) (S1 ('MetaSel ('Just "excerpt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentText)) :*: (S1 ('MetaSel ('Just "title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentText)) :*: S1 ('MetaSel ('Just "contentReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ContentReference)))) |
Create a value of Document
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:excerpt:Document'
, document_excerpt
- The excerpt from the document.
$sel:title:Document'
, document_title
- The title of the document.
$sel:contentReference:Document'
, document_contentReference
- A reference to the content resource.
document_excerpt :: Lens' Document (Maybe DocumentText) Source #
The excerpt from the document.
document_title :: Lens' Document (Maybe DocumentText) Source #
The title of the document.
document_contentReference :: Lens' Document ContentReference Source #
A reference to the content resource.