awswrangler.quicksight.describe_data_source_permissions

awswrangler.quicksight.describe_data_source_permissions(name: Optional[str] = None, data_source_id: Optional[str] = None, account_id: Optional[str] = None, boto3_session: Optional[boto3.session.Session] = None)Dict[str, Any]

Describe a QuickSight data source permissions by name or ID.

Note

You must pass a not None name or data_source_id argument.

Parameters
  • name (str, optional) – Data source name.

  • data_source_id (str, optional) – Data source ID.

  • 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

Data source Permissions Description.

Return type

Dict[str, Any]

Examples

>>> import awswrangler as wr
>>> description = wr.quicksight.describe_data_source_permissions("my-data-source")