:doc:`ResilienceHub <../../resiliencehub>` / Client / list_app_versions

*****************
list_app_versions
*****************



.. py:method:: ResilienceHub.Client.list_app_versions(**kwargs)

  

  Lists the different versions for the Resilience Hub applications.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersions>`_  


  **Request Syntax**
  ::

    response = client.list_app_versions(
        appArn='string',
        endTime=datetime(2015, 1, 1),
        maxResults=123,
        nextToken='string',
        startTime=datetime(2015, 1, 1)
    )
    
  :type appArn: string
  :param appArn: **[REQUIRED]** 

    Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: ``partition``:resiliencehub: ``region``: ``account``:app/ ``app-id``. For more information about ARNs, see `Amazon Resource Names (ARNs) <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html>`__ in the *Amazon Web Services General Reference* guide.

    

  
  :type endTime: datetime
  :param endTime: 

    Upper limit of the time range to filter the application versions.

    

  
  :type maxResults: integer
  :param maxResults: 

    Maximum number of results to include in the response. If more results exist than the specified ``MaxResults`` value, a token is included in the response so that the remaining results can be retrieved.

    

  
  :type nextToken: string
  :param nextToken: 

    Null, or the token from a previous call to get the next set of results.

    

  
  :type startTime: datetime
  :param startTime: 

    Lower limit of the time range to filter the application versions.

    

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

    
    ::

      {
          'appVersions': [
              {
                  'appVersion': 'string',
                  'creationTime': datetime(2015, 1, 1),
                  'identifier': 123,
                  'versionName': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **appVersions** *(list) --* 

        The version of the application.

        
        

        - *(dict) --* 

          Version of an application.

          
          

          - **appVersion** *(string) --* 

            Version of an application.

            
          

          - **creationTime** *(datetime) --* 

            Creation time of the application version.

            
          

          - **identifier** *(integer) --* 

            Identifier of the application version.

            
          

          - **versionName** *(string) --* 

            Name of the application version.

            
      
    
      

      - **nextToken** *(string) --* 

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

        
  
  **Exceptions**
  
  *   :py:class:`ResilienceHub.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`ResilienceHub.Client.exceptions.ValidationException`

  
  *   :py:class:`ResilienceHub.Client.exceptions.AccessDeniedException`

  