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

Contents

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2017-11-27 of the Amazon Comprehend SDK configuration.

Errors

_ResourceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified resource is not available. Check the resource and try your request again.

_ResourceLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The maximum number of resources per account has been exceeded. Review the resources, and then try your request again.

_TooManyTagsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request contains more tags than can be associated with a resource (50 tags per resource). The maximum number of tags includes both existing tags and those included in your current request.

_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of requests exceeds the limit. Resubmit your request later.

_ConcurrentModificationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Concurrent modification of the tags associated with an Amazon Comprehend resource is not supported.

_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An internal server error occurred. Retry your request.

_BatchSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The number of documents in the request exceeds the limit of 25. Try your request again with fewer documents.

_UnsupportedLanguageException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Amazon Comprehend can't process the language of the input text. For custom entity recognition APIs, only English, Spanish, French, Italian, German, or Portuguese are accepted. For a list of supported languages, see supported-languages.

_JobNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified job was not found. Check the job ID and try again.

_TooManyTagKeysException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The request contains more tag keys than can be associated with a resource (50 tag keys per resource).

_InvalidFilterException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The filter specified for the operation is invalid. Specify a different filter.

_KmsKeyValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The KMS customer managed key (CMK) entered cannot be validated. Verify the key and re-enter it.

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified resource ARN was not found. Check the ARN and try your request again.

_TextSizeLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The size of the input text exceeds the limit. Use a smaller document.

_ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified resource name is already in use. Use a different name and try your request again.

AugmentedManifestsDocumentTypeFormat

newtype AugmentedManifestsDocumentTypeFormat Source #

Instances

Instances details
Eq AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

Ord AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

Read AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

Show AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

Generic AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

NFData AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

Hashable AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToJSON AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToJSONKey AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

FromJSON AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

FromJSONKey AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToLog AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToHeader AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToQuery AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

FromXML AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToXML AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToByteString AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

FromText AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToText AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

type Rep AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

type Rep AugmentedManifestsDocumentTypeFormat = D1 ('MetaData "AugmentedManifestsDocumentTypeFormat" "Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "AugmentedManifestsDocumentTypeFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAugmentedManifestsDocumentTypeFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentClassifierDataFormat

newtype DocumentClassifierDataFormat Source #

Instances

Instances details
Eq DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

Ord DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

Read DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

Show DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

Generic DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

Associated Types

type Rep DocumentClassifierDataFormat :: Type -> Type #

NFData DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

Hashable DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToJSON DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToJSONKey DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

FromJSON DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

FromJSONKey DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToLog DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToHeader DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToQuery DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

FromXML DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToXML DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToByteString DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

FromText DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToText DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

type Rep DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

type Rep DocumentClassifierDataFormat = D1 ('MetaData "DocumentClassifierDataFormat" "Amazonka.Comprehend.Types.DocumentClassifierDataFormat" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "DocumentClassifierDataFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentClassifierDataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentClassifierMode

newtype DocumentClassifierMode Source #

Instances

Instances details
Eq DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

Ord DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

Read DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

Show DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

Generic DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

Associated Types

type Rep DocumentClassifierMode :: Type -> Type #

NFData DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

Methods

rnf :: DocumentClassifierMode -> () #

Hashable DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToJSON DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToJSONKey DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

FromJSON DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

FromJSONKey DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToLog DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToHeader DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToQuery DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

FromXML DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToXML DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToByteString DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

FromText DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToText DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

type Rep DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

type Rep DocumentClassifierMode = D1 ('MetaData "DocumentClassifierMode" "Amazonka.Comprehend.Types.DocumentClassifierMode" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "DocumentClassifierMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentClassifierMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentReadAction

newtype DocumentReadAction Source #

Instances

Instances details
Eq DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

Ord DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

Read DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

Show DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

Generic DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

Associated Types

type Rep DocumentReadAction :: Type -> Type #

NFData DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

Methods

rnf :: DocumentReadAction -> () #

Hashable DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToJSON DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToJSONKey DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

FromJSON DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

FromJSONKey DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToLog DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToHeader DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToQuery DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

FromXML DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToXML DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToByteString DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

FromText DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToText DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

type Rep DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

type Rep DocumentReadAction = D1 ('MetaData "DocumentReadAction" "Amazonka.Comprehend.Types.DocumentReadAction" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "DocumentReadAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentReadAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentReadFeatureTypes

newtype DocumentReadFeatureTypes Source #

A list of the types of analyses to perform. This field specifies what feature types need to be extracted from the document where entity recognition is expected.

  • TABLES - Add TABLES to the list to return information about the tables that are detected in the input document.
  • FORMS - Add FORMS to return detected form data.

Instances

Instances details
Eq DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

Ord DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

Read DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

Show DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

Generic DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

Associated Types

type Rep DocumentReadFeatureTypes :: Type -> Type #

NFData DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

Hashable DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToJSON DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToJSONKey DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

FromJSON DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

FromJSONKey DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToLog DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToHeader DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToQuery DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

FromXML DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToXML DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToByteString DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

FromText DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToText DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

type Rep DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

type Rep DocumentReadFeatureTypes = D1 ('MetaData "DocumentReadFeatureTypes" "Amazonka.Comprehend.Types.DocumentReadFeatureTypes" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "DocumentReadFeatureTypes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentReadFeatureTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentReadMode

newtype DocumentReadMode Source #

Instances

Instances details
Eq DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

Ord DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

Read DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

Show DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

Generic DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

Associated Types

type Rep DocumentReadMode :: Type -> Type #

NFData DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

Methods

rnf :: DocumentReadMode -> () #

Hashable DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToJSON DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToJSONKey DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

FromJSON DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

FromJSONKey DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToLog DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToHeader DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToQuery DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

FromXML DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToXML DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToByteString DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

FromText DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToText DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

type Rep DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

type Rep DocumentReadMode = D1 ('MetaData "DocumentReadMode" "Amazonka.Comprehend.Types.DocumentReadMode" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "DocumentReadMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentReadMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EndpointStatus

newtype EndpointStatus Source #

Constructors

EndpointStatus' 

Instances

Instances details
Eq EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Ord EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Read EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Show EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Generic EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Associated Types

type Rep EndpointStatus :: Type -> Type #

NFData EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Methods

rnf :: EndpointStatus -> () #

Hashable EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

ToJSON EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

ToJSONKey EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

FromJSON EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

FromJSONKey EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

ToLog EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

ToHeader EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

ToQuery EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

FromXML EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

ToXML EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Methods

toXML :: EndpointStatus -> XML #

ToByteString EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

FromText EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

ToText EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

type Rep EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

type Rep EndpointStatus = D1 ('MetaData "EndpointStatus" "Amazonka.Comprehend.Types.EndpointStatus" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "EndpointStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEndpointStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EntityRecognizerDataFormat

newtype EntityRecognizerDataFormat Source #

Instances

Instances details
Eq EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

Ord EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

Read EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

Show EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

Generic EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

Associated Types

type Rep EntityRecognizerDataFormat :: Type -> Type #

NFData EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

Hashable EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToJSON EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToJSONKey EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

FromJSON EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

FromJSONKey EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToLog EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToHeader EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToQuery EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

FromXML EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToXML EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToByteString EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

FromText EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToText EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

type Rep EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

type Rep EntityRecognizerDataFormat = D1 ('MetaData "EntityRecognizerDataFormat" "Amazonka.Comprehend.Types.EntityRecognizerDataFormat" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "EntityRecognizerDataFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEntityRecognizerDataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EntityType

newtype EntityType Source #

Constructors

EntityType' 

Fields

Instances

Instances details
Eq EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Ord EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Read EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Show EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Generic EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Associated Types

type Rep EntityType :: Type -> Type #

NFData EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Methods

rnf :: EntityType -> () #

Hashable EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

ToJSON EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

ToJSONKey EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

FromJSON EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

FromJSONKey EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

ToLog EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

ToHeader EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

ToQuery EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

FromXML EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

ToXML EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Methods

toXML :: EntityType -> XML #

ToByteString EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

FromText EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

ToText EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Methods

toText :: EntityType -> Text #

type Rep EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

type Rep EntityType = D1 ('MetaData "EntityType" "Amazonka.Comprehend.Types.EntityType" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "EntityType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEntityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

InputFormat

newtype InputFormat Source #

Constructors

InputFormat' 

Instances

Instances details
Eq InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Ord InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Read InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Show InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Generic InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Associated Types

type Rep InputFormat :: Type -> Type #

NFData InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Methods

rnf :: InputFormat -> () #

Hashable InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

ToJSON InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

ToJSONKey InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

FromJSON InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

FromJSONKey InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

ToLog InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

ToHeader InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

ToQuery InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

FromXML InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

ToXML InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Methods

toXML :: InputFormat -> XML #

ToByteString InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

FromText InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

ToText InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Methods

toText :: InputFormat -> Text #

type Rep InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

type Rep InputFormat = D1 ('MetaData "InputFormat" "Amazonka.Comprehend.Types.InputFormat" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "InputFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromInputFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

JobStatus

newtype JobStatus Source #

Constructors

JobStatus' 

Fields

Instances

Instances details
Eq JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Ord JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Read JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Show JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Generic JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Associated Types

type Rep JobStatus :: Type -> Type #

NFData JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Methods

rnf :: JobStatus -> () #

Hashable JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

ToJSON JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

ToJSONKey JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

FromJSON JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

FromJSONKey JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

ToLog JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

ToHeader JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

ToQuery JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

FromXML JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

ToXML JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Methods

toXML :: JobStatus -> XML #

ToByteString JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Methods

toBS :: JobStatus -> ByteString #

FromText JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

ToText JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Methods

toText :: JobStatus -> Text #

type Rep JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

type Rep JobStatus = D1 ('MetaData "JobStatus" "Amazonka.Comprehend.Types.JobStatus" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "JobStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromJobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LanguageCode

newtype LanguageCode Source #

Constructors

LanguageCode' 

Instances

Instances details
Eq LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Ord LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Read LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Show LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Generic LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Associated Types

type Rep LanguageCode :: Type -> Type #

NFData LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Methods

rnf :: LanguageCode -> () #

Hashable LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

ToJSON LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

ToJSONKey LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

FromJSON LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

FromJSONKey LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

ToLog LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

ToHeader LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

ToQuery LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

FromXML LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

ToXML LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Methods

toXML :: LanguageCode -> XML #

ToByteString LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

FromText LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

ToText LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Methods

toText :: LanguageCode -> Text #

type Rep LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

type Rep LanguageCode = D1 ('MetaData "LanguageCode" "Amazonka.Comprehend.Types.LanguageCode" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "LanguageCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ModelStatus

newtype ModelStatus Source #

Constructors

ModelStatus' 

Instances

Instances details
Eq ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Ord ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Read ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Show ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Generic ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Associated Types

type Rep ModelStatus :: Type -> Type #

NFData ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Methods

rnf :: ModelStatus -> () #

Hashable ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

ToJSON ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

ToJSONKey ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

FromJSON ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

FromJSONKey ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

ToLog ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

ToHeader ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

ToQuery ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

FromXML ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

ToXML ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Methods

toXML :: ModelStatus -> XML #

ToByteString ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

FromText ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

ToText ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Methods

toText :: ModelStatus -> Text #

type Rep ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

type Rep ModelStatus = D1 ('MetaData "ModelStatus" "Amazonka.Comprehend.Types.ModelStatus" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "ModelStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromModelStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PartOfSpeechTagType

newtype PartOfSpeechTagType Source #

Instances

Instances details
Eq PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

Ord PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

Read PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

Show PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

Generic PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

Associated Types

type Rep PartOfSpeechTagType :: Type -> Type #

NFData PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

Methods

rnf :: PartOfSpeechTagType -> () #

Hashable PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToJSON PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToJSONKey PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

FromJSON PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

FromJSONKey PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToLog PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToHeader PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToQuery PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

FromXML PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToXML PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToByteString PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

FromText PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToText PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

type Rep PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

type Rep PartOfSpeechTagType = D1 ('MetaData "PartOfSpeechTagType" "Amazonka.Comprehend.Types.PartOfSpeechTagType" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "PartOfSpeechTagType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPartOfSpeechTagType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PiiEntitiesDetectionMaskMode

newtype PiiEntitiesDetectionMaskMode Source #

Instances

Instances details
Eq PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

Ord PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

Read PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

Show PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

Generic PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

Associated Types

type Rep PiiEntitiesDetectionMaskMode :: Type -> Type #

NFData PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

Hashable PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToJSON PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToJSONKey PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

FromJSON PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

FromJSONKey PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToLog PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToHeader PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToQuery PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

FromXML PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToXML PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToByteString PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

FromText PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToText PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

type Rep PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

type Rep PiiEntitiesDetectionMaskMode = D1 ('MetaData "PiiEntitiesDetectionMaskMode" "Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "PiiEntitiesDetectionMaskMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPiiEntitiesDetectionMaskMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PiiEntitiesDetectionMode

newtype PiiEntitiesDetectionMode Source #

Instances

Instances details
Eq PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

Ord PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

Read PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

Show PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

Generic PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

Associated Types

type Rep PiiEntitiesDetectionMode :: Type -> Type #

NFData PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

Hashable PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToJSON PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToJSONKey PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

FromJSON PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

FromJSONKey PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToLog PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToHeader PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToQuery PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

FromXML PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToXML PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToByteString PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

FromText PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToText PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

type Rep PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

type Rep PiiEntitiesDetectionMode = D1 ('MetaData "PiiEntitiesDetectionMode" "Amazonka.Comprehend.Types.PiiEntitiesDetectionMode" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "PiiEntitiesDetectionMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPiiEntitiesDetectionMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PiiEntityType

newtype PiiEntityType Source #

Constructors

PiiEntityType' 

Instances

Instances details
Eq PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Ord PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Read PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Show PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Generic PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Associated Types

type Rep PiiEntityType :: Type -> Type #

NFData PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Methods

rnf :: PiiEntityType -> () #

Hashable PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

ToJSON PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

ToJSONKey PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

FromJSON PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

FromJSONKey PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

ToLog PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

ToHeader PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

ToQuery PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

FromXML PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

ToXML PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Methods

toXML :: PiiEntityType -> XML #

ToByteString PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

FromText PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

ToText PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Methods

toText :: PiiEntityType -> Text #

type Rep PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

type Rep PiiEntityType = D1 ('MetaData "PiiEntityType" "Amazonka.Comprehend.Types.PiiEntityType" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "PiiEntityType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPiiEntityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SentimentType

newtype SentimentType Source #

Constructors

SentimentType' 

Instances

Instances details
Eq SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Ord SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Read SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Show SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Generic SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Associated Types

type Rep SentimentType :: Type -> Type #

NFData SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Methods

rnf :: SentimentType -> () #

Hashable SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

ToJSON SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

ToJSONKey SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

FromJSON SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

FromJSONKey SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

ToLog SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

ToHeader SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

ToQuery SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

FromXML SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

ToXML SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Methods

toXML :: SentimentType -> XML #

ToByteString SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

FromText SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

ToText SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Methods

toText :: SentimentType -> Text #

type Rep SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

type Rep SentimentType = D1 ('MetaData "SentimentType" "Amazonka.Comprehend.Types.SentimentType" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "SentimentType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSentimentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Split

newtype Split Source #

Constructors

Split' 

Fields

Bundled Patterns

pattern Split_TEST :: Split 
pattern Split_TRAIN :: Split 

Instances

Instances details
Eq Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

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

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

Ord Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

compare :: Split -> Split -> Ordering #

(<) :: Split -> Split -> Bool #

(<=) :: Split -> Split -> Bool #

(>) :: Split -> Split -> Bool #

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

max :: Split -> Split -> Split #

min :: Split -> Split -> Split #

Read Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Show Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

showsPrec :: Int -> Split -> ShowS #

show :: Split -> String #

showList :: [Split] -> ShowS #

Generic Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Associated Types

type Rep Split :: Type -> Type #

Methods

from :: Split -> Rep Split x #

to :: Rep Split x -> Split #

NFData Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

rnf :: Split -> () #

Hashable Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

hashWithSalt :: Int -> Split -> Int #

hash :: Split -> Int #

ToJSON Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

ToJSONKey Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

FromJSON Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

FromJSONKey Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

ToLog Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

ToHeader Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

toHeader :: HeaderName -> Split -> [Header] #

ToQuery Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

toQuery :: Split -> QueryString #

FromXML Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

parseXML :: [Node] -> Either String Split #

ToXML Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

toXML :: Split -> XML #

ToByteString Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

toBS :: Split -> ByteString #

FromText Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

ToText Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

toText :: Split -> Text #

type Rep Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

type Rep Split = D1 ('MetaData "Split" "Amazonka.Comprehend.Types.Split" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "Split'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSplit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SyntaxLanguageCode

newtype SyntaxLanguageCode Source #

Instances

Instances details
Eq SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

Ord SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

Read SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

Show SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

Generic SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

Associated Types

type Rep SyntaxLanguageCode :: Type -> Type #

NFData SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

Methods

rnf :: SyntaxLanguageCode -> () #

Hashable SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToJSON SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToJSONKey SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

FromJSON SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

FromJSONKey SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToLog SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToHeader SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToQuery SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

FromXML SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToXML SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToByteString SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

FromText SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToText SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

type Rep SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

type Rep SyntaxLanguageCode = D1 ('MetaData "SyntaxLanguageCode" "Amazonka.Comprehend.Types.SyntaxLanguageCode" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'True) (C1 ('MetaCons "SyntaxLanguageCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSyntaxLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AugmentedManifestsListItem

data AugmentedManifestsListItem Source #

An augmented manifest file that provides training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.

See: newAugmentedManifestsListItem smart constructor.

Constructors

AugmentedManifestsListItem' 

Fields

  • sourceDocumentsS3Uri :: Maybe Text

    The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest file.

  • documentType :: Maybe AugmentedManifestsDocumentTypeFormat

    The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. If you don't specify, the default is PlainTextDocument.

    • PLAIN_TEXT_DOCUMENT A document type that represents any unicode text that is encoded in UTF-8.
    • SEMI_STRUCTURED_DOCUMENT A document type with positional and structural context, like a PDF. For training with Amazon Comprehend, only PDFs are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.
  • split :: Maybe Split

    The purpose of the data you've provided in the augmented manifest. You can either train or test this data. If you don't specify, the default is train.

    TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing.

    TEST - all of the documents in the manifest will be used for testing.

  • annotationDataS3Uri :: Maybe Text

    The S3 prefix to the annotation files that are referred in the augmented manifest file.

  • s3Uri :: Text

    The Amazon S3 location of the augmented manifest file.

  • attributeNames :: [Text]

    The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.

    If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.

    If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.

Instances

Instances details
Eq AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

Read AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

Show AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

Generic AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

Associated Types

type Rep AugmentedManifestsListItem :: Type -> Type #

NFData AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

Hashable AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

ToJSON AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

FromJSON AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

type Rep AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

type Rep AugmentedManifestsListItem = D1 ('MetaData "AugmentedManifestsListItem" "Amazonka.Comprehend.Types.AugmentedManifestsListItem" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "AugmentedManifestsListItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceDocumentsS3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "documentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AugmentedManifestsDocumentTypeFormat)) :*: S1 ('MetaSel ('Just "split") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Split)))) :*: (S1 ('MetaSel ('Just "annotationDataS3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "s3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "attributeNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))))

newAugmentedManifestsListItem Source #

Create a value of AugmentedManifestsListItem 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:sourceDocumentsS3Uri:AugmentedManifestsListItem', augmentedManifestsListItem_sourceDocumentsS3Uri - The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest file.

$sel:documentType:AugmentedManifestsListItem', augmentedManifestsListItem_documentType - The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. If you don't specify, the default is PlainTextDocument.

  • PLAIN_TEXT_DOCUMENT A document type that represents any unicode text that is encoded in UTF-8.
  • SEMI_STRUCTURED_DOCUMENT A document type with positional and structural context, like a PDF. For training with Amazon Comprehend, only PDFs are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.

$sel:split:AugmentedManifestsListItem', augmentedManifestsListItem_split - The purpose of the data you've provided in the augmented manifest. You can either train or test this data. If you don't specify, the default is train.

TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing.

TEST - all of the documents in the manifest will be used for testing.

$sel:annotationDataS3Uri:AugmentedManifestsListItem', augmentedManifestsListItem_annotationDataS3Uri - The S3 prefix to the annotation files that are referred in the augmented manifest file.

$sel:s3Uri:AugmentedManifestsListItem', augmentedManifestsListItem_s3Uri - The Amazon S3 location of the augmented manifest file.

$sel:attributeNames:AugmentedManifestsListItem', augmentedManifestsListItem_attributeNames - The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.

If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.

If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.

augmentedManifestsListItem_sourceDocumentsS3Uri :: Lens' AugmentedManifestsListItem (Maybe Text) Source #

The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest file.

augmentedManifestsListItem_documentType :: Lens' AugmentedManifestsListItem (Maybe AugmentedManifestsDocumentTypeFormat) Source #

The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. If you don't specify, the default is PlainTextDocument.

  • PLAIN_TEXT_DOCUMENT A document type that represents any unicode text that is encoded in UTF-8.
  • SEMI_STRUCTURED_DOCUMENT A document type with positional and structural context, like a PDF. For training with Amazon Comprehend, only PDFs are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.

augmentedManifestsListItem_split :: Lens' AugmentedManifestsListItem (Maybe Split) Source #

The purpose of the data you've provided in the augmented manifest. You can either train or test this data. If you don't specify, the default is train.

TRAIN - all of the documents in the manifest will be used for training. If no test documents are provided, Amazon Comprehend will automatically reserve a portion of the training documents for testing.

TEST - all of the documents in the manifest will be used for testing.

augmentedManifestsListItem_annotationDataS3Uri :: Lens' AugmentedManifestsListItem (Maybe Text) Source #

The S3 prefix to the annotation files that are referred in the augmented manifest file.

augmentedManifestsListItem_s3Uri :: Lens' AugmentedManifestsListItem Text Source #

The Amazon S3 location of the augmented manifest file.

augmentedManifestsListItem_attributeNames :: Lens' AugmentedManifestsListItem [Text] Source #

The JSON attribute that contains the annotations for your training documents. The number of attribute names that you specify depends on whether your augmented manifest file is the output of a single labeling job or a chained labeling job.

If your file is the output of a single labeling job, specify the LabelAttributeName key that was used when the job was created in Ground Truth.

If your file is the output of a chained labeling job, specify the LabelAttributeName key for one or more jobs in the chain. Each LabelAttributeName key provides the annotations from an individual job.

BatchDetectDominantLanguageItemResult

data BatchDetectDominantLanguageItemResult Source #

The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

See: newBatchDetectDominantLanguageItemResult smart constructor.

Constructors

BatchDetectDominantLanguageItemResult' 

Fields

Instances

Instances details
Eq BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

Read BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

Show BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

Generic BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

NFData BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

Hashable BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

FromJSON BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

type Rep BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

type Rep BatchDetectDominantLanguageItemResult = D1 ('MetaData "BatchDetectDominantLanguageItemResult" "Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "BatchDetectDominantLanguageItemResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "languages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DominantLanguage])) :*: S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newBatchDetectDominantLanguageItemResult :: BatchDetectDominantLanguageItemResult Source #

Create a value of BatchDetectDominantLanguageItemResult 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:languages:BatchDetectDominantLanguageItemResult', batchDetectDominantLanguageItemResult_languages - One or more DominantLanguage objects describing the dominant languages in the document.

$sel:index:BatchDetectDominantLanguageItemResult', batchDetectDominantLanguageItemResult_index - The zero-based index of the document in the input list.

batchDetectDominantLanguageItemResult_languages :: Lens' BatchDetectDominantLanguageItemResult (Maybe [DominantLanguage]) Source #

One or more DominantLanguage objects describing the dominant languages in the document.

BatchDetectEntitiesItemResult

data BatchDetectEntitiesItemResult Source #

The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

See: newBatchDetectEntitiesItemResult smart constructor.

Constructors

BatchDetectEntitiesItemResult' 

Fields

  • entities :: Maybe [Entity]

    One or more Entity objects, one for each entity detected in the document.

  • index :: Maybe Int

    The zero-based index of the document in the input list.

Instances

Instances details
Eq BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

Read BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

Show BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

Generic BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

Associated Types

type Rep BatchDetectEntitiesItemResult :: Type -> Type #

NFData BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

Hashable BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

FromJSON BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

type Rep BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

type Rep BatchDetectEntitiesItemResult = D1 ('MetaData "BatchDetectEntitiesItemResult" "Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "BatchDetectEntitiesItemResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Entity])) :*: S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newBatchDetectEntitiesItemResult :: BatchDetectEntitiesItemResult Source #

Create a value of BatchDetectEntitiesItemResult 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:entities:BatchDetectEntitiesItemResult', batchDetectEntitiesItemResult_entities - One or more Entity objects, one for each entity detected in the document.

$sel:index:BatchDetectEntitiesItemResult', batchDetectEntitiesItemResult_index - The zero-based index of the document in the input list.

batchDetectEntitiesItemResult_entities :: Lens' BatchDetectEntitiesItemResult (Maybe [Entity]) Source #

One or more Entity objects, one for each entity detected in the document.

batchDetectEntitiesItemResult_index :: Lens' BatchDetectEntitiesItemResult (Maybe Int) Source #

The zero-based index of the document in the input list.

BatchDetectKeyPhrasesItemResult

data BatchDetectKeyPhrasesItemResult Source #

The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

See: newBatchDetectKeyPhrasesItemResult smart constructor.

Constructors

BatchDetectKeyPhrasesItemResult' 

Fields

Instances

Instances details
Eq BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

Read BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

Show BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

Generic BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

Associated Types

type Rep BatchDetectKeyPhrasesItemResult :: Type -> Type #

NFData BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

Hashable BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

FromJSON BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

type Rep BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

type Rep BatchDetectKeyPhrasesItemResult = D1 ('MetaData "BatchDetectKeyPhrasesItemResult" "Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "BatchDetectKeyPhrasesItemResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "keyPhrases") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [KeyPhrase]))))

newBatchDetectKeyPhrasesItemResult :: BatchDetectKeyPhrasesItemResult Source #

Create a value of BatchDetectKeyPhrasesItemResult 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:index:BatchDetectKeyPhrasesItemResult', batchDetectKeyPhrasesItemResult_index - The zero-based index of the document in the input list.

$sel:keyPhrases:BatchDetectKeyPhrasesItemResult', batchDetectKeyPhrasesItemResult_keyPhrases - One or more KeyPhrase objects, one for each key phrase detected in the document.

batchDetectKeyPhrasesItemResult_index :: Lens' BatchDetectKeyPhrasesItemResult (Maybe Int) Source #

The zero-based index of the document in the input list.

batchDetectKeyPhrasesItemResult_keyPhrases :: Lens' BatchDetectKeyPhrasesItemResult (Maybe [KeyPhrase]) Source #

One or more KeyPhrase objects, one for each key phrase detected in the document.

BatchDetectSentimentItemResult

data BatchDetectSentimentItemResult Source #

The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.

See: newBatchDetectSentimentItemResult smart constructor.

Constructors

BatchDetectSentimentItemResult' 

Fields

Instances

Instances details
Eq BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Read BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Show BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Generic BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Associated Types

type Rep BatchDetectSentimentItemResult :: Type -> Type #

NFData BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Hashable BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

FromJSON BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

type Rep BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

type Rep BatchDetectSentimentItemResult = D1 ('MetaData "BatchDetectSentimentItemResult" "Amazonka.Comprehend.Types.BatchDetectSentimentItemResult" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "BatchDetectSentimentItemResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sentiment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentType)) :*: (S1 ('MetaSel ('Just "sentimentScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentScore)) :*: S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newBatchDetectSentimentItemResult :: BatchDetectSentimentItemResult Source #

Create a value of BatchDetectSentimentItemResult 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:sentiment:BatchDetectSentimentItemResult', batchDetectSentimentItemResult_sentiment - The sentiment detected in the document.

$sel:sentimentScore:BatchDetectSentimentItemResult', batchDetectSentimentItemResult_sentimentScore - The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.

$sel:index:BatchDetectSentimentItemResult', batchDetectSentimentItemResult_index - The zero-based index of the document in the input list.

batchDetectSentimentItemResult_sentimentScore :: Lens' BatchDetectSentimentItemResult (Maybe SentimentScore) Source #

The level of confidence that Amazon Comprehend has in the accuracy of its sentiment detection.

batchDetectSentimentItemResult_index :: Lens' BatchDetectSentimentItemResult (Maybe Int) Source #

The zero-based index of the document in the input list.

BatchDetectSyntaxItemResult

data BatchDetectSyntaxItemResult Source #

The result of calling the operation. The operation returns one object that is successfully processed by the operation.

See: newBatchDetectSyntaxItemResult smart constructor.

Constructors

BatchDetectSyntaxItemResult' 

Fields

Instances

Instances details
Eq BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

Read BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

Show BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

Generic BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

Associated Types

type Rep BatchDetectSyntaxItemResult :: Type -> Type #

NFData BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

Hashable BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

FromJSON BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

type Rep BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

type Rep BatchDetectSyntaxItemResult = D1 ('MetaData "BatchDetectSyntaxItemResult" "Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "BatchDetectSyntaxItemResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "syntaxTokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SyntaxToken]))))

newBatchDetectSyntaxItemResult :: BatchDetectSyntaxItemResult Source #

Create a value of BatchDetectSyntaxItemResult 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:index:BatchDetectSyntaxItemResult', batchDetectSyntaxItemResult_index - The zero-based index of the document in the input list.

$sel:syntaxTokens:BatchDetectSyntaxItemResult', batchDetectSyntaxItemResult_syntaxTokens - The syntax tokens for the words in the document, one token for each word.

batchDetectSyntaxItemResult_index :: Lens' BatchDetectSyntaxItemResult (Maybe Int) Source #

The zero-based index of the document in the input list.

batchDetectSyntaxItemResult_syntaxTokens :: Lens' BatchDetectSyntaxItemResult (Maybe [SyntaxToken]) Source #

The syntax tokens for the words in the document, one token for each word.

BatchItemError

data BatchItemError Source #

Describes an error that occurred while processing a document in a batch. The operation returns on BatchItemError object for each document that contained an error.

See: newBatchItemError smart constructor.

Constructors

BatchItemError' 

Fields

Instances

Instances details
Eq BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Read BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Show BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Generic BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Associated Types

type Rep BatchItemError :: Type -> Type #

NFData BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Methods

rnf :: BatchItemError -> () #

Hashable BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

FromJSON BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

type Rep BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

type Rep BatchItemError = D1 ('MetaData "BatchItemError" "Amazonka.Comprehend.Types.BatchItemError" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "BatchItemError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newBatchItemError :: BatchItemError Source #

Create a value of BatchItemError 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:errorCode:BatchItemError', batchItemError_errorCode - The numeric error code of the error.

$sel:errorMessage:BatchItemError', batchItemError_errorMessage - A text description of the error.

$sel:index:BatchItemError', batchItemError_index - The zero-based index of the document in the input list.

batchItemError_errorCode :: Lens' BatchItemError (Maybe Text) Source #

The numeric error code of the error.

batchItemError_errorMessage :: Lens' BatchItemError (Maybe Text) Source #

A text description of the error.

batchItemError_index :: Lens' BatchItemError (Maybe Int) Source #

The zero-based index of the document in the input list.

ClassifierEvaluationMetrics

data ClassifierEvaluationMetrics Source #

Describes the result metrics for the test data associated with an documentation classifier.

See: newClassifierEvaluationMetrics smart constructor.

Constructors

ClassifierEvaluationMetrics' 

Fields

  • microPrecision :: Maybe Double

    A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones. Unlike the Precision metric which comes from averaging the precision of all available labels, this is based on the overall score of all precision scores added together.

  • microF1Score :: Maybe Double

    A measure of how accurate the classifier results are for the test data. It is a combination of the Micro Precision and Micro Recall values. The Micro F1Score is the harmonic mean of the two scores. The highest score is 1, and the worst score is 0.

  • recall :: Maybe Double

    A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results.

  • precision :: Maybe Double

    A measure of the usefulness of the classifier results in the test data. High precision means that the classifier returned substantially more relevant results than irrelevant ones.

  • microRecall :: Maybe Double

    A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results. Specifically, this indicates how many of the correct categories in the text that the model can predict. It is a percentage of correct categories in the text that can found. Instead of averaging the recall scores of all labels (as with Recall), micro Recall is based on the overall score of all recall scores added together.

  • f1Score :: Maybe Double

    A measure of how accurate the classifier results are for the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.

  • hammingLoss :: Maybe Double

    Indicates the fraction of labels that are incorrectly predicted. Also seen as the fraction of wrong labels compared to the total number of labels. Scores closer to zero are better.

  • accuracy :: Maybe Double

    The fraction of the labels that were correct recognized. It is computed by dividing the number of labels in the test documents that were correctly recognized by the total number of labels in the test documents.

Instances

Instances details
Eq ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

Read ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

Show ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

Generic ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

Associated Types

type Rep ClassifierEvaluationMetrics :: Type -> Type #

NFData ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

Hashable ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

FromJSON ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

type Rep ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

type Rep ClassifierEvaluationMetrics = D1 ('MetaData "ClassifierEvaluationMetrics" "Amazonka.Comprehend.Types.ClassifierEvaluationMetrics" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "ClassifierEvaluationMetrics'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "microPrecision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "microF1Score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "recall") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "precision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: ((S1 ('MetaSel ('Just "microRecall") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "f1Score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "hammingLoss") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "accuracy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))

newClassifierEvaluationMetrics :: ClassifierEvaluationMetrics Source #

Create a value of ClassifierEvaluationMetrics 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:microPrecision:ClassifierEvaluationMetrics', classifierEvaluationMetrics_microPrecision - A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones. Unlike the Precision metric which comes from averaging the precision of all available labels, this is based on the overall score of all precision scores added together.

$sel:microF1Score:ClassifierEvaluationMetrics', classifierEvaluationMetrics_microF1Score - A measure of how accurate the classifier results are for the test data. It is a combination of the Micro Precision and Micro Recall values. The Micro F1Score is the harmonic mean of the two scores. The highest score is 1, and the worst score is 0.

$sel:recall:ClassifierEvaluationMetrics', classifierEvaluationMetrics_recall - A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results.

$sel:precision:ClassifierEvaluationMetrics', classifierEvaluationMetrics_precision - A measure of the usefulness of the classifier results in the test data. High precision means that the classifier returned substantially more relevant results than irrelevant ones.

$sel:microRecall:ClassifierEvaluationMetrics', classifierEvaluationMetrics_microRecall - A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results. Specifically, this indicates how many of the correct categories in the text that the model can predict. It is a percentage of correct categories in the text that can found. Instead of averaging the recall scores of all labels (as with Recall), micro Recall is based on the overall score of all recall scores added together.

$sel:f1Score:ClassifierEvaluationMetrics', classifierEvaluationMetrics_f1Score - A measure of how accurate the classifier results are for the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.

$sel:hammingLoss:ClassifierEvaluationMetrics', classifierEvaluationMetrics_hammingLoss - Indicates the fraction of labels that are incorrectly predicted. Also seen as the fraction of wrong labels compared to the total number of labels. Scores closer to zero are better.

$sel:accuracy:ClassifierEvaluationMetrics', classifierEvaluationMetrics_accuracy - The fraction of the labels that were correct recognized. It is computed by dividing the number of labels in the test documents that were correctly recognized by the total number of labels in the test documents.

classifierEvaluationMetrics_microPrecision :: Lens' ClassifierEvaluationMetrics (Maybe Double) Source #

A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones. Unlike the Precision metric which comes from averaging the precision of all available labels, this is based on the overall score of all precision scores added together.

classifierEvaluationMetrics_microF1Score :: Lens' ClassifierEvaluationMetrics (Maybe Double) Source #

A measure of how accurate the classifier results are for the test data. It is a combination of the Micro Precision and Micro Recall values. The Micro F1Score is the harmonic mean of the two scores. The highest score is 1, and the worst score is 0.

classifierEvaluationMetrics_recall :: Lens' ClassifierEvaluationMetrics (Maybe Double) Source #

A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results.

classifierEvaluationMetrics_precision :: Lens' ClassifierEvaluationMetrics (Maybe Double) Source #

A measure of the usefulness of the classifier results in the test data. High precision means that the classifier returned substantially more relevant results than irrelevant ones.

classifierEvaluationMetrics_microRecall :: Lens' ClassifierEvaluationMetrics (Maybe Double) Source #

A measure of how complete the classifier results are for the test data. High recall means that the classifier returned most of the relevant results. Specifically, this indicates how many of the correct categories in the text that the model can predict. It is a percentage of correct categories in the text that can found. Instead of averaging the recall scores of all labels (as with Recall), micro Recall is based on the overall score of all recall scores added together.

classifierEvaluationMetrics_f1Score :: Lens' ClassifierEvaluationMetrics (Maybe Double) Source #

A measure of how accurate the classifier results are for the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.

classifierEvaluationMetrics_hammingLoss :: Lens' ClassifierEvaluationMetrics (Maybe Double) Source #

Indicates the fraction of labels that are incorrectly predicted. Also seen as the fraction of wrong labels compared to the total number of labels. Scores closer to zero are better.

classifierEvaluationMetrics_accuracy :: Lens' ClassifierEvaluationMetrics (Maybe Double) Source #

The fraction of the labels that were correct recognized. It is computed by dividing the number of labels in the test documents that were correctly recognized by the total number of labels in the test documents.

ClassifierMetadata

data ClassifierMetadata Source #

Provides information about a document classifier.

See: newClassifierMetadata smart constructor.

Constructors

ClassifierMetadata' 

Fields

Instances

Instances details
Eq ClassifierMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierMetadata

Show ClassifierMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierMetadata

Generic ClassifierMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierMetadata

Associated Types

type Rep ClassifierMetadata :: Type -> Type #

NFData ClassifierMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierMetadata

Methods

rnf :: ClassifierMetadata -> () #

Hashable ClassifierMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierMetadata

FromJSON ClassifierMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierMetadata

type Rep ClassifierMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierMetadata

type Rep ClassifierMetadata = D1 ('MetaData "ClassifierMetadata" "Amazonka.Comprehend.Types.ClassifierMetadata" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "ClassifierMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "numberOfLabels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "evaluationMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClassifierEvaluationMetrics))) :*: (S1 ('MetaSel ('Just "numberOfTrainedDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "numberOfTestDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newClassifierMetadata :: ClassifierMetadata Source #

Create a value of ClassifierMetadata 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:numberOfLabels:ClassifierMetadata', classifierMetadata_numberOfLabels - The number of labels in the input data.

$sel:evaluationMetrics:ClassifierMetadata', classifierMetadata_evaluationMetrics - Describes the result metrics for the test data associated with an documentation classifier.

$sel:numberOfTrainedDocuments:ClassifierMetadata', classifierMetadata_numberOfTrainedDocuments - The number of documents in the input data that were used to train the classifier. Typically this is 80 to 90 percent of the input documents.

$sel:numberOfTestDocuments:ClassifierMetadata', classifierMetadata_numberOfTestDocuments - The number of documents in the input data that were used to test the classifier. Typically this is 10 to 20 percent of the input documents, up to 10,000 documents.

classifierMetadata_numberOfLabels :: Lens' ClassifierMetadata (Maybe Int) Source #

The number of labels in the input data.

classifierMetadata_evaluationMetrics :: Lens' ClassifierMetadata (Maybe ClassifierEvaluationMetrics) Source #

Describes the result metrics for the test data associated with an documentation classifier.

classifierMetadata_numberOfTrainedDocuments :: Lens' ClassifierMetadata (Maybe Int) Source #

The number of documents in the input data that were used to train the classifier. Typically this is 80 to 90 percent of the input documents.

classifierMetadata_numberOfTestDocuments :: Lens' ClassifierMetadata (Maybe Int) Source #

The number of documents in the input data that were used to test the classifier. Typically this is 10 to 20 percent of the input documents, up to 10,000 documents.

DocumentClass

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.

DocumentClassificationJobFilter

data DocumentClassificationJobFilter Source #

Provides information for filtering a list of document classification jobs. For more information, see the operation. You can provide only one filter parameter in each request.

See: newDocumentClassificationJobFilter smart constructor.

Constructors

DocumentClassificationJobFilter' 

Fields

  • submitTimeAfter :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

  • submitTimeBefore :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

  • jobName :: Maybe Text

    Filters on the name of the job.

  • jobStatus :: Maybe JobStatus

    Filters the list based on job status. Returns only jobs with the specified status.

Instances

Instances details
Eq DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

Read DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

Show DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

Generic DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

Associated Types

type Rep DocumentClassificationJobFilter :: Type -> Type #

NFData DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

Hashable DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

ToJSON DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

type Rep DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

type Rep DocumentClassificationJobFilter = D1 ('MetaData "DocumentClassificationJobFilter" "Amazonka.Comprehend.Types.DocumentClassificationJobFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DocumentClassificationJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))))

newDocumentClassificationJobFilter :: DocumentClassificationJobFilter Source #

Create a value of DocumentClassificationJobFilter 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:submitTimeAfter:DocumentClassificationJobFilter', documentClassificationJobFilter_submitTimeAfter - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

$sel:submitTimeBefore:DocumentClassificationJobFilter', documentClassificationJobFilter_submitTimeBefore - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

$sel:jobName:DocumentClassificationJobFilter', documentClassificationJobFilter_jobName - Filters on the name of the job.

$sel:jobStatus:DocumentClassificationJobFilter', documentClassificationJobFilter_jobStatus - Filters the list based on job status. Returns only jobs with the specified status.

documentClassificationJobFilter_submitTimeAfter :: Lens' DocumentClassificationJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

documentClassificationJobFilter_submitTimeBefore :: Lens' DocumentClassificationJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

documentClassificationJobFilter_jobStatus :: Lens' DocumentClassificationJobFilter (Maybe JobStatus) Source #

Filters the list based on job status. Returns only jobs with the specified status.

DocumentClassificationJobProperties

data DocumentClassificationJobProperties Source #

Provides information about a document classification job.

See: newDocumentClassificationJobProperties smart constructor.

Constructors

DocumentClassificationJobProperties' 

Fields

  • jobId :: Maybe Text

    The identifier assigned to the document classification job.

  • jobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

    arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id>

    The following is an example job ARN:

    arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab
  • documentClassifierArn :: Maybe Text

    The Amazon Resource Name (ARN) that identifies the document classifier.

  • jobName :: Maybe Text

    The name that you assigned to the document classification job.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created the document classification job.

  • vpcConfig :: Maybe VpcConfig

    Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC.

  • volumeKmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • endTime :: Maybe POSIX

    The time that the document classification job completed.

  • outputDataConfig :: Maybe OutputDataConfig

    The output data configuration that you supplied when you created the document classification job.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.

  • jobStatus :: Maybe JobStatus

    The current status of the document classification job. If the status is FAILED, the Message field shows the reason for the failure.

  • message :: Maybe Text

    A description of the status of the job.

  • submitTime :: Maybe POSIX

    The time that the document classification job was submitted for processing.

Instances

Instances details
Eq DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

Read DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

Show DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

Generic DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

NFData DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

Hashable DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

FromJSON DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

type Rep DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

type Rep DocumentClassificationJobProperties = D1 ('MetaData "DocumentClassificationJobProperties" "Amazonka.Comprehend.Types.DocumentClassificationJobProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DocumentClassificationJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "documentClassifierArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig))))) :*: ((S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)))) :*: ((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newDocumentClassificationJobProperties :: DocumentClassificationJobProperties Source #

Create a value of DocumentClassificationJobProperties 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:jobId:DocumentClassificationJobProperties', documentClassificationJobProperties_jobId - The identifier assigned to the document classification job.

$sel:jobArn:DocumentClassificationJobProperties', documentClassificationJobProperties_jobArn - The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab

$sel:documentClassifierArn:DocumentClassificationJobProperties', documentClassificationJobProperties_documentClassifierArn - The Amazon Resource Name (ARN) that identifies the document classifier.

$sel:jobName:DocumentClassificationJobProperties', documentClassificationJobProperties_jobName - The name that you assigned to the document classification job.

$sel:inputDataConfig:DocumentClassificationJobProperties', documentClassificationJobProperties_inputDataConfig - The input data configuration that you supplied when you created the document classification job.

$sel:vpcConfig:DocumentClassificationJobProperties', documentClassificationJobProperties_vpcConfig - Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC.

$sel:volumeKmsKeyId:DocumentClassificationJobProperties', documentClassificationJobProperties_volumeKmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

$sel:endTime:DocumentClassificationJobProperties', documentClassificationJobProperties_endTime - The time that the document classification job completed.

$sel:outputDataConfig:DocumentClassificationJobProperties', documentClassificationJobProperties_outputDataConfig - The output data configuration that you supplied when you created the document classification job.

$sel:dataAccessRoleArn:DocumentClassificationJobProperties', documentClassificationJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.

$sel:jobStatus:DocumentClassificationJobProperties', documentClassificationJobProperties_jobStatus - The current status of the document classification job. If the status is FAILED, the Message field shows the reason for the failure.

$sel:message:DocumentClassificationJobProperties', documentClassificationJobProperties_message - A description of the status of the job.

$sel:submitTime:DocumentClassificationJobProperties', documentClassificationJobProperties_submitTime - The time that the document classification job was submitted for processing.

documentClassificationJobProperties_jobId :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #

The identifier assigned to the document classification job.

documentClassificationJobProperties_jobArn :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the document classification job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab

documentClassificationJobProperties_documentClassifierArn :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies the document classifier.

documentClassificationJobProperties_jobName :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #

The name that you assigned to the document classification job.

documentClassificationJobProperties_inputDataConfig :: Lens' DocumentClassificationJobProperties (Maybe InputDataConfig) Source #

The input data configuration that you supplied when you created the document classification job.

documentClassificationJobProperties_vpcConfig :: Lens' DocumentClassificationJobProperties (Maybe VpcConfig) Source #

Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your document classification job. For more information, see Amazon VPC.

documentClassificationJobProperties_volumeKmsKeyId :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

documentClassificationJobProperties_outputDataConfig :: Lens' DocumentClassificationJobProperties (Maybe OutputDataConfig) Source #

The output data configuration that you supplied when you created the document classification job.

documentClassificationJobProperties_dataAccessRoleArn :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.

documentClassificationJobProperties_jobStatus :: Lens' DocumentClassificationJobProperties (Maybe JobStatus) Source #

The current status of the document classification job. If the status is FAILED, the Message field shows the reason for the failure.

documentClassificationJobProperties_submitTime :: Lens' DocumentClassificationJobProperties (Maybe UTCTime) Source #

The time that the document classification job was submitted for processing.

DocumentClassifierFilter

data DocumentClassifierFilter Source #

Provides information for filtering a list of document classifiers. You can only specify one filtering parameter in a request. For more information, see the operation.

See: newDocumentClassifierFilter smart constructor.

Constructors

DocumentClassifierFilter' 

Fields

  • status :: Maybe ModelStatus

    Filters the list of classifiers based on status.

  • submitTimeAfter :: Maybe POSIX

    Filters the list of classifiers based on the time that the classifier was submitted for processing. Returns only classifiers submitted after the specified time. Classifiers are returned in descending order, newest to oldest.

  • submitTimeBefore :: Maybe POSIX

    Filters the list of classifiers based on the time that the classifier was submitted for processing. Returns only classifiers submitted before the specified time. Classifiers are returned in ascending order, oldest to newest.

  • documentClassifierName :: Maybe Text

    The name that you assigned to the document classifier

Instances

Instances details
Eq DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

Read DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

Show DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

Generic DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

Associated Types

type Rep DocumentClassifierFilter :: Type -> Type #

NFData DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

Hashable DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

ToJSON DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

type Rep DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

type Rep DocumentClassifierFilter = D1 ('MetaData "DocumentClassifierFilter" "Amazonka.Comprehend.Types.DocumentClassifierFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DocumentClassifierFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelStatus)) :*: S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "documentClassifierName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDocumentClassifierFilter :: DocumentClassifierFilter Source #

Create a value of DocumentClassifierFilter 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:status:DocumentClassifierFilter', documentClassifierFilter_status - Filters the list of classifiers based on status.

$sel:submitTimeAfter:DocumentClassifierFilter', documentClassifierFilter_submitTimeAfter - Filters the list of classifiers based on the time that the classifier was submitted for processing. Returns only classifiers submitted after the specified time. Classifiers are returned in descending order, newest to oldest.

$sel:submitTimeBefore:DocumentClassifierFilter', documentClassifierFilter_submitTimeBefore - Filters the list of classifiers based on the time that the classifier was submitted for processing. Returns only classifiers submitted before the specified time. Classifiers are returned in ascending order, oldest to newest.

$sel:documentClassifierName:DocumentClassifierFilter', documentClassifierFilter_documentClassifierName - The name that you assigned to the document classifier

documentClassifierFilter_status :: Lens' DocumentClassifierFilter (Maybe ModelStatus) Source #

Filters the list of classifiers based on status.

documentClassifierFilter_submitTimeAfter :: Lens' DocumentClassifierFilter (Maybe UTCTime) Source #

Filters the list of classifiers based on the time that the classifier was submitted for processing. Returns only classifiers submitted after the specified time. Classifiers are returned in descending order, newest to oldest.

documentClassifierFilter_submitTimeBefore :: Lens' DocumentClassifierFilter (Maybe UTCTime) Source #

Filters the list of classifiers based on the time that the classifier was submitted for processing. Returns only classifiers submitted before the specified time. Classifiers are returned in ascending order, oldest to newest.

documentClassifierFilter_documentClassifierName :: Lens' DocumentClassifierFilter (Maybe Text) Source #

The name that you assigned to the document classifier

DocumentClassifierInputDataConfig

data DocumentClassifierInputDataConfig Source #

The input properties for training a document classifier.

For more information on how the input file is formatted, see how-document-classification-training-data.

See: newDocumentClassifierInputDataConfig smart constructor.

Constructors

DocumentClassifierInputDataConfig' 

Fields

  • augmentedManifests :: Maybe [AugmentedManifestsListItem]

    A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.

    This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.

  • dataFormat :: Maybe DocumentClassifierDataFormat

    The format of your training data:

    • COMPREHEND_CSV: A two-column CSV file, where labels are provided in the first column, and documents are provided in the second. If you use this value, you must provide the S3Uri parameter in your request.
    • AUGMENTED_MANIFEST: A labeled dataset that is produced by Amazon SageMaker Ground Truth. This file is in JSON lines format. Each line is a complete JSON object that contains a training document and its associated labels.

      If you use this value, you must provide the AugmentedManifests parameter in your request.

    If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.

  • labelDelimiter :: Maybe Text

    Indicates the delimiter used to separate each label for training a multi-label classifier. The default delimiter between labels is a pipe (|). You can use a different character as a delimiter (if it's an allowed character) by specifying it under Delimiter for labels. If the training documents use a delimiter other than the default or the delimiter you specify, the labels on that line will be combined to make a single unique label, such as LABELLABELLABEL.

  • testS3Uri :: Maybe Text

    The Amazon S3 URI for the input data. The Amazon S3 bucket must be in the same AWS Region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.

  • s3Uri :: Maybe Text

    The Amazon S3 URI for the input data. The S3 bucket must be in the same region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.

    For example, if you use the URI S3://bucketName/prefix, if the prefix is a single file, Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of them as input.

    This parameter is required if you set DataFormat to COMPREHEND_CSV.

Instances

Instances details
Eq DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

Read DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

Show DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

Generic DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

Associated Types

type Rep DocumentClassifierInputDataConfig :: Type -> Type #

NFData DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

Hashable DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

ToJSON DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

FromJSON DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

type Rep DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

type Rep DocumentClassifierInputDataConfig = D1 ('MetaData "DocumentClassifierInputDataConfig" "Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DocumentClassifierInputDataConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "augmentedManifests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AugmentedManifestsListItem])) :*: S1 ('MetaSel ('Just "dataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentClassifierDataFormat))) :*: (S1 ('MetaSel ('Just "labelDelimiter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "testS3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDocumentClassifierInputDataConfig :: DocumentClassifierInputDataConfig Source #

Create a value of DocumentClassifierInputDataConfig 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:augmentedManifests:DocumentClassifierInputDataConfig', documentClassifierInputDataConfig_augmentedManifests - A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.

This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.

$sel:dataFormat:DocumentClassifierInputDataConfig', documentClassifierInputDataConfig_dataFormat - The format of your training data:

  • COMPREHEND_CSV: A two-column CSV file, where labels are provided in the first column, and documents are provided in the second. If you use this value, you must provide the S3Uri parameter in your request.
  • AUGMENTED_MANIFEST: A labeled dataset that is produced by Amazon SageMaker Ground Truth. This file is in JSON lines format. Each line is a complete JSON object that contains a training document and its associated labels.

    If you use this value, you must provide the AugmentedManifests parameter in your request.

If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.

$sel:labelDelimiter:DocumentClassifierInputDataConfig', documentClassifierInputDataConfig_labelDelimiter - Indicates the delimiter used to separate each label for training a multi-label classifier. The default delimiter between labels is a pipe (|). You can use a different character as a delimiter (if it's an allowed character) by specifying it under Delimiter for labels. If the training documents use a delimiter other than the default or the delimiter you specify, the labels on that line will be combined to make a single unique label, such as LABELLABELLABEL.

$sel:testS3Uri:DocumentClassifierInputDataConfig', documentClassifierInputDataConfig_testS3Uri - The Amazon S3 URI for the input data. The Amazon S3 bucket must be in the same AWS Region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.

$sel:s3Uri:DocumentClassifierInputDataConfig', documentClassifierInputDataConfig_s3Uri - The Amazon S3 URI for the input data. The S3 bucket must be in the same region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.

For example, if you use the URI S3://bucketName/prefix, if the prefix is a single file, Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of them as input.

This parameter is required if you set DataFormat to COMPREHEND_CSV.

documentClassifierInputDataConfig_augmentedManifests :: Lens' DocumentClassifierInputDataConfig (Maybe [AugmentedManifestsListItem]) Source #

A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.

This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.

documentClassifierInputDataConfig_dataFormat :: Lens' DocumentClassifierInputDataConfig (Maybe DocumentClassifierDataFormat) Source #

The format of your training data:

  • COMPREHEND_CSV: A two-column CSV file, where labels are provided in the first column, and documents are provided in the second. If you use this value, you must provide the S3Uri parameter in your request.
  • AUGMENTED_MANIFEST: A labeled dataset that is produced by Amazon SageMaker Ground Truth. This file is in JSON lines format. Each line is a complete JSON object that contains a training document and its associated labels.

    If you use this value, you must provide the AugmentedManifests parameter in your request.

If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.

documentClassifierInputDataConfig_labelDelimiter :: Lens' DocumentClassifierInputDataConfig (Maybe Text) Source #

Indicates the delimiter used to separate each label for training a multi-label classifier. The default delimiter between labels is a pipe (|). You can use a different character as a delimiter (if it's an allowed character) by specifying it under Delimiter for labels. If the training documents use a delimiter other than the default or the delimiter you specify, the labels on that line will be combined to make a single unique label, such as LABELLABELLABEL.

documentClassifierInputDataConfig_testS3Uri :: Lens' DocumentClassifierInputDataConfig (Maybe Text) Source #

The Amazon S3 URI for the input data. The Amazon S3 bucket must be in the same AWS Region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.

documentClassifierInputDataConfig_s3Uri :: Lens' DocumentClassifierInputDataConfig (Maybe Text) Source #

The Amazon S3 URI for the input data. The S3 bucket must be in the same region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of input files.

For example, if you use the URI S3://bucketName/prefix, if the prefix is a single file, Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of them as input.

This parameter is required if you set DataFormat to COMPREHEND_CSV.

DocumentClassifierOutputDataConfig

data DocumentClassifierOutputDataConfig Source #

Provides output results configuration parameters for custom classifier jobs.

See: newDocumentClassifierOutputDataConfig smart constructor.

Constructors

DocumentClassifierOutputDataConfig' 

Fields

  • kmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
    • KMS Key Alias: "alias/ExampleAlias"
    • ARN of a KMS Key Alias: "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
  • s3Uri :: Maybe Text

    When you use the OutputDataConfig object while creating a custom classifier, you specify the Amazon S3 location where you want to write the confusion matrix. The URI must be in the same region as the API endpoint that you are calling. The location is used as the prefix for the actual location of this output file.

    When the custom classifier job is finished, the service creates the output file in a directory specific to the job. The S3Uri field contains the location of the output file, called output.tar.gz. It is a compressed archive that contains the confusion matrix.

Instances

Instances details
Eq DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

Read DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

Show DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

Generic DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

Associated Types

type Rep DocumentClassifierOutputDataConfig :: Type -> Type #

NFData DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

Hashable DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

ToJSON DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

FromJSON DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

type Rep DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

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

newDocumentClassifierOutputDataConfig :: DocumentClassifierOutputDataConfig Source #

Create a value of DocumentClassifierOutputDataConfig 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:kmsKeyId:DocumentClassifierOutputDataConfig', documentClassifierOutputDataConfig_kmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • KMS Key Alias: "alias/ExampleAlias"
  • ARN of a KMS Key Alias: "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"

$sel:s3Uri:DocumentClassifierOutputDataConfig', documentClassifierOutputDataConfig_s3Uri - When you use the OutputDataConfig object while creating a custom classifier, you specify the Amazon S3 location where you want to write the confusion matrix. The URI must be in the same region as the API endpoint that you are calling. The location is used as the prefix for the actual location of this output file.

When the custom classifier job is finished, the service creates the output file in a directory specific to the job. The S3Uri field contains the location of the output file, called output.tar.gz. It is a compressed archive that contains the confusion matrix.

documentClassifierOutputDataConfig_kmsKeyId :: Lens' DocumentClassifierOutputDataConfig (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • KMS Key Alias: "alias/ExampleAlias"
  • ARN of a KMS Key Alias: "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"

documentClassifierOutputDataConfig_s3Uri :: Lens' DocumentClassifierOutputDataConfig (Maybe Text) Source #

When you use the OutputDataConfig object while creating a custom classifier, you specify the Amazon S3 location where you want to write the confusion matrix. The URI must be in the same region as the API endpoint that you are calling. The location is used as the prefix for the actual location of this output file.

When the custom classifier job is finished, the service creates the output file in a directory specific to the job. The S3Uri field contains the location of the output file, called output.tar.gz. It is a compressed archive that contains the confusion matrix.

DocumentClassifierProperties

data DocumentClassifierProperties Source #

Provides information about a document classifier.

See: newDocumentClassifierProperties smart constructor.

Constructors

DocumentClassifierProperties' 

Fields

  • status :: Maybe ModelStatus

    The status of the document classifier. If the status is TRAINED the classifier is ready to use. If the status is FAILED you can see additional information about why the classifier wasn't trained in the Message field.

  • languageCode :: Maybe LanguageCode

    The language code for the language of the documents that the classifier was trained on.

  • classifierMetadata :: Maybe (Sensitive ClassifierMetadata)

    Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.

  • trainingEndTime :: Maybe POSIX

    The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.

  • documentClassifierArn :: Maybe Text

    The Amazon Resource Name (ARN) that identifies the document classifier.

  • versionName :: Maybe Text

    The version name that you assigned to the document classifier.

  • modelKmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • mode :: Maybe DocumentClassifierMode

    Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.

  • inputDataConfig :: Maybe DocumentClassifierInputDataConfig

    The input data configuration that you supplied when you created the document classifier for training.

  • vpcConfig :: Maybe VpcConfig

    Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. For more information, see Amazon VPC.

  • volumeKmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • endTime :: Maybe POSIX

    The time that training the document classifier completed.

  • outputDataConfig :: Maybe DocumentClassifierOutputDataConfig

    Provides output results configuration parameters for custom classifier jobs.

  • trainingStartTime :: Maybe POSIX

    Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.

  • message :: Maybe Text

    Additional information about the status of the classifier.

  • submitTime :: Maybe POSIX

    The time that the document classifier was submitted for training.

Instances

Instances details
Eq DocumentClassifierProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierProperties

Show DocumentClassifierProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierProperties

Generic DocumentClassifierProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierProperties

Associated Types

type Rep DocumentClassifierProperties :: Type -> Type #

NFData DocumentClassifierProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierProperties

Hashable DocumentClassifierProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierProperties

FromJSON DocumentClassifierProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierProperties

type Rep DocumentClassifierProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierProperties

type Rep DocumentClassifierProperties = D1 ('MetaData "DocumentClassifierProperties" "Amazonka.Comprehend.Types.DocumentClassifierProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DocumentClassifierProperties'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelStatus)) :*: S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode))) :*: (S1 ('MetaSel ('Just "classifierMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive ClassifierMetadata))) :*: S1 ('MetaSel ('Just "trainingEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "documentClassifierArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "versionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "modelKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentClassifierMode))))) :*: (((S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentClassifierInputDataConfig)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig))) :*: (S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentClassifierOutputDataConfig)) :*: S1 ('MetaSel ('Just "trainingStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))))

newDocumentClassifierProperties :: DocumentClassifierProperties Source #

Create a value of DocumentClassifierProperties 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:status:DocumentClassifierProperties', documentClassifierProperties_status - The status of the document classifier. If the status is TRAINED the classifier is ready to use. If the status is FAILED you can see additional information about why the classifier wasn't trained in the Message field.

$sel:languageCode:DocumentClassifierProperties', documentClassifierProperties_languageCode - The language code for the language of the documents that the classifier was trained on.

$sel:classifierMetadata:DocumentClassifierProperties', documentClassifierProperties_classifierMetadata - Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.

$sel:trainingEndTime:DocumentClassifierProperties', documentClassifierProperties_trainingEndTime - The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.

$sel:documentClassifierArn:DocumentClassifierProperties', documentClassifierProperties_documentClassifierArn - The Amazon Resource Name (ARN) that identifies the document classifier.

$sel:versionName:DocumentClassifierProperties', documentClassifierProperties_versionName - The version name that you assigned to the document classifier.

$sel:modelKmsKeyId:DocumentClassifierProperties', documentClassifierProperties_modelKmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

$sel:mode:DocumentClassifierProperties', documentClassifierProperties_mode - Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.

$sel:inputDataConfig:DocumentClassifierProperties', documentClassifierProperties_inputDataConfig - The input data configuration that you supplied when you created the document classifier for training.

$sel:vpcConfig:DocumentClassifierProperties', documentClassifierProperties_vpcConfig - Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. For more information, see Amazon VPC.

$sel:volumeKmsKeyId:DocumentClassifierProperties', documentClassifierProperties_volumeKmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

$sel:endTime:DocumentClassifierProperties', documentClassifierProperties_endTime - The time that training the document classifier completed.

$sel:outputDataConfig:DocumentClassifierProperties', documentClassifierProperties_outputDataConfig - Provides output results configuration parameters for custom classifier jobs.

$sel:trainingStartTime:DocumentClassifierProperties', documentClassifierProperties_trainingStartTime - Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.

$sel:dataAccessRoleArn:DocumentClassifierProperties', documentClassifierProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.

$sel:message:DocumentClassifierProperties', documentClassifierProperties_message - Additional information about the status of the classifier.

$sel:submitTime:DocumentClassifierProperties', documentClassifierProperties_submitTime - The time that the document classifier was submitted for training.

documentClassifierProperties_status :: Lens' DocumentClassifierProperties (Maybe ModelStatus) Source #

The status of the document classifier. If the status is TRAINED the classifier is ready to use. If the status is FAILED you can see additional information about why the classifier wasn't trained in the Message field.

documentClassifierProperties_languageCode :: Lens' DocumentClassifierProperties (Maybe LanguageCode) Source #

The language code for the language of the documents that the classifier was trained on.

documentClassifierProperties_classifierMetadata :: Lens' DocumentClassifierProperties (Maybe ClassifierMetadata) Source #

Information about the document classifier, including the number of documents used for training the classifier, the number of documents used for test the classifier, and an accuracy rating.

documentClassifierProperties_trainingEndTime :: Lens' DocumentClassifierProperties (Maybe UTCTime) Source #

The time that training of the document classifier was completed. Indicates the time when the training completes on documentation classifiers. You are billed for the time interval between this time and the value of TrainingStartTime.

documentClassifierProperties_documentClassifierArn :: Lens' DocumentClassifierProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies the document classifier.

documentClassifierProperties_versionName :: Lens' DocumentClassifierProperties (Maybe Text) Source #

The version name that you assigned to the document classifier.

documentClassifierProperties_modelKmsKeyId :: Lens' DocumentClassifierProperties (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

documentClassifierProperties_mode :: Lens' DocumentClassifierProperties (Maybe DocumentClassifierMode) Source #

Indicates the mode in which the specific classifier was trained. This also indicates the format of input documents and the format of the confusion matrix. Each classifier can only be trained in one mode and this cannot be changed once the classifier is trained.

documentClassifierProperties_inputDataConfig :: Lens' DocumentClassifierProperties (Maybe DocumentClassifierInputDataConfig) Source #

The input data configuration that you supplied when you created the document classifier for training.

documentClassifierProperties_vpcConfig :: Lens' DocumentClassifierProperties (Maybe VpcConfig) Source #

Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom classifier. For more information, see Amazon VPC.

documentClassifierProperties_volumeKmsKeyId :: Lens' DocumentClassifierProperties (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

documentClassifierProperties_endTime :: Lens' DocumentClassifierProperties (Maybe UTCTime) Source #

The time that training the document classifier completed.

documentClassifierProperties_outputDataConfig :: Lens' DocumentClassifierProperties (Maybe DocumentClassifierOutputDataConfig) Source #

Provides output results configuration parameters for custom classifier jobs.

documentClassifierProperties_trainingStartTime :: Lens' DocumentClassifierProperties (Maybe UTCTime) Source #

Indicates the time when the training starts on documentation classifiers. You are billed for the time interval between this time and the value of TrainingEndTime.

documentClassifierProperties_dataAccessRoleArn :: Lens' DocumentClassifierProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.

documentClassifierProperties_message :: Lens' DocumentClassifierProperties (Maybe Text) Source #

Additional information about the status of the classifier.

documentClassifierProperties_submitTime :: Lens' DocumentClassifierProperties (Maybe UTCTime) Source #

The time that the document classifier was submitted for training.

DocumentClassifierSummary

data DocumentClassifierSummary Source #

Describes information about a document classifier and its versions.

See: newDocumentClassifierSummary smart constructor.

Constructors

DocumentClassifierSummary' 

Fields

Instances

Instances details
Eq DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

Read DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

Show DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

Generic DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

Associated Types

type Rep DocumentClassifierSummary :: Type -> Type #

NFData DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

Hashable DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

FromJSON DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

type Rep DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

type Rep DocumentClassifierSummary = D1 ('MetaData "DocumentClassifierSummary" "Amazonka.Comprehend.Types.DocumentClassifierSummary" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DocumentClassifierSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "latestVersionCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "documentClassifierName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "latestVersionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelStatus)) :*: (S1 ('MetaSel ('Just "numberOfVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "latestVersionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDocumentClassifierSummary :: DocumentClassifierSummary Source #

Create a value of DocumentClassifierSummary 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:latestVersionCreatedAt:DocumentClassifierSummary', documentClassifierSummary_latestVersionCreatedAt - The time that the latest document classifier version was submitted for processing.

$sel:documentClassifierName:DocumentClassifierSummary', documentClassifierSummary_documentClassifierName - The name that you assigned the document classifier.

$sel:latestVersionStatus:DocumentClassifierSummary', documentClassifierSummary_latestVersionStatus - Provides the status of the latest document classifier version.

$sel:numberOfVersions:DocumentClassifierSummary', documentClassifierSummary_numberOfVersions - The number of versions you created.

$sel:latestVersionName:DocumentClassifierSummary', documentClassifierSummary_latestVersionName - The version name you assigned to the latest document classifier version.

documentClassifierSummary_latestVersionCreatedAt :: Lens' DocumentClassifierSummary (Maybe UTCTime) Source #

The time that the latest document classifier version was submitted for processing.

documentClassifierSummary_latestVersionStatus :: Lens' DocumentClassifierSummary (Maybe ModelStatus) Source #

Provides the status of the latest document classifier version.

documentClassifierSummary_latestVersionName :: Lens' DocumentClassifierSummary (Maybe Text) Source #

The version name you assigned to the latest document classifier version.

DocumentLabel

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.

DocumentReaderConfig

data DocumentReaderConfig Source #

The input properties for a topic detection job.

See: newDocumentReaderConfig smart constructor.

Constructors

DocumentReaderConfig' 

Fields

  • featureTypes :: Maybe (NonEmpty DocumentReadFeatureTypes)

    Specifies how the text in an input file should be processed:

  • documentReadMode :: Maybe DocumentReadMode

    This enum field provides two values:

    • SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean using an internal parser instead of Textract APIs
    • FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including Digital PDF.
  • documentReadAction :: DocumentReadAction

    This enum field will start with two values which will apply to PDFs:

    • TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per page.
    • TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.

Instances

Instances details
Eq DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

Read DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

Show DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

Generic DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

Associated Types

type Rep DocumentReaderConfig :: Type -> Type #

NFData DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

Methods

rnf :: DocumentReaderConfig -> () #

Hashable DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

ToJSON DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

FromJSON DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

type Rep DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

type Rep DocumentReaderConfig = D1 ('MetaData "DocumentReaderConfig" "Amazonka.Comprehend.Types.DocumentReaderConfig" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DocumentReaderConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "featureTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DocumentReadFeatureTypes))) :*: (S1 ('MetaSel ('Just "documentReadMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentReadMode)) :*: S1 ('MetaSel ('Just "documentReadAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DocumentReadAction))))

newDocumentReaderConfig Source #

Create a value of DocumentReaderConfig 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:featureTypes:DocumentReaderConfig', documentReaderConfig_featureTypes - Specifies how the text in an input file should be processed:

$sel:documentReadMode:DocumentReaderConfig', documentReaderConfig_documentReadMode - This enum field provides two values:

  • SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean using an internal parser instead of Textract APIs
  • FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including Digital PDF.

$sel:documentReadAction:DocumentReaderConfig', documentReaderConfig_documentReadAction - This enum field will start with two values which will apply to PDFs:

  • TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per page.
  • TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.

documentReaderConfig_featureTypes :: Lens' DocumentReaderConfig (Maybe (NonEmpty DocumentReadFeatureTypes)) Source #

Specifies how the text in an input file should be processed:

documentReaderConfig_documentReadMode :: Lens' DocumentReaderConfig (Maybe DocumentReadMode) Source #

This enum field provides two values:

  • SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean using an internal parser instead of Textract APIs
  • FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including Digital PDF.

documentReaderConfig_documentReadAction :: Lens' DocumentReaderConfig DocumentReadAction Source #

This enum field will start with two values which will apply to PDFs:

  • TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per page.
  • TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.

DominantLanguage

data DominantLanguage Source #

Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.

See: newDominantLanguage smart constructor.

Constructors

DominantLanguage' 

Fields

Instances

Instances details
Eq DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

Read DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

Show DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

Generic DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

Associated Types

type Rep DominantLanguage :: Type -> Type #

NFData DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

Methods

rnf :: DominantLanguage -> () #

Hashable DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

FromJSON DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

type Rep DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

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

newDominantLanguage :: DominantLanguage Source #

Create a value of DominantLanguage 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:languageCode:DominantLanguage', dominantLanguage_languageCode - The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.

$sel:score:DominantLanguage', dominantLanguage_score - The level of confidence that Amazon Comprehend has in the accuracy of the detection.

dominantLanguage_languageCode :: Lens' DominantLanguage (Maybe Text) Source #

The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.

dominantLanguage_score :: Lens' DominantLanguage (Maybe Double) Source #

The level of confidence that Amazon Comprehend has in the accuracy of the detection.

DominantLanguageDetectionJobFilter

data DominantLanguageDetectionJobFilter Source #

Provides information for filtering a list of dominant language detection jobs. For more information, see the operation.

See: newDominantLanguageDetectionJobFilter smart constructor.

Constructors

DominantLanguageDetectionJobFilter' 

Fields

  • submitTimeAfter :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

  • submitTimeBefore :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

  • jobName :: Maybe Text

    Filters on the name of the job.

  • jobStatus :: Maybe JobStatus

    Filters the list of jobs based on job status. Returns only jobs with the specified status.

Instances

Instances details
Eq DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

Read DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

Show DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

Generic DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

Associated Types

type Rep DominantLanguageDetectionJobFilter :: Type -> Type #

NFData DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

Hashable DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

ToJSON DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

type Rep DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

type Rep DominantLanguageDetectionJobFilter = D1 ('MetaData "DominantLanguageDetectionJobFilter" "Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DominantLanguageDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))))

newDominantLanguageDetectionJobFilter :: DominantLanguageDetectionJobFilter Source #

Create a value of DominantLanguageDetectionJobFilter 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:submitTimeAfter:DominantLanguageDetectionJobFilter', dominantLanguageDetectionJobFilter_submitTimeAfter - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

$sel:submitTimeBefore:DominantLanguageDetectionJobFilter', dominantLanguageDetectionJobFilter_submitTimeBefore - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

$sel:jobName:DominantLanguageDetectionJobFilter', dominantLanguageDetectionJobFilter_jobName - Filters on the name of the job.

$sel:jobStatus:DominantLanguageDetectionJobFilter', dominantLanguageDetectionJobFilter_jobStatus - Filters the list of jobs based on job status. Returns only jobs with the specified status.

dominantLanguageDetectionJobFilter_submitTimeAfter :: Lens' DominantLanguageDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

dominantLanguageDetectionJobFilter_submitTimeBefore :: Lens' DominantLanguageDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

dominantLanguageDetectionJobFilter_jobStatus :: Lens' DominantLanguageDetectionJobFilter (Maybe JobStatus) Source #

Filters the list of jobs based on job status. Returns only jobs with the specified status.

DominantLanguageDetectionJobProperties

data DominantLanguageDetectionJobProperties Source #

Provides information about a dominant language detection job.

See: newDominantLanguageDetectionJobProperties smart constructor.

Constructors

DominantLanguageDetectionJobProperties' 

Fields

  • jobId :: Maybe Text

    The identifier assigned to the dominant language detection job.

  • jobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the dominant language detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

    arn:<partition>:comprehend:<region>:<account-id>:dominant-language-detection-job/<job-id>

    The following is an example job ARN:

    arn:aws:comprehend:us-west-2:111122223333:dominant-language-detection-job/1234abcd12ab34cd56ef1234567890ab
  • jobName :: Maybe Text

    The name that you assigned to the dominant language detection job.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created the dominant language detection job.

  • vpcConfig :: Maybe VpcConfig

    Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your dominant language detection job. For more information, see Amazon VPC.

  • volumeKmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • endTime :: Maybe POSIX

    The time that the dominant language detection job completed.

  • outputDataConfig :: Maybe OutputDataConfig

    The output data configuration that you supplied when you created the dominant language detection job.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

  • jobStatus :: Maybe JobStatus

    The current status of the dominant language detection job. If the status is FAILED, the Message field shows the reason for the failure.

  • message :: Maybe Text

    A description for the status of a job.

  • submitTime :: Maybe POSIX

    The time that the dominant language detection job was submitted for processing.

Instances

Instances details
Eq DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

Read DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

Show DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

Generic DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

NFData DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

Hashable DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

FromJSON DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

type Rep DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

type Rep DominantLanguageDetectionJobProperties = D1 ('MetaData "DominantLanguageDetectionJobProperties" "Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DominantLanguageDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)) :*: (S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)) :*: S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)) :*: S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newDominantLanguageDetectionJobProperties :: DominantLanguageDetectionJobProperties Source #

Create a value of DominantLanguageDetectionJobProperties 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:jobId:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_jobId - The identifier assigned to the dominant language detection job.

$sel:jobArn:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_jobArn - The Amazon Resource Name (ARN) of the dominant language detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:dominant-language-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:dominant-language-detection-job/1234abcd12ab34cd56ef1234567890ab

$sel:jobName:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_jobName - The name that you assigned to the dominant language detection job.

$sel:inputDataConfig:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_inputDataConfig - The input data configuration that you supplied when you created the dominant language detection job.

$sel:vpcConfig:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_vpcConfig - Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your dominant language detection job. For more information, see Amazon VPC.

$sel:volumeKmsKeyId:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_volumeKmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

$sel:endTime:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_endTime - The time that the dominant language detection job completed.

$sel:outputDataConfig:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the dominant language detection job.

$sel:dataAccessRoleArn:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

$sel:jobStatus:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_jobStatus - The current status of the dominant language detection job. If the status is FAILED, the Message field shows the reason for the failure.

$sel:message:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_message - A description for the status of a job.

$sel:submitTime:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_submitTime - The time that the dominant language detection job was submitted for processing.

dominantLanguageDetectionJobProperties_jobId :: Lens' DominantLanguageDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the dominant language detection job.

dominantLanguageDetectionJobProperties_jobArn :: Lens' DominantLanguageDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the dominant language detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:dominant-language-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:dominant-language-detection-job/1234abcd12ab34cd56ef1234567890ab

dominantLanguageDetectionJobProperties_jobName :: Lens' DominantLanguageDetectionJobProperties (Maybe Text) Source #

The name that you assigned to the dominant language detection job.

dominantLanguageDetectionJobProperties_inputDataConfig :: Lens' DominantLanguageDetectionJobProperties (Maybe InputDataConfig) Source #

The input data configuration that you supplied when you created the dominant language detection job.

dominantLanguageDetectionJobProperties_vpcConfig :: Lens' DominantLanguageDetectionJobProperties (Maybe VpcConfig) Source #

Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your dominant language detection job. For more information, see Amazon VPC.

dominantLanguageDetectionJobProperties_volumeKmsKeyId :: Lens' DominantLanguageDetectionJobProperties (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

dominantLanguageDetectionJobProperties_outputDataConfig :: Lens' DominantLanguageDetectionJobProperties (Maybe OutputDataConfig) Source #

The output data configuration that you supplied when you created the dominant language detection job.

dominantLanguageDetectionJobProperties_dataAccessRoleArn :: Lens' DominantLanguageDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

dominantLanguageDetectionJobProperties_jobStatus :: Lens' DominantLanguageDetectionJobProperties (Maybe JobStatus) Source #

The current status of the dominant language detection job. If the status is FAILED, the Message field shows the reason for the failure.

dominantLanguageDetectionJobProperties_submitTime :: Lens' DominantLanguageDetectionJobProperties (Maybe UTCTime) Source #

The time that the dominant language detection job was submitted for processing.

EndpointFilter

data EndpointFilter Source #

The filter used to determine which endpoints are returned. You can filter jobs on their name, model, status, or the date and time that they were created. You can only set one filter at a time.

See: newEndpointFilter smart constructor.

Constructors

EndpointFilter' 

Fields

Instances

Instances details
Eq EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

Read EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

Show EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

Generic EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

Associated Types

type Rep EndpointFilter :: Type -> Type #

NFData EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

Methods

rnf :: EndpointFilter -> () #

Hashable EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

ToJSON EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

type Rep EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

type Rep EndpointFilter = D1 ('MetaData "EndpointFilter" "Amazonka.Comprehend.Types.EndpointFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EndpointFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointStatus)) :*: S1 ('MetaSel ('Just "modelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "creationTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "creationTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newEndpointFilter :: EndpointFilter Source #

Create a value of EndpointFilter 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:status:EndpointFilter', endpointFilter_status - Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.

$sel:modelArn:EndpointFilter', endpointFilter_modelArn - The Amazon Resource Number (ARN) of the model to which the endpoint is attached.

$sel:creationTimeAfter:EndpointFilter', endpointFilter_creationTimeAfter - Specifies a date after which the returned endpoint or endpoints were created.

$sel:creationTimeBefore:EndpointFilter', endpointFilter_creationTimeBefore - Specifies a date before which the returned endpoint or endpoints were created.

endpointFilter_status :: Lens' EndpointFilter (Maybe EndpointStatus) Source #

Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.

endpointFilter_modelArn :: Lens' EndpointFilter (Maybe Text) Source #

The Amazon Resource Number (ARN) of the model to which the endpoint is attached.

endpointFilter_creationTimeAfter :: Lens' EndpointFilter (Maybe UTCTime) Source #

Specifies a date after which the returned endpoint or endpoints were created.

endpointFilter_creationTimeBefore :: Lens' EndpointFilter (Maybe UTCTime) Source #

Specifies a date before which the returned endpoint or endpoints were created.

EndpointProperties

data EndpointProperties Source #

Specifies information about the specified endpoint.

See: newEndpointProperties smart constructor.

Constructors

EndpointProperties' 

Fields

  • creationTime :: Maybe POSIX

    The creation date and time of the endpoint.

  • status :: Maybe EndpointStatus

    Specifies the status of the endpoint. Because the endpoint updates and creation are asynchronous, so customers will need to wait for the endpoint to be Ready status before making inference requests.

  • modelArn :: Maybe Text

    The Amazon Resource Number (ARN) of the model to which the endpoint is attached.

  • desiredModelArn :: Maybe Text

    ARN of the new model to use for updating an existing endpoint. This ARN is going to be different from the model ARN when the update is in progress

  • lastModifiedTime :: Maybe POSIX

    The date and time that the endpoint was last modified.

  • desiredInferenceUnits :: Maybe Natural

    The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.

  • currentInferenceUnits :: Maybe Natural

    The number of inference units currently used by the model using this endpoint.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).

  • desiredDataAccessRoleArn :: Maybe Text

    Data access role ARN to use in case the new model is encrypted with a customer KMS key.

  • message :: Maybe Text

    Specifies a reason for failure in cases of Failed status.

  • endpointArn :: Maybe Text

    The Amazon Resource Number (ARN) of the endpoint.

Instances

Instances details
Eq EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

Read EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

Show EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

Generic EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

Associated Types

type Rep EndpointProperties :: Type -> Type #

NFData EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

Methods

rnf :: EndpointProperties -> () #

Hashable EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

FromJSON EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

type Rep EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

type Rep EndpointProperties = D1 ('MetaData "EndpointProperties" "Amazonka.Comprehend.Types.EndpointProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EndpointProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointStatus))) :*: (S1 ('MetaSel ('Just "modelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "desiredModelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "desiredInferenceUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "currentInferenceUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "desiredDataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newEndpointProperties :: EndpointProperties Source #

Create a value of EndpointProperties 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:creationTime:EndpointProperties', endpointProperties_creationTime - The creation date and time of the endpoint.

$sel:status:EndpointProperties', endpointProperties_status - Specifies the status of the endpoint. Because the endpoint updates and creation are asynchronous, so customers will need to wait for the endpoint to be Ready status before making inference requests.

$sel:modelArn:EndpointProperties', endpointProperties_modelArn - The Amazon Resource Number (ARN) of the model to which the endpoint is attached.

$sel:desiredModelArn:EndpointProperties', endpointProperties_desiredModelArn - ARN of the new model to use for updating an existing endpoint. This ARN is going to be different from the model ARN when the update is in progress

$sel:lastModifiedTime:EndpointProperties', endpointProperties_lastModifiedTime - The date and time that the endpoint was last modified.

$sel:desiredInferenceUnits:EndpointProperties', endpointProperties_desiredInferenceUnits - The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.

$sel:currentInferenceUnits:EndpointProperties', endpointProperties_currentInferenceUnits - The number of inference units currently used by the model using this endpoint.

$sel:dataAccessRoleArn:EndpointProperties', endpointProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).

$sel:desiredDataAccessRoleArn:EndpointProperties', endpointProperties_desiredDataAccessRoleArn - Data access role ARN to use in case the new model is encrypted with a customer KMS key.

$sel:message:EndpointProperties', endpointProperties_message - Specifies a reason for failure in cases of Failed status.

$sel:endpointArn:EndpointProperties', endpointProperties_endpointArn - The Amazon Resource Number (ARN) of the endpoint.

endpointProperties_creationTime :: Lens' EndpointProperties (Maybe UTCTime) Source #

The creation date and time of the endpoint.

endpointProperties_status :: Lens' EndpointProperties (Maybe EndpointStatus) Source #

Specifies the status of the endpoint. Because the endpoint updates and creation are asynchronous, so customers will need to wait for the endpoint to be Ready status before making inference requests.

endpointProperties_modelArn :: Lens' EndpointProperties (Maybe Text) Source #

The Amazon Resource Number (ARN) of the model to which the endpoint is attached.

endpointProperties_desiredModelArn :: Lens' EndpointProperties (Maybe Text) Source #

ARN of the new model to use for updating an existing endpoint. This ARN is going to be different from the model ARN when the update is in progress

endpointProperties_lastModifiedTime :: Lens' EndpointProperties (Maybe UTCTime) Source #

The date and time that the endpoint was last modified.

endpointProperties_desiredInferenceUnits :: Lens' EndpointProperties (Maybe Natural) Source #

The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.

endpointProperties_currentInferenceUnits :: Lens' EndpointProperties (Maybe Natural) Source #

The number of inference units currently used by the model using this endpoint.

endpointProperties_dataAccessRoleArn :: Lens' EndpointProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).

endpointProperties_desiredDataAccessRoleArn :: Lens' EndpointProperties (Maybe Text) Source #

Data access role ARN to use in case the new model is encrypted with a customer KMS key.

endpointProperties_message :: Lens' EndpointProperties (Maybe Text) Source #

Specifies a reason for failure in cases of Failed status.

endpointProperties_endpointArn :: Lens' EndpointProperties (Maybe Text) Source #

The Amazon Resource Number (ARN) of the endpoint.

EntitiesDetectionJobFilter

data EntitiesDetectionJobFilter Source #

Provides information for filtering a list of dominant language detection jobs. For more information, see the operation.

See: newEntitiesDetectionJobFilter smart constructor.

Constructors

EntitiesDetectionJobFilter' 

Fields

  • submitTimeAfter :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

  • submitTimeBefore :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

  • jobName :: Maybe Text

    Filters on the name of the job.

  • jobStatus :: Maybe JobStatus

    Filters the list of jobs based on job status. Returns only jobs with the specified status.

Instances

Instances details
Eq EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

Read EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

Show EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

Generic EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

Associated Types

type Rep EntitiesDetectionJobFilter :: Type -> Type #

NFData EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

Hashable EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

ToJSON EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

type Rep EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

type Rep EntitiesDetectionJobFilter = D1 ('MetaData "EntitiesDetectionJobFilter" "Amazonka.Comprehend.Types.EntitiesDetectionJobFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntitiesDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))))

newEntitiesDetectionJobFilter :: EntitiesDetectionJobFilter Source #

Create a value of EntitiesDetectionJobFilter 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:submitTimeAfter:EntitiesDetectionJobFilter', entitiesDetectionJobFilter_submitTimeAfter - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

$sel:submitTimeBefore:EntitiesDetectionJobFilter', entitiesDetectionJobFilter_submitTimeBefore - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

$sel:jobName:EntitiesDetectionJobFilter', entitiesDetectionJobFilter_jobName - Filters on the name of the job.

$sel:jobStatus:EntitiesDetectionJobFilter', entitiesDetectionJobFilter_jobStatus - Filters the list of jobs based on job status. Returns only jobs with the specified status.

entitiesDetectionJobFilter_submitTimeAfter :: Lens' EntitiesDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

entitiesDetectionJobFilter_submitTimeBefore :: Lens' EntitiesDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

entitiesDetectionJobFilter_jobStatus :: Lens' EntitiesDetectionJobFilter (Maybe JobStatus) Source #

Filters the list of jobs based on job status. Returns only jobs with the specified status.

EntitiesDetectionJobProperties

data EntitiesDetectionJobProperties Source #

Provides information about an entities detection job.

See: newEntitiesDetectionJobProperties smart constructor.

Constructors

EntitiesDetectionJobProperties' 

Fields

  • languageCode :: Maybe LanguageCode

    The language code of the input documents.

  • jobId :: Maybe Text

    The identifier assigned to the entities detection job.

  • jobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the entities detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

    arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id>

    The following is an example job ARN:

    arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab
  • entityRecognizerArn :: Maybe Text

    The Amazon Resource Name (ARN) that identifies the entity recognizer.

  • jobName :: Maybe Text

    The name that you assigned the entities detection job.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created the entities detection job.

  • vpcConfig :: Maybe VpcConfig

    Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job. For more information, see Amazon VPC.

  • volumeKmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • endTime :: Maybe POSIX

    The time that the entities detection job completed

  • outputDataConfig :: Maybe OutputDataConfig

    The output data configuration that you supplied when you created the entities detection job.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

  • jobStatus :: Maybe JobStatus

    The current status of the entities detection job. If the status is FAILED, the Message field shows the reason for the failure.

  • message :: Maybe Text

    A description of the status of a job.

  • submitTime :: Maybe POSIX

    The time that the entities detection job was submitted for processing.

Instances

Instances details
Eq EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

Read EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

Show EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

Generic EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

Associated Types

type Rep EntitiesDetectionJobProperties :: Type -> Type #

NFData EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

Hashable EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

FromJSON EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

type Rep EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

type Rep EntitiesDetectionJobProperties = D1 ('MetaData "EntitiesDetectionJobProperties" "Amazonka.Comprehend.Types.EntitiesDetectionJobProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntitiesDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "entityRecognizerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig))))) :*: ((S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)))) :*: ((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newEntitiesDetectionJobProperties :: EntitiesDetectionJobProperties Source #

Create a value of EntitiesDetectionJobProperties 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:languageCode:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_languageCode - The language code of the input documents.

$sel:jobId:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_jobId - The identifier assigned to the entities detection job.

$sel:jobArn:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_jobArn - The Amazon Resource Name (ARN) of the entities detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab

$sel:entityRecognizerArn:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_entityRecognizerArn - The Amazon Resource Name (ARN) that identifies the entity recognizer.

$sel:jobName:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_jobName - The name that you assigned the entities detection job.

$sel:inputDataConfig:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_inputDataConfig - The input data configuration that you supplied when you created the entities detection job.

$sel:vpcConfig:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_vpcConfig - Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job. For more information, see Amazon VPC.

$sel:volumeKmsKeyId:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_volumeKmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

$sel:endTime:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_endTime - The time that the entities detection job completed

$sel:outputDataConfig:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the entities detection job.

$sel:dataAccessRoleArn:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

$sel:jobStatus:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_jobStatus - The current status of the entities detection job. If the status is FAILED, the Message field shows the reason for the failure.

$sel:message:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_message - A description of the status of a job.

$sel:submitTime:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_submitTime - The time that the entities detection job was submitted for processing.

entitiesDetectionJobProperties_jobId :: Lens' EntitiesDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the entities detection job.

entitiesDetectionJobProperties_jobArn :: Lens' EntitiesDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the entities detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:entities-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:entities-detection-job/1234abcd12ab34cd56ef1234567890ab

entitiesDetectionJobProperties_entityRecognizerArn :: Lens' EntitiesDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies the entity recognizer.

entitiesDetectionJobProperties_jobName :: Lens' EntitiesDetectionJobProperties (Maybe Text) Source #

The name that you assigned the entities detection job.

entitiesDetectionJobProperties_inputDataConfig :: Lens' EntitiesDetectionJobProperties (Maybe InputDataConfig) Source #

The input data configuration that you supplied when you created the entities detection job.

entitiesDetectionJobProperties_vpcConfig :: Lens' EntitiesDetectionJobProperties (Maybe VpcConfig) Source #

Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your entity detection job. For more information, see Amazon VPC.

entitiesDetectionJobProperties_volumeKmsKeyId :: Lens' EntitiesDetectionJobProperties (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

entitiesDetectionJobProperties_outputDataConfig :: Lens' EntitiesDetectionJobProperties (Maybe OutputDataConfig) Source #

The output data configuration that you supplied when you created the entities detection job.

entitiesDetectionJobProperties_dataAccessRoleArn :: Lens' EntitiesDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

entitiesDetectionJobProperties_jobStatus :: Lens' EntitiesDetectionJobProperties (Maybe JobStatus) Source #

The current status of the entities detection job. If the status is FAILED, the Message field shows the reason for the failure.

entitiesDetectionJobProperties_submitTime :: Lens' EntitiesDetectionJobProperties (Maybe UTCTime) Source #

The time that the entities detection job was submitted for processing.

Entity

data Entity Source #

Provides information about an entity.

See: newEntity smart constructor.

Constructors

Entity' 

Fields

  • beginOffset :: Maybe Int

    A character offset in the input text that shows where the entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

  • text :: Maybe Text

    The text of the entity.

  • score :: Maybe Double

    The level of confidence that Amazon Comprehend has in the accuracy of the detection.

  • endOffset :: Maybe Int

    A character offset in the input text that shows where the entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

  • type' :: Maybe EntityType

    The entity's type.

Instances

Instances details
Eq Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

Methods

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

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

Read Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

Show Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

Generic Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

Associated Types

type Rep Entity :: Type -> Type #

Methods

from :: Entity -> Rep Entity x #

to :: Rep Entity x -> Entity #

NFData Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

Methods

rnf :: Entity -> () #

Hashable Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

Methods

hashWithSalt :: Int -> Entity -> Int #

hash :: Entity -> Int #

FromJSON Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

type Rep Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

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

newEntity :: Entity Source #

Create a value of Entity 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:beginOffset:Entity', entity_beginOffset - A character offset in the input text that shows where the entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

$sel:text:Entity', entity_text - The text of the entity.

$sel:score:Entity', entity_score - The level of confidence that Amazon Comprehend has in the accuracy of the detection.

$sel:endOffset:Entity', entity_endOffset - A character offset in the input text that shows where the entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

$sel:type':Entity', entity_type - The entity's type.

entity_beginOffset :: Lens' Entity (Maybe Int) Source #

A character offset in the input text that shows where the entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

entity_text :: Lens' Entity (Maybe Text) Source #

The text of the entity.

entity_score :: Lens' Entity (Maybe Double) Source #

The level of confidence that Amazon Comprehend has in the accuracy of the detection.

entity_endOffset :: Lens' Entity (Maybe Int) Source #

A character offset in the input text that shows where the entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

EntityLabel

data EntityLabel Source #

Specifies one of the label or labels that categorize the personally identifiable information (PII) entity being analyzed.

See: newEntityLabel smart constructor.

Constructors

EntityLabel' 

Fields

Instances

Instances details
Eq EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

Read EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

Show EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

Generic EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

Associated Types

type Rep EntityLabel :: Type -> Type #

NFData EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

Methods

rnf :: EntityLabel -> () #

Hashable EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

FromJSON EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

type Rep EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

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

newEntityLabel :: EntityLabel Source #

Create a value of EntityLabel 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:EntityLabel', entityLabel_score - The level of confidence that Amazon Comprehend has in the accuracy of the detection.

$sel:name:EntityLabel', entityLabel_name - The name of the label.

entityLabel_score :: Lens' EntityLabel (Maybe Double) Source #

The level of confidence that Amazon Comprehend has in the accuracy of the detection.

EntityRecognizerAnnotations

data EntityRecognizerAnnotations Source #

Describes the annotations associated with a entity recognizer.

See: newEntityRecognizerAnnotations smart constructor.

Constructors

EntityRecognizerAnnotations' 

Fields

  • testS3Uri :: Maybe Text

    This specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.

  • s3Uri :: Text

    Specifies the Amazon S3 location where the annotations for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.

Instances

Instances details
Eq EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

Read EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

Show EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

Generic EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

Associated Types

type Rep EntityRecognizerAnnotations :: Type -> Type #

NFData EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

Hashable EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

ToJSON EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

FromJSON EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

type Rep EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

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

newEntityRecognizerAnnotations Source #

Create a value of EntityRecognizerAnnotations 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:testS3Uri:EntityRecognizerAnnotations', entityRecognizerAnnotations_testS3Uri - This specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.

$sel:s3Uri:EntityRecognizerAnnotations', entityRecognizerAnnotations_s3Uri - Specifies the Amazon S3 location where the annotations for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.

entityRecognizerAnnotations_testS3Uri :: Lens' EntityRecognizerAnnotations (Maybe Text) Source #

This specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.

entityRecognizerAnnotations_s3Uri :: Lens' EntityRecognizerAnnotations Text Source #

Specifies the Amazon S3 location where the annotations for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.

EntityRecognizerDocuments

data EntityRecognizerDocuments Source #

Describes the training documents submitted with an entity recognizer.

See: newEntityRecognizerDocuments smart constructor.

Constructors

EntityRecognizerDocuments' 

Fields

  • inputFormat :: Maybe InputFormat

    Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.

  • testS3Uri :: Maybe Text

    Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.

  • s3Uri :: Text

    Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.

Instances

Instances details
Eq EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

Read EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

Show EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

Generic EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

Associated Types

type Rep EntityRecognizerDocuments :: Type -> Type #

NFData EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

Hashable EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

ToJSON EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

FromJSON EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

type Rep EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

type Rep EntityRecognizerDocuments = D1 ('MetaData "EntityRecognizerDocuments" "Amazonka.Comprehend.Types.EntityRecognizerDocuments" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntityRecognizerDocuments'" 'PrefixI 'True) (S1 ('MetaSel ('Just "inputFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputFormat)) :*: (S1 ('MetaSel ('Just "testS3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "s3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newEntityRecognizerDocuments Source #

Create a value of EntityRecognizerDocuments 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:inputFormat:EntityRecognizerDocuments', entityRecognizerDocuments_inputFormat - Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.

$sel:testS3Uri:EntityRecognizerDocuments', entityRecognizerDocuments_testS3Uri - Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.

$sel:s3Uri:EntityRecognizerDocuments', entityRecognizerDocuments_s3Uri - Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.

entityRecognizerDocuments_inputFormat :: Lens' EntityRecognizerDocuments (Maybe InputFormat) Source #

Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.

entityRecognizerDocuments_testS3Uri :: Lens' EntityRecognizerDocuments (Maybe Text) Source #

Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.

entityRecognizerDocuments_s3Uri :: Lens' EntityRecognizerDocuments Text Source #

Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.

EntityRecognizerEntityList

data EntityRecognizerEntityList Source #

Describes the entity recognizer submitted with an entity recognizer.

See: newEntityRecognizerEntityList smart constructor.

Constructors

EntityRecognizerEntityList' 

Fields

  • s3Uri :: Text

    Specifies the Amazon S3 location where the entity list is located. The URI must be in the same region as the API endpoint that you are calling.

Instances

Instances details
Eq EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

Read EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

Show EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

Generic EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

Associated Types

type Rep EntityRecognizerEntityList :: Type -> Type #

NFData EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

Hashable EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

ToJSON EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

FromJSON EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

type Rep EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

type Rep EntityRecognizerEntityList = D1 ('MetaData "EntityRecognizerEntityList" "Amazonka.Comprehend.Types.EntityRecognizerEntityList" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntityRecognizerEntityList'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEntityRecognizerEntityList Source #

Create a value of EntityRecognizerEntityList 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:s3Uri:EntityRecognizerEntityList', entityRecognizerEntityList_s3Uri - Specifies the Amazon S3 location where the entity list is located. The URI must be in the same region as the API endpoint that you are calling.

entityRecognizerEntityList_s3Uri :: Lens' EntityRecognizerEntityList Text Source #

Specifies the Amazon S3 location where the entity list is located. The URI must be in the same region as the API endpoint that you are calling.

EntityRecognizerEvaluationMetrics

data EntityRecognizerEvaluationMetrics Source #

Detailed information about the accuracy of an entity recognizer.

See: newEntityRecognizerEvaluationMetrics smart constructor.

Constructors

EntityRecognizerEvaluationMetrics' 

Fields

  • recall :: Maybe Double

    A measure of how complete the recognizer results are for the test data. High recall means that the recognizer returned most of the relevant results.

  • precision :: Maybe Double

    A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.

  • f1Score :: Maybe Double

    A measure of how accurate the recognizer results are for the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.

Instances

Instances details
Eq EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

Read EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

Show EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

Generic EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

Associated Types

type Rep EntityRecognizerEvaluationMetrics :: Type -> Type #

NFData EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

Hashable EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

FromJSON EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

type Rep EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

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

newEntityRecognizerEvaluationMetrics :: EntityRecognizerEvaluationMetrics Source #

Create a value of EntityRecognizerEvaluationMetrics 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:recall:EntityRecognizerEvaluationMetrics', entityRecognizerEvaluationMetrics_recall - A measure of how complete the recognizer results are for the test data. High recall means that the recognizer returned most of the relevant results.

$sel:precision:EntityRecognizerEvaluationMetrics', entityRecognizerEvaluationMetrics_precision - A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.

$sel:f1Score:EntityRecognizerEvaluationMetrics', entityRecognizerEvaluationMetrics_f1Score - A measure of how accurate the recognizer results are for the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.

entityRecognizerEvaluationMetrics_recall :: Lens' EntityRecognizerEvaluationMetrics (Maybe Double) Source #

A measure of how complete the recognizer results are for the test data. High recall means that the recognizer returned most of the relevant results.

entityRecognizerEvaluationMetrics_precision :: Lens' EntityRecognizerEvaluationMetrics (Maybe Double) Source #

A measure of the usefulness of the recognizer results in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.

entityRecognizerEvaluationMetrics_f1Score :: Lens' EntityRecognizerEvaluationMetrics (Maybe Double) Source #

A measure of how accurate the recognizer results are for the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.

EntityRecognizerFilter

data EntityRecognizerFilter Source #

Provides information for filtering a list of entity recognizers. You can only specify one filtering parameter in a request. For more information, see the operation./>

See: newEntityRecognizerFilter smart constructor.

Constructors

EntityRecognizerFilter' 

Fields

  • status :: Maybe ModelStatus

    The status of an entity recognizer.

  • submitTimeAfter :: Maybe POSIX

    Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.

  • submitTimeBefore :: Maybe POSIX

    Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.

  • recognizerName :: Maybe Text

    The name that you assigned the entity recognizer.

Instances

Instances details
Eq EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

Read EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

Show EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

Generic EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

Associated Types

type Rep EntityRecognizerFilter :: Type -> Type #

NFData EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

Methods

rnf :: EntityRecognizerFilter -> () #

Hashable EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

ToJSON EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

type Rep EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

type Rep EntityRecognizerFilter = D1 ('MetaData "EntityRecognizerFilter" "Amazonka.Comprehend.Types.EntityRecognizerFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntityRecognizerFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelStatus)) :*: S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "recognizerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEntityRecognizerFilter :: EntityRecognizerFilter Source #

Create a value of EntityRecognizerFilter 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:status:EntityRecognizerFilter', entityRecognizerFilter_status - The status of an entity recognizer.

$sel:submitTimeAfter:EntityRecognizerFilter', entityRecognizerFilter_submitTimeAfter - Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.

$sel:submitTimeBefore:EntityRecognizerFilter', entityRecognizerFilter_submitTimeBefore - Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.

$sel:recognizerName:EntityRecognizerFilter', entityRecognizerFilter_recognizerName - The name that you assigned the entity recognizer.

entityRecognizerFilter_submitTimeAfter :: Lens' EntityRecognizerFilter (Maybe UTCTime) Source #

Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.

entityRecognizerFilter_submitTimeBefore :: Lens' EntityRecognizerFilter (Maybe UTCTime) Source #

Filters the list of entities based on the time that the list was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.

entityRecognizerFilter_recognizerName :: Lens' EntityRecognizerFilter (Maybe Text) Source #

The name that you assigned the entity recognizer.

EntityRecognizerInputDataConfig

data EntityRecognizerInputDataConfig Source #

Specifies the format and location of the input data.

See: newEntityRecognizerInputDataConfig smart constructor.

Constructors

EntityRecognizerInputDataConfig' 

Fields

  • augmentedManifests :: Maybe [AugmentedManifestsListItem]

    A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.

    This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.

  • annotations :: Maybe EntityRecognizerAnnotations

    The S3 location of the CSV file that annotates your training documents.

  • dataFormat :: Maybe EntityRecognizerDataFormat

    The format of your training data:

    • COMPREHEND_CSV: A CSV file that supplements your training documents. The CSV file contains information about the custom entities that your trained model will detect. The required format of the file depends on whether you are providing annotations or an entity list.

      If you use this value, you must provide your CSV file by using either the Annotations or EntityList parameters. You must provide your training documents by using the Documents parameter.

    • AUGMENTED_MANIFEST: A labeled dataset that is produced by Amazon SageMaker Ground Truth. This file is in JSON lines format. Each line is a complete JSON object that contains a training document and its labels. Each label annotates a named entity in the training document.

      If you use this value, you must provide the AugmentedManifests parameter in your request.

    If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.

  • documents :: Maybe EntityRecognizerDocuments

    The S3 location of the folder that contains the training documents for your custom entity recognizer.

    This parameter is required if you set DataFormat to COMPREHEND_CSV.

  • entityList :: Maybe EntityRecognizerEntityList

    The S3 location of the CSV file that has the entity list for your custom entity recognizer.

  • entityTypes :: [EntityTypesListItem]

    The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity recognizer. Any entity types that you don't specify are ignored.

    A maximum of 25 entity types can be used at one time to train an entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break), \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).

Instances

Instances details
Eq EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

Read EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

Show EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

Generic EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

Associated Types

type Rep EntityRecognizerInputDataConfig :: Type -> Type #

NFData EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

Hashable EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

ToJSON EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

FromJSON EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

type Rep EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

type Rep EntityRecognizerInputDataConfig = D1 ('MetaData "EntityRecognizerInputDataConfig" "Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntityRecognizerInputDataConfig'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "augmentedManifests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AugmentedManifestsListItem])) :*: (S1 ('MetaSel ('Just "annotations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityRecognizerAnnotations)) :*: S1 ('MetaSel ('Just "dataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityRecognizerDataFormat)))) :*: (S1 ('MetaSel ('Just "documents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityRecognizerDocuments)) :*: (S1 ('MetaSel ('Just "entityList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityRecognizerEntityList)) :*: S1 ('MetaSel ('Just "entityTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [EntityTypesListItem])))))

newEntityRecognizerInputDataConfig :: EntityRecognizerInputDataConfig Source #

Create a value of EntityRecognizerInputDataConfig 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:augmentedManifests:EntityRecognizerInputDataConfig', entityRecognizerInputDataConfig_augmentedManifests - A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.

This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.

$sel:annotations:EntityRecognizerInputDataConfig', entityRecognizerInputDataConfig_annotations - The S3 location of the CSV file that annotates your training documents.

$sel:dataFormat:EntityRecognizerInputDataConfig', entityRecognizerInputDataConfig_dataFormat - The format of your training data:

  • COMPREHEND_CSV: A CSV file that supplements your training documents. The CSV file contains information about the custom entities that your trained model will detect. The required format of the file depends on whether you are providing annotations or an entity list.

    If you use this value, you must provide your CSV file by using either the Annotations or EntityList parameters. You must provide your training documents by using the Documents parameter.

  • AUGMENTED_MANIFEST: A labeled dataset that is produced by Amazon SageMaker Ground Truth. This file is in JSON lines format. Each line is a complete JSON object that contains a training document and its labels. Each label annotates a named entity in the training document.

    If you use this value, you must provide the AugmentedManifests parameter in your request.

If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.

$sel:documents:EntityRecognizerInputDataConfig', entityRecognizerInputDataConfig_documents - The S3 location of the folder that contains the training documents for your custom entity recognizer.

This parameter is required if you set DataFormat to COMPREHEND_CSV.

$sel:entityList:EntityRecognizerInputDataConfig', entityRecognizerInputDataConfig_entityList - The S3 location of the CSV file that has the entity list for your custom entity recognizer.

$sel:entityTypes:EntityRecognizerInputDataConfig', entityRecognizerInputDataConfig_entityTypes - The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity recognizer. Any entity types that you don't specify are ignored.

A maximum of 25 entity types can be used at one time to train an entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break), \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).

entityRecognizerInputDataConfig_augmentedManifests :: Lens' EntityRecognizerInputDataConfig (Maybe [AugmentedManifestsListItem]) Source #

A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.

This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.

entityRecognizerInputDataConfig_annotations :: Lens' EntityRecognizerInputDataConfig (Maybe EntityRecognizerAnnotations) Source #

The S3 location of the CSV file that annotates your training documents.

entityRecognizerInputDataConfig_dataFormat :: Lens' EntityRecognizerInputDataConfig (Maybe EntityRecognizerDataFormat) Source #

The format of your training data:

  • COMPREHEND_CSV: A CSV file that supplements your training documents. The CSV file contains information about the custom entities that your trained model will detect. The required format of the file depends on whether you are providing annotations or an entity list.

    If you use this value, you must provide your CSV file by using either the Annotations or EntityList parameters. You must provide your training documents by using the Documents parameter.

  • AUGMENTED_MANIFEST: A labeled dataset that is produced by Amazon SageMaker Ground Truth. This file is in JSON lines format. Each line is a complete JSON object that contains a training document and its labels. Each label annotates a named entity in the training document.

    If you use this value, you must provide the AugmentedManifests parameter in your request.

If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.

entityRecognizerInputDataConfig_documents :: Lens' EntityRecognizerInputDataConfig (Maybe EntityRecognizerDocuments) Source #

The S3 location of the folder that contains the training documents for your custom entity recognizer.

This parameter is required if you set DataFormat to COMPREHEND_CSV.

entityRecognizerInputDataConfig_entityList :: Lens' EntityRecognizerInputDataConfig (Maybe EntityRecognizerEntityList) Source #

The S3 location of the CSV file that has the entity list for your custom entity recognizer.

entityRecognizerInputDataConfig_entityTypes :: Lens' EntityRecognizerInputDataConfig [EntityTypesListItem] Source #

The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity recognizer. Any entity types that you don't specify are ignored.

A maximum of 25 entity types can be used at one time to train an entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break), \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).

EntityRecognizerMetadata

data EntityRecognizerMetadata Source #

Detailed information about an entity recognizer.

See: newEntityRecognizerMetadata smart constructor.

Constructors

EntityRecognizerMetadata' 

Fields

Instances

Instances details
Eq EntityRecognizerMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadata

Show EntityRecognizerMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadata

Generic EntityRecognizerMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadata

Associated Types

type Rep EntityRecognizerMetadata :: Type -> Type #

NFData EntityRecognizerMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadata

Hashable EntityRecognizerMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadata

FromJSON EntityRecognizerMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadata

type Rep EntityRecognizerMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadata

type Rep EntityRecognizerMetadata = D1 ('MetaData "EntityRecognizerMetadata" "Amazonka.Comprehend.Types.EntityRecognizerMetadata" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntityRecognizerMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "entityTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EntityRecognizerMetadataEntityTypesListItem])) :*: S1 ('MetaSel ('Just "evaluationMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityRecognizerEvaluationMetrics))) :*: (S1 ('MetaSel ('Just "numberOfTrainedDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "numberOfTestDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newEntityRecognizerMetadata :: EntityRecognizerMetadata Source #

Create a value of EntityRecognizerMetadata 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:entityTypes:EntityRecognizerMetadata', entityRecognizerMetadata_entityTypes - Entity types from the metadata of an entity recognizer.

$sel:evaluationMetrics:EntityRecognizerMetadata', entityRecognizerMetadata_evaluationMetrics - Detailed information about the accuracy of an entity recognizer.

$sel:numberOfTrainedDocuments:EntityRecognizerMetadata', entityRecognizerMetadata_numberOfTrainedDocuments - The number of documents in the input data that were used to train the entity recognizer. Typically this is 80 to 90 percent of the input documents.

$sel:numberOfTestDocuments:EntityRecognizerMetadata', entityRecognizerMetadata_numberOfTestDocuments - The number of documents in the input data that were used to test the entity recognizer. Typically this is 10 to 20 percent of the input documents.

entityRecognizerMetadata_numberOfTrainedDocuments :: Lens' EntityRecognizerMetadata (Maybe Int) Source #

The number of documents in the input data that were used to train the entity recognizer. Typically this is 80 to 90 percent of the input documents.

entityRecognizerMetadata_numberOfTestDocuments :: Lens' EntityRecognizerMetadata (Maybe Int) Source #

The number of documents in the input data that were used to test the entity recognizer. Typically this is 10 to 20 percent of the input documents.

EntityRecognizerMetadataEntityTypesListItem

data EntityRecognizerMetadataEntityTypesListItem Source #

Individual item from the list of entity types in the metadata of an entity recognizer.

See: newEntityRecognizerMetadataEntityTypesListItem smart constructor.

Constructors

EntityRecognizerMetadataEntityTypesListItem' 

Fields

Instances

Instances details
Eq EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

Read EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

Show EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

Generic EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

NFData EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

Hashable EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

FromJSON EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

type Rep EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

type Rep EntityRecognizerMetadataEntityTypesListItem = D1 ('MetaData "EntityRecognizerMetadataEntityTypesListItem" "Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntityRecognizerMetadataEntityTypesListItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "evaluationMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityTypesEvaluationMetrics)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "numberOfTrainMentions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newEntityRecognizerMetadataEntityTypesListItem :: EntityRecognizerMetadataEntityTypesListItem Source #

Create a value of EntityRecognizerMetadataEntityTypesListItem 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:evaluationMetrics:EntityRecognizerMetadataEntityTypesListItem', entityRecognizerMetadataEntityTypesListItem_evaluationMetrics - Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.

$sel:type':EntityRecognizerMetadataEntityTypesListItem', entityRecognizerMetadataEntityTypesListItem_type - Type of entity from the list of entity types in the metadata of an entity recognizer.

$sel:numberOfTrainMentions:EntityRecognizerMetadataEntityTypesListItem', entityRecognizerMetadataEntityTypesListItem_numberOfTrainMentions - Indicates the number of times the given entity type was seen in the training data.

entityRecognizerMetadataEntityTypesListItem_evaluationMetrics :: Lens' EntityRecognizerMetadataEntityTypesListItem (Maybe EntityTypesEvaluationMetrics) Source #

Detailed information about the accuracy of the entity recognizer for a specific item on the list of entity types.

entityRecognizerMetadataEntityTypesListItem_type :: Lens' EntityRecognizerMetadataEntityTypesListItem (Maybe Text) Source #

Type of entity from the list of entity types in the metadata of an entity recognizer.

entityRecognizerMetadataEntityTypesListItem_numberOfTrainMentions :: Lens' EntityRecognizerMetadataEntityTypesListItem (Maybe Int) Source #

Indicates the number of times the given entity type was seen in the training data.

EntityRecognizerProperties

data EntityRecognizerProperties Source #

Describes information about an entity recognizer.

See: newEntityRecognizerProperties smart constructor.

Constructors

EntityRecognizerProperties' 

Fields

  • status :: Maybe ModelStatus

    Provides the status of the entity recognizer.

  • languageCode :: Maybe LanguageCode

    The language of the input documents. All documents must be in the same language. Only English ("en") is currently supported.

  • trainingEndTime :: Maybe POSIX

    The time that training of the entity recognizer was completed.

  • versionName :: Maybe Text

    The version name you assigned to the entity recognizer.

  • entityRecognizerArn :: Maybe Text

    The Amazon Resource Name (ARN) that identifies the entity recognizer.

  • modelKmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • inputDataConfig :: Maybe EntityRecognizerInputDataConfig

    The input data properties of an entity recognizer.

  • vpcConfig :: Maybe VpcConfig

    Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer. For more information, see Amazon VPC.

  • volumeKmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • endTime :: Maybe POSIX

    The time that the recognizer creation completed.

  • trainingStartTime :: Maybe POSIX

    The time that training of the entity recognizer started.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.

  • recognizerMetadata :: Maybe (Sensitive EntityRecognizerMetadata)

    Provides information about an entity recognizer.

  • message :: Maybe Text

    A description of the status of the recognizer.

  • submitTime :: Maybe POSIX

    The time that the recognizer was submitted for processing.

Instances

Instances details
Eq EntityRecognizerProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerProperties

Show EntityRecognizerProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerProperties

Generic EntityRecognizerProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerProperties

Associated Types

type Rep EntityRecognizerProperties :: Type -> Type #

NFData EntityRecognizerProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerProperties

Hashable EntityRecognizerProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerProperties

FromJSON EntityRecognizerProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerProperties

type Rep EntityRecognizerProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerProperties

type Rep EntityRecognizerProperties = D1 ('MetaData "EntityRecognizerProperties" "Amazonka.Comprehend.Types.EntityRecognizerProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntityRecognizerProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelStatus)) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "trainingEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "versionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "entityRecognizerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "modelKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityRecognizerInputDataConfig))))) :*: (((S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)) :*: S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "trainingStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recognizerMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive EntityRecognizerMetadata)))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newEntityRecognizerProperties :: EntityRecognizerProperties Source #

Create a value of EntityRecognizerProperties 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:status:EntityRecognizerProperties', entityRecognizerProperties_status - Provides the status of the entity recognizer.

$sel:languageCode:EntityRecognizerProperties', entityRecognizerProperties_languageCode - The language of the input documents. All documents must be in the same language. Only English ("en") is currently supported.

$sel:trainingEndTime:EntityRecognizerProperties', entityRecognizerProperties_trainingEndTime - The time that training of the entity recognizer was completed.

$sel:versionName:EntityRecognizerProperties', entityRecognizerProperties_versionName - The version name you assigned to the entity recognizer.

$sel:entityRecognizerArn:EntityRecognizerProperties', entityRecognizerProperties_entityRecognizerArn - The Amazon Resource Name (ARN) that identifies the entity recognizer.

$sel:modelKmsKeyId:EntityRecognizerProperties', entityRecognizerProperties_modelKmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

$sel:inputDataConfig:EntityRecognizerProperties', entityRecognizerProperties_inputDataConfig - The input data properties of an entity recognizer.

$sel:vpcConfig:EntityRecognizerProperties', entityRecognizerProperties_vpcConfig - Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer. For more information, see Amazon VPC.

$sel:volumeKmsKeyId:EntityRecognizerProperties', entityRecognizerProperties_volumeKmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

$sel:endTime:EntityRecognizerProperties', entityRecognizerProperties_endTime - The time that the recognizer creation completed.

$sel:trainingStartTime:EntityRecognizerProperties', entityRecognizerProperties_trainingStartTime - The time that training of the entity recognizer started.

$sel:dataAccessRoleArn:EntityRecognizerProperties', entityRecognizerProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.

$sel:recognizerMetadata:EntityRecognizerProperties', entityRecognizerProperties_recognizerMetadata - Provides information about an entity recognizer.

$sel:message:EntityRecognizerProperties', entityRecognizerProperties_message - A description of the status of the recognizer.

$sel:submitTime:EntityRecognizerProperties', entityRecognizerProperties_submitTime - The time that the recognizer was submitted for processing.

entityRecognizerProperties_languageCode :: Lens' EntityRecognizerProperties (Maybe LanguageCode) Source #

The language of the input documents. All documents must be in the same language. Only English ("en") is currently supported.

entityRecognizerProperties_trainingEndTime :: Lens' EntityRecognizerProperties (Maybe UTCTime) Source #

The time that training of the entity recognizer was completed.

entityRecognizerProperties_versionName :: Lens' EntityRecognizerProperties (Maybe Text) Source #

The version name you assigned to the entity recognizer.

entityRecognizerProperties_entityRecognizerArn :: Lens' EntityRecognizerProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) that identifies the entity recognizer.

entityRecognizerProperties_modelKmsKeyId :: Lens' EntityRecognizerProperties (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

entityRecognizerProperties_vpcConfig :: Lens' EntityRecognizerProperties (Maybe VpcConfig) Source #

Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your custom entity recognizer. For more information, see Amazon VPC.

entityRecognizerProperties_volumeKmsKeyId :: Lens' EntityRecognizerProperties (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

entityRecognizerProperties_endTime :: Lens' EntityRecognizerProperties (Maybe UTCTime) Source #

The time that the recognizer creation completed.

entityRecognizerProperties_trainingStartTime :: Lens' EntityRecognizerProperties (Maybe UTCTime) Source #

The time that training of the entity recognizer started.

entityRecognizerProperties_dataAccessRoleArn :: Lens' EntityRecognizerProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.

entityRecognizerProperties_message :: Lens' EntityRecognizerProperties (Maybe Text) Source #

A description of the status of the recognizer.

entityRecognizerProperties_submitTime :: Lens' EntityRecognizerProperties (Maybe UTCTime) Source #

The time that the recognizer was submitted for processing.

EntityRecognizerSummary

data EntityRecognizerSummary Source #

Describes the information about an entity recognizer and its versions.

See: newEntityRecognizerSummary smart constructor.

Constructors

EntityRecognizerSummary' 

Fields

Instances

Instances details
Eq EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

Read EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

Show EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

Generic EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

Associated Types

type Rep EntityRecognizerSummary :: Type -> Type #

NFData EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

Methods

rnf :: EntityRecognizerSummary -> () #

Hashable EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

FromJSON EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

type Rep EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

type Rep EntityRecognizerSummary = D1 ('MetaData "EntityRecognizerSummary" "Amazonka.Comprehend.Types.EntityRecognizerSummary" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntityRecognizerSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "latestVersionCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "latestVersionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelStatus))) :*: (S1 ('MetaSel ('Just "numberOfVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "latestVersionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recognizerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newEntityRecognizerSummary :: EntityRecognizerSummary Source #

Create a value of EntityRecognizerSummary 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:latestVersionCreatedAt:EntityRecognizerSummary', entityRecognizerSummary_latestVersionCreatedAt - The time that the latest entity recognizer version was submitted for processing.

$sel:latestVersionStatus:EntityRecognizerSummary', entityRecognizerSummary_latestVersionStatus - Provides the status of the latest entity recognizer version.

$sel:numberOfVersions:EntityRecognizerSummary', entityRecognizerSummary_numberOfVersions - The number of versions you created.

$sel:latestVersionName:EntityRecognizerSummary', entityRecognizerSummary_latestVersionName - The version name you assigned to the latest entity recognizer version.

$sel:recognizerName:EntityRecognizerSummary', entityRecognizerSummary_recognizerName - The name that you assigned the entity recognizer.

entityRecognizerSummary_latestVersionCreatedAt :: Lens' EntityRecognizerSummary (Maybe UTCTime) Source #

The time that the latest entity recognizer version was submitted for processing.

entityRecognizerSummary_latestVersionStatus :: Lens' EntityRecognizerSummary (Maybe ModelStatus) Source #

Provides the status of the latest entity recognizer version.

entityRecognizerSummary_latestVersionName :: Lens' EntityRecognizerSummary (Maybe Text) Source #

The version name you assigned to the latest entity recognizer version.

entityRecognizerSummary_recognizerName :: Lens' EntityRecognizerSummary (Maybe Text) Source #

The name that you assigned the entity recognizer.

EntityTypesEvaluationMetrics

data EntityTypesEvaluationMetrics Source #

Detailed information about the accuracy of an entity recognizer for a specific entity type.

See: newEntityTypesEvaluationMetrics smart constructor.

Constructors

EntityTypesEvaluationMetrics' 

Fields

  • recall :: Maybe Double

    A measure of how complete the recognizer results are for a specific entity type in the test data. High recall means that the recognizer returned most of the relevant results.

  • precision :: Maybe Double

    A measure of the usefulness of the recognizer results for a specific entity type in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.

  • f1Score :: Maybe Double

    A measure of how accurate the recognizer results are for a specific entity type in the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.

Instances

Instances details
Eq EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

Read EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

Show EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

Generic EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

Associated Types

type Rep EntityTypesEvaluationMetrics :: Type -> Type #

NFData EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

Hashable EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

FromJSON EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

type Rep EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

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

newEntityTypesEvaluationMetrics :: EntityTypesEvaluationMetrics Source #

Create a value of EntityTypesEvaluationMetrics 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:recall:EntityTypesEvaluationMetrics', entityTypesEvaluationMetrics_recall - A measure of how complete the recognizer results are for a specific entity type in the test data. High recall means that the recognizer returned most of the relevant results.

$sel:precision:EntityTypesEvaluationMetrics', entityTypesEvaluationMetrics_precision - A measure of the usefulness of the recognizer results for a specific entity type in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.

$sel:f1Score:EntityTypesEvaluationMetrics', entityTypesEvaluationMetrics_f1Score - A measure of how accurate the recognizer results are for a specific entity type in the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.

entityTypesEvaluationMetrics_recall :: Lens' EntityTypesEvaluationMetrics (Maybe Double) Source #

A measure of how complete the recognizer results are for a specific entity type in the test data. High recall means that the recognizer returned most of the relevant results.

entityTypesEvaluationMetrics_precision :: Lens' EntityTypesEvaluationMetrics (Maybe Double) Source #

A measure of the usefulness of the recognizer results for a specific entity type in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.

entityTypesEvaluationMetrics_f1Score :: Lens' EntityTypesEvaluationMetrics (Maybe Double) Source #

A measure of how accurate the recognizer results are for a specific entity type in the test data. It is derived from the Precision and Recall values. The F1Score is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.

EntityTypesListItem

data EntityTypesListItem Source #

An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.

See: newEntityTypesListItem smart constructor.

Constructors

EntityTypesListItem' 

Fields

  • type' :: Text

    An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.

    Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).

Instances

Instances details
Eq EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

Read EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

Show EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

Generic EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

Associated Types

type Rep EntityTypesListItem :: Type -> Type #

NFData EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

Methods

rnf :: EntityTypesListItem -> () #

Hashable EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

ToJSON EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

FromJSON EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

type Rep EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

type Rep EntityTypesListItem = D1 ('MetaData "EntityTypesListItem" "Amazonka.Comprehend.Types.EntityTypesListItem" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EntityTypesListItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEntityTypesListItem Source #

Create a value of EntityTypesListItem 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:type':EntityTypesListItem', entityTypesListItem_type - An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.

Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).

entityTypesListItem_type :: Lens' EntityTypesListItem Text Source #

An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.

Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).

EventsDetectionJobFilter

data EventsDetectionJobFilter Source #

Provides information for filtering a list of event detection jobs.

See: newEventsDetectionJobFilter smart constructor.

Constructors

EventsDetectionJobFilter' 

Fields

  • submitTimeAfter :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

  • submitTimeBefore :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

  • jobName :: Maybe Text

    Filters on the name of the events detection job.

  • jobStatus :: Maybe JobStatus

    Filters the list of jobs based on job status. Returns only jobs with the specified status.

Instances

Instances details
Eq EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

Read EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

Show EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

Generic EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

Associated Types

type Rep EventsDetectionJobFilter :: Type -> Type #

NFData EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

Hashable EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

ToJSON EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

type Rep EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

type Rep EventsDetectionJobFilter = D1 ('MetaData "EventsDetectionJobFilter" "Amazonka.Comprehend.Types.EventsDetectionJobFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EventsDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))))

newEventsDetectionJobFilter :: EventsDetectionJobFilter Source #

Create a value of EventsDetectionJobFilter 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:submitTimeAfter:EventsDetectionJobFilter', eventsDetectionJobFilter_submitTimeAfter - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

$sel:submitTimeBefore:EventsDetectionJobFilter', eventsDetectionJobFilter_submitTimeBefore - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

$sel:jobName:EventsDetectionJobFilter', eventsDetectionJobFilter_jobName - Filters on the name of the events detection job.

$sel:jobStatus:EventsDetectionJobFilter', eventsDetectionJobFilter_jobStatus - Filters the list of jobs based on job status. Returns only jobs with the specified status.

eventsDetectionJobFilter_submitTimeAfter :: Lens' EventsDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

eventsDetectionJobFilter_submitTimeBefore :: Lens' EventsDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

eventsDetectionJobFilter_jobName :: Lens' EventsDetectionJobFilter (Maybe Text) Source #

Filters on the name of the events detection job.

eventsDetectionJobFilter_jobStatus :: Lens' EventsDetectionJobFilter (Maybe JobStatus) Source #

Filters the list of jobs based on job status. Returns only jobs with the specified status.

EventsDetectionJobProperties

data EventsDetectionJobProperties Source #

Provides information about an events detection job.

See: newEventsDetectionJobProperties smart constructor.

Constructors

EventsDetectionJobProperties' 

Fields

  • languageCode :: Maybe LanguageCode

    The language code of the input documents.

  • jobId :: Maybe Text

    The identifier assigned to the events detection job.

  • jobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the events detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

    arn:<partition>:comprehend:<region>:<account-id>:events-detection-job/<job-id>

    The following is an example job ARN:

    arn:aws:comprehend:us-west-2:111122223333:events-detection-job/1234abcd12ab34cd56ef1234567890ab
  • jobName :: Maybe Text

    The name you assigned the events detection job.

  • targetEventTypes :: Maybe (NonEmpty Text)

    The types of events that are detected by the job.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created the events detection job.

  • endTime :: Maybe POSIX

    The time that the events detection job completed.

  • outputDataConfig :: Maybe OutputDataConfig

    The output data configuration that you supplied when you created the events detection job.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the AWS Identify and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.

  • jobStatus :: Maybe JobStatus

    The current status of the events detection job.

  • message :: Maybe Text

    A description of the status of the events detection job.

  • submitTime :: Maybe POSIX

    The time that the events detection job was submitted for processing.

Instances

Instances details
Eq EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

Read EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

Show EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

Generic EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

Associated Types

type Rep EventsDetectionJobProperties :: Type -> Type #

NFData EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

Hashable EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

FromJSON EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

type Rep EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

type Rep EventsDetectionJobProperties = D1 ('MetaData "EventsDetectionJobProperties" "Amazonka.Comprehend.Types.EventsDetectionJobProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "EventsDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetEventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig))))) :*: ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)) :*: S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newEventsDetectionJobProperties :: EventsDetectionJobProperties Source #

Create a value of EventsDetectionJobProperties 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:languageCode:EventsDetectionJobProperties', eventsDetectionJobProperties_languageCode - The language code of the input documents.

$sel:jobId:EventsDetectionJobProperties', eventsDetectionJobProperties_jobId - The identifier assigned to the events detection job.

$sel:jobArn:EventsDetectionJobProperties', eventsDetectionJobProperties_jobArn - The Amazon Resource Name (ARN) of the events detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:events-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:events-detection-job/1234abcd12ab34cd56ef1234567890ab

$sel:jobName:EventsDetectionJobProperties', eventsDetectionJobProperties_jobName - The name you assigned the events detection job.

$sel:targetEventTypes:EventsDetectionJobProperties', eventsDetectionJobProperties_targetEventTypes - The types of events that are detected by the job.

$sel:inputDataConfig:EventsDetectionJobProperties', eventsDetectionJobProperties_inputDataConfig - The input data configuration that you supplied when you created the events detection job.

$sel:endTime:EventsDetectionJobProperties', eventsDetectionJobProperties_endTime - The time that the events detection job completed.

$sel:outputDataConfig:EventsDetectionJobProperties', eventsDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the events detection job.

$sel:dataAccessRoleArn:EventsDetectionJobProperties', eventsDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) of the AWS Identify and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.

$sel:jobStatus:EventsDetectionJobProperties', eventsDetectionJobProperties_jobStatus - The current status of the events detection job.

$sel:message:EventsDetectionJobProperties', eventsDetectionJobProperties_message - A description of the status of the events detection job.

$sel:submitTime:EventsDetectionJobProperties', eventsDetectionJobProperties_submitTime - The time that the events detection job was submitted for processing.

eventsDetectionJobProperties_jobId :: Lens' EventsDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the events detection job.

eventsDetectionJobProperties_jobArn :: Lens' EventsDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the events detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:events-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:events-detection-job/1234abcd12ab34cd56ef1234567890ab

eventsDetectionJobProperties_jobName :: Lens' EventsDetectionJobProperties (Maybe Text) Source #

The name you assigned the events detection job.

eventsDetectionJobProperties_inputDataConfig :: Lens' EventsDetectionJobProperties (Maybe InputDataConfig) Source #

The input data configuration that you supplied when you created the events detection job.

eventsDetectionJobProperties_endTime :: Lens' EventsDetectionJobProperties (Maybe UTCTime) Source #

The time that the events detection job completed.

eventsDetectionJobProperties_outputDataConfig :: Lens' EventsDetectionJobProperties (Maybe OutputDataConfig) Source #

The output data configuration that you supplied when you created the events detection job.

eventsDetectionJobProperties_dataAccessRoleArn :: Lens' EventsDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the AWS Identify and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.

eventsDetectionJobProperties_message :: Lens' EventsDetectionJobProperties (Maybe Text) Source #

A description of the status of the events detection job.

eventsDetectionJobProperties_submitTime :: Lens' EventsDetectionJobProperties (Maybe UTCTime) Source #

The time that the events detection job was submitted for processing.

InputDataConfig

data InputDataConfig Source #

The input properties for an inference job.

See: newInputDataConfig smart constructor.

Constructors

InputDataConfig' 

Fields

  • documentReaderConfig :: Maybe DocumentReaderConfig

    The document reader config field applies only for InputDataConfig of StartEntitiesDetectionJob.

    Use DocumentReaderConfig to provide specifications about how you want your inference documents read. Currently it applies for PDF documents in StartEntitiesDetectionJob custom inference.

  • inputFormat :: Maybe InputFormat

    Specifies how the text in an input file should be processed:

    • ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers.
    • ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.
  • s3Uri :: Text

    The Amazon S3 URI for the input data. The URI must be in same region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of data files.

    For example, if you use the URI S3://bucketName/prefix, if the prefix is a single file, Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of them as input.

Instances

Instances details
Eq InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

Read InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

Show InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

Generic InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

Associated Types

type Rep InputDataConfig :: Type -> Type #

NFData InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

Methods

rnf :: InputDataConfig -> () #

Hashable InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

ToJSON InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

FromJSON InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

type Rep InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

type Rep InputDataConfig = D1 ('MetaData "InputDataConfig" "Amazonka.Comprehend.Types.InputDataConfig" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "InputDataConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentReaderConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentReaderConfig)) :*: (S1 ('MetaSel ('Just "inputFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputFormat)) :*: S1 ('MetaSel ('Just "s3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newInputDataConfig Source #

Create a value of InputDataConfig 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:documentReaderConfig:InputDataConfig', inputDataConfig_documentReaderConfig - The document reader config field applies only for InputDataConfig of StartEntitiesDetectionJob.

Use DocumentReaderConfig to provide specifications about how you want your inference documents read. Currently it applies for PDF documents in StartEntitiesDetectionJob custom inference.

$sel:inputFormat:InputDataConfig', inputDataConfig_inputFormat - Specifies how the text in an input file should be processed:

  • ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers.
  • ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.

$sel:s3Uri:InputDataConfig', inputDataConfig_s3Uri - The Amazon S3 URI for the input data. The URI must be in same region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of data files.

For example, if you use the URI S3://bucketName/prefix, if the prefix is a single file, Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of them as input.

inputDataConfig_documentReaderConfig :: Lens' InputDataConfig (Maybe DocumentReaderConfig) Source #

The document reader config field applies only for InputDataConfig of StartEntitiesDetectionJob.

Use DocumentReaderConfig to provide specifications about how you want your inference documents read. Currently it applies for PDF documents in StartEntitiesDetectionJob custom inference.

inputDataConfig_inputFormat :: Lens' InputDataConfig (Maybe InputFormat) Source #

Specifies how the text in an input file should be processed:

  • ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers.
  • ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.

inputDataConfig_s3Uri :: Lens' InputDataConfig Text Source #

The Amazon S3 URI for the input data. The URI must be in same region as the API endpoint that you are calling. The URI can point to a single input file or it can provide the prefix for a collection of data files.

For example, if you use the URI S3://bucketName/prefix, if the prefix is a single file, Amazon Comprehend uses that file as input. If more than one file begins with the prefix, Amazon Comprehend uses all of them as input.

KeyPhrase

data KeyPhrase Source #

Describes a key noun phrase.

See: newKeyPhrase smart constructor.

Constructors

KeyPhrase' 

Fields

  • beginOffset :: Maybe Int

    A character offset in the input text that shows where the key phrase begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

  • text :: Maybe Text

    The text of a key noun phrase.

  • score :: Maybe Double

    The level of confidence that Amazon Comprehend has in the accuracy of the detection.

  • endOffset :: Maybe Int

    A character offset in the input text where the key phrase ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

Instances

Instances details
Eq KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

Read KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

Show KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

Generic KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

Associated Types

type Rep KeyPhrase :: Type -> Type #

NFData KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

Methods

rnf :: KeyPhrase -> () #

Hashable KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

FromJSON KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

type Rep KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

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

newKeyPhrase :: KeyPhrase Source #

Create a value of KeyPhrase 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:beginOffset:KeyPhrase', keyPhrase_beginOffset - A character offset in the input text that shows where the key phrase begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

$sel:text:KeyPhrase', keyPhrase_text - The text of a key noun phrase.

$sel:score:KeyPhrase', keyPhrase_score - The level of confidence that Amazon Comprehend has in the accuracy of the detection.

$sel:endOffset:KeyPhrase', keyPhrase_endOffset - A character offset in the input text where the key phrase ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

keyPhrase_beginOffset :: Lens' KeyPhrase (Maybe Int) Source #

A character offset in the input text that shows where the key phrase begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

keyPhrase_text :: Lens' KeyPhrase (Maybe Text) Source #

The text of a key noun phrase.

keyPhrase_score :: Lens' KeyPhrase (Maybe Double) Source #

The level of confidence that Amazon Comprehend has in the accuracy of the detection.

keyPhrase_endOffset :: Lens' KeyPhrase (Maybe Int) Source #

A character offset in the input text where the key phrase ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

KeyPhrasesDetectionJobFilter

data KeyPhrasesDetectionJobFilter Source #

Provides information for filtering a list of dominant language detection jobs. For more information, see the operation.

See: newKeyPhrasesDetectionJobFilter smart constructor.

Constructors

KeyPhrasesDetectionJobFilter' 

Fields

  • submitTimeAfter :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

  • submitTimeBefore :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

  • jobName :: Maybe Text

    Filters on the name of the job.

  • jobStatus :: Maybe JobStatus

    Filters the list of jobs based on job status. Returns only jobs with the specified status.

Instances

Instances details
Eq KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

Read KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

Show KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

Generic KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

Associated Types

type Rep KeyPhrasesDetectionJobFilter :: Type -> Type #

NFData KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

Hashable KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

ToJSON KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

type Rep KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

type Rep KeyPhrasesDetectionJobFilter = D1 ('MetaData "KeyPhrasesDetectionJobFilter" "Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "KeyPhrasesDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))))

newKeyPhrasesDetectionJobFilter :: KeyPhrasesDetectionJobFilter Source #

Create a value of KeyPhrasesDetectionJobFilter 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:submitTimeAfter:KeyPhrasesDetectionJobFilter', keyPhrasesDetectionJobFilter_submitTimeAfter - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

$sel:submitTimeBefore:KeyPhrasesDetectionJobFilter', keyPhrasesDetectionJobFilter_submitTimeBefore - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

$sel:jobName:KeyPhrasesDetectionJobFilter', keyPhrasesDetectionJobFilter_jobName - Filters on the name of the job.

$sel:jobStatus:KeyPhrasesDetectionJobFilter', keyPhrasesDetectionJobFilter_jobStatus - Filters the list of jobs based on job status. Returns only jobs with the specified status.

keyPhrasesDetectionJobFilter_submitTimeAfter :: Lens' KeyPhrasesDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

keyPhrasesDetectionJobFilter_submitTimeBefore :: Lens' KeyPhrasesDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

keyPhrasesDetectionJobFilter_jobStatus :: Lens' KeyPhrasesDetectionJobFilter (Maybe JobStatus) Source #

Filters the list of jobs based on job status. Returns only jobs with the specified status.

KeyPhrasesDetectionJobProperties

data KeyPhrasesDetectionJobProperties Source #

Provides information about a key phrases detection job.

See: newKeyPhrasesDetectionJobProperties smart constructor.

Constructors

KeyPhrasesDetectionJobProperties' 

Fields

  • languageCode :: Maybe LanguageCode

    The language code of the input documents.

  • jobId :: Maybe Text

    The identifier assigned to the key phrases detection job.

  • jobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the key phrases detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

    arn:<partition>:comprehend:<region>:<account-id>:key-phrases-detection-job/<job-id>

    The following is an example job ARN:

    arn:aws:comprehend:us-west-2:111122223333:key-phrases-detection-job/1234abcd12ab34cd56ef1234567890ab
  • jobName :: Maybe Text

    The name that you assigned the key phrases detection job.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created the key phrases detection job.

  • vpcConfig :: Maybe VpcConfig

    Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your key phrases detection job. For more information, see Amazon VPC.

  • volumeKmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • endTime :: Maybe POSIX

    The time that the key phrases detection job completed.

  • outputDataConfig :: Maybe OutputDataConfig

    The output data configuration that you supplied when you created the key phrases detection job.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

  • jobStatus :: Maybe JobStatus

    The current status of the key phrases detection job. If the status is FAILED, the Message field shows the reason for the failure.

  • message :: Maybe Text

    A description of the status of a job.

  • submitTime :: Maybe POSIX

    The time that the key phrases detection job was submitted for processing.

Instances

Instances details
Eq KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

Read KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

Show KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

Generic KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

Associated Types

type Rep KeyPhrasesDetectionJobProperties :: Type -> Type #

NFData KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

Hashable KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

FromJSON KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

type Rep KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

type Rep KeyPhrasesDetectionJobProperties = D1 ('MetaData "KeyPhrasesDetectionJobProperties" "Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "KeyPhrasesDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig))))) :*: ((S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)))) :*: ((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newKeyPhrasesDetectionJobProperties :: KeyPhrasesDetectionJobProperties Source #

Create a value of KeyPhrasesDetectionJobProperties 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:languageCode:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_languageCode - The language code of the input documents.

$sel:jobId:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_jobId - The identifier assigned to the key phrases detection job.

$sel:jobArn:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_jobArn - The Amazon Resource Name (ARN) of the key phrases detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:key-phrases-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:key-phrases-detection-job/1234abcd12ab34cd56ef1234567890ab

$sel:jobName:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_jobName - The name that you assigned the key phrases detection job.

$sel:inputDataConfig:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_inputDataConfig - The input data configuration that you supplied when you created the key phrases detection job.

$sel:vpcConfig:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_vpcConfig - Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your key phrases detection job. For more information, see Amazon VPC.

$sel:volumeKmsKeyId:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_volumeKmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

$sel:endTime:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_endTime - The time that the key phrases detection job completed.

$sel:outputDataConfig:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the key phrases detection job.

$sel:dataAccessRoleArn:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

$sel:jobStatus:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_jobStatus - The current status of the key phrases detection job. If the status is FAILED, the Message field shows the reason for the failure.

$sel:message:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_message - A description of the status of a job.

$sel:submitTime:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_submitTime - The time that the key phrases detection job was submitted for processing.

keyPhrasesDetectionJobProperties_jobId :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the key phrases detection job.

keyPhrasesDetectionJobProperties_jobArn :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the key phrases detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:key-phrases-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:key-phrases-detection-job/1234abcd12ab34cd56ef1234567890ab

keyPhrasesDetectionJobProperties_jobName :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text) Source #

The name that you assigned the key phrases detection job.

keyPhrasesDetectionJobProperties_inputDataConfig :: Lens' KeyPhrasesDetectionJobProperties (Maybe InputDataConfig) Source #

The input data configuration that you supplied when you created the key phrases detection job.

keyPhrasesDetectionJobProperties_vpcConfig :: Lens' KeyPhrasesDetectionJobProperties (Maybe VpcConfig) Source #

Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your key phrases detection job. For more information, see Amazon VPC.

keyPhrasesDetectionJobProperties_volumeKmsKeyId :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

keyPhrasesDetectionJobProperties_endTime :: Lens' KeyPhrasesDetectionJobProperties (Maybe UTCTime) Source #

The time that the key phrases detection job completed.

keyPhrasesDetectionJobProperties_outputDataConfig :: Lens' KeyPhrasesDetectionJobProperties (Maybe OutputDataConfig) Source #

The output data configuration that you supplied when you created the key phrases detection job.

keyPhrasesDetectionJobProperties_dataAccessRoleArn :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

keyPhrasesDetectionJobProperties_jobStatus :: Lens' KeyPhrasesDetectionJobProperties (Maybe JobStatus) Source #

The current status of the key phrases detection job. If the status is FAILED, the Message field shows the reason for the failure.

keyPhrasesDetectionJobProperties_submitTime :: Lens' KeyPhrasesDetectionJobProperties (Maybe UTCTime) Source #

The time that the key phrases detection job was submitted for processing.

OutputDataConfig

data OutputDataConfig Source #

Provides configuration parameters for the output of topic detection jobs.

See: newOutputDataConfig smart constructor.

Constructors

OutputDataConfig' 

Fields

  • kmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
    • KMS Key Alias: "alias/ExampleAlias"
    • ARN of a KMS Key Alias: "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
  • s3Uri :: Text

    When you use the OutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data. The URI must be in the same region as the API endpoint that you are calling. The location is used as the prefix for the actual location of the output file.

    When the topic detection job is finished, the service creates an output file in a directory specific to the job. The S3Uri field contains the location of the output file, called output.tar.gz. It is a compressed archive that contains the ouput of the operation.

Instances

Instances details
Eq OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

Read OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

Show OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

Generic OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

Associated Types

type Rep OutputDataConfig :: Type -> Type #

NFData OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

Methods

rnf :: OutputDataConfig -> () #

Hashable OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

ToJSON OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

FromJSON OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

type Rep OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

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

newOutputDataConfig Source #

Create a value of OutputDataConfig 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:kmsKeyId:OutputDataConfig', outputDataConfig_kmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • KMS Key Alias: "alias/ExampleAlias"
  • ARN of a KMS Key Alias: "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"

$sel:s3Uri:OutputDataConfig', outputDataConfig_s3Uri - When you use the OutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data. The URI must be in the same region as the API endpoint that you are calling. The location is used as the prefix for the actual location of the output file.

When the topic detection job is finished, the service creates an output file in a directory specific to the job. The S3Uri field contains the location of the output file, called output.tar.gz. It is a compressed archive that contains the ouput of the operation.

outputDataConfig_kmsKeyId :: Lens' OutputDataConfig (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • KMS Key Alias: "alias/ExampleAlias"
  • ARN of a KMS Key Alias: "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"

outputDataConfig_s3Uri :: Lens' OutputDataConfig Text Source #

When you use the OutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data. The URI must be in the same region as the API endpoint that you are calling. The location is used as the prefix for the actual location of the output file.

When the topic detection job is finished, the service creates an output file in a directory specific to the job. The S3Uri field contains the location of the output file, called output.tar.gz. It is a compressed archive that contains the ouput of the operation.

PartOfSpeechTag

data PartOfSpeechTag Source #

Identifies the part of speech represented by the token and gives the confidence that Amazon Comprehend has that the part of speech was correctly identified. For more information about the parts of speech that Amazon Comprehend can identify, see how-syntax.

See: newPartOfSpeechTag smart constructor.

Constructors

PartOfSpeechTag' 

Fields

Instances

Instances details
Eq PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Read PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Show PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Generic PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Associated Types

type Rep PartOfSpeechTag :: Type -> Type #

NFData PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Methods

rnf :: PartOfSpeechTag -> () #

Hashable PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

FromJSON PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

type Rep PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

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

newPartOfSpeechTag :: PartOfSpeechTag Source #

Create a value of PartOfSpeechTag 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:tag:PartOfSpeechTag', partOfSpeechTag_tag - Identifies the part of speech that the token represents.

$sel:score:PartOfSpeechTag', partOfSpeechTag_score - The confidence that Amazon Comprehend has that the part of speech was correctly identified.

partOfSpeechTag_tag :: Lens' PartOfSpeechTag (Maybe PartOfSpeechTagType) Source #

Identifies the part of speech that the token represents.

partOfSpeechTag_score :: Lens' PartOfSpeechTag (Maybe Double) Source #

The confidence that Amazon Comprehend has that the part of speech was correctly identified.

PiiEntitiesDetectionJobFilter

data PiiEntitiesDetectionJobFilter Source #

Provides information for filtering a list of PII entity detection jobs.

See: newPiiEntitiesDetectionJobFilter smart constructor.

Constructors

PiiEntitiesDetectionJobFilter' 

Fields

  • submitTimeAfter :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

  • submitTimeBefore :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

  • jobName :: Maybe Text

    Filters on the name of the job.

  • jobStatus :: Maybe JobStatus

    Filters the list of jobs based on job status. Returns only jobs with the specified status.

Instances

Instances details
Eq PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

Read PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

Show PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

Generic PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

Associated Types

type Rep PiiEntitiesDetectionJobFilter :: Type -> Type #

NFData PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

Hashable PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

ToJSON PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

type Rep PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

type Rep PiiEntitiesDetectionJobFilter = D1 ('MetaData "PiiEntitiesDetectionJobFilter" "Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "PiiEntitiesDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))))

newPiiEntitiesDetectionJobFilter :: PiiEntitiesDetectionJobFilter Source #

Create a value of PiiEntitiesDetectionJobFilter 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:submitTimeAfter:PiiEntitiesDetectionJobFilter', piiEntitiesDetectionJobFilter_submitTimeAfter - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

$sel:submitTimeBefore:PiiEntitiesDetectionJobFilter', piiEntitiesDetectionJobFilter_submitTimeBefore - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

$sel:jobName:PiiEntitiesDetectionJobFilter', piiEntitiesDetectionJobFilter_jobName - Filters on the name of the job.

$sel:jobStatus:PiiEntitiesDetectionJobFilter', piiEntitiesDetectionJobFilter_jobStatus - Filters the list of jobs based on job status. Returns only jobs with the specified status.

piiEntitiesDetectionJobFilter_submitTimeAfter :: Lens' PiiEntitiesDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

piiEntitiesDetectionJobFilter_submitTimeBefore :: Lens' PiiEntitiesDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

piiEntitiesDetectionJobFilter_jobStatus :: Lens' PiiEntitiesDetectionJobFilter (Maybe JobStatus) Source #

Filters the list of jobs based on job status. Returns only jobs with the specified status.

PiiEntitiesDetectionJobProperties

data PiiEntitiesDetectionJobProperties Source #

Provides information about a PII entities detection job.

See: newPiiEntitiesDetectionJobProperties smart constructor.

Constructors

PiiEntitiesDetectionJobProperties' 

Fields

  • languageCode :: Maybe LanguageCode

    The language code of the input documents

  • jobId :: Maybe Text

    The identifier assigned to the PII entities detection job.

  • jobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

    arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>

    The following is an example job ARN:

    arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
  • jobName :: Maybe Text

    The name that you assigned the PII entities detection job.

  • mode :: Maybe PiiEntitiesDetectionMode

    Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.

  • inputDataConfig :: Maybe InputDataConfig

    The input properties for a PII entities detection job.

  • redactionConfig :: Maybe RedactionConfig

    Provides configuration parameters for PII entity redaction.

    This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that case, you must provide a RedactionConfig definition that includes the PiiEntityTypes parameter.

  • endTime :: Maybe POSIX

    The time that the PII entities detection job completed.

  • outputDataConfig :: Maybe PiiOutputDataConfig

    The output data configuration that you supplied when you created the PII entities detection job.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

  • jobStatus :: Maybe JobStatus

    The current status of the PII entities detection job. If the status is FAILED, the Message field shows the reason for the failure.

  • message :: Maybe Text

    A description of the status of a job.

  • submitTime :: Maybe POSIX

    The time that the PII entities detection job was submitted for processing.

Instances

Instances details
Eq PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

Read PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

Show PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

Generic PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

Associated Types

type Rep PiiEntitiesDetectionJobProperties :: Type -> Type #

NFData PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

Hashable PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

FromJSON PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

type Rep PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

type Rep PiiEntitiesDetectionJobProperties = D1 ('MetaData "PiiEntitiesDetectionJobProperties" "Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "PiiEntitiesDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PiiEntitiesDetectionMode)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig))))) :*: ((S1 ('MetaSel ('Just "redactionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RedactionConfig)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PiiOutputDataConfig)))) :*: ((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newPiiEntitiesDetectionJobProperties :: PiiEntitiesDetectionJobProperties Source #

Create a value of PiiEntitiesDetectionJobProperties 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:languageCode:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_languageCode - The language code of the input documents

$sel:jobId:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_jobId - The identifier assigned to the PII entities detection job.

$sel:jobArn:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_jobArn - The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab

$sel:jobName:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_jobName - The name that you assigned the PII entities detection job.

$sel:mode:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_mode - Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.

$sel:inputDataConfig:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_inputDataConfig - The input properties for a PII entities detection job.

$sel:redactionConfig:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_redactionConfig - Provides configuration parameters for PII entity redaction.

This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that case, you must provide a RedactionConfig definition that includes the PiiEntityTypes parameter.

$sel:endTime:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_endTime - The time that the PII entities detection job completed.

$sel:outputDataConfig:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the PII entities detection job.

$sel:dataAccessRoleArn:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

$sel:jobStatus:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_jobStatus - The current status of the PII entities detection job. If the status is FAILED, the Message field shows the reason for the failure.

$sel:message:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_message - A description of the status of a job.

$sel:submitTime:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_submitTime - The time that the PII entities detection job was submitted for processing.

piiEntitiesDetectionJobProperties_jobId :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the PII entities detection job.

piiEntitiesDetectionJobProperties_jobArn :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab

piiEntitiesDetectionJobProperties_jobName :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #

The name that you assigned the PII entities detection job.

piiEntitiesDetectionJobProperties_mode :: Lens' PiiEntitiesDetectionJobProperties (Maybe PiiEntitiesDetectionMode) Source #

Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.

piiEntitiesDetectionJobProperties_redactionConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe RedactionConfig) Source #

Provides configuration parameters for PII entity redaction.

This parameter is required if you set the Mode parameter to ONLY_REDACTION. In that case, you must provide a RedactionConfig definition that includes the PiiEntityTypes parameter.

piiEntitiesDetectionJobProperties_endTime :: Lens' PiiEntitiesDetectionJobProperties (Maybe UTCTime) Source #

The time that the PII entities detection job completed.

piiEntitiesDetectionJobProperties_outputDataConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe PiiOutputDataConfig) Source #

The output data configuration that you supplied when you created the PII entities detection job.

piiEntitiesDetectionJobProperties_dataAccessRoleArn :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

piiEntitiesDetectionJobProperties_jobStatus :: Lens' PiiEntitiesDetectionJobProperties (Maybe JobStatus) Source #

The current status of the PII entities detection job. If the status is FAILED, the Message field shows the reason for the failure.

piiEntitiesDetectionJobProperties_submitTime :: Lens' PiiEntitiesDetectionJobProperties (Maybe UTCTime) Source #

The time that the PII entities detection job was submitted for processing.

PiiEntity

data PiiEntity Source #

Provides information about a PII entity.

See: newPiiEntity smart constructor.

Constructors

PiiEntity' 

Fields

  • beginOffset :: Maybe Int

    A character offset in the input text that shows where the PII entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

  • score :: Maybe Double

    The level of confidence that Amazon Comprehend has in the accuracy of the detection.

  • endOffset :: Maybe Int

    A character offset in the input text that shows where the PII entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

  • type' :: Maybe PiiEntityType

    The entity's type.

Instances

Instances details
Eq PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

Read PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

Show PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

Generic PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

Associated Types

type Rep PiiEntity :: Type -> Type #

NFData PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

Methods

rnf :: PiiEntity -> () #

Hashable PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

FromJSON PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

type Rep PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

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

newPiiEntity :: PiiEntity Source #

Create a value of PiiEntity 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:beginOffset:PiiEntity', piiEntity_beginOffset - A character offset in the input text that shows where the PII entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

$sel:score:PiiEntity', piiEntity_score - The level of confidence that Amazon Comprehend has in the accuracy of the detection.

$sel:endOffset:PiiEntity', piiEntity_endOffset - A character offset in the input text that shows where the PII entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

$sel:type':PiiEntity', piiEntity_type - The entity's type.

piiEntity_beginOffset :: Lens' PiiEntity (Maybe Int) Source #

A character offset in the input text that shows where the PII entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

piiEntity_score :: Lens' PiiEntity (Maybe Double) Source #

The level of confidence that Amazon Comprehend has in the accuracy of the detection.

piiEntity_endOffset :: Lens' PiiEntity (Maybe Int) Source #

A character offset in the input text that shows where the PII entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.

PiiOutputDataConfig

data PiiOutputDataConfig Source #

Provides configuration parameters for the output of PII entity detection jobs.

See: newPiiOutputDataConfig smart constructor.

Constructors

PiiOutputDataConfig' 

Fields

  • kmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.

  • s3Uri :: Text

    When you use the PiiOutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data.

Instances

Instances details
Eq PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

Read PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

Show PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

Generic PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

Associated Types

type Rep PiiOutputDataConfig :: Type -> Type #

NFData PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

Methods

rnf :: PiiOutputDataConfig -> () #

Hashable PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

FromJSON PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

type Rep PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

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

newPiiOutputDataConfig Source #

Create a value of PiiOutputDataConfig 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:kmsKeyId:PiiOutputDataConfig', piiOutputDataConfig_kmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.

$sel:s3Uri:PiiOutputDataConfig', piiOutputDataConfig_s3Uri - When you use the PiiOutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data.

piiOutputDataConfig_kmsKeyId :: Lens' PiiOutputDataConfig (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.

piiOutputDataConfig_s3Uri :: Lens' PiiOutputDataConfig Text Source #

When you use the PiiOutputDataConfig object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data.

RedactionConfig

data RedactionConfig Source #

Provides configuration parameters for PII entity redaction.

See: newRedactionConfig smart constructor.

Constructors

RedactionConfig' 

Fields

Instances

Instances details
Eq RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Read RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Show RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Generic RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Associated Types

type Rep RedactionConfig :: Type -> Type #

NFData RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Methods

rnf :: RedactionConfig -> () #

Hashable RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

ToJSON RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

FromJSON RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

type Rep RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

type Rep RedactionConfig = D1 ('MetaData "RedactionConfig" "Amazonka.Comprehend.Types.RedactionConfig" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "RedactionConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maskCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maskMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PiiEntitiesDetectionMaskMode)) :*: S1 ('MetaSel ('Just "piiEntityTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PiiEntityType])))))

newRedactionConfig :: RedactionConfig Source #

Create a value of RedactionConfig 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:maskCharacter:RedactionConfig', redactionConfig_maskCharacter - A character that replaces each character in the redacted PII entity.

$sel:maskMode:RedactionConfig', redactionConfig_maskMode - Specifies whether the PII entity is redacted with the mask character or the entity type.

$sel:piiEntityTypes:RedactionConfig', redactionConfig_piiEntityTypes - An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.

redactionConfig_maskCharacter :: Lens' RedactionConfig (Maybe Text) Source #

A character that replaces each character in the redacted PII entity.

redactionConfig_maskMode :: Lens' RedactionConfig (Maybe PiiEntitiesDetectionMaskMode) Source #

Specifies whether the PII entity is redacted with the mask character or the entity type.

redactionConfig_piiEntityTypes :: Lens' RedactionConfig (Maybe [PiiEntityType]) Source #

An array of the types of PII entities that Amazon Comprehend detects in the input text for your request.

SentimentDetectionJobFilter

data SentimentDetectionJobFilter Source #

Provides information for filtering a list of dominant language detection jobs. For more information, see the operation.

See: newSentimentDetectionJobFilter smart constructor.

Constructors

SentimentDetectionJobFilter' 

Fields

  • submitTimeAfter :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

  • submitTimeBefore :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

  • jobName :: Maybe Text

    Filters on the name of the job.

  • jobStatus :: Maybe JobStatus

    Filters the list of jobs based on job status. Returns only jobs with the specified status.

Instances

Instances details
Eq SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

Read SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

Show SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

Generic SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

Associated Types

type Rep SentimentDetectionJobFilter :: Type -> Type #

NFData SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

Hashable SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

ToJSON SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

type Rep SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

type Rep SentimentDetectionJobFilter = D1 ('MetaData "SentimentDetectionJobFilter" "Amazonka.Comprehend.Types.SentimentDetectionJobFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "SentimentDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))))

newSentimentDetectionJobFilter :: SentimentDetectionJobFilter Source #

Create a value of SentimentDetectionJobFilter 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:submitTimeAfter:SentimentDetectionJobFilter', sentimentDetectionJobFilter_submitTimeAfter - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

$sel:submitTimeBefore:SentimentDetectionJobFilter', sentimentDetectionJobFilter_submitTimeBefore - Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

$sel:jobName:SentimentDetectionJobFilter', sentimentDetectionJobFilter_jobName - Filters on the name of the job.

$sel:jobStatus:SentimentDetectionJobFilter', sentimentDetectionJobFilter_jobStatus - Filters the list of jobs based on job status. Returns only jobs with the specified status.

sentimentDetectionJobFilter_submitTimeAfter :: Lens' SentimentDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted after the specified time. Jobs are returned in descending order, newest to oldest.

sentimentDetectionJobFilter_submitTimeBefore :: Lens' SentimentDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Returns only jobs submitted before the specified time. Jobs are returned in ascending order, oldest to newest.

sentimentDetectionJobFilter_jobStatus :: Lens' SentimentDetectionJobFilter (Maybe JobStatus) Source #

Filters the list of jobs based on job status. Returns only jobs with the specified status.

SentimentDetectionJobProperties

data SentimentDetectionJobProperties Source #

Provides information about a sentiment detection job.

See: newSentimentDetectionJobProperties smart constructor.

Constructors

SentimentDetectionJobProperties' 

Fields

  • languageCode :: Maybe LanguageCode

    The language code of the input documents.

  • jobId :: Maybe Text

    The identifier assigned to the sentiment detection job.

  • jobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the sentiment detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

    arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>

    The following is an example job ARN:

    arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
  • jobName :: Maybe Text

    The name that you assigned to the sentiment detection job

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created the sentiment detection job.

  • vpcConfig :: Maybe VpcConfig

    Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your sentiment detection job. For more information, see Amazon VPC.

  • volumeKmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • endTime :: Maybe POSIX

    The time that the sentiment detection job ended.

  • outputDataConfig :: Maybe OutputDataConfig

    The output data configuration that you supplied when you created the sentiment detection job.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

  • jobStatus :: Maybe JobStatus

    The current status of the sentiment detection job. If the status is FAILED, the Messages field shows the reason for the failure.

  • message :: Maybe Text

    A description of the status of a job.

  • submitTime :: Maybe POSIX

    The time that the sentiment detection job was submitted for processing.

Instances

Instances details
Eq SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

Read SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

Show SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

Generic SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

Associated Types

type Rep SentimentDetectionJobProperties :: Type -> Type #

NFData SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

Hashable SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

FromJSON SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

type Rep SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

type Rep SentimentDetectionJobProperties = D1 ('MetaData "SentimentDetectionJobProperties" "Amazonka.Comprehend.Types.SentimentDetectionJobProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "SentimentDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig))))) :*: ((S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)))) :*: ((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newSentimentDetectionJobProperties :: SentimentDetectionJobProperties Source #

Create a value of SentimentDetectionJobProperties 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:languageCode:SentimentDetectionJobProperties', sentimentDetectionJobProperties_languageCode - The language code of the input documents.

$sel:jobId:SentimentDetectionJobProperties', sentimentDetectionJobProperties_jobId - The identifier assigned to the sentiment detection job.

$sel:jobArn:SentimentDetectionJobProperties', sentimentDetectionJobProperties_jobArn - The Amazon Resource Name (ARN) of the sentiment detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab

$sel:jobName:SentimentDetectionJobProperties', sentimentDetectionJobProperties_jobName - The name that you assigned to the sentiment detection job

$sel:inputDataConfig:SentimentDetectionJobProperties', sentimentDetectionJobProperties_inputDataConfig - The input data configuration that you supplied when you created the sentiment detection job.

$sel:vpcConfig:SentimentDetectionJobProperties', sentimentDetectionJobProperties_vpcConfig - Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your sentiment detection job. For more information, see Amazon VPC.

$sel:volumeKmsKeyId:SentimentDetectionJobProperties', sentimentDetectionJobProperties_volumeKmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

$sel:endTime:SentimentDetectionJobProperties', sentimentDetectionJobProperties_endTime - The time that the sentiment detection job ended.

$sel:outputDataConfig:SentimentDetectionJobProperties', sentimentDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the sentiment detection job.

$sel:dataAccessRoleArn:SentimentDetectionJobProperties', sentimentDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

$sel:jobStatus:SentimentDetectionJobProperties', sentimentDetectionJobProperties_jobStatus - The current status of the sentiment detection job. If the status is FAILED, the Messages field shows the reason for the failure.

$sel:message:SentimentDetectionJobProperties', sentimentDetectionJobProperties_message - A description of the status of a job.

$sel:submitTime:SentimentDetectionJobProperties', sentimentDetectionJobProperties_submitTime - The time that the sentiment detection job was submitted for processing.

sentimentDetectionJobProperties_jobId :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the sentiment detection job.

sentimentDetectionJobProperties_jobArn :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the sentiment detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:sentiment-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab

sentimentDetectionJobProperties_jobName :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #

The name that you assigned to the sentiment detection job

sentimentDetectionJobProperties_inputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe InputDataConfig) Source #

The input data configuration that you supplied when you created the sentiment detection job.

sentimentDetectionJobProperties_vpcConfig :: Lens' SentimentDetectionJobProperties (Maybe VpcConfig) Source #

Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your sentiment detection job. For more information, see Amazon VPC.

sentimentDetectionJobProperties_volumeKmsKeyId :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

sentimentDetectionJobProperties_outputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe OutputDataConfig) Source #

The output data configuration that you supplied when you created the sentiment detection job.

sentimentDetectionJobProperties_dataAccessRoleArn :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

sentimentDetectionJobProperties_jobStatus :: Lens' SentimentDetectionJobProperties (Maybe JobStatus) Source #

The current status of the sentiment detection job. If the status is FAILED, the Messages field shows the reason for the failure.

sentimentDetectionJobProperties_submitTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime) Source #

The time that the sentiment detection job was submitted for processing.

SentimentScore

data SentimentScore Source #

Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.

See: newSentimentScore smart constructor.

Constructors

SentimentScore' 

Fields

  • mixed :: Maybe Double

    The level of confidence that Amazon Comprehend has in the accuracy of its detection of the MIXED sentiment.

  • negative :: Maybe Double

    The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE sentiment.

  • neutral :: Maybe Double

    The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL sentiment.

  • positive :: Maybe Double

    The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE sentiment.

Instances

Instances details
Eq SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

Read SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

Show SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

Generic SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

Associated Types

type Rep SentimentScore :: Type -> Type #

NFData SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

Methods

rnf :: SentimentScore -> () #

Hashable SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

FromJSON SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

type Rep SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

type Rep SentimentScore = D1 ('MetaData "SentimentScore" "Amazonka.Comprehend.Types.SentimentScore" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "SentimentScore'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mixed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "negative") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "neutral") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "positive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newSentimentScore :: SentimentScore Source #

Create a value of SentimentScore 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:mixed:SentimentScore', sentimentScore_mixed - The level of confidence that Amazon Comprehend has in the accuracy of its detection of the MIXED sentiment.

$sel:negative:SentimentScore', sentimentScore_negative - The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE sentiment.

$sel:neutral:SentimentScore', sentimentScore_neutral - The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL sentiment.

$sel:positive:SentimentScore', sentimentScore_positive - The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE sentiment.

sentimentScore_mixed :: Lens' SentimentScore (Maybe Double) Source #

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the MIXED sentiment.

sentimentScore_negative :: Lens' SentimentScore (Maybe Double) Source #

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEGATIVE sentiment.

sentimentScore_neutral :: Lens' SentimentScore (Maybe Double) Source #

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the NEUTRAL sentiment.

sentimentScore_positive :: Lens' SentimentScore (Maybe Double) Source #

The level of confidence that Amazon Comprehend has in the accuracy of its detection of the POSITIVE sentiment.

SyntaxToken

data SyntaxToken Source #

Represents a work in the input text that was recognized and assigned a part of speech. There is one syntax token record for each word in the source text.

See: newSyntaxToken smart constructor.

Constructors

SyntaxToken' 

Fields

  • beginOffset :: Maybe Int

    The zero-based offset from the beginning of the source text to the first character in the word.

  • text :: Maybe Text

    The word that was recognized in the source text.

  • tokenId :: Maybe Int

    A unique identifier for a token.

  • endOffset :: Maybe Int

    The zero-based offset from the beginning of the source text to the last character in the word.

  • partOfSpeech :: Maybe PartOfSpeechTag

    Provides the part of speech label and the confidence level that Amazon Comprehend has that the part of speech was correctly identified. For more information, see how-syntax.

Instances

Instances details
Eq SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

Read SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

Show SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

Generic SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

Associated Types

type Rep SyntaxToken :: Type -> Type #

NFData SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

Methods

rnf :: SyntaxToken -> () #

Hashable SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

FromJSON SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

type Rep SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

type Rep SyntaxToken = D1 ('MetaData "SyntaxToken" "Amazonka.Comprehend.Types.SyntaxToken" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "SyntaxToken'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "beginOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tokenId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "endOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "partOfSpeech") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PartOfSpeechTag))))))

newSyntaxToken :: SyntaxToken Source #

Create a value of SyntaxToken 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:beginOffset:SyntaxToken', syntaxToken_beginOffset - The zero-based offset from the beginning of the source text to the first character in the word.

$sel:text:SyntaxToken', syntaxToken_text - The word that was recognized in the source text.

$sel:tokenId:SyntaxToken', syntaxToken_tokenId - A unique identifier for a token.

$sel:endOffset:SyntaxToken', syntaxToken_endOffset - The zero-based offset from the beginning of the source text to the last character in the word.

$sel:partOfSpeech:SyntaxToken', syntaxToken_partOfSpeech - Provides the part of speech label and the confidence level that Amazon Comprehend has that the part of speech was correctly identified. For more information, see how-syntax.

syntaxToken_beginOffset :: Lens' SyntaxToken (Maybe Int) Source #

The zero-based offset from the beginning of the source text to the first character in the word.

syntaxToken_text :: Lens' SyntaxToken (Maybe Text) Source #

The word that was recognized in the source text.

syntaxToken_tokenId :: Lens' SyntaxToken (Maybe Int) Source #

A unique identifier for a token.

syntaxToken_endOffset :: Lens' SyntaxToken (Maybe Int) Source #

The zero-based offset from the beginning of the source text to the last character in the word.

syntaxToken_partOfSpeech :: Lens' SyntaxToken (Maybe PartOfSpeechTag) Source #

Provides the part of speech label and the confidence level that Amazon Comprehend has that the part of speech was correctly identified. For more information, see how-syntax.

Tag

data Tag Source #

A key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with the key-value pair ‘Department’:’Sales’ might be added to a resource to indicate its use by a particular department.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • value :: Maybe Text

    The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

  • key :: Text

    The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

Methods

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

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

Read Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

Generic Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

NFData Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToJSON Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

FromJSON Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

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

newTag Source #

Arguments

:: Text

$sel:key:Tag'

-> Tag 

Create a value of Tag 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:value:Tag', tag_value - The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

$sel:key:Tag', tag_key - The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

tag_value :: Lens' Tag (Maybe Text) Source #

The second part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the initial (key) portion of the pair, with a value of “sales” to indicate the sales department.

tag_key :: Lens' Tag Text Source #

The initial part of a key-value pair that forms a tag associated with a given resource. For instance, if you want to show which resources are used by which departments, you might use “Department” as the key portion of the pair, with multiple possible values such as “sales,” “legal,” and “administration.”

TopicsDetectionJobFilter

data TopicsDetectionJobFilter Source #

Provides information for filtering topic detection jobs. For more information, see .

See: newTopicsDetectionJobFilter smart constructor.

Constructors

TopicsDetectionJobFilter' 

Fields

  • submitTimeAfter :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Only returns jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.

  • submitTimeBefore :: Maybe POSIX

    Filters the list of jobs based on the time that the job was submitted for processing. Only returns jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.

  • jobName :: Maybe Text
     
  • jobStatus :: Maybe JobStatus

    Filters the list of topic detection jobs based on job status. Returns only jobs with the specified status.

Instances

Instances details
Eq TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

Read TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

Show TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

Generic TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

Associated Types

type Rep TopicsDetectionJobFilter :: Type -> Type #

NFData TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

Hashable TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

ToJSON TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

type Rep TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

type Rep TopicsDetectionJobFilter = D1 ('MetaData "TopicsDetectionJobFilter" "Amazonka.Comprehend.Types.TopicsDetectionJobFilter" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "TopicsDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)))))

newTopicsDetectionJobFilter :: TopicsDetectionJobFilter Source #

Create a value of TopicsDetectionJobFilter 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:submitTimeAfter:TopicsDetectionJobFilter', topicsDetectionJobFilter_submitTimeAfter - Filters the list of jobs based on the time that the job was submitted for processing. Only returns jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.

$sel:submitTimeBefore:TopicsDetectionJobFilter', topicsDetectionJobFilter_submitTimeBefore - Filters the list of jobs based on the time that the job was submitted for processing. Only returns jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.

$sel:jobName:TopicsDetectionJobFilter', topicsDetectionJobFilter_jobName -

$sel:jobStatus:TopicsDetectionJobFilter', topicsDetectionJobFilter_jobStatus - Filters the list of topic detection jobs based on job status. Returns only jobs with the specified status.

topicsDetectionJobFilter_submitTimeAfter :: Lens' TopicsDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Only returns jobs submitted after the specified time. Jobs are returned in ascending order, oldest to newest.

topicsDetectionJobFilter_submitTimeBefore :: Lens' TopicsDetectionJobFilter (Maybe UTCTime) Source #

Filters the list of jobs based on the time that the job was submitted for processing. Only returns jobs submitted before the specified time. Jobs are returned in descending order, newest to oldest.

topicsDetectionJobFilter_jobStatus :: Lens' TopicsDetectionJobFilter (Maybe JobStatus) Source #

Filters the list of topic detection jobs based on job status. Returns only jobs with the specified status.

TopicsDetectionJobProperties

data TopicsDetectionJobProperties Source #

Provides information about a topic detection job.

See: newTopicsDetectionJobProperties smart constructor.

Constructors

TopicsDetectionJobProperties' 

Fields

  • jobId :: Maybe Text

    The identifier assigned to the topic detection job.

  • jobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the topics detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

    arn:<partition>:comprehend:<region>:<account-id>:topics-detection-job/<job-id>

    The following is an example job ARN:

    arn:aws:comprehend:us-west-2:111122223333:topics-detection-job/1234abcd12ab34cd56ef1234567890ab
  • jobName :: Maybe Text

    The name of the topic detection job.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration supplied when you created the topic detection job.

  • vpcConfig :: Maybe VpcConfig

    Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC.

  • volumeKmsKeyId :: Maybe Text

    ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

    • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
    • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  • endTime :: Maybe POSIX

    The time that the topic detection job was completed.

  • outputDataConfig :: Maybe OutputDataConfig

    The output data configuration supplied when you created the topic detection job.

  • dataAccessRoleArn :: Maybe Text

    The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your job data.

  • numberOfTopics :: Maybe Int

    The number of topics to detect supplied when you created the topic detection job. The default is 10.

  • jobStatus :: Maybe JobStatus

    The current status of the topic detection job. If the status is Failed, the reason for the failure is shown in the Message field.

  • message :: Maybe Text

    A description for the status of a job.

  • submitTime :: Maybe POSIX

    The time that the topic detection job was submitted for processing.

Instances

Instances details
Eq TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

Read TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

Show TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

Generic TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

Associated Types

type Rep TopicsDetectionJobProperties :: Type -> Type #

NFData TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

Hashable TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

FromJSON TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

type Rep TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

type Rep TopicsDetectionJobProperties = D1 ('MetaData "TopicsDetectionJobProperties" "Amazonka.Comprehend.Types.TopicsDetectionJobProperties" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "TopicsDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)) :*: (S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)) :*: S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)) :*: S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "numberOfTopics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))))

newTopicsDetectionJobProperties :: TopicsDetectionJobProperties Source #

Create a value of TopicsDetectionJobProperties 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:jobId:TopicsDetectionJobProperties', topicsDetectionJobProperties_jobId - The identifier assigned to the topic detection job.

$sel:jobArn:TopicsDetectionJobProperties', topicsDetectionJobProperties_jobArn - The Amazon Resource Name (ARN) of the topics detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:topics-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:topics-detection-job/1234abcd12ab34cd56ef1234567890ab

$sel:jobName:TopicsDetectionJobProperties', topicsDetectionJobProperties_jobName - The name of the topic detection job.

$sel:inputDataConfig:TopicsDetectionJobProperties', topicsDetectionJobProperties_inputDataConfig - The input data configuration supplied when you created the topic detection job.

$sel:vpcConfig:TopicsDetectionJobProperties', topicsDetectionJobProperties_vpcConfig - Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC.

$sel:volumeKmsKeyId:TopicsDetectionJobProperties', topicsDetectionJobProperties_volumeKmsKeyId - ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

$sel:endTime:TopicsDetectionJobProperties', topicsDetectionJobProperties_endTime - The time that the topic detection job was completed.

$sel:outputDataConfig:TopicsDetectionJobProperties', topicsDetectionJobProperties_outputDataConfig - The output data configuration supplied when you created the topic detection job.

$sel:dataAccessRoleArn:TopicsDetectionJobProperties', topicsDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your job data.

$sel:numberOfTopics:TopicsDetectionJobProperties', topicsDetectionJobProperties_numberOfTopics - The number of topics to detect supplied when you created the topic detection job. The default is 10.

$sel:jobStatus:TopicsDetectionJobProperties', topicsDetectionJobProperties_jobStatus - The current status of the topic detection job. If the status is Failed, the reason for the failure is shown in the Message field.

$sel:message:TopicsDetectionJobProperties', topicsDetectionJobProperties_message - A description for the status of a job.

$sel:submitTime:TopicsDetectionJobProperties', topicsDetectionJobProperties_submitTime - The time that the topic detection job was submitted for processing.

topicsDetectionJobProperties_jobId :: Lens' TopicsDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the topic detection job.

topicsDetectionJobProperties_jobArn :: Lens' TopicsDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the topics detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:

arn:<partition>:comprehend:<region>:<account-id>:topics-detection-job/<job-id>

The following is an example job ARN:

arn:aws:comprehend:us-west-2:111122223333:topics-detection-job/1234abcd12ab34cd56ef1234567890ab

topicsDetectionJobProperties_inputDataConfig :: Lens' TopicsDetectionJobProperties (Maybe InputDataConfig) Source #

The input data configuration supplied when you created the topic detection job.

topicsDetectionJobProperties_vpcConfig :: Lens' TopicsDetectionJobProperties (Maybe VpcConfig) Source #

Configuration parameters for a private Virtual Private Cloud (VPC) containing the resources you are using for your topic detection job. For more information, see Amazon VPC.

topicsDetectionJobProperties_volumeKmsKeyId :: Lens' TopicsDetectionJobProperties (Maybe Text) Source #

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

  • KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab"
  • Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"

topicsDetectionJobProperties_endTime :: Lens' TopicsDetectionJobProperties (Maybe UTCTime) Source #

The time that the topic detection job was completed.

topicsDetectionJobProperties_outputDataConfig :: Lens' TopicsDetectionJobProperties (Maybe OutputDataConfig) Source #

The output data configuration supplied when you created the topic detection job.

topicsDetectionJobProperties_dataAccessRoleArn :: Lens' TopicsDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your job data.

topicsDetectionJobProperties_numberOfTopics :: Lens' TopicsDetectionJobProperties (Maybe Int) Source #

The number of topics to detect supplied when you created the topic detection job. The default is 10.

topicsDetectionJobProperties_jobStatus :: Lens' TopicsDetectionJobProperties (Maybe JobStatus) Source #

The current status of the topic detection job. If the status is Failed, the reason for the failure is shown in the Message field.

topicsDetectionJobProperties_submitTime :: Lens' TopicsDetectionJobProperties (Maybe UTCTime) Source #

The time that the topic detection job was submitted for processing.

VpcConfig

data VpcConfig Source #

Configuration parameters for an optional private Virtual Private Cloud (VPC) containing the resources you are using for the job. For more information, see Amazon VPC.

See: newVpcConfig smart constructor.

Constructors

VpcConfig' 

Fields

  • securityGroupIds :: NonEmpty Text

    The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your VPC.

  • subnets :: NonEmpty Text

    The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.

Instances

Instances details
Eq VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

Read VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

Show VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

Generic VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

Associated Types

type Rep VpcConfig :: Type -> Type #

NFData VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

Methods

rnf :: VpcConfig -> () #

Hashable VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

ToJSON VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

FromJSON VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

type Rep VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

type Rep VpcConfig = D1 ('MetaData "VpcConfig" "Amazonka.Comprehend.Types.VpcConfig" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "VpcConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newVpcConfig Source #

Create a value of VpcConfig 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:securityGroupIds:VpcConfig', vpcConfig_securityGroupIds - The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your VPC.

$sel:subnets:VpcConfig', vpcConfig_subnets - The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.

vpcConfig_securityGroupIds :: Lens' VpcConfig (NonEmpty Text) Source #

The ID number for a security group on an instance of your private VPC. Security groups on your VPC function serve as a virtual firewall to control inbound and outbound traffic and provides security for the resources that you’ll be accessing on the VPC. This ID number is preceded by "sg-", for instance: "sg-03b388029b0a285ea". For more information, see Security Groups for your VPC.

vpcConfig_subnets :: Lens' VpcConfig (NonEmpty Text) Source #

The ID for each subnet being used in your private VPC. This subnet is a subset of the a range of IPv4 addresses used by the VPC and is specific to a given availability zone in the VPC’s region. This ID number is preceded by "subnet-", for instance: "subnet-04ccf456919e69055". For more information, see VPCs and Subnets.