Safe Haskell | None |
---|---|
Language | Haskell2010 |
Replaces an existing route within a route table in a VPC. You must provide only one of the following: Internet gateway or virtual private gateway, NAT instance, VPC peering connection, or network interface.
For more information about route tables, see Route Tables in the AmazonVirtual Private Cloud User Guide.
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ReplaceRoute.html
- data ReplaceRoute
- replaceRoute :: Text -> Text -> ReplaceRoute
- rrDestinationCidrBlock :: Lens' ReplaceRoute Text
- rrDryRun :: Lens' ReplaceRoute (Maybe Bool)
- rrGatewayId :: Lens' ReplaceRoute (Maybe Text)
- rrInstanceId :: Lens' ReplaceRoute (Maybe Text)
- rrNetworkInterfaceId :: Lens' ReplaceRoute (Maybe Text)
- rrRouteTableId :: Lens' ReplaceRoute Text
- rrVpcPeeringConnectionId :: Lens' ReplaceRoute (Maybe Text)
- data ReplaceRouteResponse
- replaceRouteResponse :: ReplaceRouteResponse
Request
data ReplaceRoute Source
Request constructor
ReplaceRoute
constructor.
The fields accessible through corresponding lenses are:
Request lenses
rrDestinationCidrBlock :: Lens' ReplaceRoute Text Source
The CIDR address block used for the destination match. The value you provide must match the CIDR of an existing route in the table.
rrGatewayId :: Lens' ReplaceRoute (Maybe Text) Source
The ID of an Internet gateway or virtual private gateway.
rrInstanceId :: Lens' ReplaceRoute (Maybe Text) Source
The ID of a NAT instance in your VPC.
rrNetworkInterfaceId :: Lens' ReplaceRoute (Maybe Text) Source
The ID of a network interface.
rrRouteTableId :: Lens' ReplaceRoute Text Source
The ID of the route table.
rrVpcPeeringConnectionId :: Lens' ReplaceRoute (Maybe Text) Source
The ID of a VPC peering connection.
Response
Response constructor
replaceRouteResponse :: ReplaceRouteResponse Source
ReplaceRouteResponse
constructor.