amazonka-ec2-0.0.4: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ReplaceRouteTableAssociation

Contents

Description

Changes the route table associated with a given subnet in a VPC. After the operation completes, the subnet uses the routes in the new route table it's associated with. For more information about route tables, see Route Tables in the Amazon Virtual Private Cloud User Guide.

You can also use ReplaceRouteTableAssociation to change which table is the main route table in the VPC. You just specify the main route table's association ID and the route table to be the new main route table.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ReplaceRouteTableAssociation.html

Synopsis

Request

Request constructor

Request lenses

rrtaRouteTableId :: Lens' ReplaceRouteTableAssociation Text Source

The ID of the new route table to associate with the subnet.

Response

Response constructor

Response lenses