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