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
|None
) – Dataset name.dataset_id (
str
|None
) – Dataset ID.ingestion_id (
str
|None
) – Ingestion ID.account_id (
str
|None
) – If None, the account ID will be inferred from your boto3 session.boto3_session (
Session
|None
) – The default boto3 session will be used if boto3_session isNone
.
- Return type:
str
- Returns:
Ingestion ID
Examples
>>> import awswrangler as wr >>> status = wr.quicksight.create_ingestion("my_dataset")