code: @Override
      public ReplaceRouteResult replaceRoute(ReplaceRouteRequest request) {
          request = beforeClientExecution(request);
          return executeReplaceRoute(request);
      }
docs: <p>
  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, NAT gateway, VPC peering connection, network interface, or
  egress-only internet gateway.
  </p>
  <p>
  For more information, see <a
  href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Route_Tables.html">Route Tables</a> in the
  <i>Amazon Virtual Private Cloud User Guide</i>.
  </p>
  
  @param replaceRouteRequest
  @return Result of the ReplaceRoute operation returned by the service.
  @sample AmazonEC2.ReplaceRoute
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReplaceRoute" target="_top">AWS API
  Documentation</a>