Module Awso_comprehend.ValuesSource

Sourceval service : Awso.Service.t
Sourceval apiVersion : string
Sourceval endpointPrefix : string
Sourceval serviceFullName : string
Sourceval signatureVersion : string
Sourceval protocol : string
Sourceval globalEndpoint : string
Sourceval targetPrefix : string
Sourceval simple_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval composed_to_json : ('a -> Awso__Botodata.value) -> 'a -> Yojson.Safe.t
Sourceval to_query : ('a -> Awso.Client.Query.value) -> 'a -> Awso.Client.Query.t
Sourceval structure_to_value_aux : ('a * 'b option) list -> f:(('a * 'b) list -> 'c) -> [> `Structure of 'c ]
Sourceval structure_to_value : ('a * 'b option) list -> [> `Structure of ('a * 'b) list ]
Sourceval structure_to_wrapped_value : wrapper:'a -> response:'a -> ('b * 'c option) list -> [> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]
Sourcemodule Float_ : sig ... end
Sourcemodule Integer : sig ... end
Sourcemodule String_ : sig ... end
Sourcemodule SentimentScore : sig ... end

Describes the level of confidence that Amazon Comprehend has in the accuracy of its detection of sentiments.

Sourcemodule SentimentType : sig ... end
Sourcemodule ChildBlock : sig ... end

Nested block contained within a block.

Sourcemodule AttributeNamesListItem : sig ... end
Sourcemodule Double : sig ... end
Sourcemodule MentionSentiment : sig ... end

Contains the sentiment and sentiment score for one mention of an entity. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Sourcemodule ListOfChildBlocks : sig ... end
Sourcemodule EntityTypeName : sig ... end
Sourcemodule DocumentReadFeatureTypes : sig ... end
Sourcemodule AttributeNamesList : sig ... end
Sourcemodule S3Uri : sig ... end
Sourcemodule Split : sig ... end
Sourcemodule AnyLengthString : sig ... end

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

Sourcemodule TargetedSentimentMention : sig ... end

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

Sourcemodule PartOfSpeechTagType : sig ... end
Sourcemodule BlockReference : sig ... end

A reference to a block.

Sourcemodule SecurityGroupId : sig ... end
Sourcemodule SubnetId : sig ... end
Sourcemodule LabelListItem : sig ... end
Sourcemodule EntityTypesListItem : sig ... end

An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.

Sourcemodule DocumentReadAction : sig ... end
Sourcemodule DocumentReadMode : sig ... end
Sourcemodule PiiEntityType : sig ... end

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.

Sourcemodule InputFormat : sig ... end

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

Sourcemodule ToxicContentType : sig ... end
Sourcemodule Point : sig ... end

The X and Y coordinates of a point on a document page. For additional information, see Point in the Amazon Textract API reference.

Sourcemodule RelationshipType : sig ... end
Sourcemodule StringList : sig ... end
Sourcemodule ListOfMentions : sig ... end
Sourcemodule PartOfSpeechTag : sig ... end

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.

Sourcemodule EntityType : sig ... end
Sourcemodule ListOfBlockReferences : sig ... end
Sourcemodule SecurityGroupIds : sig ... end
Sourcemodule Subnets : sig ... end
Sourcemodule DocumentClassifierMode : sig ... end
Sourcemodule LabelsList : sig ... end
Sourcemodule EntityTypesList : sig ... end
Sourcemodule DocumentReaderConfig : sig ... end

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

Sourcemodule KmsKeyId : sig ... end
Sourcemodule ListOfPiiEntityTypes : sig ... end
Sourcemodule MaskCharacter : sig ... end
Sourcemodule EventTypeString : sig ... end

Describes the annotations associated with a entity recognizer.

Sourcemodule EntityRecognizerDocuments : sig ... end

Describes the training documents submitted with an entity recognizer.

Describes the entity list submitted with an entity recognizer.

Detailed information about the accuracy of an entity recognizer.

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

The location of the training documents. This parameter is required in a request to create a semi-structured document classification model.

Sourcemodule LabelDelimiter : sig ... end
Sourcemodule ToxicContent : sig ... end

Toxic content analysis result for one string. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide

Sourcemodule BoundingBox : sig ... end

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.

Sourcemodule Polygon : sig ... end
Sourcemodule RelationshipsListItem : sig ... end

List of child blocks for the current block.

Sourcemodule TargetedSentimentEntity : sig ... end

Information about one of the entities found by targeted sentiment analysis. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Sourcemodule SyntaxToken : sig ... end

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.

Sourcemodule KeyPhrase : sig ... end

Describes a key noun phrase.

Sourcemodule Entity : sig ... end

Provides information about an entity.

Sourcemodule DominantLanguage : sig ... end

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.

Sourcemodule VpcConfig : sig ... end

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.

Configuration required for a document classification model.

Sourcemodule EntityRecognitionConfig : sig ... end

Configuration required for an entity recognition model.

Sourcemodule LanguageCode : sig ... end
Sourcemodule TagKey : sig ... end
Sourcemodule TagValue : sig ... end
Sourcemodule ComprehendArn : sig ... end
Sourcemodule IamRoleArn : sig ... end
Sourcemodule InputDataConfig : sig ... end

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

Sourcemodule JobId : sig ... end
Sourcemodule JobName : sig ... end
Sourcemodule JobStatus : sig ... end
Sourcemodule OutputDataConfig : sig ... end

Provides configuration parameters for the output of inference jobs.

Sourcemodule Timestamp : sig ... end
Sourcemodule PiiEntitiesDetectionMode : sig ... end
Sourcemodule PiiOutputDataConfig : sig ... end

Provides configuration parameters for the output of PII entity detection jobs.

Sourcemodule RedactionConfig : sig ... end

Provides configuration parameters for PII entity redaction.

Sourcemodule ComprehendFlywheelArn : sig ... end
Sourcemodule ComprehendModelArn : sig ... end
Sourcemodule FlywheelIterationId : sig ... end
Sourcemodule FlywheelStatus : sig ... end
Sourcemodule ModelType : sig ... end
Sourcemodule FlywheelIterationStatus : sig ... end

The evaluation metrics associated with the evaluated model.

Sourcemodule TargetEventTypes : sig ... end
Sourcemodule EntityRecognizerArn : sig ... end

Specifies the format and location of the input data.

Sourcemodule EntityRecognizerMetadata : sig ... end

Detailed information about an entity recognizer.

Output data configuration.

Sourcemodule ModelStatus : sig ... end
Sourcemodule VersionName : sig ... end
Sourcemodule ComprehendArnName : sig ... end
Sourcemodule ComprehendEndpointArn : sig ... end
Sourcemodule EndpointStatus : sig ... end
Sourcemodule InferenceUnitsInteger : sig ... end
Sourcemodule ClassifierMetadata : sig ... end

Provides information about a document classifier.

Sourcemodule DocumentClassifierArn : sig ... end

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.

Provide the location for output data from a custom classifier job. This field is mandatory if you are training a native document model.

Sourcemodule ComprehendDatasetArn : sig ... end
Sourcemodule DatasetStatus : sig ... end
Sourcemodule DatasetType : sig ... end
Sourcemodule Description : sig ... end
Sourcemodule NumberOfDocuments : sig ... end
Sourcemodule ListOfToxicContent : sig ... end
Sourcemodule CustomerInputString : sig ... end

Array of the number of characters extracted from each page.

Sourcemodule BlockType : sig ... end
Sourcemodule Geometry : sig ... end

Information about the location of items on a document page. For additional information, see Geometry in the Amazon Textract API reference.

Sourcemodule ListOfRelationships : sig ... end
Sourcemodule DocumentType : sig ... end
Sourcemodule PageBasedErrorCode : sig ... end

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.

Describes the annotations associated with a entity recognizer.

Describes the documents submitted with a dataset for an entity recognizer model.

Describes the dataset entity list for an entity recognizer model. For more information on how the input file is formatted, see Preparing training data in the Comprehend Developer Guide.

Sourcemodule PageBasedWarningCode : sig ... end
Sourcemodule ListOfSyntaxTokens : sig ... end
Sourcemodule ListOfKeyPhrases : sig ... end
Sourcemodule ListOfEntities : sig ... end
Sourcemodule ListOfDominantLanguages : sig ... end
Sourcemodule DataSecurityConfig : sig ... end

Data security configuration.

Sourcemodule TaskConfig : sig ... end

Configuration about the model associated with a flywheel.

Sourcemodule InvalidRequestDetail : sig ... end

Provides additional detail about why the request failed.

Sourcemodule InvalidRequestReason : sig ... end
Sourcemodule Tag : sig ... end

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.

Provides information about a topic detection job.

Provides information about a targeted sentiment detection job.

Provides information about a sentiment detection job.

Provides information about a PII entities detection job.

Provides information about a key phrases detection job.

Sourcemodule FlywheelSummary : sig ... end

Flywheel summary information.

The configuration properties of a flywheel iteration.

Provides information about an events detection job.

Describes information about an entity recognizer.

Sourcemodule EntityRecognizerSummary : sig ... end

Describes the information about an entity recognizer and its versions.

Provides information about an entities detection job.

Sourcemodule EndpointProperties : sig ... end

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

Provides information about a dominant language detection job.

Provides information about a document classifier.

Sourcemodule DocumentClassifierSummary : sig ... end

Describes information about a document classifier and its versions.

Provides information about a document classification job.

Sourcemodule DatasetProperties : sig ... end

Properties associated with the dataset.

Sourcemodule ToxicLabels : sig ... end

Toxicity analysis result for one string. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.

Sourcemodule TextSegment : sig ... end

One of the of text strings. Each string has a size limit of 1KB.

Sourcemodule PiiEntity : sig ... end

Provides information about a PII entity.

Sourcemodule ListOfExtractedCharacters : sig ... end
Sourcemodule Block : sig ... end

Information about each word or line of text in the input document. For additional information, see Block in the Amazon Textract API reference.

Sourcemodule DocumentTypeListItem : sig ... end

Document type for each page in the document.

Sourcemodule ErrorsListItem : sig ... end

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.

Sourcemodule DatasetDataFormat : sig ... end

Describes the dataset input data configuration for a document classifier model. For more information on how the input file is formatted, see Preparing training data in the Comprehend Developer Guide.

Specifies the format and location of the input data. You must provide either the Annotations parameter or the EntityList parameter.

Sourcemodule EntityLabel : sig ... end

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

Sourcemodule DocumentClass : sig ... end

Specifies the class that categorizes the document being analyzed

Sourcemodule DocumentLabel : sig ... end

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

Sourcemodule WarningsListItem : sig ... end

The system identified one of the following warnings while processing the input document: The document to classify is plain text, but the classifier is a native document model. The document to classify is semi-structured, but the classifier is a plain-text model.

Sourcemodule BatchItemError : sig ... end

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.

Analysis results for one of the documents in the batch.

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

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

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

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

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

Sourcemodule FlywheelProperties : sig ... end

The flywheel properties.

Sourcemodule InternalServerException : sig ... end

An internal server error occurred. Retry your request.

Sourcemodule InvalidRequestException : sig ... end

The request is invalid.

Sourcemodule KmsKeyValidationException : sig ... end

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

Sourcemodule ResourceNotFoundException : sig ... end

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

Sourcemodule TooManyRequestsException : sig ... end

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

Sourcemodule UpdateDataSecurityConfig : sig ... end

Data security configuration.

Sourcemodule ResourceInUseException : sig ... end

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

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

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

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

Sourcemodule TooManyTagKeysException : sig ... end

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

Sourcemodule TagKeyList : sig ... end
Sourcemodule TooManyTagsException : sig ... end

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.

Sourcemodule TagList : sig ... end
Sourcemodule JobNotFoundException : sig ... end

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

Sourcemodule ClientRequestTokenString : sig ... end
Sourcemodule NumberOfTopicsInteger : sig ... end
Sourcemodule PolicyRevisionId : sig ... end
Sourcemodule Policy : sig ... end
Sourcemodule InvalidFilterException : sig ... end

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

Sourcemodule MaxResultsInteger : sig ... end
Sourcemodule TopicsDetectionJobFilter : sig ... end

Provides information for filtering topic detection jobs. For more information, see .

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

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

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

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

Sourcemodule FlywheelSummaryList : sig ... end
Sourcemodule FlywheelFilter : sig ... end

Filter the flywheels based on creation time or flywheel status.

Sourcemodule FlywheelIterationFilter : sig ... end

Filter the flywheel iterations based on creation time.

Sourcemodule EventsDetectionJobFilter : sig ... end

Provides information for filtering a list of event detection jobs.

Sourcemodule EntityRecognizerFilter : sig ... end

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

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

Sourcemodule EndpointPropertiesList : sig ... end
Sourcemodule EndpointFilter : sig ... end

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.

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

Sourcemodule DocumentClassifierFilter : sig ... end

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

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.

Sourcemodule DatasetPropertiesList : sig ... end
Sourcemodule DatasetFilter : sig ... end

Filter the datasets based on creation time or dataset status.

Sourcemodule ListOfToxicLabels : sig ... end

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

Amazon Comprehend can't process the language of the input text. For a list of supported languages, Supported languages in the Comprehend Developer Guide.

Sourcemodule ListOfTextSegments : sig ... end
Sourcemodule SyntaxLanguageCode : sig ... end
Sourcemodule ListOfPiiEntities : sig ... end
Sourcemodule DocumentMetadata : sig ... end

Information about the document, discovered during text extraction.

Sourcemodule ListOfBlocks : sig ... end
Sourcemodule ListOfDocumentType : sig ... end
Sourcemodule ListOfErrors : sig ... end
Sourcemodule FlywheelS3Uri : sig ... end
Sourcemodule ComprehendEndpointName : sig ... end
Sourcemodule DatasetInputDataConfig : sig ... end

Specifies the format and location of the input data for the dataset.

Sourcemodule ListOfEntityLabels : sig ... end
Sourcemodule ListOfClasses : sig ... end
Sourcemodule ListOfLabels : sig ... end
Sourcemodule ListOfWarnings : sig ... end
Sourcemodule BatchItemErrorList : sig ... end

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

Sourcemodule CustomerInputStringList : sig ... end
Sourcemodule ListOfDetectSyntaxResult : sig ... end
Sourcemodule UpdateFlywheelResponse : sig ... end

Update the configuration information for an existing flywheel.

Sourcemodule UpdateFlywheelRequest : sig ... end

Update the configuration information for an existing flywheel.

Sourcemodule UpdateEndpointResponse : sig ... end

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

Sourcemodule UpdateEndpointRequest : sig ... end

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

Sourcemodule UntagResourceResponse : sig ... end

Removes a specific tag associated with an Amazon Comprehend resource.

Sourcemodule UntagResourceRequest : sig ... end

Removes a specific tag associated with an Amazon Comprehend resource.

Sourcemodule TagResourceResponse : sig ... end

Associates a specific tag with an Amazon Comprehend resource. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.

Sourcemodule TagResourceRequest : sig ... end

Associates a specific tag with an Amazon Comprehend resource. A tag is a key-value pair that adds as a metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.

Stops an entity recognizer training job while in progress. If the training job state is TRAINING, the job is marked for termination and put into the STOP_REQUESTED state. If the training job completes before it can be stopped, it is put into the TRAINED; otherwise the training job is stopped and putted into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.

Stops an entity recognizer training job while in progress. If the training job state is TRAINING, the job is marked for termination and put into the STOP_REQUESTED state. If the training job completes before it can be stopped, it is put into the TRAINED; otherwise the training job is stopped and putted into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.

Stops a document classifier training job while in progress. If the training job state is TRAINING, the job is marked for termination and put into the STOP_REQUESTED state. If the training job completes before it can be stopped, it is put into the TRAINED; otherwise the training job is stopped and put into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.

Stops a document classifier training job while in progress. If the training job state is TRAINING, the job is marked for termination and put into the STOP_REQUESTED state. If the training job completes before it can be stopped, it is put into the TRAINED; otherwise the training job is stopped and put into the STOPPED state and the service sends back an HTTP 200 response with an empty HTTP body.

Stops a targeted sentiment detection job in progress. If the job state is IN_PROGRESS, the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is be stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

Stops a targeted sentiment detection job in progress. If the job state is IN_PROGRESS, the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is be stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

Stops a sentiment detection job in progress. If the job state is IN_PROGRESS, the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is be stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

Stops a sentiment detection job in progress. If the job state is IN_PROGRESS, the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is be stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

Stops a PII entities detection job in progress.

Stops a PII entities detection job in progress.

Stops a key phrases detection job in progress. If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

Stops a key phrases detection job in progress. If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

Stops an events detection job in progress.

Stops an events detection job in progress.

Stops an entities detection job in progress. If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

Stops an entities detection job in progress. If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

Stops a dominant language detection job in progress. If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

Stops a dominant language detection job in progress. If the job state is IN_PROGRESS the job is marked for termination and put into the STOP_REQUESTED state. If the job completes before it can be stopped, it is put into the COMPLETED state; otherwise the job is stopped and put into the STOPPED state. If the job is in the COMPLETED or FAILED state when you call the StopDominantLanguageDetectionJob operation, the operation returns a 400 Internal Request Exception. When a job is stopped, any documents already processed are written to the output location.

Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob operation to track the status of a job.

Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob operation to track the status of a job.

Starts an asynchronous targeted sentiment detection job for a collection of documents. Use the DescribeTargetedSentimentDetectionJob operation to track the status of a job.

Starts an asynchronous targeted sentiment detection job for a collection of documents. Use the DescribeTargetedSentimentDetectionJob operation to track the status of a job.

Starts an asynchronous sentiment detection job for a collection of documents. Use the operation to track the status of a job.

Starts an asynchronous sentiment detection job for a collection of documents. Use the operation to track the status of a job.

Starts an asynchronous PII entity detection job for a collection of documents.

Starts an asynchronous PII entity detection job for a collection of documents.

Starts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.

Starts an asynchronous key phrase detection job for a collection of documents. Use the operation to track the status of a job.

Start the flywheel iteration.This operation uses any new datasets to train a new model version. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Start the flywheel iteration.This operation uses any new datasets to train a new model version. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Starts an asynchronous event detection job for a collection of documents.

Starts an asynchronous event detection job for a collection of documents.

Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job. This API can be used for either standard entity detection or custom entity recognition. In order to be used for custom entity recognition, the optional EntityRecognizerArn must be used in order to provide access to the recognizer being used to detect the custom entity.

Starts an asynchronous entity detection job for a collection of documents. Use the operation to track the status of a job. This API can be used for either standard entity detection or custom entity recognition. In order to be used for custom entity recognition, the optional EntityRecognizerArn must be used in order to provide access to the recognizer being used to detect the custom entity.

Starts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.

Starts an asynchronous dominant language detection job for a collection of documents. Use the operation to track the status of a job.

Starts an asynchronous document classification job using a custom classification model. Use the DescribeDocumentClassificationJob operation to track the progress of the job.

Starts an asynchronous document classification job using a custom classification model. Use the DescribeDocumentClassificationJob operation to track the progress of the job.

Sourcemodule PutResourcePolicyResponse : sig ... end

Attaches a resource-based policy to a custom model. You can use this policy to authorize an entity in another Amazon Web Services account to import the custom model, which replicates it in Amazon Comprehend in their account.

Sourcemodule PutResourcePolicyRequest : sig ... end

Attaches a resource-based policy to a custom model. You can use this policy to authorize an entity in another Amazon Web Services account to import the custom model, which replicates it in Amazon Comprehend in their account.

Gets a list of the topic detection jobs that you have submitted.

Gets a list of the topic detection jobs that you have submitted.

Gets a list of targeted sentiment detection jobs that you have submitted.

Gets a list of targeted sentiment detection jobs that you have submitted.

Lists all tags associated with a given Amazon Comprehend resource.

Lists all tags associated with a given Amazon Comprehend resource.

Gets a list of sentiment detection jobs that you have submitted.

Gets a list of sentiment detection jobs that you have submitted.

Gets a list of the PII entity detection jobs that you have submitted.

Gets a list of the PII entity detection jobs that you have submitted.

Get a list of key phrase detection jobs that you have submitted.

Get a list of key phrase detection jobs that you have submitted.

Sourcemodule ListFlywheelsResponse : sig ... end

Gets a list of the flywheels that you have created.

Sourcemodule ListFlywheelsRequest : sig ... end

Gets a list of the flywheels that you have created.

Information about the history of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Information about the history of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Gets a list of the events detection jobs that you have submitted.

Gets a list of the events detection jobs that you have submitted.

Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list. The results of this list are not in any particular order. Please get the list and sort locally if needed.

Gets a list of the properties of all entity recognizers that you created, including recognizers currently in training. Allows you to filter the list of recognizers based on criteria such as status and submission time. This call returns up to 500 entity recognizers in the list, with a default number of 100 recognizers in the list. The results of this list are not in any particular order. Please get the list and sort locally if needed.

Gets a list of summaries for the entity recognizers that you have created.

Gets a list of summaries for the entity recognizers that you have created.

Gets a list of the entity detection jobs that you have submitted.

Gets a list of the entity detection jobs that you have submitted.

Sourcemodule ListEndpointsResponse : sig ... end

Gets a list of all existing endpoints that you've created. For information about endpoints, see Managing endpoints.

Sourcemodule ListEndpointsRequest : sig ... end

Gets a list of all existing endpoints that you've created. For information about endpoints, see Managing endpoints.

Gets a list of the dominant language detection jobs that you have submitted.

Gets a list of the dominant language detection jobs that you have submitted.

Gets a list of the document classifiers that you have created.

Gets a list of the document classifiers that you have created.

Gets a list of summaries of the document classifiers that you have created

Gets a list of summaries of the document classifiers that you have created

Gets a list of the documentation classification jobs that you have submitted.

Gets a list of the documentation classification jobs that you have submitted.

Sourcemodule ListDatasetsResponse : sig ... end

List the datasets that you have configured in this Region. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.

Sourcemodule ListDatasetsRequest : sig ... end

List the datasets that you have configured in this Region. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.

Sourcemodule ImportModelResponse : sig ... end

Creates a new custom model that replicates a source custom model that you import. The source model can be in your Amazon Web Services account or another one. If the source model is in another Amazon Web Services account, then it must have a resource-based policy that authorizes you to import it. The source model must be in the same Amazon Web Services Region that you're using when you import. You can't import a model that's in a different Region.

Sourcemodule ImportModelRequest : sig ... end

Creates a new custom model that replicates a source custom model that you import. The source model can be in your Amazon Web Services account or another one. If the source model is in another Amazon Web Services account, then it must have a resource-based policy that authorizes you to import it. The source model must be in the same Amazon Web Services Region that you're using when you import. You can't import a model that's in a different Region.

Performs toxicity analysis on the list of text strings that you provide as input. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.

Sourcemodule DetectToxicContentRequest : sig ... end

Performs toxicity analysis on the list of text strings that you provide as input. The API response contains a results list that matches the size of the input list. For more information about toxicity detection, see Toxicity detection in the Amazon Comprehend Developer Guide.

Inspects the input text and returns a sentiment analysis for each entity identified in the text. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Inspects the input text and returns a sentiment analysis for each entity identified in the text. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Sourcemodule DetectSyntaxResponse : sig ... end

Inspects text for syntax and the part of speech of words in the document. For more information, see Syntax in the Comprehend Developer Guide.

Sourcemodule DetectSyntaxRequest : sig ... end

Inspects text for syntax and the part of speech of words in the document. For more information, see Syntax in the Comprehend Developer Guide.

Sourcemodule DetectSentimentResponse : sig ... end

Inspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL, MIXED, or NEGATIVE).

Sourcemodule DetectSentimentRequest : sig ... end

Inspects text and returns an inference of the prevailing sentiment (POSITIVE, NEUTRAL, MIXED, or NEGATIVE).

Sourcemodule DetectPiiEntitiesResponse : sig ... end

Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.

Sourcemodule DetectPiiEntitiesRequest : sig ... end

Inspects the input text for entities that contain personally identifiable information (PII) and returns information about them.

Sourcemodule DetectKeyPhrasesResponse : sig ... end

Detects the key noun phrases found in the text.

Sourcemodule DetectKeyPhrasesRequest : sig ... end

Detects the key noun phrases found in the text.

Sourcemodule DetectEntitiesResponse : sig ... end

Detects named entities in input text when you use the pre-trained model. Detects custom entities if you have a custom entity recognition model. When detecting named entities using the pre-trained model, use plain text as the input. For more information about named entities, see Entities in the Comprehend Developer Guide. When you use a custom entity recognition model, you can input plain text or you can upload a single-page input document (text, PDF, Word, or image). If the system detects errors while processing a page in the input document, the API response includes an entry in Errors for each error. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.

Sourcemodule DetectEntitiesRequest : sig ... end

Detects named entities in input text when you use the pre-trained model. Detects custom entities if you have a custom entity recognition model. When detecting named entities using the pre-trained model, use plain text as the input. For more information about named entities, see Entities in the Comprehend Developer Guide. When you use a custom entity recognition model, you can input plain text or you can upload a single-page input document (text, PDF, Word, or image). If the system detects errors while processing a page in the input document, the API response includes an entry in Errors for each error. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.

Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.

Determines the dominant language of the input text. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.

Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.

Gets the properties associated with a topic detection job. Use this operation to get the status of a detection job.

Gets the properties associated with a targeted sentiment detection job. Use this operation to get the status of the job.

Gets the properties associated with a targeted sentiment detection job. Use this operation to get the status of the job.

Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.

Gets the properties associated with a sentiment detection job. Use this operation to get the status of a detection job.

Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.

Gets the details of a resource-based policy that is attached to a custom model, including the JSON body of the policy.

Gets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status.

Gets the properties associated with a PII entities detection job. For example, you can use this operation to get the job status.

Gets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.

Gets the properties associated with a key phrases detection job. Use this operation to get the status of a detection job.

Sourcemodule DescribeFlywheelResponse : sig ... end

Provides configuration information about the flywheel. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Sourcemodule DescribeFlywheelRequest : sig ... end

Provides configuration information about the flywheel. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Retrieve the configuration properties of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Retrieve the configuration properties of a flywheel iteration. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Gets the status and details of an events detection job.

Gets the status and details of an events detection job.

Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.

Provides details about an entity recognizer including status, S3 buckets containing training data, recognizer metadata, metrics, and so on.

Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.

Gets the properties associated with an entities detection job. Use this operation to get the status of a detection job.

Sourcemodule DescribeEndpointResponse : sig ... end

Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint. For information about endpoints, see Managing endpoints.

Sourcemodule DescribeEndpointRequest : sig ... end

Gets the properties associated with a specific endpoint. Use this operation to get the status of an endpoint. For information about endpoints, see Managing endpoints.

Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.

Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.

Gets the properties associated with a document classifier.

Gets the properties associated with a document classifier.

Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.

Gets the properties associated with a document classification job. Use this operation to get the status of a classification job.

Sourcemodule DescribeDatasetResponse : sig ... end

Returns information about the dataset that you specify. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.

Sourcemodule DescribeDatasetRequest : sig ... end

Returns information about the dataset that you specify. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.

Deletes a resource-based policy that is attached to a custom model.

Deletes a resource-based policy that is attached to a custom model.

Sourcemodule DeleteFlywheelResponse : sig ... end

Deletes a flywheel. When you delete the flywheel, Amazon Comprehend does not delete the data lake or the model associated with the flywheel. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Sourcemodule DeleteFlywheelRequest : sig ... end

Deletes a flywheel. When you delete the flywheel, Amazon Comprehend does not delete the data lake or the model associated with the flywheel. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Deletes an entity recognizer. Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a ResourceInUseException will be returned. This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.

Deletes an entity recognizer. Only those recognizers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a ResourceInUseException will be returned. This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.

Sourcemodule DeleteEndpointResponse : sig ... end

Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted. For information about endpoints, see Managing endpoints.

Sourcemodule DeleteEndpointRequest : sig ... end

Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted. For information about endpoints, see Managing endpoints.

Deletes a previously created document classifier Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a ResourceInUseException will be returned. This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.

Deletes a previously created document classifier Only those classifiers that are in terminated states (IN_ERROR, TRAINED) will be deleted. If an active inference job is using the model, a ResourceInUseException will be returned. This is an asynchronous action that puts the classifier into a DELETING state, and it is then removed by a background job. Once removed, the classifier disappears from your account and is no longer available for use.

Sourcemodule CreateFlywheelResponse : sig ... end

A flywheel is an Amazon Web Services resource that orchestrates the ongoing training of a model for custom classification or custom entity recognition. You can create a flywheel to start with an existing trained model, or Comprehend can create and train a new model. When you create the flywheel, Comprehend creates a data lake in your account. The data lake holds the training data and test data for all versions of the model. To use a flywheel with an existing trained model, you specify the active model version. Comprehend copies the model's training data and test data into the flywheel's data lake. To use the flywheel with a new model, you need to provide a dataset for training data (and optional test data) when you create the flywheel. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Sourcemodule CreateFlywheelRequest : sig ... end

A flywheel is an Amazon Web Services resource that orchestrates the ongoing training of a model for custom classification or custom entity recognition. You can create a flywheel to start with an existing trained model, or Comprehend can create and train a new model. When you create the flywheel, Comprehend creates a data lake in your account. The data lake holds the training data and test data for all versions of the model. To use a flywheel with an existing trained model, you specify the active model version. Comprehend copies the model's training data and test data into the flywheel's data lake. To use the flywheel with a new model, you need to provide a dataset for training data (and optional test data) when you create the flywheel. For more information about flywheels, see Flywheel overview in the Amazon Comprehend Developer Guide.

Creates an entity recognizer using submitted files. After your CreateEntityRecognizer request is submitted, you can check job status using the DescribeEntityRecognizer API.

Creates an entity recognizer using submitted files. After your CreateEntityRecognizer request is submitted, you can check job status using the DescribeEntityRecognizer API.

Sourcemodule CreateEndpointResponse : sig ... end

Creates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints.

Sourcemodule CreateEndpointRequest : sig ... end

Creates a model-specific endpoint for synchronous inference for a previously trained custom model For information about endpoints, see Managing endpoints.

Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that are labeled with the categories that you want to use. For more information, see Training classifier models in the Comprehend Developer Guide.

Creates a new document classifier that you can use to categorize documents. To create a classifier, you provide a set of training documents that are labeled with the categories that you want to use. For more information, see Training classifier models in the Comprehend Developer Guide.

Sourcemodule CreateDatasetResponse : sig ... end

Creates a dataset to upload training or test data for a model associated with a flywheel. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.

Sourcemodule CreateDatasetRequest : sig ... end

Creates a dataset to upload training or test data for a model associated with a flywheel. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.

Analyzes input text for the presence of personally identifiable information (PII) and returns the labels of identified PII entity types such as name, address, bank account number, or phone number.

Analyzes input text for the presence of personally identifiable information (PII) and returns the labels of identified PII entity types such as name, address, bank account number, or phone number.

Sourcemodule ClassifyDocumentResponse : sig ... end

Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt safety classifier - Amazon Comprehend provides a pre-trained model for classifying input prompts for generative AI applications. For input, you provide English plain text input. For prompt safety classification, the response includes only the Classes field. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer Guide. If the system detects errors while processing a page in the input document, the API response includes an Errors field that describes the errors. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.

Sourcemodule ClassifyDocumentRequest : sig ... end

Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types: Custom classifier - a custom model that you have created and trained. For input, you can provide plain text, a single-page document (PDF, Word, or image), or Amazon Textract API output. For more information, see Custom classification in the Amazon Comprehend Developer Guide. Prompt safety classifier - Amazon Comprehend provides a pre-trained model for classifying input prompts for generative AI applications. For input, you provide English plain text input. For prompt safety classification, the response includes only the Classes field. For more information about prompt safety classifiers, see Prompt safety classification in the Amazon Comprehend Developer Guide. If the system detects errors while processing a page in the input document, the API response includes an Errors field that describes the errors. If the system detects a document-level error in your input document, the API returns an InvalidRequestException error response. For details about this exception, see Errors in semi-structured documents in the Comprehend Developer Guide.

Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents. For more information about targeted sentiment, see Targeted sentiment in the Amazon Comprehend Developer Guide.

Sourcemodule BatchDetectSyntaxResponse : sig ... end

Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see Syntax in the Comprehend Developer Guide.

Sourcemodule BatchDetectSyntaxRequest : sig ... end

Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see Syntax in the Comprehend Developer Guide.

Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE, NEUTRAL, MIXED, or NEGATIVE, in each one.

Inspects a batch of documents and returns an inference of the prevailing sentiment, POSITIVE, NEUTRAL, MIXED, or NEGATIVE, in each one.

Detects the key noun phrases found in a batch of documents.

Detects the key noun phrases found in a batch of documents.

Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see Entities in the Comprehend Developer Guide.

Inspects the text of a batch of documents for named entities and returns information about them. For more information about named entities, see Entities in the Comprehend Developer Guide.

Determines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.

Determines the dominant language of the input text for a batch of documents. For a list of languages that Amazon Comprehend can detect, see Amazon Comprehend Supported Languages.