airflow.providers.amazon.aws.operators.quicksight¶
類¶
建立並啟動資料集新的 SPICE 攝取任務;也用於重新整理現有的 SPICE 資料集。 |
模組內容¶
- class airflow.providers.amazon.aws.operators.quicksight.QuickSightCreateIngestionOperator(data_set_id, ingestion_id, ingestion_type='FULL_REFRESH', wait_for_completion=True, check_interval=30, **kwargs)[source]¶
Bases:
airflow.providers.amazon.aws.operators.base_aws.AwsBaseOperator[airflow.providers.amazon.aws.hooks.quicksight.QuickSightHook]建立並啟動資料集新的 SPICE 攝取任務;也用於重新整理現有的 SPICE 資料集。
另請參閱
有關如何使用此操作器的更多資訊,請參閱指南: Amazon QuickSight 建立攝取任務
- 引數:
data_set_id (str) – 攝取任務中使用的資料集的 ID。
ingestion_id (str) – 攝取任務的 ID。
ingestion_type (str) – 攝取任務型別。可選值包括 INCREMENTAL_REFRESH 或 FULL_REFRESH。預設為 FULL_REFRESH。
wait_for_completion (bool) – 如果 wait 設定為 True,表示操作等待檢查 Amazon QuickSight 攝取狀態的時間間隔(以秒為單位)。
check_interval (int) – 如果 wait 設定為 true,則這是操作器檢查 Amazon QuickSight 攝取狀態的時間間隔(以秒為單位)
aws_conn_id – 用於 AWS 憑據的 Airflow 連線 ID。如果此項為
None或為空,則使用預設的 boto3 行為。如果在分散式環境中執行 Airflow 且 aws_conn_id 為 None 或為空,則將使用預設的 boto3 配置(且必須在每個工作節點上維護)。region_name – AWS 區域名稱。如果未指定,則使用預設的 boto3 行為。
verify – 是否驗證 SSL 證書。參見: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/core/session.html
botocore_config – botocore 客戶端的配置字典(鍵值對)。參見: https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html
- template_fields: collections.abc.Sequence[str][source]¶