Memanggil ModifyNetworkInterfaceAttribute untuk mengubah nama, deskripsi, dan informasi lain antarmuka jaringan elastis (ENI).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:ModifyNetworkInterfaceAttribute |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| NetworkInterfaceId |
string |
Yes |
ID antarmuka jaringan elastis (ENI). |
eni-5f6533jbifugr5fo*** |
| NetworkInterfaceName |
string |
No |
Nama antarmuka jaringan elastis (ENI). Panjang nama harus 1 hingga 128 karakter. Nama tidak boleh diawali dengan http:// atau https://. |
test-01 |
| Description |
string |
No |
Deskripsi. Panjang deskripsi harus 1 hingga 256 karakter dan tidak boleh diawali dengan http:// atau https://. |
testDescription |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ens.interface.error | An error occurred while call the API. | |
| 400 | InvalidEniId.NotFound | The specified NetworkInterfaceId does not exist. | |
| 400 | InvalidParameter.EniServiceManaged | The eni is managed by service. | |
| 400 | InvalidOperation.InvalidEniStatus | Current eni status does not support this operation. | |
| 400 | InvalidOperation.InvalidEniType | The type of eni does not support this operation. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.