Mengubah nama dan deskripsi attachment ECR untuk Router Transit Edisi Perusahaan.
Deskripsi operasi
UpdateTransitRouterEcrAttachmentAttribute is an asynchronous call. After you send a request, the system returns a request ID, but the ECR attachment is not modified immediately. The modification task runs in the background. You can call ListTransitRouterEcrAttachments to query the status of the ECR attachment.
If an ECR attachment is in the Modifying state, you can only query the attachment and cannot perform other operations on it. When the attachment enters the Attached state, the modification is complete.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:UpdateTransitRouterEcrAttachmentAttribute |
update |
*TransitRouterEcrAttachment
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
Token klien yang memastikan idempotensi permintaan. Anda dapat menghasilkan token dari klien Anda, tetapi harus memastikan bahwa token tersebut unik di seluruh permintaan. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. |
123e4567-e89b-12d3-a456-42665544**** |
| TransitRouterAttachmentId |
string |
Yes |
ID attachment ECR. |
tr-attach-r6g0m3epjehw57**** |
| TransitRouterAttachmentName |
string |
No |
Nama baru attachment ECR. Nama dapat kosong atau terdiri dari 1 hingga 128 karakter. Nama tidak boleh diawali dengan |
nametest |
| TransitRouterAttachmentDescription |
string |
No |
Deskripsi baru attachment ECR. Deskripsi dapat kosong atau terdiri dari 1 hingga 256 karakter. Deskripsi tidak boleh diawali dengan |
desctest |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run untuk memeriksa potensi masalah, termasuk izin dan status instans. Nilai valid:
|
false |
| OrderType |
string |
No |
Pembayar untuk instans jaringan. Operasi ini tidak mendukung perubahan pembayar untuk attachment ECR. |
PayByCenOwner |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
54B48E3D-DF70-471B-AA93-08E683A1B457 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "54B48E3D-DF70-471B-AA93-08E683A1B457"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidTransitRouterAttachmentId.NotFound | TransitRouterAttachmentId is not found. | |
| 400 | IncorrectStatus.TransitRouterAttachment | The status of TransitRouterAttachment is incorrect. | |
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | Unauthorized | The AccessKeyId is unauthorized. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.