airflow.providers.amazon.aws.links.emr
¶
Module Contents¶
Classes¶
Helper class for constructing Amazon EMR Cluster Link. |
|
Helper class for constructing Amazon EMR Logs Link. |
|
Helper class for constructing Amazon EMR Serverless link to Spark stdout logs. |
|
Helper class for constructing Amazon EMR Serverless Dashboard Link. |
|
Helper class for constructing link to S3 console for Amazon EMR Serverless Logs. |
|
Helper class for constructing link to CloudWatch console for Amazon EMR Serverless Logs. |
Functions¶
|
Retrieve the S3 URI to EMR Serverless Job logs. |
|
Retrieve the URL to EMR Serverless dashboard. |
|
Retrieve the S3 URI to the EMR Job logs. |
- class airflow.providers.amazon.aws.links.emr.EmrClusterLink[source]¶
Bases:
airflow.providers.amazon.aws.links.base_aws.BaseAwsLink
Helper class for constructing Amazon EMR Cluster Link.
- class airflow.providers.amazon.aws.links.emr.EmrLogsLink[source]¶
Bases:
airflow.providers.amazon.aws.links.base_aws.BaseAwsLink
Helper class for constructing Amazon EMR Logs Link.
- airflow.providers.amazon.aws.links.emr.get_serverless_log_uri(*, s3_log_uri, application_id, job_run_id)[source]¶
Retrieve the S3 URI to EMR Serverless Job logs.
Any EMR Serverless job may have a different S3 logging location (or none), which is an S3 URI. The logging location is then {s3_uri}/applications/{application_id}/jobs/{job_run_id}.
- airflow.providers.amazon.aws.links.emr.get_serverless_dashboard_url(*, aws_conn_id=None, emr_serverless_client=None, application_id, job_run_id)[source]¶
Retrieve the URL to EMR Serverless dashboard.
The URL is a one-use, ephemeral link that expires in 1 hour and is accessible without authentication.
Either an AWS connection ID or existing EMR Serverless client must be passed. If the connection ID is passed, a client is generated using that connection.
- airflow.providers.amazon.aws.links.emr.get_log_uri(*, cluster=None, emr_client=None, job_flow_id=None)[source]¶
Retrieve the S3 URI to the EMR Job logs.
Requires either the output of a describe_cluster call or both an EMR Client and a job_flow_id..
- class airflow.providers.amazon.aws.links.emr.EmrServerlessLogsLink[source]¶
Bases:
airflow.providers.amazon.aws.links.base_aws.BaseAwsLink
Helper class for constructing Amazon EMR Serverless link to Spark stdout logs.
- class airflow.providers.amazon.aws.links.emr.EmrServerlessDashboardLink[source]¶
Bases:
airflow.providers.amazon.aws.links.base_aws.BaseAwsLink
Helper class for constructing Amazon EMR Serverless Dashboard Link.
- class airflow.providers.amazon.aws.links.emr.EmrServerlessS3LogsLink[source]¶
Bases:
airflow.providers.amazon.aws.links.base_aws.BaseAwsLink
Helper class for constructing link to S3 console for Amazon EMR Serverless Logs.
- class airflow.providers.amazon.aws.links.emr.EmrServerlessCloudWatchLogsLink[source]¶
Bases:
airflow.providers.amazon.aws.links.base_aws.BaseAwsLink
Helper class for constructing link to CloudWatch console for Amazon EMR Serverless Logs.
This is a deep link that filters on a specific job run.