QuickSight / Client / describe_agent_permissions
describe_agent_permissions¶
- QuickSight.Client.describe_agent_permissions(**kwargs)¶
Describes the resource permissions for an agent.
See also: AWS API Documentation
Request Syntax
response = client.describe_agent_permissions( AgentId='string', AwsAccountId='string' )
- Parameters:
AgentId (string) –
[REQUIRED]
The unique identifier for the agent.
AwsAccountId (string) –
[REQUIRED]
The ID of the Amazon Web Services account that contains the agent.
- Return type:
dict
- Returns:
Response Syntax
{ 'Arn': 'string', 'AgentId': 'string', 'Permissions': [ { 'Principal': 'string', 'Actions': [ 'string', ] }, ], 'RequestId': 'string' }
Response Structure
(dict) –
Arn (string) –
The Amazon Resource Name (ARN) of the agent.
AgentId (string) –
The unique identifier for the agent.
Permissions (list) –
The resource permissions for the agent.
(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 Quick Sight user or group associated with a data source or dataset. (This is common.)
The ARN of an Quick Sight user, group, or namespace associated with an analysis, dashboard, template, or theme. Namespace sharing is not supported for action connectors. (This is common.)
The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a Quick Sight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. Account root sharing is not supported for action connectors. (This is less common.)
Actions (list) –
The IAM action to grant or revoke permissions on.
(string) –
RequestId (string) –
The Amazon Web Services request ID for this operation.
Exceptions
QuickSight.Client.exceptions.ThrottlingExceptionQuickSight.Client.exceptions.InvalidParameterValueExceptionQuickSight.Client.exceptions.InternalFailureExceptionQuickSight.Client.exceptions.PreconditionNotMetExceptionQuickSight.Client.exceptions.ResourceNotFoundExceptionQuickSight.Client.exceptions.AccessDeniedException