Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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 Amazon Virtual Private Cloud User Guide.
See: AWS API Reference for ReplaceRoute.
- replaceRoute :: Text -> Text -> ReplaceRoute
- data ReplaceRoute
- rrInstanceId :: Lens' ReplaceRoute (Maybe Text)
- rrVPCPeeringConnectionId :: Lens' ReplaceRoute (Maybe Text)
- rrNetworkInterfaceId :: Lens' ReplaceRoute (Maybe Text)
- rrGatewayId :: Lens' ReplaceRoute (Maybe Text)
- rrDryRun :: Lens' ReplaceRoute (Maybe Bool)
- rrRouteTableId :: Lens' ReplaceRoute Text
- rrDestinationCIdRBlock :: Lens' ReplaceRoute Text
- replaceRouteResponse :: ReplaceRouteResponse
- data ReplaceRouteResponse
Creating a Request
Creates a value of ReplaceRoute
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReplaceRoute Source
See: replaceRoute
smart constructor.
Request Lenses
rrInstanceId :: Lens' ReplaceRoute (Maybe Text) Source
The ID of a NAT instance in your VPC.
rrVPCPeeringConnectionId :: Lens' ReplaceRoute (Maybe Text) Source
The ID of a VPC peering connection.
rrNetworkInterfaceId :: Lens' ReplaceRoute (Maybe Text) Source
The ID of a network interface.
rrGatewayId :: Lens' ReplaceRoute (Maybe Text) Source
The ID of an Internet gateway or virtual private gateway.
rrDryRun :: Lens' ReplaceRoute (Maybe Bool) Source
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
rrRouteTableId :: Lens' ReplaceRoute Text Source
The ID of the route table.
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.
Destructuring the Response
replaceRouteResponse :: ReplaceRouteResponse Source
Creates a value of ReplaceRouteResponse
with the minimum fields required to make a request.