awswrangler.quicksight.get_template_ids

awswrangler.quicksight.get_template_ids(name: str, account_id: str | None = None, boto3_session: Session | None = None) list[str]

Get QuickSight template IDs given a name.

Note

This function returns a list of ID because Quicksight accepts duplicated templates names, so you may have more than 1 ID for a given name.

Parameters:
  • name (str) – Template name.

  • 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 is None.

Return type:

list[str]

Returns:

Template IDs.

Examples

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