Method description
Modifies an App.
Call method
UpdateAppResponse updateApp(AppDescription appDescription) throws ClientException;
UpdateAppResponse updateApp(UpdateAppRequest req) throws ClientException;
Parameter description
Parameter | Type | Required | Description | |
---|---|---|---|---|
appName | String | Yes | Name of the App | |
appDescription | AppDescription | Yes | Description of the modified App |
For more information about AppDescription, see Create an App.
We recommend using IDEA for development. Other types involved are excluded here. For more information, see Create an App in the API Reference.
Response description
After successful modification, an UpdateAppResponse instance is returned.
If a failure occurs, a ClientException is thrown.
Sample code
try{
UpdateAppResponse response = client.updateApp(appDescription);
//Modification succeeded
}catch(ClientException e){
e.printStackTrace();
//Modification failed
}