:doc:`SsmSap <../../ssm-sap>` / Client / get_application

***************
get_application
***************



.. py:method:: SsmSap.Client.get_application(**kwargs)

  

  Gets an application registered with AWS Systems Manager for SAP. It also returns the components of the application.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ssm-sap-2018-05-10/GetApplication>`_  


  **Request Syntax**
  ::

    response = client.get_application(
        ApplicationId='string',
        ApplicationArn='string',
        AppRegistryArn='string'
    )
    
  :type ApplicationId: string
  :param ApplicationId: 

    The ID of the application.

    

  
  :type ApplicationArn: string
  :param ApplicationArn: 

    The Amazon Resource Name (ARN) of the application.

    

  
  :type AppRegistryArn: string
  :param AppRegistryArn: 

    The Amazon Resource Name (ARN) of the application registry.

    

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

    
    ::

      {
          'Application': {
              'Id': 'string',
              'Type': 'HANA'|'SAP_ABAP',
              'Arn': 'string',
              'AppRegistryArn': 'string',
              'Status': 'ACTIVATED'|'STARTING'|'STOPPED'|'STOPPING'|'FAILED'|'REGISTERING'|'DELETING'|'UNKNOWN',
              'DiscoveryStatus': 'SUCCESS'|'REGISTRATION_FAILED'|'REFRESH_FAILED'|'REGISTERING'|'DELETING',
              'Components': [
                  'string',
              ],
              'LastUpdated': datetime(2015, 1, 1),
              'StatusMessage': 'string',
              'AssociatedApplicationArns': [
                  'string',
              ]
          },
          'Tags': {
              'string': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Application** *(dict) --* 

        Returns all of the metadata of an application registered with AWS Systems Manager for SAP.

        
        

        - **Id** *(string) --* 

          The ID of the application.

          
        

        - **Type** *(string) --* 

          The type of the application.

          
        

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

          The Amazon Resource Name (ARN) of the application.

          
        

        - **AppRegistryArn** *(string) --* 

          The Amazon Resource Name (ARN) of the Application Registry.

          
        

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

          The status of the application.

          
        

        - **DiscoveryStatus** *(string) --* 

          The latest discovery result for the application.

          
        

        - **Components** *(list) --* 

          The components of the application.

          
          

          - *(string) --* 
      
        

        - **LastUpdated** *(datetime) --* 

          The time at which the application was last updated.

          
        

        - **StatusMessage** *(string) --* 

          The status message.

          
        

        - **AssociatedApplicationArns** *(list) --* 

          The Amazon Resource Names of the associated AWS Systems Manager for SAP applications.

          
          

          - *(string) --* 
      
    
      

      - **Tags** *(dict) --* 

        The tags of a registered application.

        
        

        - *(string) --* 
          

          - *(string) --* 
    
  
  
  **Exceptions**
  
  *   :py:class:`SsmSap.Client.exceptions.ValidationException`

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

  