:doc:`ServerlessApplicationRepository <../../serverlessrepo>` / Client / list_application_versions

*************************
list_application_versions
*************************



.. py:method:: ServerlessApplicationRepository.Client.list_application_versions(**kwargs)

  

  Lists versions for the specified application.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/serverlessrepo-2017-09-08/ListApplicationVersions>`_  


  **Request Syntax**
  ::

    response = client.list_application_versions(
        ApplicationId='string',
        MaxItems=123,
        NextToken='string'
    )
    
  :type ApplicationId: string
  :param ApplicationId: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the application.

    

  
  :type MaxItems: integer
  :param MaxItems: 

    The total number of items to return.

    

  
  :type NextToken: string
  :param NextToken: 

    A token to specify where to start paginating.

    

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

    
    ::

      {
          'NextToken': 'string',
          'Versions': [
              {
                  'ApplicationId': 'string',
                  'CreationTime': 'string',
                  'SemanticVersion': 'string',
                  'SourceCodeUrl': 'string'
              },
          ]
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Success

      
      

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

        The token to request the next page of results.

        
      

      - **Versions** *(list) --* 

        An array of version summaries for the application.

        
        

        - *(dict) --* 

          An application version summary.

          
          

          - **ApplicationId** *(string) --* 

            The application Amazon Resource Name (ARN).

            
          

          - **CreationTime** *(string) --* 

            The date and time this resource was created.

            
          

          - **SemanticVersion** *(string) --* 

            The semantic version of the application:

            

            `https\://semver.org/ <https://semver.org/>`__

            
          

          - **SourceCodeUrl** *(string) --* 

            A link to a public repository for the source code of your application, for example the URL of a specific GitHub commit.

            
      
    
  
  **Exceptions**
  
  *   :py:class:`ServerlessApplicationRepository.Client.exceptions.NotFoundException`

  
  *   :py:class:`ServerlessApplicationRepository.Client.exceptions.TooManyRequestsException`

  
  *   :py:class:`ServerlessApplicationRepository.Client.exceptions.BadRequestException`

  
  *   :py:class:`ServerlessApplicationRepository.Client.exceptions.InternalServerErrorException`

  
  *   :py:class:`ServerlessApplicationRepository.Client.exceptions.ForbiddenException`

  