| 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.Kendra.Types.DocumentAttribute
Description
Documentation
data DocumentAttribute Source #
A document attribute or metadata field. To create custom document attributes, see Custom attributes.
See: newDocumentAttribute smart constructor.
Constructors
| DocumentAttribute' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DocumentAttributeValue | |
| -> DocumentAttribute |
Create a value of DocumentAttribute 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:key:DocumentAttribute', documentAttribute_key - The identifier for the attribute.
$sel:value:DocumentAttribute', documentAttribute_value - The value of the attribute.
documentAttribute_key :: Lens' DocumentAttribute Text Source #
The identifier for the attribute.
documentAttribute_value :: Lens' DocumentAttribute DocumentAttributeValue Source #
The value of the attribute.