Memperbarui nama gateway.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateGatewayName |
update |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Name |
string |
No |
Nama gateway. |
demo-test |
| GatewayUniqueId |
string |
No |
ID unik gateway. |
gw-1cef54brvecdb419fb264d4f9b8c |
| AcceptLanguage |
string |
No |
Bahasa respons. Nilai yang valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Struktur data. |
||
| RequestId |
string |
ID permintaan. |
8C95711F-E702-5395-BFAA-21BA946CDE47 |
| HttpStatusCode |
integer |
Kode status HTTP yang dikembalikan. |
200 |
| Message |
string |
Pesan yang dikembalikan.
|
The request is successfully processed. |
| Code |
integer |
Kode status yang dikembalikan. |
200 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| Data |
string |
Data yang dikembalikan. |
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "8C95711F-E702-5395-BFAA-21BA946CDE47",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 200,
"Success": true,
"Data": "true"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.