QuickSight / Client / delete_user_custom_permission

delete_user_custom_permission#

QuickSight.Client.delete_user_custom_permission(**kwargs)#

Deletes a custom permissions profile from a user.

See also: AWS API Documentation

Request Syntax

response = client.delete_user_custom_permission(
    UserName='string',
    AwsAccountId='string',
    Namespace='string'
)
Parameters:
  • UserName (string) –

    [REQUIRED]

    The username of the user that you want to remove custom permissions from.

  • AwsAccountId (string) –

    [REQUIRED]

    The ID of the Amazon Web Services account that contains the custom permission configuration that you want to delete.

  • Namespace (string) –

    [REQUIRED]

    The namespace that the user belongs to.

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.ConflictException

  • 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