Retrieve route tables per VPC and their subnet associations
GET /aws/ha/metadata/route-tables
Retrieves route tables per VPC and their subnet associations.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
region |
string |
query |
False |
|
vpcId |
string |
query |
False |
|
roleArn |
string |
query |
False |
|
cloudProviderAccountId |
string |
query |
False |
Error
Status: Default, Default response
| Name | Type | Required | Description |
|---|---|---|---|
id |
string |
True |
|
main |
boolean |
True |
|
subnets |
array[string] |
True |
|
tags |
array[RouteTableTag] |
True |
Example error response
{
"id": "string",
"main": false,
"subnets": [
"string"
],
"tags": [
{
"key": "string",
"value": "string"
}
]
}
Definitions
See Definitions
RouteTableTag
| Name | Type | Required | Description |
|---|---|---|---|
key |
string |
False |
|
value |
string |
False |