awswrangler.quicksight.cancel_ingestion¶
- awswrangler.quicksight.cancel_ingestion(ingestion_id: str, dataset_name: str | None = None, dataset_id: str | None = None, account_id: str | None = None, boto3_session: Session | None = None) None ¶
Cancel an ongoing ingestion of data into SPICE.
Note
You must pass a not None value for
dataset_name
ordataset_id
argument.- Parameters:
ingestion_id (
str
) – Ingestion ID.dataset_name (
str
|None
) – Dataset name.dataset_id (
str
|None
) – Dataset 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:
None
Examples
>>> import awswrangler as wr >>> wr.quicksight.cancel_ingestion(ingestion_id="...", dataset_name="...")