:doc:`QuickSight <../../quicksight>` / Client / update_user_custom_permission

*****************************
update_user_custom_permission
*****************************



.. py:method:: QuickSight.Client.update_user_custom_permission(**kwargs)

  

  Updates a custom permissions profile for a user.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/UpdateUserCustomPermission>`_  


  **Request Syntax**
  ::

    response = client.update_user_custom_permission(
        UserName='string',
        AwsAccountId='string',
        Namespace='string',
        CustomPermissionsName='string'
    )
    
  :type UserName: string
  :param UserName: **[REQUIRED]** 

    The username of the user that you want to update custom permissions for.

    

  
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

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

    

  
  :type Namespace: string
  :param Namespace: **[REQUIRED]** 

    The namespace that the user belongs to.

    

  
  :type CustomPermissionsName: string
  :param CustomPermissionsName: **[REQUIRED]** 

    The name of the custom permissions that you want to update.

    

  
  
  :rtype: 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**
  
  *   :py:class:`QuickSight.Client.exceptions.ConflictException`

  
  *   :py:class:`QuickSight.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`QuickSight.Client.exceptions.InvalidParameterValueException`

  
  *   :py:class:`QuickSight.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`QuickSight.Client.exceptions.ThrottlingException`

  
  *   :py:class:`QuickSight.Client.exceptions.PreconditionNotMetException`

  
  *   :py:class:`QuickSight.Client.exceptions.InternalFailureException`

  
  *   :py:class:`QuickSight.Client.exceptions.ResourceUnavailableException`

  