awswrangler.quicksight.delete_template

awswrangler.quicksight.delete_template(name: str | None = None, template_id: str | None = None, version_number: int | None = None, account_id: str | None = None, boto3_session: Session | None = None) None

Delete a template.

Note

You must pass a not None name or template_id argument.

Parameters:
  • name (str, optional) – Dashboard name.

  • template_id (str, optional) – The ID for the dashboard.

  • version_number (int, optional) – Specifies the version of the template that you want to delete. If you don’t provide a version number, it deletes all versions of the template.

  • 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:

None.

Return type:

None

Examples

>>> import awswrangler as wr
>>> wr.quicksight.delete_template(name="...")