Changes the route table associated with a given subnet in a VPC.
Declaration Syntax
C# |
public ReplaceRouteTableAssociationResponse ReplaceRouteTableAssociation( ReplaceRouteTableAssociationRequest request )
Parameters
- request (ReplaceRouteTableAssociationRequest)
- Replace Route Table Association request
Return Value
Replace Route Table Association Response from the service
Remarks
After you execute this action, the subnet uses the routes in the
new route table it's associated with. For more information about
route tables, go to Route Tables in the Amazon Virtual Private
Cloud User Guide.
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |