QuickSight / Client / update_role_custom_permission

update_role_custom_permission#

QuickSight.Client.update_role_custom_permission(**kwargs)#

Updates the custom permissions that are associated with a role.

See also: AWS API Documentation

Request Syntax

response = client.update_role_custom_permission(
    CustomPermissionsName='string',
    Role='ADMIN'|'AUTHOR'|'READER',
    AwsAccountId='string',
    Namespace='string'
)
Parameters:
  • CustomPermissionsName (string) –

    [REQUIRED]

    The name of the custom permission that you want to update the role with.

  • Role (string) –

    [REQUIRED]

    The name of role tht you want to update.

  • AwsAccountId (string) –

    [REQUIRED]

    The ID for the Amazon Web Services account that you want to create a group in. The Amazon Web Services account ID that you provide must be the same Amazon Web Services account that contains your Amazon QuickSight account.

  • Namespace (string) –

    [REQUIRED]

    The namespace that contains the role that you want to update.

Return type:

dict

Returns:

Response Syntax

{
    'RequestId': 'string',
    'Status': 123
}

Response Structure

  • (dict) –

    • RequestId (string) –

      The Amazon Web Services request ID for this operation.

    • Status (integer) –

      The HTTP status of the request.

Exceptions

  • QuickSight.Client.exceptions.AccessDeniedException

  • QuickSight.Client.exceptions.InvalidParameterValueException

  • QuickSight.Client.exceptions.ResourceNotFoundException

  • QuickSight.Client.exceptions.ThrottlingException

  • QuickSight.Client.exceptions.PreconditionNotMetException

  • QuickSight.Client.exceptions.InternalFailureException

  • QuickSight.Client.exceptions.ResourceUnavailableException