awswrangler.quicksight.create_ingestion

awswrangler.quicksight.create_ingestion(dataset_name: Optional[str] = None, dataset_id: Optional[str] = None, ingestion_id: Optional[str] = None, account_id: Optional[str] = None, boto3_session: Optional[boto3.session.Session] = None) str

Create and starts a new SPICE ingestion on a dataset.

Note

You must pass dataset_name OR dataset_id argument.

Parameters
  • dataset_name (str, optional) – Dataset name.

  • dataset_id (str, optional) – Dataset ID.

  • ingestion_id (str, optional) – Ingestion ID.

  • account_id (str, optional) – If None, the account ID will be inferred from your boto3 session.

  • boto3_session (boto3.Session(), optional) – Boto3 Session. The default boto3 session will be used if boto3_session receive None.

Returns

Ingestion ID

Return type

str

Examples

>>> import awswrangler as wr
>>> status = wr.quicksight.create_ingestion("my_dataset")