Menanyakan mode transit antar-region dari sebuah Express Connect Router (ECR).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
expressconnectrouter:DescribeExpressConnectRouterInterRegionTransitMode |
get |
*ExpressConnectRouter
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| EcrId |
string |
Yes |
ID instans ECR. |
ecr-mezk2idmsd0vx2**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
true |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Buat nilai parameter dari klien Anda untuk memastikan bahwa nilainya unik di antara permintaan yang berbeda. Parameter ClientToken hanya mendukung karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId mungkin berbeda untuk setiap permintaan API. |
FF9nMec/RZ6H9oqFn1pvyir/SLRlxCCyHJonbGzqL01hiM6Jb3wJowdHvjCfog7ww1b9rSHMRFJnrUBfVba68TJg== |
| Version |
string |
No |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
RpcResponse |
||
| RequestId |
string |
ID permintaan. |
6FABF516-FED3-5697-BDA2-B18C5D9A**** |
| Success |
boolean |
Menunjukkan apakah panggilan berhasil. Nilai yang valid:
|
True |
| Code |
string |
Nilai 200 menunjukkan bahwa panggilan berhasil. Nilai lain menunjukkan bahwa panggilan gagal. Untuk informasi lebih lanjut, lihat kode kesalahan. |
200 |
| Message |
string |
Pesan yang dikembalikan untuk operasi. |
OK |
| HttpStatusCode |
integer |
Kode status HTTP. |
200 |
| DynamicCode |
string |
Kode kesalahan dinamis. |
IllegalParamFormat.EcrId |
| DynamicMessage |
string |
Pesan kesalahan dinamis yang digunakan untuk menggantikan placeholder Catatan
Misalnya, jika nilai ErrMessage adalah The Value of Input Parameter %s is not valid dan nilai DynamicMessage adalah DtsJobId, maka parameter DtsJobId yang ditentukan tidak valid. |
The param format of EcrId **** is illegal. |
| AccessDeniedDetail |
string |
Detail penolakan akses. |
Authentication is failed for **** |
| InterRegionTransitModeList |
array<object> |
Daftar mode transit lintas-region. |
|
|
object |
|||
| RegionId |
string |
ID region tempat instans ECR di-deploy. |
cn-hangzhou |
| Mode |
string |
Mode transit lintas-region dari instans ECR. Nilai yang valid:
|
ECMP |
Contoh
Respons sukses
JSONformat
{
"RequestId": "6FABF516-FED3-5697-BDA2-B18C5D9A****",
"Success": true,
"Code": "200",
"Message": "OK",
"HttpStatusCode": 200,
"DynamicCode": "IllegalParamFormat.EcrId",
"DynamicMessage": "The param format of EcrId **** is illegal.",
"AccessDeniedDetail": "Authentication is failed for ****",
"InterRegionTransitModeList": [
{
"RegionId": "cn-hangzhou",
"Mode": "ECMP"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | MissingParam.%s | The param of %s is missing. | The request parameters are not specified. Please check the corresponding parameters and try again. |
| 400 | IllegalParamFormat.%s | The param format of %s is illegal. | Illegal parameter format |
| 400 | IllegalParam.%s | The param of %s is illegal. | Illegal parameter |
| 404 | ResourceNotFound.EcrId | EcrId not found. | ECR instance does not exist |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.