libZSservicesZSamazonka-comprehendmedicalZSamazonka-comprehendmedical
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ComprehendMedical.Types.Trait

Description

 
Synopsis

Documentation

data Trait Source #

Provides contextual information about the extracted entity.

See: newTrait smart constructor.

Constructors

Trait' 

Fields

  • score :: Maybe Double

    The level of confidence that Amazon Comprehend Medical has in the accuracy of this trait.

  • name :: Maybe AttributeName

    Provides a name or contextual description about the trait.

Instances

Instances details
Eq Trait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.Trait

Methods

(==) :: Trait -> Trait -> Bool #

(/=) :: Trait -> Trait -> Bool #

Read Trait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.Trait

Show Trait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.Trait

Methods

showsPrec :: Int -> Trait -> ShowS #

show :: Trait -> String #

showList :: [Trait] -> ShowS #

Generic Trait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.Trait

Associated Types

type Rep Trait :: Type -> Type #

Methods

from :: Trait -> Rep Trait x #

to :: Rep Trait x -> Trait #

NFData Trait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.Trait

Methods

rnf :: Trait -> () #

Hashable Trait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.Trait

Methods

hashWithSalt :: Int -> Trait -> Int #

hash :: Trait -> Int #

FromJSON Trait Source # 
Instance details

Defined in Amazonka.ComprehendMedical.Types.Trait

type Rep Trait Source # 
Instance details

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))))

newTrait :: Trait Source #

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.