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.DocumentClass

Description

 
Synopsis

Documentation

data DocumentClass Source #

Specifies the class that categorizes the document being analyzed

See: newDocumentClass smart constructor.

Constructors

DocumentClass' 

Fields

Instances

Instances details
Eq DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

Read DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

Show DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

Generic DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

Associated Types

type Rep DocumentClass :: Type -> Type #

NFData DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

Methods

rnf :: DocumentClass -> () #

Hashable DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

FromJSON DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

type Rep DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

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

newDocumentClass :: DocumentClass Source #

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

$sel:name:DocumentClass', documentClass_name - The name of the class.

documentClass_score :: Lens' DocumentClass (Maybe Double) Source #

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