update_folder_permissions
(**kwargs)¶Updates permissions of a folder.
See also: AWS API Documentation
Request Syntax
response = client.update_folder_permissions(
AwsAccountId='string',
FolderId='string',
GrantPermissions=[
{
'Principal': 'string',
'Actions': [
'string',
]
},
],
RevokePermissions=[
{
'Principal': 'string',
'Actions': [
'string',
]
},
]
)
[REQUIRED]
The ID for the Amazon Web Services account that contains the folder to update.
[REQUIRED]
The ID of the folder.
The permissions that you want to grant on a 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 a 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.
dict
Response Syntax
{
'Status': 123,
'Arn': 'string',
'FolderId': 'string',
'Permissions': [
{
'Principal': 'string',
'Actions': [
'string',
]
},
],
'RequestId': 'string'
}
Response Structure
(dict) --
Status (integer) --
The HTTP status of the request.
Arn (string) --
The Amazon Resource Name (ARN) of the folder.
FolderId (string) --
The ID of the folder.
Permissions (list) --
Information about the permissions for the folder.
(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.
Exceptions
QuickSight.Client.exceptions.InvalidParameterValueException
QuickSight.Client.exceptions.AccessDeniedException
QuickSight.Client.exceptions.LimitExceededException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.UnsupportedUserEditionException
QuickSight.Client.exceptions.InternalFailureException