airflow.providers.amazon.aws.hooks.comprehend

Module Contents

Classes

ComprehendHook

Interact with AWS Comprehend.

class airflow.providers.amazon.aws.hooks.comprehend.ComprehendHook(*args, **kwargs)[source]

Bases: airflow.providers.amazon.aws.hooks.base_aws.AwsBaseHook

Interact with AWS Comprehend.

Provide thin wrapper around boto3.client("comprehend").

Additional arguments (such as aws_conn_id) may be specified and are passed down to the underlying AwsBaseHook.

validate_document_classifier_training_status(document_classifier_arn, fail_on_warnings=False)[source]

Log the Information about the document classifier.

NumberOfLabels NumberOfTrainedDocuments NumberOfTestDocuments EvaluationMetrics

Was this entry helpful?