blob: 10401836cd1e8d0e210ad24b16fd129344dba6af [file] [log] [blame]
:py:mod:`airflow.providers.amazon.aws.operators.quicksight`
===========================================================
.. py:module:: airflow.providers.amazon.aws.operators.quicksight
Module Contents
---------------
Classes
~~~~~~~
.. autoapisummary::
airflow.providers.amazon.aws.operators.quicksight.QuickSightCreateIngestionOperator
Attributes
~~~~~~~~~~
.. autoapisummary::
airflow.providers.amazon.aws.operators.quicksight.DEFAULT_CONN_ID
.. py:data:: DEFAULT_CONN_ID
:annotation: = aws_default
.. py:class:: QuickSightCreateIngestionOperator(data_set_id, ingestion_id, ingestion_type = 'FULL_REFRESH', wait_for_completion = True, check_interval = 30, aws_conn_id = DEFAULT_CONN_ID, region = None, **kwargs)
Bases: :py:obj:`airflow.models.BaseOperator`
Creates and starts a new SPICE ingestion for a dataset.
Also, helps to Refresh existing SPICE datasets.
.. seealso::
For more information on how to use this operator, take a look at the guide:
:ref:`howto/operator:QuickSightCreateIngestionOperator`
:param data_set_id: ID of the dataset used in the ingestion.
:param ingestion_id: ID for the ingestion.
:param ingestion_type: Type of ingestion. Values Can be INCREMENTAL_REFRESH or FULL_REFRESH.
Default FULL_REFRESH.
:param wait_for_completion: If wait is set to True, the time interval, in seconds,
that the operation waits to check the status of the Amazon QuickSight Ingestion.
:param check_interval: if wait is set to be true, this is the time interval
in seconds which the operator will check the status of the Amazon QuickSight Ingestion
:param aws_conn_id: The Airflow connection used for AWS credentials. (templated)
If this is None or empty then the default boto3 behaviour is used. If
running Airflow in a distributed manner and aws_conn_id is None or
empty, then the default boto3 configuration would be used (and must be
maintained on each worker node).
:param region: Which AWS region the connection should use. (templated)
If this is None or empty then the default boto3 behaviour is used.
.. py:attribute:: template_fields
:annotation: :Sequence[str] = ['data_set_id', 'ingestion_id', 'ingestion_type', 'wait_for_completion', 'check_interval',...
.. py:attribute:: ui_color
:annotation: = #ffd700
.. py:method:: execute(self, context)
This is the main method to derive when creating an operator.
Context is the same dictionary used as when rendering jinja templates.
Refer to get_template_context for more context.