Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- AugmentedManifestsDocumentTypeFormat
- BlockType
- DocumentClassifierDataFormat
- DocumentClassifierMode
- DocumentReadAction
- DocumentReadFeatureTypes
- DocumentReadMode
- DocumentType
- EndpointStatus
- EntityRecognizerDataFormat
- EntityType
- InputFormat
- JobStatus
- LanguageCode
- ModelStatus
- PageBasedErrorCode
- PartOfSpeechTagType
- PiiEntitiesDetectionMaskMode
- PiiEntitiesDetectionMode
- PiiEntityType
- RelationshipType
- SentimentType
- Split
- SyntaxLanguageCode
- TargetedSentimentEntityType
- AugmentedManifestsListItem
- BatchDetectDominantLanguageItemResult
- BatchDetectEntitiesItemResult
- BatchDetectKeyPhrasesItemResult
- BatchDetectSentimentItemResult
- BatchDetectSyntaxItemResult
- BatchDetectTargetedSentimentItemResult
- BatchItemError
- Block
- BlockReference
- BoundingBox
- ChildBlock
- ClassifierEvaluationMetrics
- ClassifierMetadata
- DocumentClass
- DocumentClassificationJobFilter
- DocumentClassificationJobProperties
- DocumentClassifierFilter
- DocumentClassifierInputDataConfig
- DocumentClassifierOutputDataConfig
- DocumentClassifierProperties
- DocumentClassifierSummary
- DocumentLabel
- DocumentMetadata
- DocumentReaderConfig
- DocumentTypeListItem
- DominantLanguage
- DominantLanguageDetectionJobFilter
- DominantLanguageDetectionJobProperties
- EndpointFilter
- EndpointProperties
- EntitiesDetectionJobFilter
- EntitiesDetectionJobProperties
- Entity
- EntityLabel
- EntityRecognizerAnnotations
- EntityRecognizerDocuments
- EntityRecognizerEntityList
- EntityRecognizerEvaluationMetrics
- EntityRecognizerFilter
- EntityRecognizerInputDataConfig
- EntityRecognizerMetadata
- EntityRecognizerMetadataEntityTypesListItem
- EntityRecognizerProperties
- EntityRecognizerSummary
- EntityTypesEvaluationMetrics
- EntityTypesListItem
- ErrorsListItem
- EventsDetectionJobFilter
- EventsDetectionJobProperties
- ExtractedCharactersListItem
- Geometry
- InputDataConfig
- KeyPhrase
- KeyPhrasesDetectionJobFilter
- KeyPhrasesDetectionJobProperties
- MentionSentiment
- OutputDataConfig
- PartOfSpeechTag
- PiiEntitiesDetectionJobFilter
- PiiEntitiesDetectionJobProperties
- PiiEntity
- PiiOutputDataConfig
- Point
- RedactionConfig
- RelationshipsListItem
- SentimentDetectionJobFilter
- SentimentDetectionJobProperties
- SentimentScore
- SyntaxToken
- Tag
- TargetedSentimentDetectionJobFilter
- TargetedSentimentDetectionJobProperties
- TargetedSentimentEntity
- TargetedSentimentMention
- TopicsDetectionJobFilter
- TopicsDetectionJobProperties
- VpcConfig
Synopsis
- defaultService :: Service
- _BatchSizeLimitExceededException :: AsError a => Fold a ServiceError
- _ConcurrentModificationException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _InvalidFilterException :: AsError a => Fold a ServiceError
- _InvalidRequestException :: AsError a => Fold a ServiceError
- _JobNotFoundException :: AsError a => Fold a ServiceError
- _KmsKeyValidationException :: AsError a => Fold a ServiceError
- _ResourceInUseException :: AsError a => Fold a ServiceError
- _ResourceLimitExceededException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ResourceUnavailableException :: AsError a => Fold a ServiceError
- _TextSizeLimitExceededException :: AsError a => Fold a ServiceError
- _TooManyRequestsException :: AsError a => Fold a ServiceError
- _TooManyTagKeysException :: AsError a => Fold a ServiceError
- _TooManyTagsException :: AsError a => Fold a ServiceError
- _UnsupportedLanguageException :: AsError a => Fold a ServiceError
- newtype AugmentedManifestsDocumentTypeFormat where
- newtype BlockType where
- BlockType' { }
- pattern BlockType_LINE :: BlockType
- pattern BlockType_WORD :: BlockType
- newtype DocumentClassifierDataFormat where
- newtype DocumentClassifierMode where
- newtype DocumentReadAction where
- newtype DocumentReadFeatureTypes where
- newtype DocumentReadMode where
- newtype DocumentType where
- DocumentType' { }
- pattern DocumentType_IMAGE :: DocumentType
- pattern DocumentType_MS_WORD :: DocumentType
- pattern DocumentType_NATIVE_PDF :: DocumentType
- pattern DocumentType_PLAIN_TEXT :: DocumentType
- pattern DocumentType_SCANNED_PDF :: DocumentType
- pattern DocumentType_TEXTRACT_ANALYZE_DOCUMENT_JSON :: DocumentType
- pattern DocumentType_TEXTRACT_DETECT_DOCUMENT_TEXT_JSON :: DocumentType
- newtype EndpointStatus where
- EndpointStatus' { }
- pattern EndpointStatus_CREATING :: EndpointStatus
- pattern EndpointStatus_DELETING :: EndpointStatus
- pattern EndpointStatus_FAILED :: EndpointStatus
- pattern EndpointStatus_IN_SERVICE :: EndpointStatus
- pattern EndpointStatus_UPDATING :: EndpointStatus
- newtype EntityRecognizerDataFormat where
- newtype EntityType where
- EntityType' { }
- pattern EntityType_COMMERCIAL_ITEM :: EntityType
- pattern EntityType_DATE :: EntityType
- pattern EntityType_EVENT :: EntityType
- pattern EntityType_LOCATION :: EntityType
- pattern EntityType_ORGANIZATION :: EntityType
- pattern EntityType_OTHER :: EntityType
- pattern EntityType_PERSON :: EntityType
- pattern EntityType_QUANTITY :: EntityType
- pattern EntityType_TITLE :: EntityType
- newtype InputFormat where
- InputFormat' { }
- pattern InputFormat_ONE_DOC_PER_FILE :: InputFormat
- pattern InputFormat_ONE_DOC_PER_LINE :: InputFormat
- newtype JobStatus where
- JobStatus' { }
- pattern JobStatus_COMPLETED :: JobStatus
- pattern JobStatus_FAILED :: JobStatus
- pattern JobStatus_IN_PROGRESS :: JobStatus
- pattern JobStatus_STOPPED :: JobStatus
- pattern JobStatus_STOP_REQUESTED :: JobStatus
- pattern JobStatus_SUBMITTED :: JobStatus
- newtype LanguageCode where
- LanguageCode' { }
- pattern LanguageCode_Ar :: LanguageCode
- pattern LanguageCode_De :: LanguageCode
- pattern LanguageCode_En :: LanguageCode
- pattern LanguageCode_Es :: LanguageCode
- pattern LanguageCode_Fr :: LanguageCode
- pattern LanguageCode_Hi :: LanguageCode
- pattern LanguageCode_It :: LanguageCode
- pattern LanguageCode_Ja :: LanguageCode
- pattern LanguageCode_Ko :: LanguageCode
- pattern LanguageCode_Pt :: LanguageCode
- pattern LanguageCode_Zh :: LanguageCode
- pattern LanguageCode_Zh_TW :: LanguageCode
- newtype ModelStatus where
- ModelStatus' { }
- pattern ModelStatus_DELETING :: ModelStatus
- pattern ModelStatus_IN_ERROR :: ModelStatus
- pattern ModelStatus_STOPPED :: ModelStatus
- pattern ModelStatus_STOP_REQUESTED :: ModelStatus
- pattern ModelStatus_SUBMITTED :: ModelStatus
- pattern ModelStatus_TRAINED :: ModelStatus
- pattern ModelStatus_TRAINING :: ModelStatus
- newtype PageBasedErrorCode where
- PageBasedErrorCode' { }
- pattern PageBasedErrorCode_INTERNAL_SERVER_ERROR :: PageBasedErrorCode
- pattern PageBasedErrorCode_PAGE_CHARACTERS_EXCEEDED :: PageBasedErrorCode
- pattern PageBasedErrorCode_PAGE_SIZE_EXCEEDED :: PageBasedErrorCode
- pattern PageBasedErrorCode_TEXTRACT_BAD_PAGE :: PageBasedErrorCode
- pattern PageBasedErrorCode_TEXTRACT_PROVISIONED_THROUGHPUT_EXCEEDED :: PageBasedErrorCode
- newtype PartOfSpeechTagType where
- PartOfSpeechTagType' { }
- pattern PartOfSpeechTagType_ADJ :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_ADP :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_ADV :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_AUX :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_CCONJ :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_CONJ :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_DET :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_INTJ :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_NOUN :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_NUM :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_O :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_PART :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_PRON :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_PROPN :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_PUNCT :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_SCONJ :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_SYM :: PartOfSpeechTagType
- pattern PartOfSpeechTagType_VERB :: PartOfSpeechTagType
- newtype PiiEntitiesDetectionMaskMode where
- newtype PiiEntitiesDetectionMode where
- newtype PiiEntityType where
- PiiEntityType' { }
- 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
- newtype RelationshipType where
- RelationshipType' { }
- pattern RelationshipType_CHILD :: RelationshipType
- newtype SentimentType where
- SentimentType' { }
- pattern SentimentType_MIXED :: SentimentType
- pattern SentimentType_NEGATIVE :: SentimentType
- pattern SentimentType_NEUTRAL :: SentimentType
- pattern SentimentType_POSITIVE :: SentimentType
- newtype Split where
- Split' { }
- pattern Split_TEST :: Split
- pattern Split_TRAIN :: Split
- newtype SyntaxLanguageCode where
- SyntaxLanguageCode' { }
- pattern SyntaxLanguageCode_De :: SyntaxLanguageCode
- pattern SyntaxLanguageCode_En :: SyntaxLanguageCode
- pattern SyntaxLanguageCode_Es :: SyntaxLanguageCode
- pattern SyntaxLanguageCode_Fr :: SyntaxLanguageCode
- pattern SyntaxLanguageCode_It :: SyntaxLanguageCode
- pattern SyntaxLanguageCode_Pt :: SyntaxLanguageCode
- newtype TargetedSentimentEntityType where
- TargetedSentimentEntityType' { }
- pattern TargetedSentimentEntityType_ATTRIBUTE :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_BOOK :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_BRAND :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_COMMERCIAL_ITEM :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_DATE :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_EVENT :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_FACILITY :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_GAME :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_LOCATION :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_MOVIE :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_MUSIC :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_ORGANIZATION :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_OTHER :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_PERSON :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_PERSONAL_TITLE :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_QUANTITY :: TargetedSentimentEntityType
- pattern TargetedSentimentEntityType_SOFTWARE :: TargetedSentimentEntityType
- data AugmentedManifestsListItem = AugmentedManifestsListItem' {}
- newAugmentedManifestsListItem :: Text -> AugmentedManifestsListItem
- augmentedManifestsListItem_annotationDataS3Uri :: Lens' AugmentedManifestsListItem (Maybe Text)
- augmentedManifestsListItem_documentType :: Lens' AugmentedManifestsListItem (Maybe AugmentedManifestsDocumentTypeFormat)
- augmentedManifestsListItem_sourceDocumentsS3Uri :: Lens' AugmentedManifestsListItem (Maybe Text)
- augmentedManifestsListItem_split :: Lens' AugmentedManifestsListItem (Maybe Split)
- augmentedManifestsListItem_s3Uri :: Lens' AugmentedManifestsListItem Text
- augmentedManifestsListItem_attributeNames :: Lens' AugmentedManifestsListItem [Text]
- data BatchDetectDominantLanguageItemResult = BatchDetectDominantLanguageItemResult' {}
- newBatchDetectDominantLanguageItemResult :: BatchDetectDominantLanguageItemResult
- batchDetectDominantLanguageItemResult_index :: Lens' BatchDetectDominantLanguageItemResult (Maybe Int)
- batchDetectDominantLanguageItemResult_languages :: Lens' BatchDetectDominantLanguageItemResult (Maybe [DominantLanguage])
- data BatchDetectEntitiesItemResult = BatchDetectEntitiesItemResult' {}
- newBatchDetectEntitiesItemResult :: BatchDetectEntitiesItemResult
- batchDetectEntitiesItemResult_entities :: Lens' BatchDetectEntitiesItemResult (Maybe [Entity])
- batchDetectEntitiesItemResult_index :: Lens' BatchDetectEntitiesItemResult (Maybe Int)
- data BatchDetectKeyPhrasesItemResult = BatchDetectKeyPhrasesItemResult' {}
- newBatchDetectKeyPhrasesItemResult :: BatchDetectKeyPhrasesItemResult
- batchDetectKeyPhrasesItemResult_index :: Lens' BatchDetectKeyPhrasesItemResult (Maybe Int)
- batchDetectKeyPhrasesItemResult_keyPhrases :: Lens' BatchDetectKeyPhrasesItemResult (Maybe [KeyPhrase])
- data BatchDetectSentimentItemResult = BatchDetectSentimentItemResult' {}
- newBatchDetectSentimentItemResult :: BatchDetectSentimentItemResult
- batchDetectSentimentItemResult_index :: Lens' BatchDetectSentimentItemResult (Maybe Int)
- batchDetectSentimentItemResult_sentiment :: Lens' BatchDetectSentimentItemResult (Maybe SentimentType)
- batchDetectSentimentItemResult_sentimentScore :: Lens' BatchDetectSentimentItemResult (Maybe SentimentScore)
- data BatchDetectSyntaxItemResult = BatchDetectSyntaxItemResult' {
- index :: Maybe Int
- syntaxTokens :: Maybe [SyntaxToken]
- newBatchDetectSyntaxItemResult :: BatchDetectSyntaxItemResult
- batchDetectSyntaxItemResult_index :: Lens' BatchDetectSyntaxItemResult (Maybe Int)
- batchDetectSyntaxItemResult_syntaxTokens :: Lens' BatchDetectSyntaxItemResult (Maybe [SyntaxToken])
- data BatchDetectTargetedSentimentItemResult = BatchDetectTargetedSentimentItemResult' {}
- newBatchDetectTargetedSentimentItemResult :: BatchDetectTargetedSentimentItemResult
- batchDetectTargetedSentimentItemResult_entities :: Lens' BatchDetectTargetedSentimentItemResult (Maybe [TargetedSentimentEntity])
- batchDetectTargetedSentimentItemResult_index :: Lens' BatchDetectTargetedSentimentItemResult (Maybe Int)
- data BatchItemError = BatchItemError' {}
- newBatchItemError :: BatchItemError
- batchItemError_errorCode :: Lens' BatchItemError (Maybe Text)
- batchItemError_errorMessage :: Lens' BatchItemError (Maybe Text)
- batchItemError_index :: Lens' BatchItemError (Maybe Int)
- data Block = Block' {}
- newBlock :: Block
- block_blockType :: Lens' Block (Maybe BlockType)
- block_geometry :: Lens' Block (Maybe Geometry)
- block_id :: Lens' Block (Maybe Text)
- block_page :: Lens' Block (Maybe Int)
- block_relationships :: Lens' Block (Maybe [RelationshipsListItem])
- block_text :: Lens' Block (Maybe Text)
- data BlockReference = BlockReference' {
- beginOffset :: Maybe Int
- blockId :: Maybe Text
- childBlocks :: Maybe [ChildBlock]
- endOffset :: Maybe Int
- newBlockReference :: BlockReference
- blockReference_beginOffset :: Lens' BlockReference (Maybe Int)
- blockReference_blockId :: Lens' BlockReference (Maybe Text)
- blockReference_childBlocks :: Lens' BlockReference (Maybe [ChildBlock])
- blockReference_endOffset :: Lens' BlockReference (Maybe Int)
- data BoundingBox = BoundingBox' {}
- newBoundingBox :: BoundingBox
- boundingBox_height :: Lens' BoundingBox (Maybe Double)
- boundingBox_left :: Lens' BoundingBox (Maybe Double)
- boundingBox_top :: Lens' BoundingBox (Maybe Double)
- boundingBox_width :: Lens' BoundingBox (Maybe Double)
- data ChildBlock = ChildBlock' {
- beginOffset :: Maybe Int
- childBlockId :: Maybe Text
- endOffset :: Maybe Int
- newChildBlock :: ChildBlock
- childBlock_beginOffset :: Lens' ChildBlock (Maybe Int)
- childBlock_childBlockId :: Lens' ChildBlock (Maybe Text)
- childBlock_endOffset :: Lens' ChildBlock (Maybe Int)
- data ClassifierEvaluationMetrics = ClassifierEvaluationMetrics' {}
- newClassifierEvaluationMetrics :: ClassifierEvaluationMetrics
- classifierEvaluationMetrics_accuracy :: Lens' ClassifierEvaluationMetrics (Maybe Double)
- classifierEvaluationMetrics_f1Score :: Lens' ClassifierEvaluationMetrics (Maybe Double)
- classifierEvaluationMetrics_hammingLoss :: Lens' ClassifierEvaluationMetrics (Maybe Double)
- classifierEvaluationMetrics_microF1Score :: Lens' ClassifierEvaluationMetrics (Maybe Double)
- classifierEvaluationMetrics_microPrecision :: Lens' ClassifierEvaluationMetrics (Maybe Double)
- classifierEvaluationMetrics_microRecall :: Lens' ClassifierEvaluationMetrics (Maybe Double)
- classifierEvaluationMetrics_precision :: Lens' ClassifierEvaluationMetrics (Maybe Double)
- classifierEvaluationMetrics_recall :: Lens' ClassifierEvaluationMetrics (Maybe Double)
- data ClassifierMetadata = ClassifierMetadata' {}
- newClassifierMetadata :: ClassifierMetadata
- classifierMetadata_evaluationMetrics :: Lens' ClassifierMetadata (Maybe ClassifierEvaluationMetrics)
- classifierMetadata_numberOfLabels :: Lens' ClassifierMetadata (Maybe Int)
- classifierMetadata_numberOfTestDocuments :: Lens' ClassifierMetadata (Maybe Int)
- classifierMetadata_numberOfTrainedDocuments :: Lens' ClassifierMetadata (Maybe Int)
- data DocumentClass = DocumentClass' {}
- newDocumentClass :: DocumentClass
- documentClass_name :: Lens' DocumentClass (Maybe Text)
- documentClass_page :: Lens' DocumentClass (Maybe Int)
- documentClass_score :: Lens' DocumentClass (Maybe Double)
- data DocumentClassificationJobFilter = DocumentClassificationJobFilter' {}
- newDocumentClassificationJobFilter :: DocumentClassificationJobFilter
- documentClassificationJobFilter_jobName :: Lens' DocumentClassificationJobFilter (Maybe Text)
- documentClassificationJobFilter_jobStatus :: Lens' DocumentClassificationJobFilter (Maybe JobStatus)
- documentClassificationJobFilter_submitTimeAfter :: Lens' DocumentClassificationJobFilter (Maybe UTCTime)
- documentClassificationJobFilter_submitTimeBefore :: Lens' DocumentClassificationJobFilter (Maybe UTCTime)
- data DocumentClassificationJobProperties = DocumentClassificationJobProperties' {
- dataAccessRoleArn :: Maybe Text
- documentClassifierArn :: Maybe Text
- endTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- jobArn :: Maybe Text
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- message :: Maybe Text
- outputDataConfig :: Maybe OutputDataConfig
- submitTime :: Maybe POSIX
- volumeKmsKeyId :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- newDocumentClassificationJobProperties :: DocumentClassificationJobProperties
- documentClassificationJobProperties_dataAccessRoleArn :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_documentClassifierArn :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_endTime :: Lens' DocumentClassificationJobProperties (Maybe UTCTime)
- documentClassificationJobProperties_inputDataConfig :: Lens' DocumentClassificationJobProperties (Maybe InputDataConfig)
- documentClassificationJobProperties_jobArn :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_jobId :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_jobName :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_jobStatus :: Lens' DocumentClassificationJobProperties (Maybe JobStatus)
- documentClassificationJobProperties_message :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_outputDataConfig :: Lens' DocumentClassificationJobProperties (Maybe OutputDataConfig)
- documentClassificationJobProperties_submitTime :: Lens' DocumentClassificationJobProperties (Maybe UTCTime)
- documentClassificationJobProperties_volumeKmsKeyId :: Lens' DocumentClassificationJobProperties (Maybe Text)
- documentClassificationJobProperties_vpcConfig :: Lens' DocumentClassificationJobProperties (Maybe VpcConfig)
- data DocumentClassifierFilter = DocumentClassifierFilter' {}
- newDocumentClassifierFilter :: DocumentClassifierFilter
- documentClassifierFilter_documentClassifierName :: Lens' DocumentClassifierFilter (Maybe Text)
- documentClassifierFilter_status :: Lens' DocumentClassifierFilter (Maybe ModelStatus)
- documentClassifierFilter_submitTimeAfter :: Lens' DocumentClassifierFilter (Maybe UTCTime)
- documentClassifierFilter_submitTimeBefore :: Lens' DocumentClassifierFilter (Maybe UTCTime)
- data DocumentClassifierInputDataConfig = DocumentClassifierInputDataConfig' {}
- newDocumentClassifierInputDataConfig :: DocumentClassifierInputDataConfig
- documentClassifierInputDataConfig_augmentedManifests :: Lens' DocumentClassifierInputDataConfig (Maybe [AugmentedManifestsListItem])
- documentClassifierInputDataConfig_dataFormat :: Lens' DocumentClassifierInputDataConfig (Maybe DocumentClassifierDataFormat)
- documentClassifierInputDataConfig_labelDelimiter :: Lens' DocumentClassifierInputDataConfig (Maybe Text)
- documentClassifierInputDataConfig_s3Uri :: Lens' DocumentClassifierInputDataConfig (Maybe Text)
- documentClassifierInputDataConfig_testS3Uri :: Lens' DocumentClassifierInputDataConfig (Maybe Text)
- data DocumentClassifierOutputDataConfig = DocumentClassifierOutputDataConfig' {}
- newDocumentClassifierOutputDataConfig :: DocumentClassifierOutputDataConfig
- documentClassifierOutputDataConfig_kmsKeyId :: Lens' DocumentClassifierOutputDataConfig (Maybe Text)
- documentClassifierOutputDataConfig_s3Uri :: Lens' DocumentClassifierOutputDataConfig (Maybe Text)
- data DocumentClassifierProperties = DocumentClassifierProperties' {
- classifierMetadata :: Maybe (Sensitive ClassifierMetadata)
- dataAccessRoleArn :: Maybe Text
- documentClassifierArn :: Maybe Text
- endTime :: Maybe POSIX
- inputDataConfig :: Maybe DocumentClassifierInputDataConfig
- languageCode :: Maybe LanguageCode
- message :: Maybe Text
- mode :: Maybe DocumentClassifierMode
- modelKmsKeyId :: Maybe Text
- outputDataConfig :: Maybe DocumentClassifierOutputDataConfig
- sourceModelArn :: Maybe Text
- status :: Maybe ModelStatus
- submitTime :: Maybe POSIX
- trainingEndTime :: Maybe POSIX
- trainingStartTime :: Maybe POSIX
- versionName :: Maybe Text
- volumeKmsKeyId :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- newDocumentClassifierProperties :: DocumentClassifierProperties
- documentClassifierProperties_classifierMetadata :: Lens' DocumentClassifierProperties (Maybe ClassifierMetadata)
- documentClassifierProperties_dataAccessRoleArn :: Lens' DocumentClassifierProperties (Maybe Text)
- documentClassifierProperties_documentClassifierArn :: Lens' DocumentClassifierProperties (Maybe Text)
- documentClassifierProperties_endTime :: Lens' DocumentClassifierProperties (Maybe UTCTime)
- documentClassifierProperties_inputDataConfig :: Lens' DocumentClassifierProperties (Maybe DocumentClassifierInputDataConfig)
- documentClassifierProperties_languageCode :: Lens' DocumentClassifierProperties (Maybe LanguageCode)
- documentClassifierProperties_message :: Lens' DocumentClassifierProperties (Maybe Text)
- documentClassifierProperties_mode :: Lens' DocumentClassifierProperties (Maybe DocumentClassifierMode)
- documentClassifierProperties_modelKmsKeyId :: Lens' DocumentClassifierProperties (Maybe Text)
- documentClassifierProperties_outputDataConfig :: Lens' DocumentClassifierProperties (Maybe DocumentClassifierOutputDataConfig)
- documentClassifierProperties_sourceModelArn :: Lens' DocumentClassifierProperties (Maybe Text)
- documentClassifierProperties_status :: Lens' DocumentClassifierProperties (Maybe ModelStatus)
- documentClassifierProperties_submitTime :: Lens' DocumentClassifierProperties (Maybe UTCTime)
- documentClassifierProperties_trainingEndTime :: Lens' DocumentClassifierProperties (Maybe UTCTime)
- documentClassifierProperties_trainingStartTime :: Lens' DocumentClassifierProperties (Maybe UTCTime)
- documentClassifierProperties_versionName :: Lens' DocumentClassifierProperties (Maybe Text)
- documentClassifierProperties_volumeKmsKeyId :: Lens' DocumentClassifierProperties (Maybe Text)
- documentClassifierProperties_vpcConfig :: Lens' DocumentClassifierProperties (Maybe VpcConfig)
- data DocumentClassifierSummary = DocumentClassifierSummary' {}
- newDocumentClassifierSummary :: DocumentClassifierSummary
- documentClassifierSummary_documentClassifierName :: Lens' DocumentClassifierSummary (Maybe Text)
- documentClassifierSummary_latestVersionCreatedAt :: Lens' DocumentClassifierSummary (Maybe UTCTime)
- documentClassifierSummary_latestVersionName :: Lens' DocumentClassifierSummary (Maybe Text)
- documentClassifierSummary_latestVersionStatus :: Lens' DocumentClassifierSummary (Maybe ModelStatus)
- documentClassifierSummary_numberOfVersions :: Lens' DocumentClassifierSummary (Maybe Int)
- data DocumentLabel = DocumentLabel' {}
- newDocumentLabel :: DocumentLabel
- documentLabel_name :: Lens' DocumentLabel (Maybe Text)
- documentLabel_page :: Lens' DocumentLabel (Maybe Int)
- documentLabel_score :: Lens' DocumentLabel (Maybe Double)
- data DocumentMetadata = DocumentMetadata' {}
- newDocumentMetadata :: DocumentMetadata
- documentMetadata_extractedCharacters :: Lens' DocumentMetadata (Maybe [ExtractedCharactersListItem])
- documentMetadata_pages :: Lens' DocumentMetadata (Maybe Int)
- data DocumentReaderConfig = DocumentReaderConfig' {}
- newDocumentReaderConfig :: DocumentReadAction -> DocumentReaderConfig
- documentReaderConfig_documentReadMode :: Lens' DocumentReaderConfig (Maybe DocumentReadMode)
- documentReaderConfig_featureTypes :: Lens' DocumentReaderConfig (Maybe (NonEmpty DocumentReadFeatureTypes))
- documentReaderConfig_documentReadAction :: Lens' DocumentReaderConfig DocumentReadAction
- data DocumentTypeListItem = DocumentTypeListItem' {}
- newDocumentTypeListItem :: DocumentTypeListItem
- documentTypeListItem_page :: Lens' DocumentTypeListItem (Maybe Int)
- documentTypeListItem_type :: Lens' DocumentTypeListItem (Maybe DocumentType)
- data DominantLanguage = DominantLanguage' {}
- newDominantLanguage :: DominantLanguage
- dominantLanguage_languageCode :: Lens' DominantLanguage (Maybe Text)
- dominantLanguage_score :: Lens' DominantLanguage (Maybe Double)
- data DominantLanguageDetectionJobFilter = DominantLanguageDetectionJobFilter' {}
- newDominantLanguageDetectionJobFilter :: DominantLanguageDetectionJobFilter
- dominantLanguageDetectionJobFilter_jobName :: Lens' DominantLanguageDetectionJobFilter (Maybe Text)
- dominantLanguageDetectionJobFilter_jobStatus :: Lens' DominantLanguageDetectionJobFilter (Maybe JobStatus)
- dominantLanguageDetectionJobFilter_submitTimeAfter :: Lens' DominantLanguageDetectionJobFilter (Maybe UTCTime)
- dominantLanguageDetectionJobFilter_submitTimeBefore :: Lens' DominantLanguageDetectionJobFilter (Maybe UTCTime)
- data DominantLanguageDetectionJobProperties = DominantLanguageDetectionJobProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- jobArn :: Maybe Text
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- message :: Maybe Text
- outputDataConfig :: Maybe OutputDataConfig
- submitTime :: Maybe POSIX
- volumeKmsKeyId :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- newDominantLanguageDetectionJobProperties :: DominantLanguageDetectionJobProperties
- dominantLanguageDetectionJobProperties_dataAccessRoleArn :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
- dominantLanguageDetectionJobProperties_endTime :: Lens' DominantLanguageDetectionJobProperties (Maybe UTCTime)
- dominantLanguageDetectionJobProperties_inputDataConfig :: Lens' DominantLanguageDetectionJobProperties (Maybe InputDataConfig)
- dominantLanguageDetectionJobProperties_jobArn :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
- dominantLanguageDetectionJobProperties_jobId :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
- dominantLanguageDetectionJobProperties_jobName :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
- dominantLanguageDetectionJobProperties_jobStatus :: Lens' DominantLanguageDetectionJobProperties (Maybe JobStatus)
- dominantLanguageDetectionJobProperties_message :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
- dominantLanguageDetectionJobProperties_outputDataConfig :: Lens' DominantLanguageDetectionJobProperties (Maybe OutputDataConfig)
- dominantLanguageDetectionJobProperties_submitTime :: Lens' DominantLanguageDetectionJobProperties (Maybe UTCTime)
- dominantLanguageDetectionJobProperties_volumeKmsKeyId :: Lens' DominantLanguageDetectionJobProperties (Maybe Text)
- dominantLanguageDetectionJobProperties_vpcConfig :: Lens' DominantLanguageDetectionJobProperties (Maybe VpcConfig)
- data EndpointFilter = EndpointFilter' {}
- newEndpointFilter :: EndpointFilter
- endpointFilter_creationTimeAfter :: Lens' EndpointFilter (Maybe UTCTime)
- endpointFilter_creationTimeBefore :: Lens' EndpointFilter (Maybe UTCTime)
- endpointFilter_modelArn :: Lens' EndpointFilter (Maybe Text)
- endpointFilter_status :: Lens' EndpointFilter (Maybe EndpointStatus)
- data EndpointProperties = EndpointProperties' {
- creationTime :: Maybe POSIX
- currentInferenceUnits :: Maybe Natural
- dataAccessRoleArn :: Maybe Text
- desiredDataAccessRoleArn :: Maybe Text
- desiredInferenceUnits :: Maybe Natural
- desiredModelArn :: Maybe Text
- endpointArn :: Maybe Text
- lastModifiedTime :: Maybe POSIX
- message :: Maybe Text
- modelArn :: Maybe Text
- status :: Maybe EndpointStatus
- newEndpointProperties :: EndpointProperties
- endpointProperties_creationTime :: Lens' EndpointProperties (Maybe UTCTime)
- endpointProperties_currentInferenceUnits :: Lens' EndpointProperties (Maybe Natural)
- endpointProperties_dataAccessRoleArn :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_desiredDataAccessRoleArn :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_desiredInferenceUnits :: Lens' EndpointProperties (Maybe Natural)
- endpointProperties_desiredModelArn :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_endpointArn :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_lastModifiedTime :: Lens' EndpointProperties (Maybe UTCTime)
- endpointProperties_message :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_modelArn :: Lens' EndpointProperties (Maybe Text)
- endpointProperties_status :: Lens' EndpointProperties (Maybe EndpointStatus)
- data EntitiesDetectionJobFilter = EntitiesDetectionJobFilter' {}
- newEntitiesDetectionJobFilter :: EntitiesDetectionJobFilter
- entitiesDetectionJobFilter_jobName :: Lens' EntitiesDetectionJobFilter (Maybe Text)
- entitiesDetectionJobFilter_jobStatus :: Lens' EntitiesDetectionJobFilter (Maybe JobStatus)
- entitiesDetectionJobFilter_submitTimeAfter :: Lens' EntitiesDetectionJobFilter (Maybe UTCTime)
- entitiesDetectionJobFilter_submitTimeBefore :: Lens' EntitiesDetectionJobFilter (Maybe UTCTime)
- data EntitiesDetectionJobProperties = EntitiesDetectionJobProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- entityRecognizerArn :: Maybe Text
- inputDataConfig :: Maybe InputDataConfig
- jobArn :: Maybe Text
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- languageCode :: Maybe LanguageCode
- message :: Maybe Text
- outputDataConfig :: Maybe OutputDataConfig
- submitTime :: Maybe POSIX
- volumeKmsKeyId :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- newEntitiesDetectionJobProperties :: EntitiesDetectionJobProperties
- entitiesDetectionJobProperties_dataAccessRoleArn :: Lens' EntitiesDetectionJobProperties (Maybe Text)
- entitiesDetectionJobProperties_endTime :: Lens' EntitiesDetectionJobProperties (Maybe UTCTime)
- entitiesDetectionJobProperties_entityRecognizerArn :: Lens' EntitiesDetectionJobProperties (Maybe Text)
- entitiesDetectionJobProperties_inputDataConfig :: Lens' EntitiesDetectionJobProperties (Maybe InputDataConfig)
- entitiesDetectionJobProperties_jobArn :: Lens' EntitiesDetectionJobProperties (Maybe Text)
- entitiesDetectionJobProperties_jobId :: Lens' EntitiesDetectionJobProperties (Maybe Text)
- entitiesDetectionJobProperties_jobName :: Lens' EntitiesDetectionJobProperties (Maybe Text)
- entitiesDetectionJobProperties_jobStatus :: Lens' EntitiesDetectionJobProperties (Maybe JobStatus)
- entitiesDetectionJobProperties_languageCode :: Lens' EntitiesDetectionJobProperties (Maybe LanguageCode)
- entitiesDetectionJobProperties_message :: Lens' EntitiesDetectionJobProperties (Maybe Text)
- entitiesDetectionJobProperties_outputDataConfig :: Lens' EntitiesDetectionJobProperties (Maybe OutputDataConfig)
- entitiesDetectionJobProperties_submitTime :: Lens' EntitiesDetectionJobProperties (Maybe UTCTime)
- entitiesDetectionJobProperties_volumeKmsKeyId :: Lens' EntitiesDetectionJobProperties (Maybe Text)
- entitiesDetectionJobProperties_vpcConfig :: Lens' EntitiesDetectionJobProperties (Maybe VpcConfig)
- data Entity = Entity' {
- beginOffset :: Maybe Int
- blockReferences :: Maybe [BlockReference]
- endOffset :: Maybe Int
- score :: Maybe Double
- text :: Maybe Text
- type' :: Maybe EntityType
- newEntity :: Entity
- entity_beginOffset :: Lens' Entity (Maybe Int)
- entity_blockReferences :: Lens' Entity (Maybe [BlockReference])
- entity_endOffset :: Lens' Entity (Maybe Int)
- entity_score :: Lens' Entity (Maybe Double)
- entity_text :: Lens' Entity (Maybe Text)
- entity_type :: Lens' Entity (Maybe EntityType)
- data EntityLabel = EntityLabel' {}
- newEntityLabel :: EntityLabel
- entityLabel_name :: Lens' EntityLabel (Maybe PiiEntityType)
- entityLabel_score :: Lens' EntityLabel (Maybe Double)
- data EntityRecognizerAnnotations = EntityRecognizerAnnotations' {}
- newEntityRecognizerAnnotations :: Text -> EntityRecognizerAnnotations
- entityRecognizerAnnotations_testS3Uri :: Lens' EntityRecognizerAnnotations (Maybe Text)
- entityRecognizerAnnotations_s3Uri :: Lens' EntityRecognizerAnnotations Text
- data EntityRecognizerDocuments = EntityRecognizerDocuments' {
- inputFormat :: Maybe InputFormat
- testS3Uri :: Maybe Text
- s3Uri :: Text
- newEntityRecognizerDocuments :: Text -> EntityRecognizerDocuments
- entityRecognizerDocuments_inputFormat :: Lens' EntityRecognizerDocuments (Maybe InputFormat)
- entityRecognizerDocuments_testS3Uri :: Lens' EntityRecognizerDocuments (Maybe Text)
- entityRecognizerDocuments_s3Uri :: Lens' EntityRecognizerDocuments Text
- data EntityRecognizerEntityList = EntityRecognizerEntityList' {}
- newEntityRecognizerEntityList :: Text -> EntityRecognizerEntityList
- entityRecognizerEntityList_s3Uri :: Lens' EntityRecognizerEntityList Text
- data EntityRecognizerEvaluationMetrics = EntityRecognizerEvaluationMetrics' {}
- newEntityRecognizerEvaluationMetrics :: EntityRecognizerEvaluationMetrics
- entityRecognizerEvaluationMetrics_f1Score :: Lens' EntityRecognizerEvaluationMetrics (Maybe Double)
- entityRecognizerEvaluationMetrics_precision :: Lens' EntityRecognizerEvaluationMetrics (Maybe Double)
- entityRecognizerEvaluationMetrics_recall :: Lens' EntityRecognizerEvaluationMetrics (Maybe Double)
- data EntityRecognizerFilter = EntityRecognizerFilter' {}
- newEntityRecognizerFilter :: EntityRecognizerFilter
- entityRecognizerFilter_recognizerName :: Lens' EntityRecognizerFilter (Maybe Text)
- entityRecognizerFilter_status :: Lens' EntityRecognizerFilter (Maybe ModelStatus)
- entityRecognizerFilter_submitTimeAfter :: Lens' EntityRecognizerFilter (Maybe UTCTime)
- entityRecognizerFilter_submitTimeBefore :: Lens' EntityRecognizerFilter (Maybe UTCTime)
- data EntityRecognizerInputDataConfig = EntityRecognizerInputDataConfig' {}
- newEntityRecognizerInputDataConfig :: EntityRecognizerInputDataConfig
- entityRecognizerInputDataConfig_annotations :: Lens' EntityRecognizerInputDataConfig (Maybe EntityRecognizerAnnotations)
- entityRecognizerInputDataConfig_augmentedManifests :: Lens' EntityRecognizerInputDataConfig (Maybe [AugmentedManifestsListItem])
- entityRecognizerInputDataConfig_dataFormat :: Lens' EntityRecognizerInputDataConfig (Maybe EntityRecognizerDataFormat)
- entityRecognizerInputDataConfig_documents :: Lens' EntityRecognizerInputDataConfig (Maybe EntityRecognizerDocuments)
- entityRecognizerInputDataConfig_entityList :: Lens' EntityRecognizerInputDataConfig (Maybe EntityRecognizerEntityList)
- entityRecognizerInputDataConfig_entityTypes :: Lens' EntityRecognizerInputDataConfig [EntityTypesListItem]
- data EntityRecognizerMetadata = EntityRecognizerMetadata' {}
- newEntityRecognizerMetadata :: EntityRecognizerMetadata
- entityRecognizerMetadata_entityTypes :: Lens' EntityRecognizerMetadata (Maybe [EntityRecognizerMetadataEntityTypesListItem])
- entityRecognizerMetadata_evaluationMetrics :: Lens' EntityRecognizerMetadata (Maybe EntityRecognizerEvaluationMetrics)
- entityRecognizerMetadata_numberOfTestDocuments :: Lens' EntityRecognizerMetadata (Maybe Int)
- entityRecognizerMetadata_numberOfTrainedDocuments :: Lens' EntityRecognizerMetadata (Maybe Int)
- data EntityRecognizerMetadataEntityTypesListItem = EntityRecognizerMetadataEntityTypesListItem' {}
- newEntityRecognizerMetadataEntityTypesListItem :: EntityRecognizerMetadataEntityTypesListItem
- entityRecognizerMetadataEntityTypesListItem_evaluationMetrics :: Lens' EntityRecognizerMetadataEntityTypesListItem (Maybe EntityTypesEvaluationMetrics)
- entityRecognizerMetadataEntityTypesListItem_numberOfTrainMentions :: Lens' EntityRecognizerMetadataEntityTypesListItem (Maybe Int)
- entityRecognizerMetadataEntityTypesListItem_type :: Lens' EntityRecognizerMetadataEntityTypesListItem (Maybe Text)
- data EntityRecognizerProperties = EntityRecognizerProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- entityRecognizerArn :: Maybe Text
- inputDataConfig :: Maybe EntityRecognizerInputDataConfig
- languageCode :: Maybe LanguageCode
- message :: Maybe Text
- modelKmsKeyId :: Maybe Text
- recognizerMetadata :: Maybe (Sensitive EntityRecognizerMetadata)
- sourceModelArn :: Maybe Text
- status :: Maybe ModelStatus
- submitTime :: Maybe POSIX
- trainingEndTime :: Maybe POSIX
- trainingStartTime :: Maybe POSIX
- versionName :: Maybe Text
- volumeKmsKeyId :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- newEntityRecognizerProperties :: EntityRecognizerProperties
- entityRecognizerProperties_dataAccessRoleArn :: Lens' EntityRecognizerProperties (Maybe Text)
- entityRecognizerProperties_endTime :: Lens' EntityRecognizerProperties (Maybe UTCTime)
- entityRecognizerProperties_entityRecognizerArn :: Lens' EntityRecognizerProperties (Maybe Text)
- entityRecognizerProperties_inputDataConfig :: Lens' EntityRecognizerProperties (Maybe EntityRecognizerInputDataConfig)
- entityRecognizerProperties_languageCode :: Lens' EntityRecognizerProperties (Maybe LanguageCode)
- entityRecognizerProperties_message :: Lens' EntityRecognizerProperties (Maybe Text)
- entityRecognizerProperties_modelKmsKeyId :: Lens' EntityRecognizerProperties (Maybe Text)
- entityRecognizerProperties_recognizerMetadata :: Lens' EntityRecognizerProperties (Maybe EntityRecognizerMetadata)
- entityRecognizerProperties_sourceModelArn :: Lens' EntityRecognizerProperties (Maybe Text)
- entityRecognizerProperties_status :: Lens' EntityRecognizerProperties (Maybe ModelStatus)
- entityRecognizerProperties_submitTime :: Lens' EntityRecognizerProperties (Maybe UTCTime)
- entityRecognizerProperties_trainingEndTime :: Lens' EntityRecognizerProperties (Maybe UTCTime)
- entityRecognizerProperties_trainingStartTime :: Lens' EntityRecognizerProperties (Maybe UTCTime)
- entityRecognizerProperties_versionName :: Lens' EntityRecognizerProperties (Maybe Text)
- entityRecognizerProperties_volumeKmsKeyId :: Lens' EntityRecognizerProperties (Maybe Text)
- entityRecognizerProperties_vpcConfig :: Lens' EntityRecognizerProperties (Maybe VpcConfig)
- data EntityRecognizerSummary = EntityRecognizerSummary' {}
- newEntityRecognizerSummary :: EntityRecognizerSummary
- entityRecognizerSummary_latestVersionCreatedAt :: Lens' EntityRecognizerSummary (Maybe UTCTime)
- entityRecognizerSummary_latestVersionName :: Lens' EntityRecognizerSummary (Maybe Text)
- entityRecognizerSummary_latestVersionStatus :: Lens' EntityRecognizerSummary (Maybe ModelStatus)
- entityRecognizerSummary_numberOfVersions :: Lens' EntityRecognizerSummary (Maybe Int)
- entityRecognizerSummary_recognizerName :: Lens' EntityRecognizerSummary (Maybe Text)
- data EntityTypesEvaluationMetrics = EntityTypesEvaluationMetrics' {}
- newEntityTypesEvaluationMetrics :: EntityTypesEvaluationMetrics
- entityTypesEvaluationMetrics_f1Score :: Lens' EntityTypesEvaluationMetrics (Maybe Double)
- entityTypesEvaluationMetrics_precision :: Lens' EntityTypesEvaluationMetrics (Maybe Double)
- entityTypesEvaluationMetrics_recall :: Lens' EntityTypesEvaluationMetrics (Maybe Double)
- data EntityTypesListItem = EntityTypesListItem' {}
- newEntityTypesListItem :: Text -> EntityTypesListItem
- entityTypesListItem_type :: Lens' EntityTypesListItem Text
- data ErrorsListItem = ErrorsListItem' {}
- newErrorsListItem :: ErrorsListItem
- errorsListItem_errorCode :: Lens' ErrorsListItem (Maybe PageBasedErrorCode)
- errorsListItem_errorMessage :: Lens' ErrorsListItem (Maybe Text)
- errorsListItem_page :: Lens' ErrorsListItem (Maybe Int)
- data EventsDetectionJobFilter = EventsDetectionJobFilter' {}
- newEventsDetectionJobFilter :: EventsDetectionJobFilter
- eventsDetectionJobFilter_jobName :: Lens' EventsDetectionJobFilter (Maybe Text)
- eventsDetectionJobFilter_jobStatus :: Lens' EventsDetectionJobFilter (Maybe JobStatus)
- eventsDetectionJobFilter_submitTimeAfter :: Lens' EventsDetectionJobFilter (Maybe UTCTime)
- eventsDetectionJobFilter_submitTimeBefore :: Lens' EventsDetectionJobFilter (Maybe UTCTime)
- data EventsDetectionJobProperties = EventsDetectionJobProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- jobArn :: Maybe Text
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- languageCode :: Maybe LanguageCode
- message :: Maybe Text
- outputDataConfig :: Maybe OutputDataConfig
- submitTime :: Maybe POSIX
- targetEventTypes :: Maybe (NonEmpty Text)
- newEventsDetectionJobProperties :: EventsDetectionJobProperties
- eventsDetectionJobProperties_dataAccessRoleArn :: Lens' EventsDetectionJobProperties (Maybe Text)
- eventsDetectionJobProperties_endTime :: Lens' EventsDetectionJobProperties (Maybe UTCTime)
- eventsDetectionJobProperties_inputDataConfig :: Lens' EventsDetectionJobProperties (Maybe InputDataConfig)
- eventsDetectionJobProperties_jobArn :: Lens' EventsDetectionJobProperties (Maybe Text)
- eventsDetectionJobProperties_jobId :: Lens' EventsDetectionJobProperties (Maybe Text)
- eventsDetectionJobProperties_jobName :: Lens' EventsDetectionJobProperties (Maybe Text)
- eventsDetectionJobProperties_jobStatus :: Lens' EventsDetectionJobProperties (Maybe JobStatus)
- eventsDetectionJobProperties_languageCode :: Lens' EventsDetectionJobProperties (Maybe LanguageCode)
- eventsDetectionJobProperties_message :: Lens' EventsDetectionJobProperties (Maybe Text)
- eventsDetectionJobProperties_outputDataConfig :: Lens' EventsDetectionJobProperties (Maybe OutputDataConfig)
- eventsDetectionJobProperties_submitTime :: Lens' EventsDetectionJobProperties (Maybe UTCTime)
- eventsDetectionJobProperties_targetEventTypes :: Lens' EventsDetectionJobProperties (Maybe (NonEmpty Text))
- data ExtractedCharactersListItem = ExtractedCharactersListItem' {}
- newExtractedCharactersListItem :: ExtractedCharactersListItem
- extractedCharactersListItem_count :: Lens' ExtractedCharactersListItem (Maybe Int)
- extractedCharactersListItem_page :: Lens' ExtractedCharactersListItem (Maybe Int)
- data Geometry = Geometry' {
- boundingBox :: Maybe BoundingBox
- polygon :: Maybe [Point]
- newGeometry :: Geometry
- geometry_boundingBox :: Lens' Geometry (Maybe BoundingBox)
- geometry_polygon :: Lens' Geometry (Maybe [Point])
- data InputDataConfig = InputDataConfig' {}
- newInputDataConfig :: Text -> InputDataConfig
- inputDataConfig_documentReaderConfig :: Lens' InputDataConfig (Maybe DocumentReaderConfig)
- inputDataConfig_inputFormat :: Lens' InputDataConfig (Maybe InputFormat)
- inputDataConfig_s3Uri :: Lens' InputDataConfig Text
- data KeyPhrase = KeyPhrase' {}
- newKeyPhrase :: KeyPhrase
- keyPhrase_beginOffset :: Lens' KeyPhrase (Maybe Int)
- keyPhrase_endOffset :: Lens' KeyPhrase (Maybe Int)
- keyPhrase_score :: Lens' KeyPhrase (Maybe Double)
- keyPhrase_text :: Lens' KeyPhrase (Maybe Text)
- data KeyPhrasesDetectionJobFilter = KeyPhrasesDetectionJobFilter' {}
- newKeyPhrasesDetectionJobFilter :: KeyPhrasesDetectionJobFilter
- keyPhrasesDetectionJobFilter_jobName :: Lens' KeyPhrasesDetectionJobFilter (Maybe Text)
- keyPhrasesDetectionJobFilter_jobStatus :: Lens' KeyPhrasesDetectionJobFilter (Maybe JobStatus)
- keyPhrasesDetectionJobFilter_submitTimeAfter :: Lens' KeyPhrasesDetectionJobFilter (Maybe UTCTime)
- keyPhrasesDetectionJobFilter_submitTimeBefore :: Lens' KeyPhrasesDetectionJobFilter (Maybe UTCTime)
- data KeyPhrasesDetectionJobProperties = KeyPhrasesDetectionJobProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- jobArn :: Maybe Text
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- languageCode :: Maybe LanguageCode
- message :: Maybe Text
- outputDataConfig :: Maybe OutputDataConfig
- submitTime :: Maybe POSIX
- volumeKmsKeyId :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- newKeyPhrasesDetectionJobProperties :: KeyPhrasesDetectionJobProperties
- keyPhrasesDetectionJobProperties_dataAccessRoleArn :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text)
- keyPhrasesDetectionJobProperties_endTime :: Lens' KeyPhrasesDetectionJobProperties (Maybe UTCTime)
- keyPhrasesDetectionJobProperties_inputDataConfig :: Lens' KeyPhrasesDetectionJobProperties (Maybe InputDataConfig)
- keyPhrasesDetectionJobProperties_jobArn :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text)
- keyPhrasesDetectionJobProperties_jobId :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text)
- keyPhrasesDetectionJobProperties_jobName :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text)
- keyPhrasesDetectionJobProperties_jobStatus :: Lens' KeyPhrasesDetectionJobProperties (Maybe JobStatus)
- keyPhrasesDetectionJobProperties_languageCode :: Lens' KeyPhrasesDetectionJobProperties (Maybe LanguageCode)
- keyPhrasesDetectionJobProperties_message :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text)
- keyPhrasesDetectionJobProperties_outputDataConfig :: Lens' KeyPhrasesDetectionJobProperties (Maybe OutputDataConfig)
- keyPhrasesDetectionJobProperties_submitTime :: Lens' KeyPhrasesDetectionJobProperties (Maybe UTCTime)
- keyPhrasesDetectionJobProperties_volumeKmsKeyId :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text)
- keyPhrasesDetectionJobProperties_vpcConfig :: Lens' KeyPhrasesDetectionJobProperties (Maybe VpcConfig)
- data MentionSentiment = MentionSentiment' {}
- newMentionSentiment :: MentionSentiment
- mentionSentiment_sentiment :: Lens' MentionSentiment (Maybe SentimentType)
- mentionSentiment_sentimentScore :: Lens' MentionSentiment (Maybe SentimentScore)
- data OutputDataConfig = OutputDataConfig' {}
- newOutputDataConfig :: Text -> OutputDataConfig
- outputDataConfig_kmsKeyId :: Lens' OutputDataConfig (Maybe Text)
- outputDataConfig_s3Uri :: Lens' OutputDataConfig Text
- data PartOfSpeechTag = PartOfSpeechTag' {}
- newPartOfSpeechTag :: PartOfSpeechTag
- partOfSpeechTag_score :: Lens' PartOfSpeechTag (Maybe Double)
- partOfSpeechTag_tag :: Lens' PartOfSpeechTag (Maybe PartOfSpeechTagType)
- data PiiEntitiesDetectionJobFilter = PiiEntitiesDetectionJobFilter' {}
- newPiiEntitiesDetectionJobFilter :: PiiEntitiesDetectionJobFilter
- piiEntitiesDetectionJobFilter_jobName :: Lens' PiiEntitiesDetectionJobFilter (Maybe Text)
- piiEntitiesDetectionJobFilter_jobStatus :: Lens' PiiEntitiesDetectionJobFilter (Maybe JobStatus)
- piiEntitiesDetectionJobFilter_submitTimeAfter :: Lens' PiiEntitiesDetectionJobFilter (Maybe UTCTime)
- piiEntitiesDetectionJobFilter_submitTimeBefore :: Lens' PiiEntitiesDetectionJobFilter (Maybe UTCTime)
- data PiiEntitiesDetectionJobProperties = PiiEntitiesDetectionJobProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- jobArn :: Maybe Text
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- languageCode :: Maybe LanguageCode
- message :: Maybe Text
- mode :: Maybe PiiEntitiesDetectionMode
- outputDataConfig :: Maybe PiiOutputDataConfig
- redactionConfig :: Maybe RedactionConfig
- submitTime :: Maybe POSIX
- newPiiEntitiesDetectionJobProperties :: PiiEntitiesDetectionJobProperties
- piiEntitiesDetectionJobProperties_dataAccessRoleArn :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text)
- piiEntitiesDetectionJobProperties_endTime :: Lens' PiiEntitiesDetectionJobProperties (Maybe UTCTime)
- piiEntitiesDetectionJobProperties_inputDataConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe InputDataConfig)
- piiEntitiesDetectionJobProperties_jobArn :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text)
- piiEntitiesDetectionJobProperties_jobId :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text)
- piiEntitiesDetectionJobProperties_jobName :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text)
- piiEntitiesDetectionJobProperties_jobStatus :: Lens' PiiEntitiesDetectionJobProperties (Maybe JobStatus)
- piiEntitiesDetectionJobProperties_languageCode :: Lens' PiiEntitiesDetectionJobProperties (Maybe LanguageCode)
- piiEntitiesDetectionJobProperties_message :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text)
- piiEntitiesDetectionJobProperties_mode :: Lens' PiiEntitiesDetectionJobProperties (Maybe PiiEntitiesDetectionMode)
- piiEntitiesDetectionJobProperties_outputDataConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe PiiOutputDataConfig)
- piiEntitiesDetectionJobProperties_redactionConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe RedactionConfig)
- piiEntitiesDetectionJobProperties_submitTime :: Lens' PiiEntitiesDetectionJobProperties (Maybe UTCTime)
- data PiiEntity = PiiEntity' {}
- newPiiEntity :: PiiEntity
- piiEntity_beginOffset :: Lens' PiiEntity (Maybe Int)
- piiEntity_endOffset :: Lens' PiiEntity (Maybe Int)
- piiEntity_score :: Lens' PiiEntity (Maybe Double)
- piiEntity_type :: Lens' PiiEntity (Maybe PiiEntityType)
- data PiiOutputDataConfig = PiiOutputDataConfig' {}
- newPiiOutputDataConfig :: Text -> PiiOutputDataConfig
- piiOutputDataConfig_kmsKeyId :: Lens' PiiOutputDataConfig (Maybe Text)
- piiOutputDataConfig_s3Uri :: Lens' PiiOutputDataConfig Text
- data Point = Point' {}
- newPoint :: Point
- point_x :: Lens' Point (Maybe Double)
- point_y :: Lens' Point (Maybe Double)
- data RedactionConfig = RedactionConfig' {}
- newRedactionConfig :: RedactionConfig
- redactionConfig_maskCharacter :: Lens' RedactionConfig (Maybe Text)
- redactionConfig_maskMode :: Lens' RedactionConfig (Maybe PiiEntitiesDetectionMaskMode)
- redactionConfig_piiEntityTypes :: Lens' RedactionConfig (Maybe [PiiEntityType])
- data RelationshipsListItem = RelationshipsListItem' {}
- newRelationshipsListItem :: RelationshipsListItem
- relationshipsListItem_ids :: Lens' RelationshipsListItem (Maybe [Text])
- relationshipsListItem_type :: Lens' RelationshipsListItem (Maybe RelationshipType)
- data SentimentDetectionJobFilter = SentimentDetectionJobFilter' {}
- newSentimentDetectionJobFilter :: SentimentDetectionJobFilter
- sentimentDetectionJobFilter_jobName :: Lens' SentimentDetectionJobFilter (Maybe Text)
- sentimentDetectionJobFilter_jobStatus :: Lens' SentimentDetectionJobFilter (Maybe JobStatus)
- sentimentDetectionJobFilter_submitTimeAfter :: Lens' SentimentDetectionJobFilter (Maybe UTCTime)
- sentimentDetectionJobFilter_submitTimeBefore :: Lens' SentimentDetectionJobFilter (Maybe UTCTime)
- data SentimentDetectionJobProperties = SentimentDetectionJobProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- jobArn :: Maybe Text
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- languageCode :: Maybe LanguageCode
- message :: Maybe Text
- outputDataConfig :: Maybe OutputDataConfig
- submitTime :: Maybe POSIX
- volumeKmsKeyId :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- newSentimentDetectionJobProperties :: SentimentDetectionJobProperties
- sentimentDetectionJobProperties_dataAccessRoleArn :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_endTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime)
- sentimentDetectionJobProperties_inputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe InputDataConfig)
- sentimentDetectionJobProperties_jobArn :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_jobId :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_jobName :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_jobStatus :: Lens' SentimentDetectionJobProperties (Maybe JobStatus)
- sentimentDetectionJobProperties_languageCode :: Lens' SentimentDetectionJobProperties (Maybe LanguageCode)
- sentimentDetectionJobProperties_message :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_outputDataConfig :: Lens' SentimentDetectionJobProperties (Maybe OutputDataConfig)
- sentimentDetectionJobProperties_submitTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime)
- sentimentDetectionJobProperties_volumeKmsKeyId :: Lens' SentimentDetectionJobProperties (Maybe Text)
- sentimentDetectionJobProperties_vpcConfig :: Lens' SentimentDetectionJobProperties (Maybe VpcConfig)
- data SentimentScore = SentimentScore' {}
- newSentimentScore :: SentimentScore
- sentimentScore_mixed :: Lens' SentimentScore (Maybe Double)
- sentimentScore_negative :: Lens' SentimentScore (Maybe Double)
- sentimentScore_neutral :: Lens' SentimentScore (Maybe Double)
- sentimentScore_positive :: Lens' SentimentScore (Maybe Double)
- data SyntaxToken = SyntaxToken' {
- beginOffset :: Maybe Int
- endOffset :: Maybe Int
- partOfSpeech :: Maybe PartOfSpeechTag
- text :: Maybe Text
- tokenId :: Maybe Int
- newSyntaxToken :: SyntaxToken
- syntaxToken_beginOffset :: Lens' SyntaxToken (Maybe Int)
- syntaxToken_endOffset :: Lens' SyntaxToken (Maybe Int)
- syntaxToken_partOfSpeech :: Lens' SyntaxToken (Maybe PartOfSpeechTag)
- syntaxToken_text :: Lens' SyntaxToken (Maybe Text)
- syntaxToken_tokenId :: Lens' SyntaxToken (Maybe Int)
- data Tag = Tag' {}
- newTag :: Text -> Tag
- tag_value :: Lens' Tag (Maybe Text)
- tag_key :: Lens' Tag Text
- data TargetedSentimentDetectionJobFilter = TargetedSentimentDetectionJobFilter' {}
- newTargetedSentimentDetectionJobFilter :: TargetedSentimentDetectionJobFilter
- targetedSentimentDetectionJobFilter_jobName :: Lens' TargetedSentimentDetectionJobFilter (Maybe Text)
- targetedSentimentDetectionJobFilter_jobStatus :: Lens' TargetedSentimentDetectionJobFilter (Maybe JobStatus)
- targetedSentimentDetectionJobFilter_submitTimeAfter :: Lens' TargetedSentimentDetectionJobFilter (Maybe UTCTime)
- targetedSentimentDetectionJobFilter_submitTimeBefore :: Lens' TargetedSentimentDetectionJobFilter (Maybe UTCTime)
- data TargetedSentimentDetectionJobProperties = TargetedSentimentDetectionJobProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- jobArn :: Maybe Text
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- languageCode :: Maybe LanguageCode
- message :: Maybe Text
- outputDataConfig :: Maybe OutputDataConfig
- submitTime :: Maybe POSIX
- volumeKmsKeyId :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- newTargetedSentimentDetectionJobProperties :: TargetedSentimentDetectionJobProperties
- targetedSentimentDetectionJobProperties_dataAccessRoleArn :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text)
- targetedSentimentDetectionJobProperties_endTime :: Lens' TargetedSentimentDetectionJobProperties (Maybe UTCTime)
- targetedSentimentDetectionJobProperties_inputDataConfig :: Lens' TargetedSentimentDetectionJobProperties (Maybe InputDataConfig)
- targetedSentimentDetectionJobProperties_jobArn :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text)
- targetedSentimentDetectionJobProperties_jobId :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text)
- targetedSentimentDetectionJobProperties_jobName :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text)
- targetedSentimentDetectionJobProperties_jobStatus :: Lens' TargetedSentimentDetectionJobProperties (Maybe JobStatus)
- targetedSentimentDetectionJobProperties_languageCode :: Lens' TargetedSentimentDetectionJobProperties (Maybe LanguageCode)
- targetedSentimentDetectionJobProperties_message :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text)
- targetedSentimentDetectionJobProperties_outputDataConfig :: Lens' TargetedSentimentDetectionJobProperties (Maybe OutputDataConfig)
- targetedSentimentDetectionJobProperties_submitTime :: Lens' TargetedSentimentDetectionJobProperties (Maybe UTCTime)
- targetedSentimentDetectionJobProperties_volumeKmsKeyId :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text)
- targetedSentimentDetectionJobProperties_vpcConfig :: Lens' TargetedSentimentDetectionJobProperties (Maybe VpcConfig)
- data TargetedSentimentEntity = TargetedSentimentEntity' {}
- newTargetedSentimentEntity :: TargetedSentimentEntity
- targetedSentimentEntity_descriptiveMentionIndex :: Lens' TargetedSentimentEntity (Maybe [Int])
- targetedSentimentEntity_mentions :: Lens' TargetedSentimentEntity (Maybe [TargetedSentimentMention])
- data TargetedSentimentMention = TargetedSentimentMention' {}
- newTargetedSentimentMention :: TargetedSentimentMention
- targetedSentimentMention_beginOffset :: Lens' TargetedSentimentMention (Maybe Int)
- targetedSentimentMention_endOffset :: Lens' TargetedSentimentMention (Maybe Int)
- targetedSentimentMention_groupScore :: Lens' TargetedSentimentMention (Maybe Double)
- targetedSentimentMention_mentionSentiment :: Lens' TargetedSentimentMention (Maybe MentionSentiment)
- targetedSentimentMention_score :: Lens' TargetedSentimentMention (Maybe Double)
- targetedSentimentMention_text :: Lens' TargetedSentimentMention (Maybe Text)
- targetedSentimentMention_type :: Lens' TargetedSentimentMention (Maybe TargetedSentimentEntityType)
- data TopicsDetectionJobFilter = TopicsDetectionJobFilter' {}
- newTopicsDetectionJobFilter :: TopicsDetectionJobFilter
- topicsDetectionJobFilter_jobName :: Lens' TopicsDetectionJobFilter (Maybe Text)
- topicsDetectionJobFilter_jobStatus :: Lens' TopicsDetectionJobFilter (Maybe JobStatus)
- topicsDetectionJobFilter_submitTimeAfter :: Lens' TopicsDetectionJobFilter (Maybe UTCTime)
- topicsDetectionJobFilter_submitTimeBefore :: Lens' TopicsDetectionJobFilter (Maybe UTCTime)
- data TopicsDetectionJobProperties = TopicsDetectionJobProperties' {
- dataAccessRoleArn :: Maybe Text
- endTime :: Maybe POSIX
- inputDataConfig :: Maybe InputDataConfig
- jobArn :: Maybe Text
- jobId :: Maybe Text
- jobName :: Maybe Text
- jobStatus :: Maybe JobStatus
- message :: Maybe Text
- numberOfTopics :: Maybe Int
- outputDataConfig :: Maybe OutputDataConfig
- submitTime :: Maybe POSIX
- volumeKmsKeyId :: Maybe Text
- vpcConfig :: Maybe VpcConfig
- newTopicsDetectionJobProperties :: TopicsDetectionJobProperties
- topicsDetectionJobProperties_dataAccessRoleArn :: Lens' TopicsDetectionJobProperties (Maybe Text)
- topicsDetectionJobProperties_endTime :: Lens' TopicsDetectionJobProperties (Maybe UTCTime)
- topicsDetectionJobProperties_inputDataConfig :: Lens' TopicsDetectionJobProperties (Maybe InputDataConfig)
- topicsDetectionJobProperties_jobArn :: Lens' TopicsDetectionJobProperties (Maybe Text)
- topicsDetectionJobProperties_jobId :: Lens' TopicsDetectionJobProperties (Maybe Text)
- topicsDetectionJobProperties_jobName :: Lens' TopicsDetectionJobProperties (Maybe Text)
- topicsDetectionJobProperties_jobStatus :: Lens' TopicsDetectionJobProperties (Maybe JobStatus)
- topicsDetectionJobProperties_message :: Lens' TopicsDetectionJobProperties (Maybe Text)
- topicsDetectionJobProperties_numberOfTopics :: Lens' TopicsDetectionJobProperties (Maybe Int)
- topicsDetectionJobProperties_outputDataConfig :: Lens' TopicsDetectionJobProperties (Maybe OutputDataConfig)
- topicsDetectionJobProperties_submitTime :: Lens' TopicsDetectionJobProperties (Maybe UTCTime)
- topicsDetectionJobProperties_volumeKmsKeyId :: Lens' TopicsDetectionJobProperties (Maybe Text)
- topicsDetectionJobProperties_vpcConfig :: Lens' TopicsDetectionJobProperties (Maybe VpcConfig)
- data VpcConfig = VpcConfig' {}
- newVpcConfig :: NonEmpty Text -> NonEmpty Text -> VpcConfig
- vpcConfig_securityGroupIds :: Lens' VpcConfig (NonEmpty Text)
- vpcConfig_subnets :: Lens' VpcConfig (NonEmpty Text)
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
BlockType
pattern BlockType_LINE :: BlockType | |
pattern BlockType_WORD :: BlockType |
Instances
DocumentClassifierDataFormat
newtype DocumentClassifierDataFormat Source #
pattern DocumentClassifierDataFormat_AUGMENTED_MANIFEST :: DocumentClassifierDataFormat | |
pattern DocumentClassifierDataFormat_COMPREHEND_CSV :: DocumentClassifierDataFormat |
Instances
DocumentClassifierMode
newtype DocumentClassifierMode Source #
pattern DocumentClassifierMode_MULTI_CLASS :: DocumentClassifierMode | |
pattern DocumentClassifierMode_MULTI_LABEL :: DocumentClassifierMode |
Instances
DocumentReadAction
newtype DocumentReadAction Source #
pattern DocumentReadAction_TEXTRACT_ANALYZE_DOCUMENT :: DocumentReadAction | |
pattern DocumentReadAction_TEXTRACT_DETECT_DOCUMENT_TEXT :: DocumentReadAction |
Instances
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.
pattern DocumentReadFeatureTypes_FORMS :: DocumentReadFeatureTypes | |
pattern DocumentReadFeatureTypes_TABLES :: DocumentReadFeatureTypes |
Instances
DocumentReadMode
newtype DocumentReadMode Source #
pattern DocumentReadMode_FORCE_DOCUMENT_READ_ACTION :: DocumentReadMode | |
pattern DocumentReadMode_SERVICE_DEFAULT :: DocumentReadMode |
Instances
DocumentType
newtype DocumentType Source #
pattern DocumentType_IMAGE :: DocumentType | |
pattern DocumentType_MS_WORD :: DocumentType | |
pattern DocumentType_NATIVE_PDF :: DocumentType | |
pattern DocumentType_PLAIN_TEXT :: DocumentType | |
pattern DocumentType_SCANNED_PDF :: DocumentType | |
pattern DocumentType_TEXTRACT_ANALYZE_DOCUMENT_JSON :: DocumentType | |
pattern DocumentType_TEXTRACT_DETECT_DOCUMENT_TEXT_JSON :: DocumentType |
Instances
EndpointStatus
newtype EndpointStatus Source #
pattern EndpointStatus_CREATING :: EndpointStatus | |
pattern EndpointStatus_DELETING :: EndpointStatus | |
pattern EndpointStatus_FAILED :: EndpointStatus | |
pattern EndpointStatus_IN_SERVICE :: EndpointStatus | |
pattern EndpointStatus_UPDATING :: EndpointStatus |
Instances
EntityRecognizerDataFormat
newtype EntityRecognizerDataFormat Source #
pattern EntityRecognizerDataFormat_AUGMENTED_MANIFEST :: EntityRecognizerDataFormat | |
pattern EntityRecognizerDataFormat_COMPREHEND_CSV :: EntityRecognizerDataFormat |
Instances
EntityType
newtype EntityType Source #
pattern EntityType_COMMERCIAL_ITEM :: EntityType | |
pattern EntityType_DATE :: EntityType | |
pattern EntityType_EVENT :: EntityType | |
pattern EntityType_LOCATION :: EntityType | |
pattern EntityType_ORGANIZATION :: EntityType | |
pattern EntityType_OTHER :: EntityType | |
pattern EntityType_PERSON :: EntityType | |
pattern EntityType_QUANTITY :: EntityType | |
pattern EntityType_TITLE :: EntityType |
Instances
InputFormat
newtype InputFormat Source #
pattern InputFormat_ONE_DOC_PER_FILE :: InputFormat | |
pattern InputFormat_ONE_DOC_PER_LINE :: InputFormat |
Instances
JobStatus
pattern JobStatus_COMPLETED :: JobStatus | |
pattern JobStatus_FAILED :: JobStatus | |
pattern JobStatus_IN_PROGRESS :: JobStatus | |
pattern JobStatus_STOPPED :: JobStatus | |
pattern JobStatus_STOP_REQUESTED :: JobStatus | |
pattern JobStatus_SUBMITTED :: JobStatus |
Instances
LanguageCode
newtype LanguageCode Source #
pattern LanguageCode_Ar :: LanguageCode | |
pattern LanguageCode_De :: LanguageCode | |
pattern LanguageCode_En :: LanguageCode | |
pattern LanguageCode_Es :: LanguageCode | |
pattern LanguageCode_Fr :: LanguageCode | |
pattern LanguageCode_Hi :: LanguageCode | |
pattern LanguageCode_It :: LanguageCode | |
pattern LanguageCode_Ja :: LanguageCode | |
pattern LanguageCode_Ko :: LanguageCode | |
pattern LanguageCode_Pt :: LanguageCode | |
pattern LanguageCode_Zh :: LanguageCode | |
pattern LanguageCode_Zh_TW :: LanguageCode |
Instances
ModelStatus
newtype ModelStatus Source #
pattern ModelStatus_DELETING :: ModelStatus | |
pattern ModelStatus_IN_ERROR :: ModelStatus | |
pattern ModelStatus_STOPPED :: ModelStatus | |
pattern ModelStatus_STOP_REQUESTED :: ModelStatus | |
pattern ModelStatus_SUBMITTED :: ModelStatus | |
pattern ModelStatus_TRAINED :: ModelStatus | |
pattern ModelStatus_TRAINING :: ModelStatus |
Instances
PageBasedErrorCode
newtype PageBasedErrorCode Source #
Instances
PartOfSpeechTagType
newtype PartOfSpeechTagType Source #
Instances
PiiEntitiesDetectionMaskMode
newtype PiiEntitiesDetectionMaskMode Source #
pattern PiiEntitiesDetectionMaskMode_MASK :: PiiEntitiesDetectionMaskMode | |
pattern PiiEntitiesDetectionMaskMode_REPLACE_WITH_PII_ENTITY_TYPE :: PiiEntitiesDetectionMaskMode |
Instances
PiiEntitiesDetectionMode
newtype PiiEntitiesDetectionMode Source #
pattern PiiEntitiesDetectionMode_ONLY_OFFSETS :: PiiEntitiesDetectionMode | |
pattern PiiEntitiesDetectionMode_ONLY_REDACTION :: PiiEntitiesDetectionMode |
Instances
PiiEntityType
newtype PiiEntityType Source #
Instances
RelationshipType
newtype RelationshipType Source #
pattern RelationshipType_CHILD :: RelationshipType |
Instances
SentimentType
newtype SentimentType Source #
pattern SentimentType_MIXED :: SentimentType | |
pattern SentimentType_NEGATIVE :: SentimentType | |
pattern SentimentType_NEUTRAL :: SentimentType | |
pattern SentimentType_POSITIVE :: SentimentType |
Instances
Split
pattern Split_TEST :: Split | |
pattern Split_TRAIN :: Split |
Instances
SyntaxLanguageCode
newtype SyntaxLanguageCode Source #
pattern SyntaxLanguageCode_De :: SyntaxLanguageCode | |
pattern SyntaxLanguageCode_En :: SyntaxLanguageCode | |
pattern SyntaxLanguageCode_Es :: SyntaxLanguageCode | |
pattern SyntaxLanguageCode_Fr :: SyntaxLanguageCode | |
pattern SyntaxLanguageCode_It :: SyntaxLanguageCode | |
pattern SyntaxLanguageCode_Pt :: SyntaxLanguageCode |
Instances
TargetedSentimentEntityType
newtype TargetedSentimentEntityType Source #
Instances
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.
AugmentedManifestsListItem' | |
|
Instances
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.
Instances
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_index :: Lens' BatchDetectDominantLanguageItemResult (Maybe Int) Source #
The zero-based index of the document in the input list.
batchDetectDominantLanguageItemResult_languages :: Lens' BatchDetectDominantLanguageItemResult (Maybe [DominantLanguage]) Source #
One or more DominantLanguage objects describing the dominant languages in the document.
BatchDetectEntitiesItemResult
data BatchDetectEntitiesItemResult Source #
The result of calling the operation. The operation returns one object for each document that is successfully processed by the operation.
See: newBatchDetectEntitiesItemResult
smart constructor.
Instances
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.
Instances
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.
BatchDetectSentimentItemResult' | |
|
Instances
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_sentiment :: Lens' BatchDetectSentimentItemResult (Maybe SentimentType) Source #
The sentiment detected in the document.
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.
BatchDetectSyntaxItemResult' | |
|
Instances
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.
Instances
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.
batchDetectTargetedSentimentItemResult_entities :: Lens' BatchDetectTargetedSentimentItemResult (Maybe [TargetedSentimentEntity]) Source #
An array of targeted sentiment entities.
batchDetectTargetedSentimentItemResult_index :: Lens' BatchDetectTargetedSentimentItemResult (Maybe Int) Source #
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.
Instances
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
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.
Block' | |
|
Instances
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_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.
BlockReference
data BlockReference Source #
A reference to a block.
See: newBlockReference
smart constructor.
BlockReference' | |
|
Instances
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.
BoundingBox' | |
|
Instances
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.
ChildBlock' | |
|
Instances
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.
ClassifierEvaluationMetrics' | |
|
Instances
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.
ClassifierMetadata' | |
|
Instances
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.
Instances
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_name :: Lens' DocumentClass (Maybe Text) Source #
The name of the class.
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.
DocumentClassificationJobFilter' | |
|
Instances
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_jobName :: Lens' DocumentClassificationJobFilter (Maybe Text) Source #
Filters on the name of the job.
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.
DocumentClassificationJobProperties' | |
|
Instances
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_endTime :: Lens' DocumentClassificationJobProperties (Maybe UTCTime) Source #
The time that the document classification job completed.
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_message :: Lens' DocumentClassificationJobProperties (Maybe Text) Source #
A description of the status of the job.
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.
DocumentClassifierFilter' | |
|
Instances
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.
DocumentClassifierInputDataConfig' | |
|
Instances
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 theS3Uri
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 theS3Uri
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.
DocumentClassifierOutputDataConfig' | |
|
Instances
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.
DocumentClassifierProperties' | |
|
Instances
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.
DocumentClassifierSummary' | |
|
Instances
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_documentClassifierName :: Lens' DocumentClassifierSummary (Maybe Text) Source #
The name that you assigned the document classifier.
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.
documentClassifierSummary_numberOfVersions :: Lens' DocumentClassifierSummary (Maybe Int) Source #
The number of versions you created.
DocumentLabel
data DocumentLabel Source #
Specifies one of the label or labels that categorize the document being analyzed.
See: newDocumentLabel
smart constructor.
Instances
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_name :: Lens' DocumentLabel (Maybe Text) Source #
The name of the label.
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.
DocumentMetadata' | |
|
Instances
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.
DocumentReaderConfig' | |
|
Instances
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 theDetectDocumentText
API operation.TEXTRACT_ANALYZE_DOCUMENT
- The Amazon Comprehend service uses theAnalyzeDocument
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 theDetectDocumentText
API operation.TEXTRACT_ANALYZE_DOCUMENT
- The Amazon Comprehend service uses theAnalyzeDocument
API operation.
DocumentTypeListItem
data DocumentTypeListItem Source #
Document type for each page in the document.
See: newDocumentTypeListItem
smart constructor.
Instances
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.
documentTypeListItem_page :: Lens' DocumentTypeListItem (Maybe Int) Source #
Page number.
documentTypeListItem_type :: Lens' DocumentTypeListItem (Maybe DocumentType) Source #
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.
DominantLanguage' | |
|
Instances
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.
DominantLanguageDetectionJobFilter' | |
|
Instances
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_jobName :: Lens' DominantLanguageDetectionJobFilter (Maybe Text) Source #
Filters on the name of the job.
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.
DominantLanguageDetectionJobProperties' | |
|
Instances
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_endTime :: Lens' DominantLanguageDetectionJobProperties (Maybe UTCTime) Source #
The time that the dominant language detection job completed.
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_message :: Lens' DominantLanguageDetectionJobProperties (Maybe Text) Source #
A description for the status of a job.
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.
EndpointFilter' | |
|
Instances
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.
EndpointProperties' | |
|
Instances
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.
EntitiesDetectionJobFilter' | |
|
Instances
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_jobName :: Lens' EntitiesDetectionJobFilter (Maybe Text) Source #
Filters on the name of the job.
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.
EntitiesDetectionJobProperties' | |
|
Instances
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_endTime :: Lens' EntitiesDetectionJobProperties (Maybe UTCTime) Source #
The time that the entities detection job completed
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_languageCode :: Lens' EntitiesDetectionJobProperties (Maybe LanguageCode) Source #
The language code of the input documents.
entitiesDetectionJobProperties_message :: Lens' EntitiesDetectionJobProperties (Maybe Text) Source #
A description of the status of a job.
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
Provides information about an entity.
See: newEntity
smart constructor.
Entity' | |
|
Instances
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_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.
Instances
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_name :: Lens' EntityLabel (Maybe PiiEntityType) Source #
The name of the label.
entityLabel_score :: Lens' EntityLabel (Maybe Double) Source #
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
EntityRecognizerAnnotations
data EntityRecognizerAnnotations Source #
Describes the annotations associated with a entity recognizer.
See: newEntityRecognizerAnnotations
smart constructor.
EntityRecognizerAnnotations' | |
|
Instances
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.
EntityRecognizerDocuments' | |
|
Instances
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.
Instances
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.
EntityRecognizerEvaluationMetrics' | |
|
Instances
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.
EntityRecognizerFilter' | |
|
Instances
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_status :: Lens' EntityRecognizerFilter (Maybe ModelStatus) Source #
The status of an 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.
EntityRecognizerInputDataConfig' | |
|
Instances
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
orEntityList
parameters. You must provide your training documents by using theDocuments
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
orEntityList
parameters. You must provide your training documents by using theDocuments
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.
EntityRecognizerMetadata' | |
|
Instances
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_entityTypes :: Lens' EntityRecognizerMetadata (Maybe [EntityRecognizerMetadataEntityTypesListItem]) Source #
Entity types from the metadata of an entity recognizer.
entityRecognizerMetadata_evaluationMetrics :: Lens' EntityRecognizerMetadata (Maybe EntityRecognizerEvaluationMetrics) Source #
Detailed information about the accuracy of an entity recognizer.
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.
EntityRecognizerMetadataEntityTypesListItem' | |
|
Instances
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.
EntityRecognizerProperties' | |
|
Instances
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_inputDataConfig :: Lens' EntityRecognizerProperties (Maybe EntityRecognizerInputDataConfig) Source #
The input data properties of an 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_recognizerMetadata :: Lens' EntityRecognizerProperties (Maybe EntityRecognizerMetadata) Source #
Provides information about an entity recognizer.
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_status :: Lens' EntityRecognizerProperties (Maybe ModelStatus) Source #
Provides the status of the entity recognizer.
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.
EntityRecognizerSummary' | |
|
Instances
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_numberOfVersions :: Lens' EntityRecognizerSummary (Maybe Int) Source #
The number of versions you created.
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.
EntityTypesEvaluationMetrics' | |
|
Instances
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.
EntityTypesListItem' | |
|
Instances
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.
ErrorsListItem' | |
|
Instances
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.
EventsDetectionJobFilter' | |
|
Instances
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.
EventsDetectionJobProperties' | |
|
Instances
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_jobStatus :: Lens' EventsDetectionJobProperties (Maybe JobStatus) Source #
The current status of the events detection job.
eventsDetectionJobProperties_languageCode :: Lens' EventsDetectionJobProperties (Maybe LanguageCode) Source #
The language code of the input documents.
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.
eventsDetectionJobProperties_targetEventTypes :: Lens' EventsDetectionJobProperties (Maybe (NonEmpty Text)) Source #
The types of events that are detected by the job.
ExtractedCharactersListItem
data ExtractedCharactersListItem Source #
Array of the number of characters extracted from each page.
See: newExtractedCharactersListItem
smart constructor.
Instances
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.
extractedCharactersListItem_page :: Lens' ExtractedCharactersListItem (Maybe Int) Source #
Page number.
Geometry
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.
Geometry' | |
|
Instances
FromJSON Geometry Source # | |
Generic Geometry Source # | |
Read Geometry Source # | |
Show Geometry Source # | |
NFData Geometry Source # | |
Defined in Amazonka.Comprehend.Types.Geometry | |
Eq Geometry Source # | |
Hashable Geometry Source # | |
Defined in Amazonka.Comprehend.Types.Geometry | |
type Rep Geometry Source # | |
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.
InputDataConfig' | |
|
Instances
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
Describes a key noun phrase.
See: newKeyPhrase
smart constructor.
KeyPhrase' | |
|
Instances
FromJSON KeyPhrase Source # | |
Generic KeyPhrase Source # | |
Read KeyPhrase Source # | |
Show KeyPhrase Source # | |
NFData KeyPhrase Source # | |
Defined in Amazonka.Comprehend.Types.KeyPhrase | |
Eq KeyPhrase Source # | |
Hashable KeyPhrase Source # | |
Defined in Amazonka.Comprehend.Types.KeyPhrase | |
type Rep KeyPhrase Source # | |
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.
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.
KeyPhrasesDetectionJobFilter' | |
|
Instances
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_jobName :: Lens' KeyPhrasesDetectionJobFilter (Maybe Text) Source #
Filters on the name of the job.
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.
KeyPhrasesDetectionJobProperties' | |
|
Instances
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_languageCode :: Lens' KeyPhrasesDetectionJobProperties (Maybe LanguageCode) Source #
The language code of the input documents.
keyPhrasesDetectionJobProperties_message :: Lens' KeyPhrasesDetectionJobProperties (Maybe Text) Source #
A description of the status of a job.
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.
MentionSentiment' | |
|
Instances
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.
mentionSentiment_sentiment :: Lens' MentionSentiment (Maybe SentimentType) Source #
The sentiment of the mention.
mentionSentiment_sentimentScore :: Lens' MentionSentiment (Maybe SentimentScore) Source #
Undocumented member.
OutputDataConfig
data OutputDataConfig Source #
Provides configuration parameters for the output of inference jobs.
See: newOutputDataConfig
smart constructor.
OutputDataConfig' | |
|
Instances
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.
Instances
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.
PiiEntitiesDetectionJobFilter' | |
|
Instances
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_jobName :: Lens' PiiEntitiesDetectionJobFilter (Maybe Text) Source #
Filters on the name of the job.
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.
PiiEntitiesDetectionJobProperties' | |
|
Instances
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_inputDataConfig :: Lens' PiiEntitiesDetectionJobProperties (Maybe InputDataConfig) Source #
The input properties for a PII entities detection job.
piiEntitiesDetectionJobProperties_jobArn :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #
The Amazon Resource Name (ARN) of the PII entities detection job. It is a unique, fully qualified identifier for the job. It includes the AWS account, Region, and the job ID. The format of the ARN is as follows:
arn:<partition>:comprehend:<region>:<account-id>:pii-entities-detection-job/<job-id>
The following is an example job ARN:
arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/1234abcd12ab34cd56ef1234567890ab
piiEntitiesDetectionJobProperties_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_languageCode :: Lens' PiiEntitiesDetectionJobProperties (Maybe LanguageCode) Source #
The language code of the input documents
piiEntitiesDetectionJobProperties_message :: Lens' PiiEntitiesDetectionJobProperties (Maybe Text) Source #
A description of the status of a job.
piiEntitiesDetectionJobProperties_mode :: Lens' PiiEntitiesDetectionJobProperties (Maybe PiiEntitiesDetectionMode) Source #
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
piiEntitiesDetectionJobProperties_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
Provides information about a PII entity.
See: newPiiEntity
smart constructor.
PiiEntity' | |
|
Instances
FromJSON PiiEntity Source # | |
Generic PiiEntity Source # | |
Read PiiEntity Source # | |
Show PiiEntity Source # | |
NFData PiiEntity Source # | |
Defined in Amazonka.Comprehend.Types.PiiEntity | |
Eq PiiEntity Source # | |
Hashable PiiEntity Source # | |
Defined in Amazonka.Comprehend.Types.PiiEntity | |
type Rep PiiEntity Source # | |
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.
piiEntity_type :: Lens' PiiEntity (Maybe PiiEntityType) Source #
The entity's type.
PiiOutputDataConfig
data PiiOutputDataConfig Source #
Provides configuration parameters for the output of PII entity detection jobs.
See: newPiiOutputDataConfig
smart constructor.
PiiOutputDataConfig' | |
|
Instances
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
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.
Instances
FromJSON Point Source # | |
Generic Point Source # | |
Read Point Source # | |
Show Point Source # | |
NFData Point Source # | |
Defined in Amazonka.Comprehend.Types.Point | |
Eq Point Source # | |
Hashable Point Source # | |
Defined in Amazonka.Comprehend.Types.Point | |
type Rep Point Source # | |
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)))) |
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.
RedactionConfig' | |
|
Instances
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.
Instances
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_ids :: Lens' RelationshipsListItem (Maybe [Text]) Source #
Identifers of the child blocks.
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.
SentimentDetectionJobFilter' | |
|
Instances
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_jobName :: Lens' SentimentDetectionJobFilter (Maybe Text) Source #
Filters on the name of the job.
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.
SentimentDetectionJobProperties' | |
|
Instances
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_endTime :: Lens' SentimentDetectionJobProperties (Maybe UTCTime) Source #
The time that the sentiment detection job ended.
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_languageCode :: Lens' SentimentDetectionJobProperties (Maybe LanguageCode) Source #
The language code of the input documents.
sentimentDetectionJobProperties_message :: Lens' SentimentDetectionJobProperties (Maybe Text) Source #
A description of the status of a job.
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.
SentimentScore' | |
|
Instances
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.
SyntaxToken' | |
|
Instances
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
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.
Tag' | |
|
Instances
FromJSON Tag Source # | |
ToJSON Tag Source # | |
Defined in Amazonka.Comprehend.Types.Tag | |
Generic Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.Comprehend.Types.Tag | |
Eq Tag Source # | |
Hashable Tag Source # | |
Defined in Amazonka.Comprehend.Types.Tag | |
type Rep Tag Source # | |
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))) |
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.
TargetedSentimentDetectionJobFilter' | |
|
Instances
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_jobName :: Lens' TargetedSentimentDetectionJobFilter (Maybe Text) Source #
Filters on the name of the job.
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.
TargetedSentimentDetectionJobProperties' | |
|
Instances
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_endTime :: Lens' TargetedSentimentDetectionJobProperties (Maybe UTCTime) Source #
The time that the targeted sentiment detection job ended.
targetedSentimentDetectionJobProperties_inputDataConfig :: Lens' TargetedSentimentDetectionJobProperties (Maybe InputDataConfig) Source #
Undocumented member.
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_languageCode :: Lens' TargetedSentimentDetectionJobProperties (Maybe LanguageCode) Source #
The language code of the input documents.
targetedSentimentDetectionJobProperties_message :: Lens' TargetedSentimentDetectionJobProperties (Maybe Text) Source #
A description of the status of a job.
targetedSentimentDetectionJobProperties_outputDataConfig :: Lens' TargetedSentimentDetectionJobProperties (Maybe OutputDataConfig) Source #
Undocumented member.
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"
targetedSentimentDetectionJobProperties_vpcConfig :: Lens' TargetedSentimentDetectionJobProperties (Maybe VpcConfig) Source #
Undocumented member.
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.
TargetedSentimentEntity' | |
|
Instances
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.
TargetedSentimentMention' | |
|
Instances
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.
TopicsDetectionJobFilter' | |
|
Instances
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.
TopicsDetectionJobProperties' | |
|
Instances
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_jobName :: Lens' TopicsDetectionJobProperties (Maybe Text) Source #
The name of 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_message :: Lens' TopicsDetectionJobProperties (Maybe Text) Source #
A description for the status of a job.
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
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.
VpcConfig' | |
|
Instances
FromJSON VpcConfig Source # | |
ToJSON VpcConfig Source # | |
Defined in Amazonka.Comprehend.Types.VpcConfig | |
Generic VpcConfig Source # | |
Read VpcConfig Source # | |
Show VpcConfig Source # | |
NFData VpcConfig Source # | |
Defined in Amazonka.Comprehend.Types.VpcConfig | |
Eq VpcConfig Source # | |
Hashable VpcConfig Source # | |
Defined in Amazonka.Comprehend.Types.VpcConfig | |
type Rep VpcConfig Source # | |
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)))) |
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.