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

**********************
list_template_versions
**********************



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

  

  Lists all the versions of the templates in the current Amazon Quick Sight account.

  

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


  **Request Syntax**
  ::

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

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

    

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

    The ID for the template.

    

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

    
    ::

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

    

    - *(dict) --* 
      

      - **TemplateVersionSummaryList** *(list) --* 

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

        
        

        - *(dict) --* 

          The template version.

          
          

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

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

            
          

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

            The version number of the template version.

            
          

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

            The time that this template version was created.

            
          

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

            The status of the template version.

            
          

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

            The description of the template 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.ThrottlingException`

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

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

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

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

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

  