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

*******************
list_theme_versions
*******************



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

  

  Lists all the versions of the themes in the current Amazon Web Services account.

  

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


  **Request Syntax**
  ::

    response = client.list_theme_versions(
        AwsAccountId='string',
        ThemeId='string',
        NextToken='string',
        MaxResults=123
    )
    
  :type AwsAccountId: string
  :param AwsAccountId: **[REQUIRED]** 

    The ID of the Amazon Web Services account that contains the themes that you're listing.

    

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

    The ID for the theme.

    

  
  :type NextToken: string
  :param NextToken: 

    The token for the next set of results, or null if there are no more results.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum number of results to be returned per request.

    

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

    
    ::

      {
          'ThemeVersionSummaryList': [
              {
                  'VersionNumber': 123,
                  'Arn': 'string',
                  'Description': 'string',
                  'CreatedTime': datetime(2015, 1, 1),
                  'Status': 'CREATION_IN_PROGRESS'|'CREATION_SUCCESSFUL'|'CREATION_FAILED'|'UPDATE_IN_PROGRESS'|'UPDATE_SUCCESSFUL'|'UPDATE_FAILED'|'DELETED'
              },
          ],
          'NextToken': 'string',
          'Status': 123,
          'RequestId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ThemeVersionSummaryList** *(list) --* 

        A structure containing a list of all the versions of the specified theme.

        
        

        - *(dict) --* 

          The theme version.

          
          

          - **VersionNumber** *(integer) --* 

            The version number of the theme version.

            
          

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

            The Amazon Resource Name (ARN) of the theme version.

            
          

          - **Description** *(string) --* 

            The description of the theme version.

            
          

          - **CreatedTime** *(datetime) --* 

            The date and time that this theme version was created.

            
          

          - **Status** *(string) --* 

            The status of the theme version.

            
      
    
      

      - **NextToken** *(string) --* 

        The token for the next set of results, or null if there are no more results.

        
      

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

        The HTTP status of the request.

        
      

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

        The Amazon Web Services request ID for this operation.

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

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

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

  