Lists the route propagations for the route table of an Enterprise Edition transit router.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ListTransitRouterRouteTablePropagations |
get |
TransitRouterPeerAttachment
TransitRouterRouteTable
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| MaxResults |
integer |
No |
The number of entries to return on each page. The default value is 50. |
50 |
| NextToken |
string |
No |
The token that is used to retrieve the next page of results. |
dd20**** |
| TransitRouterRouteTableId |
string |
Yes |
The ID of the route table of the Enterprise Edition transit router. |
vtb-bp1dudbh2d5na6b50**** |
| TransitRouterAttachmentId |
string |
No |
The ID of the network instance connection. |
tr-attach-vx6iwhjr1x1j78**** |
| TransitRouterAttachmentResourceId |
string |
No |
The ID of the network instance. |
vpc-bp1h8vbrbcgohcju5**** |
| TransitRouterAttachmentResourceType |
string |
No |
The type of the network instance.
|
VPC |
| Status |
string |
No |
The status of the route propagation.
|
Active |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| NextToken |
string |
The token that is used to retrieve the next page of results. |
dd20**** |
| RequestId |
string |
The request ID. |
04C81E0D-945E-4D61-A561-3DEA322F243B |
| TotalCount |
integer |
The total number of entries. |
2 |
| MaxResults |
integer |
The number of entries returned per page. |
50 |
| TransitRouterPropagations |
array<object> |
A list of the route propagations. |
|
|
object |
|||
| TransitRouterAttachmentId |
string |
The ID of the network instance connection. |
tr-attach-vx6iwhjr1x1j78**** |
| Status |
string |
The status of the route propagation.
|
Active |
| ResourceType |
string |
The type of the network instance.
|
VPC |
| ResourceId |
string |
The ID of the network instance. |
vpc-bp1h8vbrbcgohcju5**** |
| TransitRouterRouteTableId |
string |
The ID of the route table of the Enterprise Edition transit router. |
vtb-bp1dudbh2d5na6b50**** |
Examples
Success response
JSON format
{
"NextToken": "dd20****",
"RequestId": "04C81E0D-945E-4D61-A561-3DEA322F243B",
"TotalCount": 2,
"MaxResults": 50,
"TransitRouterPropagations": [
{
"TransitRouterAttachmentId": "tr-attach-vx6iwhjr1x1j78****",
"Status": "Active",
"ResourceType": "VPC",
"ResourceId": "vpc-bp1h8vbrbcgohcju5****",
"TransitRouterRouteTableId": "vtb-bp1dudbh2d5na6b50****"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.NextToken | The parameter NextToken is invalid. | The error message returned because the NextToken parameter is set to an invalid value. Check the value and try again. |
| 400 | IllegalParam.MaxResults | The specified MaxResults is illegal. | MaxResults illegal. |
| 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. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.