awswrangler.quicksight.delete_template

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

Delete a tamplate.

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="...")