QuickSight / Client / describe_topic_permissions
describe_topic_permissions#
- QuickSight.Client.describe_topic_permissions(**kwargs)#
- Describes the permissions of a topic. - See also: AWS API Documentation - Request Syntax- response = client.describe_topic_permissions( AwsAccountId='string', TopicId='string' ) - Parameters:
- AwsAccountId (string) – - [REQUIRED] - The ID of the Amazon Web Services account that contains the topic that you want described. 
- TopicId (string) – - [REQUIRED] - The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'TopicId': 'string', 'TopicArn': 'string', 'Permissions': [ { 'Principal': 'string', 'Actions': [ 'string', ] }, ], 'Status': 123, 'RequestId': 'string' } - Response Structure- (dict) – - TopicId (string) – - The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account. 
- TopicArn (string) – - The Amazon Resource Name (ARN) of the topic. 
- Permissions (list) – - A list of resource permissions that are configured to the topic. - (dict) – - Permission for the resource. - Principal (string) – - The Amazon Resource Name (ARN) of the principal. This can be one of the following: - The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.) 
- The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.) 
- The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.) 
 
- Actions (list) – - The IAM action to grant or revoke permissions on. - (string) – 
 
 
 
- Status (integer) – - The HTTP status of the request. 
- RequestId (string) – - The Amazon Web Services request ID for this operation. 
 
 
 - Exceptions- QuickSight.Client.exceptions.AccessDeniedException
- QuickSight.Client.exceptions.InvalidParameterValueException
- QuickSight.Client.exceptions.ThrottlingException
- QuickSight.Client.exceptions.ResourceNotFoundException
- QuickSight.Client.exceptions.InternalFailureException