Package-level declarations

Types

Link copied to clipboard

Amazon Comprehend is an Amazon Web Services service for gaining insight into the content of documents. Use these actions to determine the topics contained in your documents, the topics they discuss, the predominant sentiment expressed in them, the predominant language used, and more.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Inherited functions

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

Inspects a batch of documents and returns a sentiment analysis for each entity identified in the documents.

Link copied to clipboard

Creates a classification request to analyze a single document in real-time. ClassifyDocument supports the following model types:

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

Deletes a previously created document classifier

Link copied to clipboard

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.

Link copied to clipboard

Deletes an entity recognizer.

Link copied to clipboard

Deletes a flywheel. When you delete the flywheel, Amazon Comprehend does not delete the data lake or the model associated with the flywheel.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Gets the properties associated with a document classifier.

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Gets the status and details of an events detection job.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Detects named entities in input text when you use the pre-trained model. Detects custom entities if you have a custom entity recognition model.

Link copied to clipboard

Detects the key noun phrases found in the text.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Inspects the input text and returns a sentiment analysis for each entity identified in the text.

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Gets a list of the flywheels that you have created.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Lists all tags associated with a given Amazon Comprehend resource.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Stops a dominant language detection job in progress.

Link copied to clipboard

Stops an entities detection job in progress.

Link copied to clipboard

Stops an events detection job in progress.

Link copied to clipboard

Stops a key phrases detection job in progress.

Link copied to clipboard

Stops a PII entities detection job in progress.

Link copied to clipboard

Stops a sentiment detection job in progress.

Link copied to clipboard

Stops a targeted sentiment detection job in progress.

Link copied to clipboard

Stops a document classifier training job while in progress.

Link copied to clipboard

Stops an entity recognizer training job while in progress.

Link copied to clipboard

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.

Link copied to clipboard

Removes a specific tag associated with an Amazon Comprehend resource.

Link copied to clipboard

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

Link copied to clipboard

Update the configuration information for an existing flywheel.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.