airflow.providers.amazon.aws.triggers.comprehend¶
Classes¶
Trigger when a Comprehend pii entities detection job is complete. |
|
Trigger when a Comprehend document classifier is complete. |
Module Contents¶
- class airflow.providers.amazon.aws.triggers.comprehend.ComprehendPiiEntitiesDetectionJobCompletedTrigger(*, job_id, waiter_delay=120, waiter_max_attempts=75, aws_conn_id='aws_default', region_name=None, verify=None, botocore_config=None)[source]¶
Bases:
airflow.providers.amazon.aws.triggers.base.AwsBaseWaiterTriggerTrigger when a Comprehend pii entities detection job is complete.
- Parameters:
job_id (str) – The id of the Comprehend pii entities detection job.
waiter_delay (int) – The amount of time in seconds to wait between attempts. (default: 120)
waiter_max_attempts (int) – The maximum number of attempts to be made. (default: 75)
aws_conn_id (str | None) – The Airflow connection used for AWS credentials.
region_name (str | None) – The AWS region where the resources to watch are.
verify (bool | str | None) – Whether or not to verify SSL certificates. See: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html
botocore_config (dict | None) – Configuration dictionary (key-values) for botocore client. See: https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html
- class airflow.providers.amazon.aws.triggers.comprehend.ComprehendCreateDocumentClassifierCompletedTrigger(*, document_classifier_arn, waiter_delay=120, waiter_max_attempts=75, aws_conn_id='aws_default', region_name=None, verify=None, botocore_config=None)[source]¶
Bases:
airflow.providers.amazon.aws.triggers.base.AwsBaseWaiterTriggerTrigger when a Comprehend document classifier is complete.
- Parameters:
document_classifier_arn (str) – The arn of the Comprehend document classifier.
waiter_delay (int) – The amount of time in seconds to wait between attempts. (default: 120)
waiter_max_attempts (int) – The maximum number of attempts to be made. (default: 75)
aws_conn_id (str | None) – The Airflow connection used for AWS credentials.
region_name (str | None) – The AWS region where the resources to watch are.
verify (bool | str | None) – Whether or not to verify SSL certificates. See: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html
botocore_config (dict | None) – Configuration dictionary (key-values) for botocore client. See: https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html