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

******************
delete_theme_alias
******************



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

  

  Deletes the version of the theme that the specified theme alias points to. If you provide a specific alias, you delete the version of the theme that the alias points to.

  

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


  **Request Syntax**
  ::

    response = client.delete_theme_alias(
        AwsAccountId='string',
        ThemeId='string',
        AliasName='string'
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The ID of the Amazon Web Services account that contains the theme alias to delete.

    

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

    The ID for the theme that the specified alias is for.

    

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

    The unique name for the theme alias to delete.

    

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

    
    ::

      {
          'AliasName': 'string',
          'Arn': 'string',
          'RequestId': 'string',
          'Status': 123,
          'ThemeId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **AliasName** *(string) --* 

        The name for the theme alias.

        
      

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

        The Amazon Resource Name (ARN) of the theme resource using the deleted alias.

        
      

      - **RequestId** *(string) --* 

        The Amazon Web Services request ID for this operation.

        
      

      - **Status** *(integer) --* 

        The HTTP status of the request.

        
      

      - **ThemeId** *(string) --* 

        An ID for the theme associated with the deletion.

        
  
  **Exceptions**
  
  *   :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.UnsupportedUserEditionException`

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

  