:doc:`AppConfig <../../appconfig>` / Client / update_application

******************
update_application
******************



.. py:method:: AppConfig.Client.update_application(**kwargs)

  

  Updates an application.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/appconfig-2019-10-09/UpdateApplication>`_  


  **Request Syntax**
  ::

    response = client.update_application(
        ApplicationId='string',
        Name='string',
        Description='string'
    )
    
  :type ApplicationId: string
  :param ApplicationId: **[REQUIRED]** 

    The application ID.

    

  
  :type Name: string
  :param Name: 

    The name of the application.

    

  
  :type Description: string
  :param Description: 

    A description of the application.

    

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

    
    ::

      {
          'Id': 'string',
          'Name': 'string',
          'Description': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The application ID.

        
      

      - **Name** *(string) --* 

        The application name.

        
      

      - **Description** *(string) --* 

        The description of the application.

        
  
  **Exceptions**
  
  *   :py:class:`AppConfig.Client.exceptions.BadRequestException`

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

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

  

  **Examples**

  The following update-application example updates the name of the specified application.
  ::

    response = client.update_application(
        ApplicationId='339ohji',
        Description='',
        Name='Example-Application',
    )
    
    print(response)

  
  Expected Output:
  ::

    {
        'Description': 'An application used for creating an example.',
        'Id': '339ohji',
        'Name': 'Example-Application',
        'ResponseMetadata': {
            '...': '...',
        },
    }

  