ReplaceRouteTableAssociation
GET /?Action=ReplaceRouteTableAssociation
Description
Replaces the route table associated with a specific subnet in a VPC with another one.
After the route table is replaced, the subnet uses the routes in the new route table it is associated with.
Body parameter
Required: false
Name: ReplaceRouteTableAssociationRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
AssociationId |
The ID of the current route table association. |
true |
string |
||
RouteTableId |
The ID of the new route table to associate with the subnet. |
true |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
ReplaceRouteTableAssociationResult |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
newAssociationId |
The ID of the new route table association. |
false |
string |
||
requestId |
The ID of the request. |
false |
string |