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

***********************
update_account_settings
***********************



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

  

  Updates the Amazon Quick Sight settings in your Amazon Web Services account.

  

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


  **Request Syntax**
  ::

    response = client.update_account_settings(
        AwsAccountId='string',
        DefaultNamespace='string',
        NotificationEmail='string',
        TerminationProtectionEnabled=True|False
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The ID for the Amazon Web Services account that contains the Quick Sight settings that you want to list.

    

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

    The default namespace for this Amazon Web Services account. Currently, the default is ``default``. IAM users that register for the first time with Amazon Quick Sight provide an email address that becomes associated with the default namespace.

    

  
  :type NotificationEmail: string
  :param NotificationEmail: 

    The email address that you want Quick Sight to send notifications to regarding your Amazon Web Services account or Quick Sight subscription.

    

  
  :type TerminationProtectionEnabled: boolean
  :param TerminationProtectionEnabled: 

    A boolean value that determines whether or not an Quick Sight account can be deleted. A ``True`` value doesn't allow the account to be deleted and results in an error message if a user tries to make a ``DeleteAccountSubscription`` request. A ``False`` value will allow the account to be deleted.

    

  
  
  :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.AccessDeniedException`

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

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

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

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

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

  