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 |
Synopsis
- data Trait = Trait' {}
- newTrait :: Trait
- trait_name :: Lens' Trait (Maybe AttributeName)
- trait_score :: Lens' Trait (Maybe Double)
Documentation
Provides contextual information about the extracted entity.
See: newTrait
smart constructor.
Instances
FromJSON Trait Source # | |
Generic Trait Source # | |
Read Trait Source # | |
Show Trait Source # | |
NFData Trait Source # | |
Defined in Amazonka.ComprehendMedical.Types.Trait | |
Eq Trait Source # | |
Hashable Trait Source # | |
Defined in Amazonka.ComprehendMedical.Types.Trait | |
type Rep Trait Source # | |
Defined in Amazonka.ComprehendMedical.Types.Trait type Rep Trait = D1 ('MetaData "Trait" "Amazonka.ComprehendMedical.Types.Trait" "amazonka-comprehendmedical-2.0-K5bRdy29Oz63JzqZPPUiej" 'False) (C1 ('MetaCons "Trait'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttributeName)) :*: S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) |
Create a value of Trait
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:name:Trait'
, trait_name
- Provides a name or contextual description about the trait.
$sel:score:Trait'
, trait_score
- The level of confidence that Comprehend Medical; has in the accuracy of
this trait.
trait_name :: Lens' Trait (Maybe AttributeName) Source #
Provides a name or contextual description about the trait.