Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
- data ReplaceRouteTableAssociation
- replaceRouteTableAssociation :: Text -> Text -> ReplaceRouteTableAssociation
- rrtaAssociationId :: Lens' ReplaceRouteTableAssociation Text
- rrtaDryRun :: Lens' ReplaceRouteTableAssociation (Maybe Bool)
- rrtaRouteTableId :: Lens' ReplaceRouteTableAssociation Text
- data ReplaceRouteTableAssociationResponse
- replaceRouteTableAssociationResponse :: ReplaceRouteTableAssociationResponse
- rrtarNewAssociationId :: Lens' ReplaceRouteTableAssociationResponse (Maybe Text)
Request
data ReplaceRouteTableAssociation Source
Request constructor
replaceRouteTableAssociation Source
ReplaceRouteTableAssociation
constructor.
The fields accessible through corresponding lenses are:
Request lenses
rrtaAssociationId :: Lens' ReplaceRouteTableAssociation Text Source
The association ID.
rrtaRouteTableId :: Lens' ReplaceRouteTableAssociation Text Source
The ID of the new route table to associate with the subnet.
Response
Response constructor
replaceRouteTableAssociationResponse :: ReplaceRouteTableAssociationResponse Source
ReplaceRouteTableAssociationResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
rrtarNewAssociationId :: Lens' ReplaceRouteTableAssociationResponse (Maybe Text) Source
The ID of the new association.