libZSservicesZSamazonka-comprehendZSamazonka-comprehend
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.Comprehend.Types.DocumentLabel

Description

 
Synopsis

Documentation

data DocumentLabel Source #

Specifies one of the label or labels that categorize the document being analyzed.

See: newDocumentLabel smart constructor.

Constructors

DocumentLabel' 

Fields

Instances

Instances details
Eq DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

Read DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

Show DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

Generic DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

Associated Types

type Rep DocumentLabel :: Type -> Type #

NFData DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

Methods

rnf :: DocumentLabel -> () #

Hashable DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

FromJSON DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

type Rep DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

type Rep DocumentLabel = D1 ('MetaData "DocumentLabel" "Amazonka.Comprehend.Types.DocumentLabel" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DocumentLabel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDocumentLabel :: DocumentLabel Source #

Create a value of DocumentLabel 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:DocumentLabel', documentLabel_score - The confidence score that Amazon Comprehend has this label correctly attributed.

$sel:name:DocumentLabel', documentLabel_name - The name of the label.

documentLabel_score :: Lens' DocumentLabel (Maybe Double) Source #

The confidence score that Amazon Comprehend has this label correctly attributed.