awswrangler.quicksight.create_ingestion

awswrangler.quicksight.create_ingestion(dataset_name: str | None = None, dataset_id: str | None = None, ingestion_id: str | None = None, account_id: str | None = None, boto3_session: Session | None = 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")