update_dashboard_permissions
(**kwargs)¶Updates read and write permissions on a dashboard.
See also: AWS API Documentation
Request Syntax
response = client.update_dashboard_permissions(
AwsAccountId='string',
DashboardId='string',
GrantPermissions=[
{
'Principal': 'string',
'Actions': [
'string',
]
},
],
RevokePermissions=[
{
'Principal': 'string',
'Actions': [
'string',
]
},
],
GrantLinkPermissions=[
{
'Principal': 'string',
'Actions': [
'string',
]
},
],
RevokeLinkPermissions=[
{
'Principal': 'string',
'Actions': [
'string',
]
},
]
)
[REQUIRED]
The ID of the Amazon Web Services account that contains the dashboard whose permissions you're updating.
[REQUIRED]
The ID for the dashboard.
The permissions that you want to grant on this resource.
Permission for the resource.
The Amazon Resource Name (ARN) of the principal. This can be one of the following:
The IAM action to grant or revoke permissions on.
The permissions that you want to revoke from this resource.
Permission for the resource.
The Amazon Resource Name (ARN) of the principal. This can be one of the following:
The IAM action to grant or revoke permissions on.
Grants link permissions to all users in a defined namespace.
Permission for the resource.
The Amazon Resource Name (ARN) of the principal. This can be one of the following:
The IAM action to grant or revoke permissions on.
Revokes link permissions from all users in a defined namespace.
Permission for the resource.
The Amazon Resource Name (ARN) of the principal. This can be one of the following:
The IAM action to grant or revoke permissions on.
dict
Response Syntax
{
'DashboardArn': 'string',
'DashboardId': 'string',
'Permissions': [
{
'Principal': 'string',
'Actions': [
'string',
]
},
],
'RequestId': 'string',
'Status': 123,
'LinkSharingConfiguration': {
'Permissions': [
{
'Principal': 'string',
'Actions': [
'string',
]
},
]
}
}
Response Structure
(dict) --
DashboardArn (string) --
The Amazon Resource Name (ARN) of the dashboard.
DashboardId (string) --
The ID for the dashboard.
Permissions (list) --
Information about the permissions on the dashboard.
(dict) --
Permission for the resource.
Principal (string) --
The Amazon Resource Name (ARN) of the principal. This can be one of the following:
Actions (list) --
The IAM action to grant or revoke permissions on.
RequestId (string) --
The Amazon Web Services request ID for this operation.
Status (integer) --
The HTTP status of the request.
LinkSharingConfiguration (dict) --
Updates the permissions of a shared link to an Amazon QuickSight dashboard.
Permissions (list) --
A structure that contains the permissions of a shareable link.
(dict) --
Permission for the resource.
Principal (string) --
The Amazon Resource Name (ARN) of the principal. This can be one of the following:
Actions (list) --
The IAM action to grant or revoke permissions on.
Exceptions
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.InvalidParameterValueException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.UnsupportedUserEditionException
QuickSight.Client.exceptions.ConflictException
QuickSight.Client.exceptions.LimitExceededException
QuickSight.Client.exceptions.InternalFailureException