Memperbarui deskripsi aplikasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:UpdateApplicationDescription |
*全部资源
|
None | None |
Sintaks permintaan
PUT /pop/v1/sam/app/updateAppDescription HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi yang ingin Anda perbarui. |
7171a6ca-d1cd-4928-8642-7d5cfe69**** |
| AppDescription |
string |
Yes |
Deskripsi baru aplikasi. Deskripsi dapat memiliki panjang hingga 1.024 karakter. |
newdesc |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
Request ID. |
01CF26C7-00A3-4AA6-BA76-7E95F2A3*** |
| Message |
string |
The message returned. The following limits are imposed on the ID:
|
success |
| TraceId |
string |
The ID of the trace. The ID is used to query the details of a request. |
ac1a0b2215622246421415014e**** |
| ErrorCode |
string |
The error code returned if the call failed. Value values:
|
|
| Code |
string |
The HTTP status code or the error code. Valid values:
|
200 |
| Success |
boolean |
Indicates whether the application was deployed. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "01CF26C7-00A3-4AA6-BA76-7E95F2A3***",
"Message": "success",
"TraceId": "ac1a0b2215622246421415014e****",
"ErrorCode": "400",
"Code": "200",
"Success": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.NotEmpty | You must specify the parameter %s. | |
| 400 | InvalidApplication.NotFound | The current application does not exist. | |
| 400 | InvalidParameter.WithMessage | The parameter is invalid {%s}: %s | |
| 404 | InvalidAppId.NotFound | The specified AppId does not exist. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.