Comprehend#
Client#
- class Comprehend.Client#
A low-level client representing Amazon Comprehend
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.
import boto3 client = boto3.client('comprehend')
These are the available methods:
- batch_detect_dominant_language
- batch_detect_entities
- batch_detect_key_phrases
- batch_detect_sentiment
- batch_detect_syntax
- batch_detect_targeted_sentiment
- can_paginate
- classify_document
- close
- contains_pii_entities
- create_dataset
- create_document_classifier
- create_endpoint
- create_entity_recognizer
- create_flywheel
- delete_document_classifier
- delete_endpoint
- delete_entity_recognizer
- delete_flywheel
- delete_resource_policy
- describe_dataset
- describe_document_classification_job
- describe_document_classifier
- describe_dominant_language_detection_job
- describe_endpoint
- describe_entities_detection_job
- describe_entity_recognizer
- describe_events_detection_job
- describe_flywheel
- describe_flywheel_iteration
- describe_key_phrases_detection_job
- describe_pii_entities_detection_job
- describe_resource_policy
- describe_sentiment_detection_job
- describe_targeted_sentiment_detection_job
- describe_topics_detection_job
- detect_dominant_language
- detect_entities
- detect_key_phrases
- detect_pii_entities
- detect_sentiment
- detect_syntax
- detect_targeted_sentiment
- detect_toxic_content
- get_paginator
- get_waiter
- import_model
- list_datasets
- list_document_classification_jobs
- list_document_classifier_summaries
- list_document_classifiers
- list_dominant_language_detection_jobs
- list_endpoints
- list_entities_detection_jobs
- list_entity_recognizer_summaries
- list_entity_recognizers
- list_events_detection_jobs
- list_flywheel_iteration_history
- list_flywheels
- list_key_phrases_detection_jobs
- list_pii_entities_detection_jobs
- list_sentiment_detection_jobs
- list_tags_for_resource
- list_targeted_sentiment_detection_jobs
- list_topics_detection_jobs
- put_resource_policy
- start_document_classification_job
- start_dominant_language_detection_job
- start_entities_detection_job
- start_events_detection_job
- start_flywheel_iteration
- start_key_phrases_detection_job
- start_pii_entities_detection_job
- start_sentiment_detection_job
- start_targeted_sentiment_detection_job
- start_topics_detection_job
- stop_dominant_language_detection_job
- stop_entities_detection_job
- stop_events_detection_job
- stop_key_phrases_detection_job
- stop_pii_entities_detection_job
- stop_sentiment_detection_job
- stop_targeted_sentiment_detection_job
- stop_training_document_classifier
- stop_training_entity_recognizer
- tag_resource
- untag_resource
- update_endpoint
- update_flywheel
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- BatchSizeLimitExceededException
- ConcurrentModificationException
- InternalServerException
- InvalidFilterException
- InvalidRequestException
- JobNotFoundException
- KmsKeyValidationException
- ResourceInUseException
- ResourceLimitExceededException
- ResourceNotFoundException
- ResourceUnavailableException
- TextSizeLimitExceededException
- TooManyRequestsException
- TooManyTagKeysException
- TooManyTagsException
- UnsupportedLanguageException
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are: