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

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



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

  

  Changes the name of an application.

  

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


  **Request Syntax**
  ::

    response = client.update_application(
        applicationName='string',
        newApplicationName='string'
    )
    
  :type applicationName: string
  :param applicationName: 

    The current name of the application you want to change.

    

  
  :type newApplicationName: string
  :param newApplicationName: 

    The new name to give the application.

    

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

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

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

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

  