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

****************************
update_account_customization
****************************



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

  

  Updates Amazon Quick Sight customizations. Currently, the only customization that you can use is a theme.

   

  You can use customizations for your Amazon Web Services account or, if you specify a namespace, for a Quick Sight namespace instead. Customizations that apply to a namespace override customizations that apply to an Amazon Web Services account. To find out which customizations apply, use the ``DescribeAccountCustomization`` API operation.

  

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


  **Request Syntax**
  ::

    response = client.update_account_customization(
        AwsAccountId='string',
        Namespace='string',
        AccountCustomization={
            'DefaultTheme': 'string',
            'DefaultEmailCustomizationTemplate': 'string'
        }
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The ID for the Amazon Web Services account that you want to update Quick Sight customizations for.

    

  
  :type Namespace: string
  :param Namespace: 

    The namespace that you want to update Quick Sight customizations for.

    

  
  :type AccountCustomization: dict
  :param AccountCustomization: **[REQUIRED]** 

    The Quick Sight customizations you're updating.

    

  
    - **DefaultTheme** *(string) --* 

      The default theme for this Quick Sight subscription.

      

    
    - **DefaultEmailCustomizationTemplate** *(string) --* 

      The default email customization template.

      

    
  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Arn': 'string',
          'AwsAccountId': 'string',
          'Namespace': 'string',
          'AccountCustomization': {
              'DefaultTheme': 'string',
              'DefaultEmailCustomizationTemplate': 'string'
          },
          'RequestId': 'string',
          'Status': 123
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Arn** *(string) --* 

        The Amazon Resource Name (ARN) for the updated customization for this Amazon Web Services account.

        
      

      - **AwsAccountId** *(string) --* 

        The ID for the Amazon Web Services account that you want to update Quick Sight customizations for.

        
      

      - **Namespace** *(string) --* 

        The namespace associated with the customization that you're updating.

        
      

      - **AccountCustomization** *(dict) --* 

        The Quick Sight customizations you're updating.

        
        

        - **DefaultTheme** *(string) --* 

          The default theme for this Quick Sight subscription.

          
        

        - **DefaultEmailCustomizationTemplate** *(string) --* 

          The default email customization template.

          
    
      

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

  
  *   :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`

  