:doc:`CodeDeploy <../../codedeploy>` / Client / get_application

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



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

  

  Gets information about an application.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetApplication>`_  


  **Request Syntax**
  ::

    response = client.get_application(
        applicationName='string'
    )
    
  :type applicationName: string
  :param applicationName: **[REQUIRED]** 

    The name of an CodeDeploy application associated with the user or Amazon Web Services account.

    

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

    
    ::

      {
          'application': {
              'applicationId': 'string',
              'applicationName': 'string',
              'createTime': datetime(2015, 1, 1),
              'linkedToGitHub': True|False,
              'gitHubAccountName': 'string',
              'computePlatform': 'Server'|'Lambda'|'ECS'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Represents the output of a ``GetApplication`` operation.

      
      

      - **application** *(dict) --* 

        Information about the application.

        
        

        - **applicationId** *(string) --* 

          The application ID.

          
        

        - **applicationName** *(string) --* 

          The application name.

          
        

        - **createTime** *(datetime) --* 

          The time at which the application was created.

          
        

        - **linkedToGitHub** *(boolean) --* 

          True if the user has authenticated with GitHub for the specified application. Otherwise, false.

          
        

        - **gitHubAccountName** *(string) --* 

          The name for a connection to a GitHub account.

          
        

        - **computePlatform** *(string) --* 

          The destination platform type for deployment of the application ( ``Lambda`` or ``Server``).

          
    
  
  **Exceptions**
  
  *   :py:class:`CodeDeploy.Client.exceptions.ApplicationNameRequiredException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.InvalidApplicationNameException`

  
  *   :py:class:`CodeDeploy.Client.exceptions.ApplicationDoesNotExistException`

  