Mengubah nama dan deskripsi aturan klasifikasi alur.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ModifyTrafficMatchRuleToTrafficMarkingPolicy |
update |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Buat nilai parameter unik dari klien Anda untuk setiap permintaan. Parameter ClientToken hanya mendukung karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem menggunakan ID permintaan sebagai token klien. ID permintaan mungkin berbeda untuk setiap permintaan. |
123e4567-e89b-12d3-a456-42665544**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan uji coba (dry run). Nilai yang valid:
|
false |
| TrafficMarkingPolicyId |
string |
Yes |
ID kebijakan penandaan lalu lintas. |
tm-u9nxup5kww5po8**** |
| TrafficMatchRuleId |
string |
Yes |
ID aturan klasifikasi alur. |
tm-rule-fa9kgq1e90rmhc**** |
| TrafficMatchRuleName |
string |
No |
Nama aturan klasifikasi alur. Nama dapat kosong atau memiliki panjang 1 hingga 128 karakter. Nama tidak boleh dimulai dengan http:// atau https://. |
nametest |
| TrafficMatchRuleDescription |
string |
No |
Deskripsi aturan klasifikasi alur. Deskripsi dapat kosong atau memiliki panjang 1 hingga 256 karakter. Deskripsi tidak boleh dimulai dengan http:// atau https://. |
descriptiontest |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Respons. |
||
| RequestId |
string |
ID permintaan. |
13526224-5780-4426-8ADF-BC8B08700F23 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "13526224-5780-4426-8ADF-BC8B08700F23"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.TrafficMatchRuleName | TrafficMatchRuleName is illegal. | TrafficMatchRuleName is illegal. |
| 400 | IllegalParam.TrafficMatchRuleDescription | TrafficMatchRuleDescription is illegal. | TrafficMatchRuleDescription is illegal. |
| 400 | InvalidTrafficMarkingPolicyId.NotFound | The specified TrafficMarkingPolicyId is not found. | The error message returned because the specified traffic marking policy ID (TrafficMarkingPolicyId) does not exist. |
| 400 | InvalidTrafficMatchRuleId.NotFound | TrafficMatchRuleId is not found. | TrafficMatchRuleId is not found. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.