amazonka-comprehend-2.0: Amazon Comprehend SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Comprehend.Types

Contents

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

_BatchSizeLimitExceededException :: AsError a => Fold a ServiceError Source #

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

_ConcurrentModificationException :: AsError a => Fold a ServiceError Source #

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

_InternalServerException :: AsError a => Fold a ServiceError Source #

An internal server error occurred. Retry your request.

_InvalidFilterException :: AsError a => Fold a ServiceError Source #

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

_InvalidRequestException :: AsError a => Fold a ServiceError Source #

The request is invalid.

_JobNotFoundException :: AsError a => Fold a ServiceError Source #

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

_KmsKeyValidationException :: AsError a => Fold a ServiceError Source #

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

_ResourceInUseException :: AsError a => Fold a ServiceError Source #

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

_ResourceLimitExceededException :: AsError a => Fold a ServiceError Source #

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

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

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

_ResourceUnavailableException :: AsError a => Fold a ServiceError Source #

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

_TextSizeLimitExceededException :: AsError a => Fold a ServiceError Source #

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

_TooManyRequestsException :: AsError a => Fold a ServiceError Source #

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

_TooManyTagKeysException :: AsError a => Fold a ServiceError Source #

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

_TooManyTagsException :: AsError a => Fold 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.

_UnsupportedLanguageException :: AsError a => Fold 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, Supported languages in the Comprehend Developer Guide.

AugmentedManifestsDocumentTypeFormat

newtype AugmentedManifestsDocumentTypeFormat Source #

Instances

Instances details
FromJSON AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

FromJSONKey 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

ToByteString AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToHeader AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToLog AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToQuery 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

FromXML AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

ToXML AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

Generic 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

NFData AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

Eq AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

Ord AugmentedManifestsDocumentTypeFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsDocumentTypeFormat

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "AugmentedManifestsDocumentTypeFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAugmentedManifestsDocumentTypeFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BlockType

newtype BlockType Source #

Constructors

BlockType' 

Fields

Bundled Patterns

pattern BlockType_LINE :: BlockType 
pattern BlockType_WORD :: BlockType 

Instances

Instances details
FromJSON BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

FromJSONKey BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

ToJSON BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

ToJSONKey BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

ToByteString BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

Methods

toBS :: BlockType -> ByteString #

ToHeader BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

ToLog BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

ToQuery BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

FromText BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

ToText BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

Methods

toText :: BlockType -> Text #

FromXML BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

ToXML BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

Methods

toXML :: BlockType -> XML #

Generic BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

Associated Types

type Rep BlockType :: Type -> Type #

Read BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

Show BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

NFData BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

Methods

rnf :: BlockType -> () #

Eq BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

Ord BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

Hashable BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

type Rep BlockType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockType

type Rep BlockType = D1 ('MetaData "BlockType" "Amazonka.Comprehend.Types.BlockType" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "BlockType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBlockType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentClassifierDataFormat

newtype DocumentClassifierDataFormat Source #

Instances

Instances details
FromJSON DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

FromJSONKey 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

ToByteString DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToHeader DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToLog DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToQuery 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

FromXML DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

ToXML 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 #

Read DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

Show DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

NFData DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

Eq DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

Ord DocumentClassifierDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierDataFormat

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "DocumentClassifierDataFormat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentClassifierDataFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentClassifierMode

newtype DocumentClassifierMode Source #

Instances

Instances details
FromJSON DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

FromJSONKey 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

ToByteString DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToHeader DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToLog DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToQuery 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

FromXML DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

ToXML 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 #

Read DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

Show DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

NFData DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

Methods

rnf :: DocumentClassifierMode -> () #

Eq DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

Ord DocumentClassifierMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierMode

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "DocumentClassifierMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentClassifierMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentReadAction

newtype DocumentReadAction Source #

Instances

Instances details
FromJSON DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

FromJSONKey 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

ToByteString DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToHeader DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToLog DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToQuery 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

FromXML DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

ToXML 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 #

Read DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

Show DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

NFData DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

Methods

rnf :: DocumentReadAction -> () #

Eq DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

Ord DocumentReadAction Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadAction

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "DocumentReadAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentReadAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentReadFeatureTypes

newtype DocumentReadFeatureTypes Source #

Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the following values:

  • TABLES - Returns additional information about any tables that are detected in the input document.
  • FORMS - Returns additional information about any forms that are detected in the input document.

Instances

Instances details
FromJSON DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

FromJSONKey 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

ToByteString DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToHeader DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToLog DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToQuery 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

FromXML DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

ToXML 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 #

Read DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

Show DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

NFData DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

Eq DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

Ord DocumentReadFeatureTypes Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadFeatureTypes

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "DocumentReadFeatureTypes'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentReadFeatureTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentReadMode

newtype DocumentReadMode Source #

Instances

Instances details
FromJSON DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

FromJSONKey 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

ToByteString DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToHeader DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToLog DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToQuery 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

FromXML DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

ToXML 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 #

Read DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

Show DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

NFData DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

Methods

rnf :: DocumentReadMode -> () #

Eq DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

Ord DocumentReadMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReadMode

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "DocumentReadMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentReadMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

DocumentType

newtype DocumentType Source #

Constructors

DocumentType' 

Instances

Instances details
FromJSON DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

FromJSONKey DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

ToJSON DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

ToJSONKey DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

ToByteString DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

ToHeader DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

ToLog DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

ToQuery DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

FromText DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

ToText DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

Methods

toText :: DocumentType -> Text #

FromXML DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

ToXML DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

Methods

toXML :: DocumentType -> XML #

Generic DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

Associated Types

type Rep DocumentType :: Type -> Type #

Read DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

Show DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

NFData DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

Methods

rnf :: DocumentType -> () #

Eq DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

Ord DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

Hashable DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

type Rep DocumentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentType

type Rep DocumentType = D1 ('MetaData "DocumentType" "Amazonka.Comprehend.Types.DocumentType" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "DocumentType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDocumentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EndpointStatus

newtype EndpointStatus Source #

Constructors

EndpointStatus' 

Instances

Instances details
FromJSON EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

FromJSONKey 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

ToByteString EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

ToHeader EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

ToLog EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

ToQuery 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

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 #

Generic EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Associated Types

type Rep EndpointStatus :: Type -> Type #

Read EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Show EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

NFData EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Methods

rnf :: EndpointStatus -> () #

Eq EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Ord EndpointStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointStatus

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "EndpointStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromEndpointStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

EntityRecognizerDataFormat

newtype EntityRecognizerDataFormat Source #

Instances

Instances details
FromJSON EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

FromJSONKey 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

ToByteString EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToHeader EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToLog EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToQuery 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

FromXML EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

ToXML 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 #

Read EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

Show EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

NFData EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

Eq EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

Ord EntityRecognizerDataFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDataFormat

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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
FromJSON EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

FromJSONKey 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

ToByteString EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

ToHeader EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

ToLog EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

ToQuery 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 #

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 #

Generic EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Associated Types

type Rep EntityType :: Type -> Type #

Read EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Show EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

NFData EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Methods

rnf :: EntityType -> () #

Eq EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Ord EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

Hashable EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

type Rep EntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityType

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

InputFormat

newtype InputFormat Source #

Constructors

InputFormat' 

Instances

Instances details
FromJSON InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

FromJSONKey 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

ToByteString InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

ToHeader InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

ToLog InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

ToQuery 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 #

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 #

Generic InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Associated Types

type Rep InputFormat :: Type -> Type #

Read InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Show InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

NFData InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Methods

rnf :: InputFormat -> () #

Eq InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Ord InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

Hashable InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

type Rep InputFormat Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputFormat

type Rep InputFormat = D1 ('MetaData "InputFormat" "Amazonka.Comprehend.Types.InputFormat" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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
FromJSON JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

FromJSONKey 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

ToByteString JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Methods

toBS :: JobStatus -> ByteString #

ToHeader JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

ToLog JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

ToQuery JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

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 #

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 #

Generic JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Associated Types

type Rep JobStatus :: Type -> Type #

Read JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Show JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

NFData JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Methods

rnf :: JobStatus -> () #

Eq JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Ord JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

Hashable JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

type Rep JobStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.JobStatus

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

LanguageCode

newtype LanguageCode Source #

Constructors

LanguageCode' 

Instances

Instances details
FromJSON LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

FromJSONKey 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

ToByteString LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

ToHeader LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

ToLog LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

ToQuery 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 #

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 #

Generic LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Associated Types

type Rep LanguageCode :: Type -> Type #

Read LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Show LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

NFData LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Methods

rnf :: LanguageCode -> () #

Eq LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Ord LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

Hashable LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

type Rep LanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.LanguageCode

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

ModelStatus

newtype ModelStatus Source #

Constructors

ModelStatus' 

Instances

Instances details
FromJSON ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

FromJSONKey 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

ToByteString ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

ToHeader ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

ToLog ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

ToQuery 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 #

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 #

Generic ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Associated Types

type Rep ModelStatus :: Type -> Type #

Read ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Show ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

NFData ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Methods

rnf :: ModelStatus -> () #

Eq ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Ord ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

Hashable ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

type Rep ModelStatus Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ModelStatus

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

PageBasedErrorCode

newtype PageBasedErrorCode Source #

Instances

Instances details
FromJSON PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

FromJSONKey PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

ToJSON PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

ToJSONKey PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

ToByteString PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

ToHeader PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

ToLog PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

ToQuery PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

FromText PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

ToText PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

FromXML PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

ToXML PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

Generic PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

Associated Types

type Rep PageBasedErrorCode :: Type -> Type #

Read PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

Show PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

NFData PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

Methods

rnf :: PageBasedErrorCode -> () #

Eq PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

Ord PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

Hashable PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

type Rep PageBasedErrorCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PageBasedErrorCode

type Rep PageBasedErrorCode = D1 ('MetaData "PageBasedErrorCode" "Amazonka.Comprehend.Types.PageBasedErrorCode" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "PageBasedErrorCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPageBasedErrorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PartOfSpeechTagType

newtype PartOfSpeechTagType Source #

Instances

Instances details
FromJSON PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

FromJSONKey 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

ToByteString PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToHeader PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToLog PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToQuery 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

FromXML PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

ToXML 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 #

Read PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

Show PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

NFData PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

Methods

rnf :: PartOfSpeechTagType -> () #

Eq PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

Ord PartOfSpeechTagType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTagType

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "PartOfSpeechTagType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPartOfSpeechTagType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PiiEntitiesDetectionMaskMode

newtype PiiEntitiesDetectionMaskMode Source #

Instances

Instances details
FromJSON PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

FromJSONKey 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

ToByteString PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToHeader PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToLog PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToQuery 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

FromXML PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

ToXML 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 #

Read PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

Show PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

NFData PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

Eq PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

Ord PiiEntitiesDetectionMaskMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMaskMode

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "PiiEntitiesDetectionMaskMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPiiEntitiesDetectionMaskMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PiiEntitiesDetectionMode

newtype PiiEntitiesDetectionMode Source #

Instances

Instances details
FromJSON PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

FromJSONKey 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

ToByteString PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToHeader PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToLog PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToQuery 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

FromXML PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

ToXML 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 #

Read PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

Show PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

NFData PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

Eq PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

Ord PiiEntitiesDetectionMode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionMode

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "PiiEntitiesDetectionMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPiiEntitiesDetectionMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PiiEntityType

newtype PiiEntityType Source #

Constructors

PiiEntityType' 

Bundled Patterns

pattern PiiEntityType_ADDRESS :: PiiEntityType 
pattern PiiEntityType_AGE :: PiiEntityType 
pattern PiiEntityType_ALL :: PiiEntityType 
pattern PiiEntityType_AWS_ACCESS_KEY :: PiiEntityType 
pattern PiiEntityType_AWS_SECRET_KEY :: PiiEntityType 
pattern PiiEntityType_BANK_ACCOUNT_NUMBER :: PiiEntityType 
pattern PiiEntityType_BANK_ROUTING :: PiiEntityType 
pattern PiiEntityType_CA_HEALTH_NUMBER :: PiiEntityType 
pattern PiiEntityType_CA_SOCIAL_INSURANCE_NUMBER :: PiiEntityType 
pattern PiiEntityType_CREDIT_DEBIT_CVV :: PiiEntityType 
pattern PiiEntityType_CREDIT_DEBIT_EXPIRY :: PiiEntityType 
pattern PiiEntityType_CREDIT_DEBIT_NUMBER :: PiiEntityType 
pattern PiiEntityType_DATE_TIME :: PiiEntityType 
pattern PiiEntityType_DRIVER_ID :: PiiEntityType 
pattern PiiEntityType_EMAIL :: PiiEntityType 
pattern PiiEntityType_INTERNATIONAL_BANK_ACCOUNT_NUMBER :: PiiEntityType 
pattern PiiEntityType_IN_AADHAAR :: PiiEntityType 
pattern PiiEntityType_IN_NREGA :: PiiEntityType 
pattern PiiEntityType_IN_PERMANENT_ACCOUNT_NUMBER :: PiiEntityType 
pattern PiiEntityType_IN_VOTER_NUMBER :: PiiEntityType 
pattern PiiEntityType_IP_ADDRESS :: PiiEntityType 
pattern PiiEntityType_LICENSE_PLATE :: PiiEntityType 
pattern PiiEntityType_MAC_ADDRESS :: PiiEntityType 
pattern PiiEntityType_NAME :: PiiEntityType 
pattern PiiEntityType_PASSPORT_NUMBER :: PiiEntityType 
pattern PiiEntityType_PASSWORD :: PiiEntityType 
pattern PiiEntityType_PHONE :: PiiEntityType 
pattern PiiEntityType_PIN :: PiiEntityType 
pattern PiiEntityType_SSN :: PiiEntityType 
pattern PiiEntityType_SWIFT_CODE :: PiiEntityType 
pattern PiiEntityType_UK_NATIONAL_HEALTH_SERVICE_NUMBER :: PiiEntityType 
pattern PiiEntityType_UK_NATIONAL_INSURANCE_NUMBER :: PiiEntityType 
pattern PiiEntityType_UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER :: PiiEntityType 
pattern PiiEntityType_URL :: PiiEntityType 
pattern PiiEntityType_USERNAME :: PiiEntityType 
pattern PiiEntityType_US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER :: PiiEntityType 
pattern PiiEntityType_VEHICLE_IDENTIFICATION_NUMBER :: PiiEntityType 

Instances

Instances details
FromJSON PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

FromJSONKey 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

ToByteString PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

ToHeader PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

ToLog PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

ToQuery 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 #

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 #

Generic PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Associated Types

type Rep PiiEntityType :: Type -> Type #

Read PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Show PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

NFData PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Methods

rnf :: PiiEntityType -> () #

Eq PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Ord PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

Hashable PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

type Rep PiiEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntityType

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

RelationshipType

newtype RelationshipType Source #

Bundled Patterns

pattern RelationshipType_CHILD :: RelationshipType 

Instances

Instances details
FromJSON RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

FromJSONKey RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

ToJSON RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

ToJSONKey RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

ToByteString RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

ToHeader RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

ToLog RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

ToQuery RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

FromText RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

ToText RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

FromXML RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

ToXML RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

Generic RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

Associated Types

type Rep RelationshipType :: Type -> Type #

Read RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

Show RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

NFData RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

Methods

rnf :: RelationshipType -> () #

Eq RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

Ord RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

Hashable RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

type Rep RelationshipType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipType

type Rep RelationshipType = D1 ('MetaData "RelationshipType" "Amazonka.Comprehend.Types.RelationshipType" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "RelationshipType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRelationshipType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SentimentType

newtype SentimentType Source #

Constructors

SentimentType' 

Instances

Instances details
FromJSON SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

FromJSONKey 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

ToByteString SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

ToHeader SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

ToLog SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

ToQuery 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 #

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 #

Generic SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Associated Types

type Rep SentimentType :: Type -> Type #

Read SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Show SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

NFData SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Methods

rnf :: SentimentType -> () #

Eq SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Ord SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

Hashable SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

type Rep SentimentType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentType

type Rep SentimentType = D1 ('MetaData "SentimentType" "Amazonka.Comprehend.Types.SentimentType" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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
FromJSON Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

FromJSONKey Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

ToJSON Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

ToJSONKey Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

ToByteString Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

toBS :: Split -> ByteString #

ToHeader Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

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

ToLog Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

ToQuery Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

toQuery :: Split -> QueryString #

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 #

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 #

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 #

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 #

NFData Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

rnf :: Split -> () #

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 #

Hashable Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

Methods

hashWithSalt :: Int -> Split -> Int #

hash :: Split -> Int #

type Rep Split Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Split

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

SyntaxLanguageCode

newtype SyntaxLanguageCode Source #

Instances

Instances details
FromJSON SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

FromJSONKey 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

ToByteString SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToHeader SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToLog SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToQuery 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

FromXML SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

ToXML 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 #

Read SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

Show SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

NFData SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

Methods

rnf :: SyntaxLanguageCode -> () #

Eq SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

Ord SyntaxLanguageCode Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxLanguageCode

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "SyntaxLanguageCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSyntaxLanguageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TargetedSentimentEntityType

newtype TargetedSentimentEntityType Source #

Instances

Instances details
FromJSON TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

FromJSONKey TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

ToJSON TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

ToJSONKey TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

ToByteString TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

ToHeader TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

ToLog TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

ToQuery TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

FromText TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

ToText TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

FromXML TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

ToXML TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

Generic TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

Associated Types

type Rep TargetedSentimentEntityType :: Type -> Type #

Read TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

Show TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

NFData TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

Eq TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

Ord TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

Hashable TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

type Rep TargetedSentimentEntityType Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntityType

type Rep TargetedSentimentEntityType = D1 ('MetaData "TargetedSentimentEntityType" "Amazonka.Comprehend.Types.TargetedSentimentEntityType" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'True) (C1 ('MetaCons "TargetedSentimentEntityType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTargetedSentimentEntityType") '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

  • annotationDataS3Uri :: Maybe Text

    The S3 prefix to the annotation files that are referred 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.
  • sourceDocumentsS3Uri :: Maybe Text

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

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

  • 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
FromJSON AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

ToJSON 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 #

Read AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

Show AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

NFData AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

Eq AugmentedManifestsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.AugmentedManifestsListItem

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "AugmentedManifestsListItem'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "annotationDataS3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "documentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AugmentedManifestsDocumentTypeFormat)) :*: S1 ('MetaSel ('Just "sourceDocumentsS3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "split") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Split)) :*: (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:annotationDataS3Uri:AugmentedManifestsListItem', augmentedManifestsListItem_annotationDataS3Uri - The S3 prefix to the annotation files that are referred 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:sourceDocumentsS3Uri:AugmentedManifestsListItem', augmentedManifestsListItem_sourceDocumentsS3Uri - The S3 prefix to the source files (PDFs) that are referred to in the augmented manifest file.

$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: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_annotationDataS3Uri :: Lens' AugmentedManifestsListItem (Maybe Text) Source #

The S3 prefix to the annotation files that are referred 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_sourceDocumentsS3Uri :: Lens' AugmentedManifestsListItem (Maybe Text) Source #

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

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_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
FromJSON BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

Generic 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

NFData BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

Eq BatchDetectDominantLanguageItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectDominantLanguageItemResult

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "BatchDetectDominantLanguageItemResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "languages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DominantLanguage]))))

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:index:BatchDetectDominantLanguageItemResult', batchDetectDominantLanguageItemResult_index - The zero-based index of the document in the input list.

$sel:languages:BatchDetectDominantLanguageItemResult', batchDetectDominantLanguageItemResult_languages - One or more DominantLanguage objects describing the dominant languages in the document.

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
FromJSON 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 #

Read BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

Show BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

NFData BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

Eq BatchDetectEntitiesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectEntitiesItemResult

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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
FromJSON 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 #

Read BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

Show BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

NFData BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

Eq BatchDetectKeyPhrasesItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectKeyPhrasesItemResult

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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
FromJSON 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 #

Read BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Show BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

NFData BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Eq BatchDetectSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSentimentItemResult

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "BatchDetectSentimentItemResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "sentiment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentType)) :*: S1 ('MetaSel ('Just "sentimentScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentScore)))))

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:index:BatchDetectSentimentItemResult', batchDetectSentimentItemResult_index - The zero-based index of the document in the input list.

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

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

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.

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
FromJSON 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 #

Read BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

Show BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

NFData BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

Eq BatchDetectSyntaxItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectSyntaxItemResult

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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.

BatchDetectTargetedSentimentItemResult

data BatchDetectTargetedSentimentItemResult Source #

Analysis results for one of the documents in the batch.

See: newBatchDetectTargetedSentimentItemResult smart constructor.

Constructors

BatchDetectTargetedSentimentItemResult' 

Fields

Instances

Instances details
FromJSON BatchDetectTargetedSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectTargetedSentimentItemResult

Generic BatchDetectTargetedSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectTargetedSentimentItemResult

Read BatchDetectTargetedSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectTargetedSentimentItemResult

Show BatchDetectTargetedSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectTargetedSentimentItemResult

NFData BatchDetectTargetedSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectTargetedSentimentItemResult

Eq BatchDetectTargetedSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectTargetedSentimentItemResult

Hashable BatchDetectTargetedSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectTargetedSentimentItemResult

type Rep BatchDetectTargetedSentimentItemResult Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchDetectTargetedSentimentItemResult

type Rep BatchDetectTargetedSentimentItemResult = D1 ('MetaData "BatchDetectTargetedSentimentItemResult" "Amazonka.Comprehend.Types.BatchDetectTargetedSentimentItemResult" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "BatchDetectTargetedSentimentItemResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetedSentimentEntity])) :*: S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newBatchDetectTargetedSentimentItemResult :: BatchDetectTargetedSentimentItemResult Source #

Create a value of BatchDetectTargetedSentimentItemResult 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:BatchDetectTargetedSentimentItemResult', batchDetectTargetedSentimentItemResult_entities - An array of targeted sentiment entities.

$sel:index:BatchDetectTargetedSentimentItemResult', batchDetectTargetedSentimentItemResult_index - The zero-based index of this result in the input list.

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
FromJSON 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 #

Read BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Show BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

NFData BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Methods

rnf :: BatchItemError -> () #

Eq BatchItemError Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BatchItemError

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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.

Block

data Block Source #

Information about each word or line of text in the input document.

For additional information, see Block in the Amazon Textract API reference.

See: newBlock smart constructor.

Constructors

Block' 

Fields

  • blockType :: Maybe BlockType

    The block represents a line of text or one word of text.

    • WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
    • LINE - A string of tab-delimited, contiguous words that are detected on a document page
  • geometry :: Maybe Geometry

    Co-ordinates of the rectangle or polygon that contains the text.

  • id :: Maybe Text

    Unique identifier for the block.

  • page :: Maybe Int

    Page number where the block appears.

  • relationships :: Maybe [RelationshipsListItem]

    A list of child blocks of the current block. For example, a LINE object has child blocks for each WORD block that's part of the line of text.

  • text :: Maybe Text

    The word or line of text extracted from the block.

Instances

Instances details
FromJSON Block Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Block

Generic Block Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Block

Associated Types

type Rep Block :: Type -> Type #

Methods

from :: Block -> Rep Block x #

to :: Rep Block x -> Block #

Read Block Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Block

Show Block Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Block

Methods

showsPrec :: Int -> Block -> ShowS #

show :: Block -> String #

showList :: [Block] -> ShowS #

NFData Block Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Block

Methods

rnf :: Block -> () #

Eq Block Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Block

Methods

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

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

Hashable Block Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Block

Methods

hashWithSalt :: Int -> Block -> Int #

hash :: Block -> Int #

type Rep Block Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Block

newBlock :: Block Source #

Create a value of Block 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:blockType:Block', block_blockType - The block represents a line of text or one word of text.

  • WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
  • LINE - A string of tab-delimited, contiguous words that are detected on a document page

$sel:geometry:Block', block_geometry - Co-ordinates of the rectangle or polygon that contains the text.

$sel:id:Block', block_id - Unique identifier for the block.

$sel:page:Block', block_page - Page number where the block appears.

$sel:relationships:Block', block_relationships - A list of child blocks of the current block. For example, a LINE object has child blocks for each WORD block that's part of the line of text.

$sel:text:Block', block_text - The word or line of text extracted from the block.

block_blockType :: Lens' Block (Maybe BlockType) Source #

The block represents a line of text or one word of text.

  • WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces.
  • LINE - A string of tab-delimited, contiguous words that are detected on a document page

block_geometry :: Lens' Block (Maybe Geometry) Source #

Co-ordinates of the rectangle or polygon that contains the text.

block_id :: Lens' Block (Maybe Text) Source #

Unique identifier for the block.

block_page :: Lens' Block (Maybe Int) Source #

Page number where the block appears.

block_relationships :: Lens' Block (Maybe [RelationshipsListItem]) Source #

A list of child blocks of the current block. For example, a LINE object has child blocks for each WORD block that's part of the line of text.

block_text :: Lens' Block (Maybe Text) Source #

The word or line of text extracted from the block.

BlockReference

data BlockReference Source #

A reference to a block.

See: newBlockReference smart constructor.

Constructors

BlockReference' 

Fields

Instances

Instances details
FromJSON BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

Generic BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

Associated Types

type Rep BlockReference :: Type -> Type #

Read BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

Show BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

NFData BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

Methods

rnf :: BlockReference -> () #

Eq BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

Hashable BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

type Rep BlockReference Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BlockReference

type Rep BlockReference = D1 ('MetaData "BlockReference" "Amazonka.Comprehend.Types.BlockReference" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "BlockReference'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "beginOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "blockId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "childBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ChildBlock])) :*: S1 ('MetaSel ('Just "endOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newBlockReference :: BlockReference Source #

Create a value of BlockReference 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:

BlockReference, blockReference_beginOffset - Offset of the start of the block within its parent block.

$sel:blockId:BlockReference', blockReference_blockId - Unique identifier for the block.

$sel:childBlocks:BlockReference', blockReference_childBlocks - List of child blocks within this block.

BlockReference, blockReference_endOffset - Offset of the end of the block within its parent block.

blockReference_beginOffset :: Lens' BlockReference (Maybe Int) Source #

Offset of the start of the block within its parent block.

blockReference_blockId :: Lens' BlockReference (Maybe Text) Source #

Unique identifier for the block.

blockReference_childBlocks :: Lens' BlockReference (Maybe [ChildBlock]) Source #

List of child blocks within this block.

blockReference_endOffset :: Lens' BlockReference (Maybe Int) Source #

Offset of the end of the block within its parent block.

BoundingBox

data BoundingBox Source #

The bounding box around the detected page or around an element on a document page. The left (x-coordinate) and top (y-coordinate) are coordinates that represent the top and left sides of the bounding box. Note that the upper-left corner of the image is the origin (0,0).

For additional information, see BoundingBox in the Amazon Textract API reference.

See: newBoundingBox smart constructor.

Constructors

BoundingBox' 

Fields

  • height :: Maybe Double

    The height of the bounding box as a ratio of the overall document page height.

  • left :: Maybe Double

    The left coordinate of the bounding box as a ratio of overall document page width.

  • top :: Maybe Double

    The top coordinate of the bounding box as a ratio of overall document page height.

  • width :: Maybe Double

    The width of the bounding box as a ratio of the overall document page width.

Instances

Instances details
FromJSON BoundingBox Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BoundingBox

Generic BoundingBox Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BoundingBox

Associated Types

type Rep BoundingBox :: Type -> Type #

Read BoundingBox Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BoundingBox

Show BoundingBox Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BoundingBox

NFData BoundingBox Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BoundingBox

Methods

rnf :: BoundingBox -> () #

Eq BoundingBox Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BoundingBox

Hashable BoundingBox Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BoundingBox

type Rep BoundingBox Source # 
Instance details

Defined in Amazonka.Comprehend.Types.BoundingBox

type Rep BoundingBox = D1 ('MetaData "BoundingBox" "Amazonka.Comprehend.Types.BoundingBox" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "BoundingBox'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "left") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "top") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newBoundingBox :: BoundingBox Source #

Create a value of BoundingBox 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:height:BoundingBox', boundingBox_height - The height of the bounding box as a ratio of the overall document page height.

$sel:left:BoundingBox', boundingBox_left - The left coordinate of the bounding box as a ratio of overall document page width.

$sel:top:BoundingBox', boundingBox_top - The top coordinate of the bounding box as a ratio of overall document page height.

$sel:width:BoundingBox', boundingBox_width - The width of the bounding box as a ratio of the overall document page width.

boundingBox_height :: Lens' BoundingBox (Maybe Double) Source #

The height of the bounding box as a ratio of the overall document page height.

boundingBox_left :: Lens' BoundingBox (Maybe Double) Source #

The left coordinate of the bounding box as a ratio of overall document page width.

boundingBox_top :: Lens' BoundingBox (Maybe Double) Source #

The top coordinate of the bounding box as a ratio of overall document page height.

boundingBox_width :: Lens' BoundingBox (Maybe Double) Source #

The width of the bounding box as a ratio of the overall document page width.

ChildBlock

data ChildBlock Source #

Nested block contained within a block.

See: newChildBlock smart constructor.

Constructors

ChildBlock' 

Fields

Instances

Instances details
FromJSON ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

Generic ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

Associated Types

type Rep ChildBlock :: Type -> Type #

Read ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

Show ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

NFData ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

Methods

rnf :: ChildBlock -> () #

Eq ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

Hashable ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

type Rep ChildBlock Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ChildBlock

type Rep ChildBlock = D1 ('MetaData "ChildBlock" "Amazonka.Comprehend.Types.ChildBlock" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "ChildBlock'" 'PrefixI 'True) (S1 ('MetaSel ('Just "beginOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "childBlockId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newChildBlock :: ChildBlock Source #

Create a value of ChildBlock 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:ChildBlock', childBlock_beginOffset - Offset of the start of the child block within its parent block.

$sel:childBlockId:ChildBlock', childBlock_childBlockId - Unique identifier for the child block.

$sel:endOffset:ChildBlock', childBlock_endOffset - Offset of the end of the child block within its parent block.

childBlock_beginOffset :: Lens' ChildBlock (Maybe Int) Source #

Offset of the start of the child block within its parent block.

childBlock_childBlockId :: Lens' ChildBlock (Maybe Text) Source #

Unique identifier for the child block.

childBlock_endOffset :: Lens' ChildBlock (Maybe Int) Source #

Offset of the end of the child block within its parent block.

ClassifierEvaluationMetrics

data ClassifierEvaluationMetrics Source #

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

See: newClassifierEvaluationMetrics smart constructor.

Constructors

ClassifierEvaluationMetrics' 

Fields

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

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

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

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

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

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

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

Instances

Instances details
FromJSON 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 #

Read ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

Show ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

NFData ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

Eq ClassifierEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierEvaluationMetrics

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "ClassifierEvaluationMetrics'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accuracy") '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 "microF1Score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: ((S1 ('MetaSel ('Just "microPrecision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "microRecall") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "precision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "recall") '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: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.

$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: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: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: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: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: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.

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.

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

ClassifierMetadata

data ClassifierMetadata Source #

Provides information about a document classifier.

See: newClassifierMetadata smart constructor.

Constructors

ClassifierMetadata' 

Fields

Instances

Instances details
FromJSON 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 #

Show ClassifierMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierMetadata

NFData ClassifierMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierMetadata

Methods

rnf :: ClassifierMetadata -> () #

Eq ClassifierMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ClassifierMetadata

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "ClassifierMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "evaluationMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClassifierEvaluationMetrics)) :*: S1 ('MetaSel ('Just "numberOfLabels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "numberOfTestDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "numberOfTrainedDocuments") '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:evaluationMetrics:ClassifierMetadata', classifierMetadata_evaluationMetrics - Describes the result metrics for the test data associated with an documentation classifier.

$sel:numberOfLabels:ClassifierMetadata', classifierMetadata_numberOfLabels - The number of labels in the input data.

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

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

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

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

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

The number of labels in the input data.

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.

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.

DocumentClass

data DocumentClass Source #

Specifies the class that categorizes the document being analyzed

See: newDocumentClass smart constructor.

Constructors

DocumentClass' 

Fields

  • name :: Maybe Text

    The name of the class.

  • page :: Maybe Int

    Page number in the input document. This field is present in the response only if your request includes the Byte parameter.

  • score :: Maybe Double

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

Instances

Instances details
FromJSON 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 #

Read DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

Show DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

NFData DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

Methods

rnf :: DocumentClass -> () #

Eq DocumentClass Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClass

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DocumentClass'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

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:name:DocumentClass', documentClass_name - The name of the class.

$sel:page:DocumentClass', documentClass_page - Page number in the input document. This field is present in the response only if your request includes the Byte parameter.

$sel:score:DocumentClass', documentClass_score - The confidence score that Amazon Comprehend has this class correctly attributed.

documentClass_page :: Lens' DocumentClass (Maybe Int) Source #

Page number in the input document. This field is present in the response only if your request includes the Byte parameter.

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

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

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

Instances

Instances details
ToJSON 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 #

Read DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

Show DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

NFData DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

Eq DocumentClassificationJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DocumentClassificationJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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

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

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

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.

DocumentClassificationJobProperties

data DocumentClassificationJobProperties Source #

Provides information about a document classification job.

See: newDocumentClassificationJobProperties smart constructor.

Constructors

DocumentClassificationJobProperties' 

Fields

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

  • documentClassifierArn :: Maybe Text

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

  • endTime :: Maybe POSIX

    The time that the document classification job completed.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created 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
  • jobId :: Maybe Text

    The identifier assigned to the document classification job.

  • jobName :: Maybe Text

    The name that you assigned to the document classification job.

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

  • outputDataConfig :: Maybe OutputDataConfig

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

  • submitTime :: Maybe POSIX

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

  • 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"
  • 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.

Instances

Instances details
FromJSON DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

Generic 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

NFData DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

Eq DocumentClassificationJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassificationJobProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DocumentClassificationJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "documentClassifierArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)) :*: (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "jobName") '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 "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)))))))

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: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:documentClassifierArn:DocumentClassificationJobProperties', documentClassificationJobProperties_documentClassifierArn - The Amazon Resource Name (ARN) that identifies the document classifier.

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

$sel:inputDataConfig:DocumentClassificationJobProperties', documentClassificationJobProperties_inputDataConfig - The input data configuration that you supplied when you created 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:jobId:DocumentClassificationJobProperties', documentClassificationJobProperties_jobId - The identifier assigned to the document classification job.

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

$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:outputDataConfig:DocumentClassificationJobProperties', documentClassificationJobProperties_outputDataConfig - The output data configuration that you supplied when you created the document classification job.

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

$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: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.

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_documentClassifierArn :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #

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

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

The input data configuration that you supplied when you created 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_jobId :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #

The identifier assigned to the document classification job.

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

The name that you assigned to the document classification job.

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_outputDataConfig :: Lens' DocumentClassificationJobProperties (Maybe OutputDataConfig) Source #

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

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

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

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

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

  • documentClassifierName :: Maybe Text

    The name that you assigned to the document classifier

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

Instances

Instances details
ToJSON 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 #

Read DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

Show DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

NFData DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

Eq DocumentClassifierFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DocumentClassifierFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "documentClassifierName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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)))))

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:documentClassifierName:DocumentClassifierFilter', documentClassifierFilter_documentClassifierName - The name that you assigned to the document classifier

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

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

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.

DocumentClassifierInputDataConfig

data DocumentClassifierInputDataConfig Source #

The input properties for training a document classifier.

For more information on how the input file is formatted, see Preparing training data in the Comprehend Developer Guide.

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.

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

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

Instances

Instances details
FromJSON DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

ToJSON 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 #

Read DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

Show DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

NFData DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

Eq DocumentClassifierInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierInputDataConfig

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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 "s3Uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "testS3Uri") '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.

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.

$sel:testS3Uri:DocumentClassifierInputDataConfig', documentClassifierInputDataConfig_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.

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

documentClassifierInputDataConfig_testS3Uri :: Lens' DocumentClassifierInputDataConfig (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.

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
FromJSON DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

ToJSON 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 #

Read DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

Show DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

NFData DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

Eq DocumentClassifierOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierOutputDataConfig

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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

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

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

  • documentClassifierArn :: Maybe Text

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

  • endTime :: Maybe POSIX

    The time that training the document classifier completed.

  • inputDataConfig :: Maybe DocumentClassifierInputDataConfig

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

  • languageCode :: Maybe LanguageCode

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

  • message :: Maybe Text

    Additional information about the status of the classifier.

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

  • 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"
  • outputDataConfig :: Maybe DocumentClassifierOutputDataConfig

    Provides output results configuration parameters for custom classifier jobs.

  • sourceModelArn :: Maybe Text

    The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the document classifier model in your AWS account.

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

  • submitTime :: Maybe POSIX

    The time that the document classifier was submitted for training.

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

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

  • versionName :: Maybe Text

    The version name that you assigned to the document classifier.

  • 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"
  • 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.

Instances

Instances details
FromJSON 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 #

Show DocumentClassifierProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierProperties

NFData DocumentClassifierProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierProperties

Eq DocumentClassifierProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DocumentClassifierProperties'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "classifierMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive ClassifierMetadata))) :*: S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "documentClassifierArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentClassifierInputDataConfig)) :*: S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentClassifierMode)) :*: S1 ('MetaSel ('Just "modelKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentClassifierOutputDataConfig)) :*: S1 ('MetaSel ('Just "sourceModelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelStatus)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "trainingEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "trainingStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "versionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig))))))))

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: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: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:documentClassifierArn:DocumentClassifierProperties', documentClassifierProperties_documentClassifierArn - The Amazon Resource Name (ARN) that identifies the document classifier.

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

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

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

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

$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: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:outputDataConfig:DocumentClassifierProperties', documentClassifierProperties_outputDataConfig - Provides output results configuration parameters for custom classifier jobs.

$sel:sourceModelArn:DocumentClassifierProperties', documentClassifierProperties_sourceModelArn - The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the document classifier model in your AWS account.

$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:submitTime:DocumentClassifierProperties', documentClassifierProperties_submitTime - The time that the document classifier was submitted for training.

$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: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:versionName:DocumentClassifierProperties', documentClassifierProperties_versionName - The version name that you assigned to the document classifier.

$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: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.

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_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_documentClassifierArn :: Lens' DocumentClassifierProperties (Maybe Text) Source #

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

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

The time that training the document classifier completed.

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

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

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

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

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

Additional information about the status of the classifier.

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_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_outputDataConfig :: Lens' DocumentClassifierProperties (Maybe DocumentClassifierOutputDataConfig) Source #

Provides output results configuration parameters for custom classifier jobs.

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

The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the document classifier model in your AWS account.

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_submitTime :: Lens' DocumentClassifierProperties (Maybe UTCTime) Source #

The time that the document classifier was submitted for training.

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_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_versionName :: Lens' DocumentClassifierProperties (Maybe Text) Source #

The version name that you assigned to the document classifier.

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

DocumentClassifierSummary

data DocumentClassifierSummary Source #

Describes information about a document classifier and its versions.

See: newDocumentClassifierSummary smart constructor.

Constructors

DocumentClassifierSummary' 

Fields

Instances

Instances details
FromJSON 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 #

Read DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

Show DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

NFData DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

Eq DocumentClassifierSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentClassifierSummary

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DocumentClassifierSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "documentClassifierName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "latestVersionCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "latestVersionName") '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))))))

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:documentClassifierName:DocumentClassifierSummary', documentClassifierSummary_documentClassifierName - The name that you assigned the document classifier.

$sel:latestVersionCreatedAt:DocumentClassifierSummary', documentClassifierSummary_latestVersionCreatedAt - The time that the latest document classifier version was submitted for processing.

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

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

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

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

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

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

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

Provides the status of 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

  • name :: Maybe Text

    The name of the label.

  • page :: Maybe Int

    Page number where the label occurs. This field is present in the response only if your request includes the Byte parameter.

  • score :: Maybe Double

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

Instances

Instances details
FromJSON 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 #

Read DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

Show DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

NFData DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

Methods

rnf :: DocumentLabel -> () #

Eq DocumentLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentLabel

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DocumentLabel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

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:name:DocumentLabel', documentLabel_name - The name of the label.

$sel:page:DocumentLabel', documentLabel_page - Page number where the label occurs. This field is present in the response only if your request includes the Byte parameter.

$sel:score:DocumentLabel', documentLabel_score - The confidence score that Amazon Comprehend has this label correctly attributed.

documentLabel_page :: Lens' DocumentLabel (Maybe Int) Source #

Page number where the label occurs. This field is present in the response only if your request includes the Byte parameter.

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

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

DocumentMetadata

data DocumentMetadata Source #

Information about the document, discovered during text extraction.

See: newDocumentMetadata smart constructor.

Constructors

DocumentMetadata' 

Fields

Instances

Instances details
FromJSON DocumentMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentMetadata

Generic DocumentMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentMetadata

Associated Types

type Rep DocumentMetadata :: Type -> Type #

Read DocumentMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentMetadata

Show DocumentMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentMetadata

NFData DocumentMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentMetadata

Methods

rnf :: DocumentMetadata -> () #

Eq DocumentMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentMetadata

Hashable DocumentMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentMetadata

type Rep DocumentMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentMetadata

type Rep DocumentMetadata = D1 ('MetaData "DocumentMetadata" "Amazonka.Comprehend.Types.DocumentMetadata" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DocumentMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "extractedCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ExtractedCharactersListItem])) :*: S1 ('MetaSel ('Just "pages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newDocumentMetadata :: DocumentMetadata Source #

Create a value of DocumentMetadata 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:extractedCharacters:DocumentMetadata', documentMetadata_extractedCharacters - List of pages in the document, with the number of characters extracted from each page.

$sel:pages:DocumentMetadata', documentMetadata_pages - Number of pages in the document.

documentMetadata_extractedCharacters :: Lens' DocumentMetadata (Maybe [ExtractedCharactersListItem]) Source #

List of pages in the document, with the number of characters extracted from each page.

documentMetadata_pages :: Lens' DocumentMetadata (Maybe Int) Source #

Number of pages in the document.

DocumentReaderConfig

data DocumentReaderConfig Source #

Provides configuration parameters to override the default actions for extracting text from PDF documents and image files.

By default, Amazon Comprehend performs the following actions to extract text from files, based on the input file type:

  • Word files - Amazon Comprehend parser extracts the text.
  • Digital PDF files - Amazon Comprehend parser extracts the text.
  • Image files and scanned PDF files - Amazon Comprehend uses the Amazon Textract DetectDocumentText API to extract the text.

DocumentReaderConfig does not apply to plain text files or Word files.

For image files and PDF documents, you can override these default actions using the fields listed below. For more information, see Setting text extraction options.

See: newDocumentReaderConfig smart constructor.

Constructors

DocumentReaderConfig' 

Fields

  • documentReadMode :: Maybe DocumentReadMode

    Determines the text extraction actions for PDF files. Enter one of the following values:

    • SERVICE_DEFAULT - use the Amazon Comprehend service defaults for PDF files.
    • FORCE_DOCUMENT_READ_ACTION - Amazon Comprehend uses the Textract API specified by DocumentReadAction for all PDF files, including digital PDF files.
  • featureTypes :: Maybe (NonEmpty DocumentReadFeatureTypes)

    Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the following values:

    • TABLES - Returns information about any tables that are detected in the input document.
    • FORMS - Returns information and the data from any forms that are detected in the input document.
  • documentReadAction :: DocumentReadAction

    This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from PDF files and image files. Enter one of the following values:

    • TEXTRACT_DETECT_DOCUMENT_TEXT - The Amazon Comprehend service uses the DetectDocumentText API operation.
    • TEXTRACT_ANALYZE_DOCUMENT - The Amazon Comprehend service uses the AnalyzeDocument API operation.

Instances

Instances details
FromJSON DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

ToJSON 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 #

Read DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

Show DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

NFData DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

Methods

rnf :: DocumentReaderConfig -> () #

Eq DocumentReaderConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentReaderConfig

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DocumentReaderConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentReadMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentReadMode)) :*: (S1 ('MetaSel ('Just "featureTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DocumentReadFeatureTypes))) :*: 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:documentReadMode:DocumentReaderConfig', documentReaderConfig_documentReadMode - Determines the text extraction actions for PDF files. Enter one of the following values:

  • SERVICE_DEFAULT - use the Amazon Comprehend service defaults for PDF files.
  • FORCE_DOCUMENT_READ_ACTION - Amazon Comprehend uses the Textract API specified by DocumentReadAction for all PDF files, including digital PDF files.

$sel:featureTypes:DocumentReaderConfig', documentReaderConfig_featureTypes - Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the following values:

  • TABLES - Returns information about any tables that are detected in the input document.
  • FORMS - Returns information and the data from any forms that are detected in the input document.

$sel:documentReadAction:DocumentReaderConfig', documentReaderConfig_documentReadAction - This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from PDF files and image files. Enter one of the following values:

  • TEXTRACT_DETECT_DOCUMENT_TEXT - The Amazon Comprehend service uses the DetectDocumentText API operation.
  • TEXTRACT_ANALYZE_DOCUMENT - The Amazon Comprehend service uses the AnalyzeDocument API operation.

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

Determines the text extraction actions for PDF files. Enter one of the following values:

  • SERVICE_DEFAULT - use the Amazon Comprehend service defaults for PDF files.
  • FORCE_DOCUMENT_READ_ACTION - Amazon Comprehend uses the Textract API specified by DocumentReadAction for all PDF files, including digital PDF files.

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

Specifies the type of Amazon Textract features to apply. If you chose TEXTRACT_ANALYZE_DOCUMENT as the read action, you must specify one or both of the following values:

  • TABLES - Returns information about any tables that are detected in the input document.
  • FORMS - Returns information and the data from any forms that are detected in the input document.

documentReaderConfig_documentReadAction :: Lens' DocumentReaderConfig DocumentReadAction Source #

This field defines the Amazon Textract API operation that Amazon Comprehend uses to extract text from PDF files and image files. Enter one of the following values:

  • TEXTRACT_DETECT_DOCUMENT_TEXT - The Amazon Comprehend service uses the DetectDocumentText API operation.
  • TEXTRACT_ANALYZE_DOCUMENT - The Amazon Comprehend service uses the AnalyzeDocument API operation.

DocumentTypeListItem

data DocumentTypeListItem Source #

Document type for each page in the document.

See: newDocumentTypeListItem smart constructor.

Constructors

DocumentTypeListItem' 

Fields

Instances

Instances details
FromJSON DocumentTypeListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentTypeListItem

Generic DocumentTypeListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentTypeListItem

Associated Types

type Rep DocumentTypeListItem :: Type -> Type #

Read DocumentTypeListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentTypeListItem

Show DocumentTypeListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentTypeListItem

NFData DocumentTypeListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentTypeListItem

Methods

rnf :: DocumentTypeListItem -> () #

Eq DocumentTypeListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentTypeListItem

Hashable DocumentTypeListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentTypeListItem

type Rep DocumentTypeListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DocumentTypeListItem

type Rep DocumentTypeListItem = D1 ('MetaData "DocumentTypeListItem" "Amazonka.Comprehend.Types.DocumentTypeListItem" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DocumentTypeListItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentType))))

newDocumentTypeListItem :: DocumentTypeListItem Source #

Create a value of DocumentTypeListItem 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:page:DocumentTypeListItem', documentTypeListItem_page - Page number.

$sel:type':DocumentTypeListItem', documentTypeListItem_type - Document type.

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
FromJSON 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 #

Read DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

Show DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

NFData DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

Methods

rnf :: DominantLanguage -> () #

Eq DominantLanguage Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguage

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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

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

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

Instances

Instances details
ToJSON 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 #

Read DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

Show DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

NFData DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

Eq DominantLanguageDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DominantLanguageDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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

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

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

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.

DominantLanguageDetectionJobProperties

data DominantLanguageDetectionJobProperties Source #

Provides information about a dominant language detection job.

See: newDominantLanguageDetectionJobProperties smart constructor.

Constructors

DominantLanguageDetectionJobProperties' 

Fields

  • dataAccessRoleArn :: Maybe Text

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

  • endTime :: Maybe POSIX

    The time that the dominant language detection job completed.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created 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
  • jobId :: Maybe Text

    The identifier assigned to the dominant language detection job.

  • jobName :: Maybe Text

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

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

  • outputDataConfig :: Maybe OutputDataConfig

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

  • submitTime :: Maybe POSIX

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

  • 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"
  • 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.

Instances

Instances details
FromJSON DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

Generic 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

NFData DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

Eq DominantLanguageDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.DominantLanguageDetectionJobProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "DominantLanguageDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)))) :*: (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobName") '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 "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)))) :*: (S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)))))))

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:dataAccessRoleArn:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

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

$sel:inputDataConfig:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_inputDataConfig - The input data configuration that you supplied when you created 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:jobId:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_jobId - The identifier assigned to the dominant language detection job.

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

$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:outputDataConfig:DominantLanguageDetectionJobProperties', dominantLanguageDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the dominant language detection job.

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

$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: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.

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

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

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

The input data configuration that you supplied when you created 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_jobId :: Lens' DominantLanguageDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the dominant language detection job.

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

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

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_outputDataConfig :: Lens' DominantLanguageDetectionJobProperties (Maybe OutputDataConfig) Source #

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

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

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

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

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
ToJSON 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 #

Read EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

Show EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

NFData EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

Methods

rnf :: EndpointFilter -> () #

Eq EndpointFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EndpointFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "creationTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "modelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointStatus)))))

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

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

$sel:status:EndpointFilter', endpointFilter_status - Specifies the status of the endpoint being returned. Possible values are: Creating, Ready, Updating, Deleting, Failed.

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.

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

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

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

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

EndpointProperties

data EndpointProperties Source #

Specifies information about the specified endpoint. For information about endpoints, see Managing endpoints.

See: newEndpointProperties smart constructor.

Constructors

EndpointProperties' 

Fields

  • creationTime :: Maybe POSIX

    The creation date and time of the endpoint.

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

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

  • 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

  • endpointArn :: Maybe Text

    The Amazon Resource Number (ARN) of the endpoint.

  • lastModifiedTime :: Maybe POSIX

    The date and time that the endpoint was last modified.

  • message :: Maybe Text

    Specifies a reason for failure in cases of Failed status.

  • modelArn :: Maybe Text

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

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

Instances

Instances details
FromJSON 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 #

Read EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

Show EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

NFData EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

Methods

rnf :: EndpointProperties -> () #

Eq EndpointProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EndpointProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EndpointProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: 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 "desiredInferenceUnits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))) :*: ((S1 ('MetaSel ('Just "desiredModelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endpointArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "modelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EndpointStatus)))))))

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: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: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: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:endpointArn:EndpointProperties', endpointProperties_endpointArn - The Amazon Resource Number (ARN) of the endpoint.

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

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

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

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

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

The creation date and time of the endpoint.

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_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_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_endpointArn :: Lens' EndpointProperties (Maybe Text) Source #

The Amazon Resource Number (ARN) of the endpoint.

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

The date and time that the endpoint was last modified.

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

Specifies a reason for failure in cases of Failed status.

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

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

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.

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

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

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

Instances

Instances details
ToJSON 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 #

Read EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

Show EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

NFData EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

Eq EntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EntitiesDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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

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

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

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.

EntitiesDetectionJobProperties

data EntitiesDetectionJobProperties Source #

Provides information about an entities detection job.

See: newEntitiesDetectionJobProperties smart constructor.

Constructors

EntitiesDetectionJobProperties' 

Fields

  • dataAccessRoleArn :: Maybe Text

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

  • endTime :: Maybe POSIX

    The time that the entities detection job completed

  • entityRecognizerArn :: Maybe Text

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

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created 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
  • jobId :: Maybe Text

    The identifier assigned to the entities detection job.

  • jobName :: Maybe Text

    The name that you assigned the entities detection job.

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

  • languageCode :: Maybe LanguageCode

    The language code of the input documents.

  • message :: Maybe Text

    A description of the status of a job.

  • outputDataConfig :: Maybe OutputDataConfig

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

  • submitTime :: Maybe POSIX

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

  • 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"
  • 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.

Instances

Instances details
FromJSON 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 #

Read EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

Show EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

NFData EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

Eq EntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntitiesDetectionJobProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EntitiesDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "entityRecognizerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)) :*: S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)))))))

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:dataAccessRoleArn:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

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

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

$sel:inputDataConfig:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_inputDataConfig - The input data configuration that you supplied when you created 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:jobId:EntitiesDetectionJobProperties', entitiesDetectionJobProperties_jobId - The identifier assigned to the entities detection job.

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

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

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

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

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

$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: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.

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

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

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

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

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

The input data configuration that you supplied when you created 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_jobId :: Lens' EntitiesDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the entities detection job.

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

The name that you assigned the entities detection job.

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_outputDataConfig :: Lens' EntitiesDetectionJobProperties (Maybe OutputDataConfig) Source #

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

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

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

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

Entity

data Entity Source #

Provides information about an entity.

See: newEntity smart constructor.

Constructors

Entity' 

Fields

  • beginOffset :: Maybe Int

    The zero-based offset from the beginning of the source text to the first character in the entity.

    This field is empty for non-text input.

  • blockReferences :: Maybe [BlockReference]

    A reference to each block for this entity. This field is empty for plain-text input.

  • endOffset :: Maybe Int

    The zero-based offset from the beginning of the source text to the last character in the entity.

    This field is empty for non-text input.

  • score :: Maybe Double

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

  • text :: Maybe Text

    The text of the entity.

  • type' :: Maybe EntityType

    The entity type. For entity detection using the built-in model, this field contains one of the standard entity types listed below.

    For custom entity detection, this field contains one of the entity types that you specified when you trained your custom model.

Instances

Instances details
FromJSON 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 #

Read Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

Show Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

NFData Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

Methods

rnf :: Entity -> () #

Eq Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

Methods

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

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

Hashable Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

Methods

hashWithSalt :: Int -> Entity -> Int #

hash :: Entity -> Int #

type Rep Entity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Entity

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:

Entity, entity_beginOffset - The zero-based offset from the beginning of the source text to the first character in the entity.

This field is empty for non-text input.

$sel:blockReferences:Entity', entity_blockReferences - A reference to each block for this entity. This field is empty for plain-text input.

Entity, entity_endOffset - The zero-based offset from the beginning of the source text to the last character in the entity.

This field is empty for non-text input.

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

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

$sel:type':Entity', entity_type - The entity type. For entity detection using the built-in model, this field contains one of the standard entity types listed below.

For custom entity detection, this field contains one of the entity types that you specified when you trained your custom model.

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

The zero-based offset from the beginning of the source text to the first character in the entity.

This field is empty for non-text input.

entity_blockReferences :: Lens' Entity (Maybe [BlockReference]) Source #

A reference to each block for this entity. This field is empty for plain-text input.

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

The zero-based offset from the beginning of the source text to the last character in the entity.

This field is empty for non-text input.

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

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

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

The text of the entity.

entity_type :: Lens' Entity (Maybe EntityType) Source #

The entity type. For entity detection using the built-in model, this field contains one of the standard entity types listed below.

For custom entity detection, this field contains one of the entity types that you specified when you trained your custom model.

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
FromJSON 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 #

Read EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

Show EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

NFData EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

Methods

rnf :: EntityLabel -> () #

Eq EntityLabel Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityLabel

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EntityLabel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PiiEntityType)) :*: S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

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:name:EntityLabel', entityLabel_name - The name of the label.

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

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

    Specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same 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
FromJSON EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

ToJSON 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 #

Read EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

Show EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

NFData EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

Eq EntityRecognizerAnnotations Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerAnnotations

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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 - Specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same 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 #

Specifies the Amazon S3 location where the test annotations for an entity recognizer are located. The URI must be in the same 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
FromJSON EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

ToJSON 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 #

Read EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

Show EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

NFData EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

Eq EntityRecognizerDocuments Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerDocuments

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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
FromJSON EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

ToJSON 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 #

Read EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

Show EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

NFData EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

Eq EntityRecognizerEntityList Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEntityList

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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

  • 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. For plain text entity recognizer models, the range is 0 to 100, where 100 is the best score. For PDF/Word entity recognizer models, the range is 0 to 1, where 1 is the best score.

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

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

Instances

Instances details
FromJSON 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 #

Read EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

Show EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

NFData EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

Eq EntityRecognizerEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerEvaluationMetrics

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EntityRecognizerEvaluationMetrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "f1Score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "precision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "recall") '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: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. For plain text entity recognizer models, the range is 0 to 100, where 100 is the best score. For PDF/Word entity recognizer models, the range is 0 to 1, where 1 is the best score.

$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: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.

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. For plain text entity recognizer models, the range is 0 to 100, where 100 is the best score. For PDF/Word entity recognizer models, the range is 0 to 1, where 1 is the best score.

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

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

  • recognizerName :: Maybe Text

    The name that you assigned the entity recognizer.

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

Instances

Instances details
ToJSON 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 #

Read EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

Show EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

NFData EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

Methods

rnf :: EntityRecognizerFilter -> () #

Eq EntityRecognizerFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EntityRecognizerFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "recognizerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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)))))

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:recognizerName:EntityRecognizerFilter', entityRecognizerFilter_recognizerName - The name that you assigned the entity recognizer.

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

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

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.

EntityRecognizerInputDataConfig

data EntityRecognizerInputDataConfig Source #

Specifies the format and location of the input data.

See: newEntityRecognizerInputDataConfig smart constructor.

Constructors

EntityRecognizerInputDataConfig' 

Fields

  • annotations :: Maybe EntityRecognizerAnnotations

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

  • 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 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
FromJSON EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

ToJSON 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 #

Read EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

Show EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

NFData EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

Eq EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

Hashable EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

type Rep EntityRecognizerInputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerInputDataConfig

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:annotations:EntityRecognizerInputDataConfig', entityRecognizerInputDataConfig_annotations - The S3 location of the CSV file that annotates your training documents.

$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: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_annotations :: Lens' EntityRecognizerInputDataConfig (Maybe EntityRecognizerAnnotations) Source #

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

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_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
FromJSON 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 #

Show EntityRecognizerMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadata

NFData EntityRecognizerMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadata

Eq EntityRecognizerMetadata Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadata

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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 "numberOfTestDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "numberOfTrainedDocuments") '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.

EntityRecognizerMetadata, entityRecognizerMetadata_evaluationMetrics - Detailed information about the accuracy of an entity recognizer.

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

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

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.

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.

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
FromJSON EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

Generic 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

NFData EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

Eq EntityRecognizerMetadataEntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerMetadataEntityTypesListItem

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EntityRecognizerMetadataEntityTypesListItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "evaluationMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityTypesEvaluationMetrics)) :*: (S1 ('MetaSel ('Just "numberOfTrainMentions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:numberOfTrainMentions:EntityRecognizerMetadataEntityTypesListItem', entityRecognizerMetadataEntityTypesListItem_numberOfTrainMentions - Indicates the number of times the given entity type was seen in the training data.

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

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_numberOfTrainMentions :: Lens' EntityRecognizerMetadataEntityTypesListItem (Maybe Int) Source #

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

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

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

EntityRecognizerProperties

data EntityRecognizerProperties Source #

Describes information about an entity recognizer.

See: newEntityRecognizerProperties smart constructor.

Constructors

EntityRecognizerProperties' 

Fields

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

  • endTime :: Maybe POSIX

    The time that the recognizer creation completed.

  • entityRecognizerArn :: Maybe Text

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

  • inputDataConfig :: Maybe EntityRecognizerInputDataConfig

    The input data properties of an 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.

  • message :: Maybe Text

    A description of the status of the 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"
  • recognizerMetadata :: Maybe (Sensitive EntityRecognizerMetadata)

    Provides information about an entity recognizer.

  • sourceModelArn :: Maybe Text

    The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the entity recognizer model in your AWS account.

  • status :: Maybe ModelStatus

    Provides the status of the entity recognizer.

  • submitTime :: Maybe POSIX

    The time that the recognizer was submitted for processing.

  • trainingEndTime :: Maybe POSIX

    The time that training of the entity recognizer was completed.

  • trainingStartTime :: Maybe POSIX

    The time that training of the entity recognizer started.

  • versionName :: Maybe Text

    The version name you assigned to the entity recognizer.

  • 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"
  • 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.

Instances

Instances details
FromJSON 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 #

Show EntityRecognizerProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerProperties

NFData EntityRecognizerProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerProperties

Eq EntityRecognizerProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EntityRecognizerProperties'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "entityRecognizerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityRecognizerInputDataConfig)))) :*: ((S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "modelKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recognizerMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive EntityRecognizerMetadata)))))) :*: (((S1 ('MetaSel ('Just "sourceModelArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelStatus))) :*: (S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "trainingEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "trainingStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "versionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)))))))

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: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:endTime:EntityRecognizerProperties', entityRecognizerProperties_endTime - The time that the recognizer creation completed.

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

$sel:inputDataConfig:EntityRecognizerProperties', entityRecognizerProperties_inputDataConfig - The input data properties of an 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:message:EntityRecognizerProperties', entityRecognizerProperties_message - A description of the status of the 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:recognizerMetadata:EntityRecognizerProperties', entityRecognizerProperties_recognizerMetadata - Provides information about an entity recognizer.

$sel:sourceModelArn:EntityRecognizerProperties', entityRecognizerProperties_sourceModelArn - The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the entity recognizer model in your AWS account.

$sel:status:EntityRecognizerProperties', entityRecognizerProperties_status - Provides the status of the entity recognizer.

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

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

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

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

$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: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.

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_endTime :: Lens' EntityRecognizerProperties (Maybe UTCTime) Source #

The time that the recognizer creation completed.

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

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

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_message :: Lens' EntityRecognizerProperties (Maybe Text) Source #

A description of the status of the 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_sourceModelArn :: Lens' EntityRecognizerProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the source model. This model was imported from a different AWS account to create the entity recognizer model in your AWS account.

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

The time that the recognizer was submitted for processing.

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

The time that training of the entity recognizer was completed.

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

The time that training of the entity recognizer started.

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

The version name you assigned to the entity recognizer.

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

EntityRecognizerSummary

data EntityRecognizerSummary Source #

Describes the information about an entity recognizer and its versions.

See: newEntityRecognizerSummary smart constructor.

Constructors

EntityRecognizerSummary' 

Fields

Instances

Instances details
FromJSON 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 #

Read EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

Show EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

NFData EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

Methods

rnf :: EntityRecognizerSummary -> () #

Eq EntityRecognizerSummary Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityRecognizerSummary

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EntityRecognizerSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "latestVersionCreatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "latestVersionName") '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 "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:latestVersionName:EntityRecognizerSummary', entityRecognizerSummary_latestVersionName - The version name you assigned to the latest entity recognizer version.

$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: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_latestVersionName :: Lens' EntityRecognizerSummary (Maybe Text) Source #

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

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

Provides the status of 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

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

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

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

Instances

Instances details
FromJSON 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 #

Read EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

Show EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

NFData EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

Eq EntityTypesEvaluationMetrics Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesEvaluationMetrics

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EntityTypesEvaluationMetrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "f1Score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "precision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "recall") '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: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.

$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: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.

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.

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

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
FromJSON EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

ToJSON 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 #

Read EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

Show EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

NFData EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

Methods

rnf :: EntityTypesListItem -> () #

Eq EntityTypesListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EntityTypesListItem

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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).

ErrorsListItem

data ErrorsListItem Source #

Text extraction encountered one or more page-level errors in the input document.

The ErrorCode contains one of the following values:

  • TEXTRACT_BAD_PAGE - Amazon Textract cannot read the page. For more information about page limits in Amazon Textract, see Page Quotas in Amazon Textract.
  • TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED - The number of requests exceeded your throughput limit. For more information about throughput quotas in Amazon Textract, see Default quotas in Amazon Textract.
  • PAGE_CHARACTERS_EXCEEDED - Too many text characters on the page (10,000 characters maximum).
  • PAGE_SIZE_EXCEEDED - The maximum page size is 10 MB.
  • INTERNAL_SERVER_ERROR - The request encountered a service issue. Try the API request again.

See: newErrorsListItem smart constructor.

Constructors

ErrorsListItem' 

Fields

Instances

Instances details
FromJSON ErrorsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ErrorsListItem

Generic ErrorsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ErrorsListItem

Associated Types

type Rep ErrorsListItem :: Type -> Type #

Read ErrorsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ErrorsListItem

Show ErrorsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ErrorsListItem

NFData ErrorsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ErrorsListItem

Methods

rnf :: ErrorsListItem -> () #

Eq ErrorsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ErrorsListItem

Hashable ErrorsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ErrorsListItem

type Rep ErrorsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ErrorsListItem

type Rep ErrorsListItem = D1 ('MetaData "ErrorsListItem" "Amazonka.Comprehend.Types.ErrorsListItem" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "ErrorsListItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PageBasedErrorCode)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newErrorsListItem :: ErrorsListItem Source #

Create a value of ErrorsListItem 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:ErrorsListItem', errorsListItem_errorCode - Error code for the cause of the error.

$sel:errorMessage:ErrorsListItem', errorsListItem_errorMessage - Text message explaining the reason for the error.

$sel:page:ErrorsListItem', errorsListItem_page - Page number where the error occurred.

errorsListItem_errorCode :: Lens' ErrorsListItem (Maybe PageBasedErrorCode) Source #

Error code for the cause of the error.

errorsListItem_errorMessage :: Lens' ErrorsListItem (Maybe Text) Source #

Text message explaining the reason for the error.

errorsListItem_page :: Lens' ErrorsListItem (Maybe Int) Source #

Page number where the error occurred.

EventsDetectionJobFilter

data EventsDetectionJobFilter Source #

Provides information for filtering a list of event detection jobs.

See: newEventsDetectionJobFilter smart constructor.

Constructors

EventsDetectionJobFilter' 

Fields

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

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

Instances

Instances details
ToJSON 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 #

Read EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

Show EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

NFData EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

Eq EventsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EventsDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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

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

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.

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.

EventsDetectionJobProperties

data EventsDetectionJobProperties Source #

Provides information about an events detection job.

See: newEventsDetectionJobProperties smart constructor.

Constructors

EventsDetectionJobProperties' 

Fields

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

  • endTime :: Maybe POSIX

    The time that the events detection job completed.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created 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
  • jobId :: Maybe Text

    The identifier assigned to the events detection job.

  • jobName :: Maybe Text

    The name you assigned the events detection job.

  • jobStatus :: Maybe JobStatus

    The current status of the events detection job.

  • languageCode :: Maybe LanguageCode

    The language code of the input documents.

  • message :: Maybe Text

    A description of the status of the events detection job.

  • outputDataConfig :: Maybe OutputDataConfig

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

  • submitTime :: Maybe POSIX

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

  • targetEventTypes :: Maybe (NonEmpty Text)

    The types of events that are detected by the job.

Instances

Instances details
FromJSON 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 #

Read EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

Show EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

NFData EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

Eq EventsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.EventsDetectionJobProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "EventsDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)))) :*: (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)) :*: (S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "targetEventTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))))))))

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: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:endTime:EventsDetectionJobProperties', eventsDetectionJobProperties_endTime - The time that the events detection job completed.

$sel:inputDataConfig:EventsDetectionJobProperties', eventsDetectionJobProperties_inputDataConfig - The input data configuration that you supplied when you created 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:jobId:EventsDetectionJobProperties', eventsDetectionJobProperties_jobId - The identifier assigned to the events detection job.

$sel:jobName:EventsDetectionJobProperties', eventsDetectionJobProperties_jobName - The name you assigned the events detection job.

$sel:jobStatus:EventsDetectionJobProperties', eventsDetectionJobProperties_jobStatus - The current status of the events detection job.

$sel:languageCode:EventsDetectionJobProperties', eventsDetectionJobProperties_languageCode - The language code of the input documents.

$sel:message:EventsDetectionJobProperties', eventsDetectionJobProperties_message - A description of the status of the events detection job.

$sel:outputDataConfig:EventsDetectionJobProperties', eventsDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the events detection job.

$sel:submitTime:EventsDetectionJobProperties', eventsDetectionJobProperties_submitTime - The time that the events detection job was submitted for processing.

$sel:targetEventTypes:EventsDetectionJobProperties', eventsDetectionJobProperties_targetEventTypes - The types of events that are detected by the 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_endTime :: Lens' EventsDetectionJobProperties (Maybe UTCTime) Source #

The time that the events detection job completed.

eventsDetectionJobProperties_inputDataConfig :: Lens' EventsDetectionJobProperties (Maybe InputDataConfig) Source #

The input data configuration that you supplied when you created 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_jobId :: Lens' EventsDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the events detection job.

eventsDetectionJobProperties_jobName :: Lens' EventsDetectionJobProperties (Maybe Text) Source #

The name you assigned the events detection job.

eventsDetectionJobProperties_message :: Lens' EventsDetectionJobProperties (Maybe Text) Source #

A description of the status of the events detection job.

eventsDetectionJobProperties_outputDataConfig :: Lens' EventsDetectionJobProperties (Maybe OutputDataConfig) Source #

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

eventsDetectionJobProperties_submitTime :: Lens' EventsDetectionJobProperties (Maybe UTCTime) Source #

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

ExtractedCharactersListItem

data ExtractedCharactersListItem Source #

Array of the number of characters extracted from each page.

See: newExtractedCharactersListItem smart constructor.

Constructors

ExtractedCharactersListItem' 

Fields

Instances

Instances details
FromJSON ExtractedCharactersListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ExtractedCharactersListItem

Generic ExtractedCharactersListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ExtractedCharactersListItem

Associated Types

type Rep ExtractedCharactersListItem :: Type -> Type #

Read ExtractedCharactersListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ExtractedCharactersListItem

Show ExtractedCharactersListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ExtractedCharactersListItem

NFData ExtractedCharactersListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ExtractedCharactersListItem

Eq ExtractedCharactersListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ExtractedCharactersListItem

Hashable ExtractedCharactersListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ExtractedCharactersListItem

type Rep ExtractedCharactersListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.ExtractedCharactersListItem

type Rep ExtractedCharactersListItem = D1 ('MetaData "ExtractedCharactersListItem" "Amazonka.Comprehend.Types.ExtractedCharactersListItem" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "ExtractedCharactersListItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newExtractedCharactersListItem :: ExtractedCharactersListItem Source #

Create a value of ExtractedCharactersListItem 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:count:ExtractedCharactersListItem', extractedCharactersListItem_count - Number of characters extracted from each page.

$sel:page:ExtractedCharactersListItem', extractedCharactersListItem_page - Page number.

extractedCharactersListItem_count :: Lens' ExtractedCharactersListItem (Maybe Int) Source #

Number of characters extracted from each page.

Geometry

data Geometry Source #

Information about the location of items on a document page.

For additional information, see Geometry in the Amazon Textract API reference.

See: newGeometry smart constructor.

Constructors

Geometry' 

Fields

  • boundingBox :: Maybe BoundingBox

    An axis-aligned coarse representation of the location of the recognized item on the document page.

  • polygon :: Maybe [Point]

    Within the bounding box, a fine-grained polygon around the recognized item.

Instances

Instances details
FromJSON Geometry Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Geometry

Generic Geometry Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Geometry

Associated Types

type Rep Geometry :: Type -> Type #

Methods

from :: Geometry -> Rep Geometry x #

to :: Rep Geometry x -> Geometry #

Read Geometry Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Geometry

Show Geometry Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Geometry

NFData Geometry Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Geometry

Methods

rnf :: Geometry -> () #

Eq Geometry Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Geometry

Hashable Geometry Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Geometry

Methods

hashWithSalt :: Int -> Geometry -> Int #

hash :: Geometry -> Int #

type Rep Geometry Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Geometry

type Rep Geometry = D1 ('MetaData "Geometry" "Amazonka.Comprehend.Types.Geometry" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "Geometry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "boundingBox") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BoundingBox)) :*: S1 ('MetaSel ('Just "polygon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Point]))))

newGeometry :: Geometry Source #

Create a value of Geometry 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:boundingBox:Geometry', geometry_boundingBox - An axis-aligned coarse representation of the location of the recognized item on the document page.

$sel:polygon:Geometry', geometry_polygon - Within the bounding box, a fine-grained polygon around the recognized item.

geometry_boundingBox :: Lens' Geometry (Maybe BoundingBox) Source #

An axis-aligned coarse representation of the location of the recognized item on the document page.

geometry_polygon :: Lens' Geometry (Maybe [Point]) Source #

Within the bounding box, a fine-grained polygon around the recognized item.

InputDataConfig

data InputDataConfig Source #

The input properties for an inference job. The document reader config field applies only to non-text inputs for custom analysis.

See: newInputDataConfig smart constructor.

Constructors

InputDataConfig' 

Fields

  • documentReaderConfig :: Maybe DocumentReaderConfig

    Provides configuration parameters to override the default actions for extracting text from PDF documents and image files.

  • 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
FromJSON InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

ToJSON 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 #

Read InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

Show InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

NFData InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

Methods

rnf :: InputDataConfig -> () #

Eq InputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.InputDataConfig

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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 - Provides configuration parameters to override the default actions for extracting text from PDF documents and image files.

$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 #

Provides configuration parameters to override the default actions for extracting text from PDF documents and image files.

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

    The zero-based offset from the beginning of the source text to the first character in the key phrase.

  • endOffset :: Maybe Int

    The zero-based offset from the beginning of the source text to the last character in the key phrase.

  • score :: Maybe Double

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

  • text :: Maybe Text

    The text of a key noun phrase.

Instances

Instances details
FromJSON 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 #

Read KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

Show KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

NFData KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

Methods

rnf :: KeyPhrase -> () #

Eq KeyPhrase Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrase

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "KeyPhrase'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "beginOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "endOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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 - The zero-based offset from the beginning of the source text to the first character in the key phrase.

$sel:endOffset:KeyPhrase', keyPhrase_endOffset - The zero-based offset from the beginning of the source text to the last character in the key phrase.

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

$sel:text:KeyPhrase', keyPhrase_text - The text of a key noun phrase.

keyPhrase_beginOffset :: Lens' KeyPhrase (Maybe Int) Source #

The zero-based offset from the beginning of the source text to the first character in the key phrase.

keyPhrase_endOffset :: Lens' KeyPhrase (Maybe Int) Source #

The zero-based offset from the beginning of the source text to the last character in the key phrase.

keyPhrase_score :: Lens' KeyPhrase (Maybe Double) Source #

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

keyPhrase_text :: Lens' KeyPhrase (Maybe Text) Source #

The text of a key noun phrase.

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

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

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

Instances

Instances details
ToJSON 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 #

Read KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

Show KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

NFData KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

Eq KeyPhrasesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "KeyPhrasesDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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

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

keyPhrasesDetectionJobFilter_jobStatus :: Lens' KeyPhrasesDetectionJobFilter (Maybe JobStatus) Source #

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.

KeyPhrasesDetectionJobProperties

data KeyPhrasesDetectionJobProperties Source #

Provides information about a key phrases detection job.

See: newKeyPhrasesDetectionJobProperties smart constructor.

Constructors

KeyPhrasesDetectionJobProperties' 

Fields

  • dataAccessRoleArn :: Maybe Text

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

  • endTime :: Maybe POSIX

    The time that the key phrases detection job completed.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created 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
  • jobId :: Maybe Text

    The identifier assigned to the key phrases detection job.

  • jobName :: Maybe Text

    The name that you assigned the key phrases detection job.

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

  • languageCode :: Maybe LanguageCode

    The language code of the input documents.

  • message :: Maybe Text

    A description of the status of a job.

  • outputDataConfig :: Maybe OutputDataConfig

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

  • submitTime :: Maybe POSIX

    The time that the key phrases detection job was submitted for processing.

  • 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"
  • 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.

Instances

Instances details
FromJSON 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 #

Read KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

Show KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

NFData KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

Eq KeyPhrasesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.KeyPhrasesDetectionJobProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "KeyPhrasesDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)))) :*: (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)))))))

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:dataAccessRoleArn:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

$sel:endTime:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_endTime - The time that the key phrases detection job completed.

$sel:inputDataConfig:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_inputDataConfig - The input data configuration that you supplied when you created 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:jobId:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_jobId - The identifier assigned to the key phrases detection job.

$sel:jobName:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_jobName - The name that you assigned the key phrases detection job.

$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:languageCode:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_languageCode - The language code of the input documents.

$sel:message:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_message - A description of the status of a job.

$sel:outputDataConfig:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the key phrases detection job.

$sel:submitTime:KeyPhrasesDetectionJobProperties', keyPhrasesDetectionJobProperties_submitTime - The time that the key phrases detection job was submitted for processing.

$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: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.

keyPhrasesDetectionJobProperties_dataAccessRoleArn :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text) Source #

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

keyPhrasesDetectionJobProperties_endTime :: Lens' KeyPhrasesDetectionJobProperties (Maybe UTCTime) Source #

The time that the key phrases detection job completed.

keyPhrasesDetectionJobProperties_inputDataConfig :: Lens' KeyPhrasesDetectionJobProperties (Maybe InputDataConfig) Source #

The input data configuration that you supplied when you created 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_jobId :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the key phrases detection job.

keyPhrasesDetectionJobProperties_jobName :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text) Source #

The name that you assigned the key phrases detection job.

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_outputDataConfig :: Lens' KeyPhrasesDetectionJobProperties (Maybe OutputDataConfig) Source #

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

keyPhrasesDetectionJobProperties_submitTime :: Lens' KeyPhrasesDetectionJobProperties (Maybe UTCTime) Source #

The time that the key phrases detection job was submitted for processing.

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

MentionSentiment

data MentionSentiment Source #

Contains the sentiment and sentiment score for one mention of an entity.

For more information about targeted sentiment, see Targeted sentiment.

See: newMentionSentiment smart constructor.

Constructors

MentionSentiment' 

Fields

Instances

Instances details
FromJSON MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

Generic MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

Associated Types

type Rep MentionSentiment :: Type -> Type #

Read MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

Show MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

NFData MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

Methods

rnf :: MentionSentiment -> () #

Eq MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

Hashable MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

type Rep MentionSentiment Source # 
Instance details

Defined in Amazonka.Comprehend.Types.MentionSentiment

type Rep MentionSentiment = D1 ('MetaData "MentionSentiment" "Amazonka.Comprehend.Types.MentionSentiment" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "MentionSentiment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sentiment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentType)) :*: S1 ('MetaSel ('Just "sentimentScore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SentimentScore))))

newMentionSentiment :: MentionSentiment Source #

Create a value of MentionSentiment 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:MentionSentiment', mentionSentiment_sentiment - The sentiment of the mention.

$sel:sentimentScore:MentionSentiment', mentionSentiment_sentimentScore - Undocumented member.

OutputDataConfig

data OutputDataConfig Source #

Provides configuration parameters for the output of inference 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.

    For a PII entity detection job, the output file is plain text, not a compressed archive. The output file name is the same as the input file, with .out appended at the end.

Instances

Instances details
FromJSON OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

ToJSON 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 #

Read OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

Show OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

NFData OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

Methods

rnf :: OutputDataConfig -> () #

Eq OutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.OutputDataConfig

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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.

For a PII entity detection job, the output file is plain text, not a compressed archive. The output file name is the same as the input file, with .out appended at the end.

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.

For a PII entity detection job, the output file is plain text, not a compressed archive. The output file name is the same as the input file, with .out appended at the end.

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 Syntax in the Comprehend Developer Guide.

See: newPartOfSpeechTag smart constructor.

Constructors

PartOfSpeechTag' 

Fields

Instances

Instances details
FromJSON 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 #

Read PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Show PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

NFData PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Methods

rnf :: PartOfSpeechTag -> () #

Eq PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "PartOfSpeechTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "tag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PartOfSpeechTagType))))

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:score:PartOfSpeechTag', partOfSpeechTag_score - The confidence that Amazon Comprehend has that the part of speech was correctly identified.

$sel:tag:PartOfSpeechTag', partOfSpeechTag_tag - 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.

partOfSpeechTag_tag :: Lens' PartOfSpeechTag (Maybe PartOfSpeechTagType) Source #

Identifies the part of speech that the token represents.

PiiEntitiesDetectionJobFilter

data PiiEntitiesDetectionJobFilter Source #

Provides information for filtering a list of PII entity detection jobs.

See: newPiiEntitiesDetectionJobFilter smart constructor.

Constructors

PiiEntitiesDetectionJobFilter' 

Fields

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

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

Instances

Instances details
ToJSON 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 #

Read PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

Show PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

NFData PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

Eq PiiEntitiesDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "PiiEntitiesDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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

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

piiEntitiesDetectionJobFilter_jobStatus :: Lens' PiiEntitiesDetectionJobFilter (Maybe JobStatus) Source #

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.

PiiEntitiesDetectionJobProperties

data PiiEntitiesDetectionJobProperties Source #

Provides information about a PII entities detection job.

See: newPiiEntitiesDetectionJobProperties smart constructor.

Constructors

PiiEntitiesDetectionJobProperties' 

Fields

  • dataAccessRoleArn :: Maybe Text

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

  • endTime :: Maybe POSIX

    The time that the PII entities detection job completed.

  • inputDataConfig :: Maybe InputDataConfig

    The input properties for a 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
  • jobId :: Maybe Text

    The identifier assigned to the PII entities detection job.

  • jobName :: Maybe Text

    The name that you assigned the PII entities detection job.

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

  • languageCode :: Maybe LanguageCode

    The language code of the input documents

  • message :: Maybe Text

    A description of the status of a job.

  • mode :: Maybe PiiEntitiesDetectionMode

    Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.

  • outputDataConfig :: Maybe PiiOutputDataConfig

    The output data configuration that you supplied when you created the 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.

  • submitTime :: Maybe POSIX

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

Instances

Instances details
FromJSON 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 #

Read PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

Show PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

NFData PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

Eq PiiEntitiesDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntitiesDetectionJobProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "PiiEntitiesDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)))) :*: (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PiiEntitiesDetectionMode)) :*: S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PiiOutputDataConfig))) :*: (S1 ('MetaSel ('Just "redactionConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RedactionConfig)) :*: 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:dataAccessRoleArn:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

$sel:endTime:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_endTime - The time that the PII entities detection job completed.

$sel:inputDataConfig:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_inputDataConfig - The input properties for a 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:jobId:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_jobId - The identifier assigned to the PII entities detection job.

$sel:jobName:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_jobName - The name that you assigned the PII entities detection job.

$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:languageCode:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_languageCode - The language code of the input documents

$sel:message:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_message - A description of the status of a 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:outputDataConfig:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the 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:submitTime:PiiEntitiesDetectionJobProperties', piiEntitiesDetectionJobProperties_submitTime - The time that the PII entities detection job was submitted for processing.

piiEntitiesDetectionJobProperties_dataAccessRoleArn :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #

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

piiEntitiesDetectionJobProperties_endTime :: Lens' PiiEntitiesDetectionJobProperties (Maybe UTCTime) Source #

The time that the PII entities detection job completed.

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_jobId :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the PII entities detection job.

piiEntitiesDetectionJobProperties_jobName :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #

The name that you assigned the PII entities detection job.

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_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_outputDataConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe PiiOutputDataConfig) Source #

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

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

    The zero-based offset from the beginning of the source text to the first character in the entity.

  • endOffset :: Maybe Int

    The zero-based offset from the beginning of the source text to the last character in the entity.

  • score :: Maybe Double

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

  • type' :: Maybe PiiEntityType

    The entity's type.

Instances

Instances details
FromJSON 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 #

Read PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

Show PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

NFData PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

Methods

rnf :: PiiEntity -> () #

Eq PiiEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiEntity

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "PiiEntity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "beginOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "endOffset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: 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 - The zero-based offset from the beginning of the source text to the first character in the entity.

$sel:endOffset:PiiEntity', piiEntity_endOffset - The zero-based offset from the beginning of the source text to the last character in the entity.

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

$sel:type':PiiEntity', piiEntity_type - The entity's type.

piiEntity_beginOffset :: Lens' PiiEntity (Maybe Int) Source #

The zero-based offset from the beginning of the source text to the first character in the entity.

piiEntity_endOffset :: Lens' PiiEntity (Maybe Int) Source #

The zero-based offset from the beginning of the source text to the last character in the entity.

piiEntity_score :: Lens' PiiEntity (Maybe Double) Source #

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

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.

    For a PII entity detection job, the output file is plain text, not a compressed archive. The output file name is the same as the input file, with .out appended at the end.

Instances

Instances details
FromJSON 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 #

Read PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

Show PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

NFData PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

Methods

rnf :: PiiOutputDataConfig -> () #

Eq PiiOutputDataConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PiiOutputDataConfig

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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.

For a PII entity detection job, the output file is plain text, not a compressed archive. The output file name is the same as the input file, with .out appended at the end.

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.

For a PII entity detection job, the output file is plain text, not a compressed archive. The output file name is the same as the input file, with .out appended at the end.

Point

data Point Source #

The X and Y coordinates of a point on a document page.

For additional information, see Point in the Amazon Textract API reference.

See: newPoint smart constructor.

Constructors

Point' 

Fields

  • x :: Maybe Double

    The value of the X coordinate for a point on a polygon

  • y :: Maybe Double

    The value of the Y coordinate for a point on a polygon

Instances

Instances details
FromJSON Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Generic Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Associated Types

type Rep Point :: Type -> Type #

Methods

from :: Point -> Rep Point x #

to :: Rep Point x -> Point #

Read Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Show Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Methods

showsPrec :: Int -> Point -> ShowS #

show :: Point -> String #

showList :: [Point] -> ShowS #

NFData Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Methods

rnf :: Point -> () #

Eq Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Methods

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

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

Hashable Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

Methods

hashWithSalt :: Int -> Point -> Int #

hash :: Point -> Int #

type Rep Point Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Point

type Rep Point = D1 ('MetaData "Point" "Amazonka.Comprehend.Types.Point" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "Point'" 'PrefixI 'True) (S1 ('MetaSel ('Just "x") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "y") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newPoint :: Point Source #

Create a value of Point 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:x:Point', point_x - The value of the X coordinate for a point on a polygon

$sel:y:Point', point_y - The value of the Y coordinate for a point on a polygon

point_x :: Lens' Point (Maybe Double) Source #

The value of the X coordinate for a point on a polygon

point_y :: Lens' Point (Maybe Double) Source #

The value of the Y coordinate for a point on a polygon

RedactionConfig

data RedactionConfig Source #

Provides configuration parameters for PII entity redaction.

See: newRedactionConfig smart constructor.

Constructors

RedactionConfig' 

Fields

Instances

Instances details
FromJSON RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

ToJSON 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 #

Read RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Show RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

NFData RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Methods

rnf :: RedactionConfig -> () #

Eq RedactionConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RedactionConfig

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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.

RelationshipsListItem

data RelationshipsListItem Source #

List of child blocks for the current block.

See: newRelationshipsListItem smart constructor.

Constructors

RelationshipsListItem' 

Fields

Instances

Instances details
FromJSON RelationshipsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipsListItem

Generic RelationshipsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipsListItem

Associated Types

type Rep RelationshipsListItem :: Type -> Type #

Read RelationshipsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipsListItem

Show RelationshipsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipsListItem

NFData RelationshipsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipsListItem

Methods

rnf :: RelationshipsListItem -> () #

Eq RelationshipsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipsListItem

Hashable RelationshipsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipsListItem

type Rep RelationshipsListItem Source # 
Instance details

Defined in Amazonka.Comprehend.Types.RelationshipsListItem

type Rep RelationshipsListItem = D1 ('MetaData "RelationshipsListItem" "Amazonka.Comprehend.Types.RelationshipsListItem" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "RelationshipsListItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ids") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RelationshipType))))

newRelationshipsListItem :: RelationshipsListItem Source #

Create a value of RelationshipsListItem 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:ids:RelationshipsListItem', relationshipsListItem_ids - Identifers of the child blocks.

$sel:type':RelationshipsListItem', relationshipsListItem_type - Only supported relationship is a child relationship.

relationshipsListItem_type :: Lens' RelationshipsListItem (Maybe RelationshipType) Source #

Only supported relationship is a child relationship.

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

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

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

Instances

Instances details
ToJSON 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 #

Read SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

Show SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

NFData SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

Eq SentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "SentimentDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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

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

sentimentDetectionJobFilter_jobStatus :: Lens' SentimentDetectionJobFilter (Maybe JobStatus) Source #

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.

SentimentDetectionJobProperties

data SentimentDetectionJobProperties Source #

Provides information about a sentiment detection job.

See: newSentimentDetectionJobProperties smart constructor.

Constructors

SentimentDetectionJobProperties' 

Fields

  • dataAccessRoleArn :: Maybe Text

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

  • endTime :: Maybe POSIX

    The time that the sentiment detection job ended.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration that you supplied when you created 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
  • jobId :: Maybe Text

    The identifier assigned to the sentiment detection job.

  • jobName :: Maybe Text

    The name that you assigned to the sentiment detection job

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

  • languageCode :: Maybe LanguageCode

    The language code of the input documents.

  • message :: Maybe Text

    A description of the status of a job.

  • outputDataConfig :: Maybe OutputDataConfig

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

  • submitTime :: Maybe POSIX

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

  • 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"
  • 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.

Instances

Instances details
FromJSON 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 #

Read SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

Show SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

NFData SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

Eq SentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentDetectionJobProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "SentimentDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)))) :*: (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)) :*: (S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LanguageCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)))))))

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:dataAccessRoleArn:SentimentDetectionJobProperties', sentimentDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

$sel:endTime:SentimentDetectionJobProperties', sentimentDetectionJobProperties_endTime - The time that the sentiment detection job ended.

$sel:inputDataConfig:SentimentDetectionJobProperties', sentimentDetectionJobProperties_inputDataConfig - The input data configuration that you supplied when you created 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:jobId:SentimentDetectionJobProperties', sentimentDetectionJobProperties_jobId - The identifier assigned to the sentiment detection job.

$sel:jobName:SentimentDetectionJobProperties', sentimentDetectionJobProperties_jobName - The name that you assigned to the sentiment detection job

$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:languageCode:SentimentDetectionJobProperties', sentimentDetectionJobProperties_languageCode - The language code of the input documents.

$sel:message:SentimentDetectionJobProperties', sentimentDetectionJobProperties_message - A description of the status of a job.

$sel:outputDataConfig:SentimentDetectionJobProperties', sentimentDetectionJobProperties_outputDataConfig - The output data configuration that you supplied when you created the sentiment detection job.

$sel:submitTime:SentimentDetectionJobProperties', sentimentDetectionJobProperties_submitTime - The time that the sentiment detection job was submitted for processing.

$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: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.

sentimentDetectionJobProperties_dataAccessRoleArn :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #

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

sentimentDetectionJobProperties_inputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe InputDataConfig) Source #

The input data configuration that you supplied when you created 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_jobId :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the sentiment detection job.

sentimentDetectionJobProperties_jobName :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #

The name that you assigned to the sentiment detection job

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_outputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe OutputDataConfig) Source #

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

sentimentDetectionJobProperties_submitTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime) Source #

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

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

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
FromJSON 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 #

Read SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

Show SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

NFData SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

Methods

rnf :: SentimentScore -> () #

Eq SentimentScore Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SentimentScore

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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.

  • 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 Syntax in the Comprehend Developer Guide.

  • text :: Maybe Text

    The word that was recognized in the source text.

  • tokenId :: Maybe Int

    A unique identifier for a token.

Instances

Instances details
FromJSON 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 #

Read SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

Show SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

NFData SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

Methods

rnf :: SyntaxToken -> () #

Eq SyntaxToken Source # 
Instance details

Defined in Amazonka.Comprehend.Types.SyntaxToken

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "SyntaxToken'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "beginOffset") '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)) :*: (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tokenId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

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: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 Syntax in the Comprehend Developer Guide.

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

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_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 Syntax in the Comprehend Developer Guide.

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.

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
FromJSON Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

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 #

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 #

NFData Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

Methods

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

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

Hashable Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.Comprehend.Types.Tag" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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.”

TargetedSentimentDetectionJobFilter

data TargetedSentimentDetectionJobFilter Source #

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

See: newTargetedSentimentDetectionJobFilter smart constructor.

Constructors

TargetedSentimentDetectionJobFilter' 

Fields

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

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

Instances

Instances details
ToJSON TargetedSentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobFilter

Generic TargetedSentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobFilter

Read TargetedSentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobFilter

Show TargetedSentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobFilter

NFData TargetedSentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobFilter

Eq TargetedSentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobFilter

Hashable TargetedSentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobFilter

type Rep TargetedSentimentDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobFilter

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

newTargetedSentimentDetectionJobFilter :: TargetedSentimentDetectionJobFilter Source #

Create a value of TargetedSentimentDetectionJobFilter 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:jobName:TargetedSentimentDetectionJobFilter', targetedSentimentDetectionJobFilter_jobName - Filters on the name of the job.

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

$sel:submitTimeAfter:TargetedSentimentDetectionJobFilter', targetedSentimentDetectionJobFilter_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:TargetedSentimentDetectionJobFilter', targetedSentimentDetectionJobFilter_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.

targetedSentimentDetectionJobFilter_jobStatus :: Lens' TargetedSentimentDetectionJobFilter (Maybe JobStatus) Source #

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

targetedSentimentDetectionJobFilter_submitTimeAfter :: Lens' TargetedSentimentDetectionJobFilter (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.

targetedSentimentDetectionJobFilter_submitTimeBefore :: Lens' TargetedSentimentDetectionJobFilter (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.

TargetedSentimentDetectionJobProperties

data TargetedSentimentDetectionJobProperties Source #

Provides information about a targeted sentiment detection job.

See: newTargetedSentimentDetectionJobProperties smart constructor.

Constructors

TargetedSentimentDetectionJobProperties' 

Fields

  • dataAccessRoleArn :: Maybe Text

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

  • endTime :: Maybe POSIX

    The time that the targeted sentiment detection job ended.

  • inputDataConfig :: Maybe InputDataConfig
     
  • jobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the targeted 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>:targeted-sentiment-detection-job/<job-id>

    The following is an example job ARN:

    arn:aws:comprehend:us-west-2:111122223333:targeted-sentiment-detection-job/1234abcd12ab34cd56ef1234567890ab
  • jobId :: Maybe Text

    The identifier assigned to the targeted sentiment detection job.

  • jobName :: Maybe Text

    The name that you assigned to the targeted sentiment detection job.

  • jobStatus :: Maybe JobStatus

    The current status of the targeted sentiment detection job. If the status is FAILED, the Messages field shows the reason for the failure.

  • languageCode :: Maybe LanguageCode

    The language code of the input documents.

  • message :: Maybe Text

    A description of the status of a job.

  • outputDataConfig :: Maybe OutputDataConfig
     
  • submitTime :: Maybe POSIX

    The time that the targeted sentiment detection job was submitted for processing.

  • 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 targeted sentiment detection 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"
  • vpcConfig :: Maybe VpcConfig
     

Instances

Instances details
FromJSON TargetedSentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobProperties

Generic TargetedSentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobProperties

Read TargetedSentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobProperties

Show TargetedSentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobProperties

NFData TargetedSentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobProperties

Eq TargetedSentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobProperties

Hashable TargetedSentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobProperties

type Rep TargetedSentimentDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentDetectionJobProperties

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

newTargetedSentimentDetectionJobProperties :: TargetedSentimentDetectionJobProperties Source #

Create a value of TargetedSentimentDetectionJobProperties 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:dataAccessRoleArn:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_dataAccessRoleArn - The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

$sel:endTime:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_endTime - The time that the targeted sentiment detection job ended.

$sel:inputDataConfig:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_inputDataConfig - Undocumented member.

$sel:jobArn:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_jobArn - The Amazon Resource Name (ARN) of the targeted 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>:targeted-sentiment-detection-job/<job-id>

The following is an example job ARN:

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

$sel:jobId:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_jobId - The identifier assigned to the targeted sentiment detection job.

$sel:jobName:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_jobName - The name that you assigned to the targeted sentiment detection job.

$sel:jobStatus:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_jobStatus - The current status of the targeted sentiment detection job. If the status is FAILED, the Messages field shows the reason for the failure.

$sel:languageCode:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_languageCode - The language code of the input documents.

$sel:message:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_message - A description of the status of a job.

$sel:outputDataConfig:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_outputDataConfig - Undocumented member.

$sel:submitTime:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_submitTime - The time that the targeted sentiment detection job was submitted for processing.

$sel:volumeKmsKeyId:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_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 targeted sentiment detection 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:vpcConfig:TargetedSentimentDetectionJobProperties', targetedSentimentDetectionJobProperties_vpcConfig - Undocumented member.

targetedSentimentDetectionJobProperties_dataAccessRoleArn :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text) Source #

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

targetedSentimentDetectionJobProperties_jobArn :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text) Source #

The Amazon Resource Name (ARN) of the targeted 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>:targeted-sentiment-detection-job/<job-id>

The following is an example job ARN:

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

targetedSentimentDetectionJobProperties_jobId :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the targeted sentiment detection job.

targetedSentimentDetectionJobProperties_jobName :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text) Source #

The name that you assigned to the targeted sentiment detection job.

targetedSentimentDetectionJobProperties_jobStatus :: Lens' TargetedSentimentDetectionJobProperties (Maybe JobStatus) Source #

The current status of the targeted sentiment detection job. If the status is FAILED, the Messages field shows the reason for the failure.

targetedSentimentDetectionJobProperties_submitTime :: Lens' TargetedSentimentDetectionJobProperties (Maybe UTCTime) Source #

The time that the targeted sentiment detection job was submitted for processing.

targetedSentimentDetectionJobProperties_volumeKmsKeyId :: Lens' TargetedSentimentDetectionJobProperties (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 targeted sentiment detection 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"

TargetedSentimentEntity

data TargetedSentimentEntity Source #

Information about one of the entities found by targeted sentiment analysis.

For more information about targeted sentiment, see Targeted sentiment.

See: newTargetedSentimentEntity smart constructor.

Constructors

TargetedSentimentEntity' 

Fields

Instances

Instances details
FromJSON TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

Generic TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

Associated Types

type Rep TargetedSentimentEntity :: Type -> Type #

Read TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

Show TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

NFData TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

Methods

rnf :: TargetedSentimentEntity -> () #

Eq TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

Hashable TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

type Rep TargetedSentimentEntity Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentEntity

type Rep TargetedSentimentEntity = D1 ('MetaData "TargetedSentimentEntity" "Amazonka.Comprehend.Types.TargetedSentimentEntity" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "TargetedSentimentEntity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "descriptiveMentionIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Int])) :*: S1 ('MetaSel ('Just "mentions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetedSentimentMention]))))

newTargetedSentimentEntity :: TargetedSentimentEntity Source #

Create a value of TargetedSentimentEntity 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:descriptiveMentionIndex:TargetedSentimentEntity', targetedSentimentEntity_descriptiveMentionIndex - One or more index into the Mentions array that provides the best name for the entity group.

$sel:mentions:TargetedSentimentEntity', targetedSentimentEntity_mentions - An array of mentions of the entity in the document. The array represents a co-reference group. See Co-reference group for an example.

targetedSentimentEntity_descriptiveMentionIndex :: Lens' TargetedSentimentEntity (Maybe [Int]) Source #

One or more index into the Mentions array that provides the best name for the entity group.

targetedSentimentEntity_mentions :: Lens' TargetedSentimentEntity (Maybe [TargetedSentimentMention]) Source #

An array of mentions of the entity in the document. The array represents a co-reference group. See Co-reference group for an example.

TargetedSentimentMention

data TargetedSentimentMention Source #

Information about one mention of an entity. The mention information includes the location of the mention in the text and the sentiment of the mention.

For more information about targeted sentiment, see Targeted sentiment.

See: newTargetedSentimentMention smart constructor.

Constructors

TargetedSentimentMention' 

Fields

Instances

Instances details
FromJSON TargetedSentimentMention Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentMention

Generic TargetedSentimentMention Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentMention

Associated Types

type Rep TargetedSentimentMention :: Type -> Type #

Read TargetedSentimentMention Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentMention

Show TargetedSentimentMention Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentMention

NFData TargetedSentimentMention Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentMention

Eq TargetedSentimentMention Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentMention

Hashable TargetedSentimentMention Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentMention

type Rep TargetedSentimentMention Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TargetedSentimentMention

newTargetedSentimentMention :: TargetedSentimentMention Source #

Create a value of TargetedSentimentMention 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:TargetedSentimentMention', targetedSentimentMention_beginOffset - The offset into the document text where the mention begins.

$sel:endOffset:TargetedSentimentMention', targetedSentimentMention_endOffset - The offset into the document text where the mention ends.

$sel:groupScore:TargetedSentimentMention', targetedSentimentMention_groupScore - The confidence that all the entities mentioned in the group relate to the same entity.

$sel:mentionSentiment:TargetedSentimentMention', targetedSentimentMention_mentionSentiment - Contains the sentiment and sentiment score for the mention.

$sel:score:TargetedSentimentMention', targetedSentimentMention_score - Model confidence that the entity is relevant. Value range is zero to one, where one is highest confidence.

$sel:text:TargetedSentimentMention', targetedSentimentMention_text - The text in the document that identifies the entity.

$sel:type':TargetedSentimentMention', targetedSentimentMention_type - The type of the entity. Amazon Comprehend supports a variety of entity types.

targetedSentimentMention_beginOffset :: Lens' TargetedSentimentMention (Maybe Int) Source #

The offset into the document text where the mention begins.

targetedSentimentMention_endOffset :: Lens' TargetedSentimentMention (Maybe Int) Source #

The offset into the document text where the mention ends.

targetedSentimentMention_groupScore :: Lens' TargetedSentimentMention (Maybe Double) Source #

The confidence that all the entities mentioned in the group relate to the same entity.

targetedSentimentMention_mentionSentiment :: Lens' TargetedSentimentMention (Maybe MentionSentiment) Source #

Contains the sentiment and sentiment score for the mention.

targetedSentimentMention_score :: Lens' TargetedSentimentMention (Maybe Double) Source #

Model confidence that the entity is relevant. Value range is zero to one, where one is highest confidence.

targetedSentimentMention_text :: Lens' TargetedSentimentMention (Maybe Text) Source #

The text in the document that identifies the entity.

targetedSentimentMention_type :: Lens' TargetedSentimentMention (Maybe TargetedSentimentEntityType) Source #

The type of the entity. Amazon Comprehend supports a variety of entity types.

TopicsDetectionJobFilter

data TopicsDetectionJobFilter Source #

Provides information for filtering topic detection jobs. For more information, see .

See: newTopicsDetectionJobFilter smart constructor.

Constructors

TopicsDetectionJobFilter' 

Fields

  • jobName :: Maybe Text
     
  • jobStatus :: Maybe JobStatus

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

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

Instances

Instances details
ToJSON 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 #

Read TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

Show TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

NFData TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

Eq TopicsDetectionJobFilter Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobFilter

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "TopicsDetectionJobFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus))) :*: (S1 ('MetaSel ('Just "submitTimeAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "submitTimeBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

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

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

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.

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.

TopicsDetectionJobProperties

data TopicsDetectionJobProperties Source #

Provides information about a topic detection job.

See: newTopicsDetectionJobProperties smart constructor.

Constructors

TopicsDetectionJobProperties' 

Fields

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

  • endTime :: Maybe POSIX

    The time that the topic detection job was completed.

  • inputDataConfig :: Maybe InputDataConfig

    The input data configuration supplied when you created 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
  • jobId :: Maybe Text

    The identifier assigned to the topic detection job.

  • jobName :: Maybe Text

    The name of the topic detection job.

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

  • numberOfTopics :: Maybe Int

    The number of topics to detect supplied when you created the topic detection job. The default is 10.

  • outputDataConfig :: Maybe OutputDataConfig

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

  • submitTime :: Maybe POSIX

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

  • 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"
  • 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.

Instances

Instances details
FromJSON 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 #

Read TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

Show TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

NFData TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

Eq TopicsDetectionJobProperties Source # 
Instance details

Defined in Amazonka.Comprehend.Types.TopicsDetectionJobProperties

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "TopicsDetectionJobProperties'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InputDataConfig)))) :*: (S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "jobName") '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 "numberOfTopics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OutputDataConfig)) :*: S1 ('MetaSel ('Just "submitTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "volumeKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vpcConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VpcConfig)))))))

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: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:endTime:TopicsDetectionJobProperties', topicsDetectionJobProperties_endTime - The time that the topic detection job was completed.

$sel:inputDataConfig:TopicsDetectionJobProperties', topicsDetectionJobProperties_inputDataConfig - The input data configuration supplied when you created 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:jobId:TopicsDetectionJobProperties', topicsDetectionJobProperties_jobId - The identifier assigned to the topic detection job.

$sel:jobName:TopicsDetectionJobProperties', topicsDetectionJobProperties_jobName - The name of the topic detection job.

$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:numberOfTopics:TopicsDetectionJobProperties', topicsDetectionJobProperties_numberOfTopics - The number of topics to detect supplied when you created the topic detection job. The default is 10.

$sel:outputDataConfig:TopicsDetectionJobProperties', topicsDetectionJobProperties_outputDataConfig - The output data configuration supplied when you created the topic detection job.

$sel:submitTime:TopicsDetectionJobProperties', topicsDetectionJobProperties_submitTime - The time that the topic detection job was submitted for processing.

$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: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.

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_endTime :: Lens' TopicsDetectionJobProperties (Maybe UTCTime) Source #

The time that the topic detection job was completed.

topicsDetectionJobProperties_inputDataConfig :: Lens' TopicsDetectionJobProperties (Maybe InputDataConfig) Source #

The input data configuration supplied when you created 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_jobId :: Lens' TopicsDetectionJobProperties (Maybe Text) Source #

The identifier assigned to the topic detection job.

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_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_outputDataConfig :: Lens' TopicsDetectionJobProperties (Maybe OutputDataConfig) Source #

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

topicsDetectionJobProperties_submitTime :: Lens' TopicsDetectionJobProperties (Maybe UTCTime) Source #

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

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

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
FromJSON VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

ToJSON 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 #

Read VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

Show VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

NFData VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

Methods

rnf :: VpcConfig -> () #

Eq VpcConfig Source # 
Instance details

Defined in Amazonka.Comprehend.Types.VpcConfig

Hashable 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" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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.