:doc:`MainframeModernization <../../m2>` / Client / get_application_version

***********************
get_application_version
***********************



.. py:method:: MainframeModernization.Client.get_application_version(**kwargs)

  

  Returns details about a specific version of a specific application.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/m2-2021-04-28/GetApplicationVersion>`_  


  **Request Syntax**
  ::

    response = client.get_application_version(
        applicationId='string',
        applicationVersion=123
    )
    
  :type applicationId: string
  :param applicationId: **[REQUIRED]** 

    The unique identifier of the application.

    

  
  :type applicationVersion: integer
  :param applicationVersion: **[REQUIRED]** 

    The specific version of the application.

    

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

    
    ::

      {
          'applicationVersion': 123,
          'creationTime': datetime(2015, 1, 1),
          'definitionContent': 'string',
          'description': 'string',
          'name': 'string',
          'status': 'Creating'|'Available'|'Failed',
          'statusReason': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **applicationVersion** *(integer) --* 

        The specific version of the application.

        
      

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

        The timestamp when the application version was created.

        
      

      - **definitionContent** *(string) --* 

        The content of the application definition. This is a JSON object that contains the resource configuration and definitions that identify an application.

        
      

      - **description** *(string) --* 

        The application description.

        
      

      - **name** *(string) --* 

        The name of the application version.

        
      

      - **status** *(string) --* 

        The status of the application version.

        
      

      - **statusReason** *(string) --* 

        The reason for the reported status.

        
  
  **Exceptions**
  
  *   :py:class:`MainframeModernization.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`MainframeModernization.Client.exceptions.ThrottlingException`

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

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

  
  *   :py:class:`MainframeModernization.Client.exceptions.InternalServerException`

  