| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Wisdom.Types.Document
Description
Synopsis
Documentation
The document.
See: newDocument smart constructor.
Constructors
| Document' | |
Fields
| |
Instances
| FromJSON Document Source # | |
| Generic Document Source # | |
| Show Document Source # | |
| NFData Document Source # | |
Defined in Amazonka.Wisdom.Types.Document | |
| Eq Document Source # | |
| Hashable Document Source # | |
Defined in Amazonka.Wisdom.Types.Document | |
| type Rep Document Source # | |
Defined in Amazonka.Wisdom.Types.Document type Rep Document = D1 ('MetaData "Document" "Amazonka.Wisdom.Types.Document" "amazonka-wisdom-2.0-D8ZGZ1sJNnDDHDNbH2yubp" '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)))) | |
Arguments
| :: ContentReference | |
| -> Document |
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.