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 |
Documentation
data AdditionalResultAttributeValue Source #
An attribute returned with a document from a search.
See: newAdditionalResultAttributeValue
smart constructor.
AdditionalResultAttributeValue' | |
|
Instances
FromJSON AdditionalResultAttributeValue Source # | |
Generic AdditionalResultAttributeValue Source # | |
Read AdditionalResultAttributeValue Source # | |
Show AdditionalResultAttributeValue Source # | |
NFData AdditionalResultAttributeValue Source # | |
Defined in Amazonka.Kendra.Types.AdditionalResultAttributeValue rnf :: AdditionalResultAttributeValue -> () # | |
Eq AdditionalResultAttributeValue Source # | |
Hashable AdditionalResultAttributeValue Source # | |
type Rep AdditionalResultAttributeValue Source # | |
Defined in Amazonka.Kendra.Types.AdditionalResultAttributeValue type Rep AdditionalResultAttributeValue = D1 ('MetaData "AdditionalResultAttributeValue" "Amazonka.Kendra.Types.AdditionalResultAttributeValue" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "AdditionalResultAttributeValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "textWithHighlightsValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextWithHighlights)))) |
newAdditionalResultAttributeValue :: AdditionalResultAttributeValue Source #
Create a value of AdditionalResultAttributeValue
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:textWithHighlightsValue:AdditionalResultAttributeValue'
, additionalResultAttributeValue_textWithHighlightsValue
- The text associated with the attribute and information about the
highlight to apply to the text.
additionalResultAttributeValue_textWithHighlightsValue :: Lens' AdditionalResultAttributeValue (Maybe TextWithHighlights) Source #
The text associated with the attribute and information about the highlight to apply to the text.