Module Values_4.ReplaceRouteRequestSource

Replaces an existing route within a route table in a VPC. You must specify either a destination CIDR block or a prefix list ID. You must also specify exactly one of the resources from the parameter list, or reset the local route to its default target. For more information, see Route tables in the Amazon VPC User Guide.

Sourcetype nonrec t = {
  1. destinationPrefixListId : Values_0.PrefixListResourceId.t option;
    (*

    The ID of the prefix list for the route.

    *)
  2. vpcEndpointId : Values_1.VpcEndpointId.t option;
    (*

    The ID of a VPC endpoint. Supported for Gateway Load Balancer endpoints only.

    *)
  3. localTarget : Values_0.Boolean.t option;
    (*

    Specifies whether to reset the local route to its default target (local).

    *)
  4. transitGatewayId : Values_1.TransitGatewayId.t option;
    (*

    The ID of a transit gateway.

    *)
  5. localGatewayId : Values_1.LocalGatewayId.t option;
    (*

    The ID of the local gateway.

    *)
  6. carrierGatewayId : Values_0.CarrierGatewayId.t option;
    (*

    [IPv4 traffic only] The ID of a carrier gateway.

    *)
  7. coreNetworkArn : Values_0.CoreNetworkArn.t option;
    (*

    The Amazon Resource Name (ARN) of the core network.

    *)
  8. odbNetworkArn : Values_0.OdbNetworkArn.t option;
    (*

    The Amazon Resource Name (ARN) of the ODB network.

    *)
  9. dryRun : Values_0.Boolean.t option;
    (*

    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.

    *)
  10. routeTableId : Values_0.RouteTableId.t;
    (*

    The ID of the route table.

    *)
  11. destinationCidrBlock : Values_0.String_.t option;
    (*

    The IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.

    *)
  12. gatewayId : Values_3.RouteGatewayId.t option;
    (*

    The ID of an internet gateway or virtual private gateway.

    *)
  13. destinationIpv6CidrBlock : Values_0.String_.t option;
    (*

    The IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.

    *)
  14. egressOnlyInternetGatewayId : Values_1.EgressOnlyInternetGatewayId.t option;
    (*

    [IPv6 traffic only] The ID of an egress-only internet gateway.

    *)
  15. instanceId : Values_0.InstanceId.t option;
    (*

    The ID of a NAT instance in your VPC.

    *)
  16. networkInterfaceId : Values_0.NetworkInterfaceId.t option;
    (*

    The ID of a network interface.

    *)
  17. vpcPeeringConnectionId : Values_2.VpcPeeringConnectionId.t option;
    (*

    The ID of a VPC peering connection.

    *)
  18. natGatewayId : Values_2.NatGatewayId.t option;
    (*

    [IPv4 traffic only] The ID of a NAT gateway.

    *)
}
Sourceval context_ : string
Sourceval make : ?destinationPrefixListId:??? -> ?vpcEndpointId:??? -> ?localTarget:??? -> ?transitGatewayId:??? -> ?localGatewayId:??? -> ?carrierGatewayId:??? -> ?coreNetworkArn:??? -> ?odbNetworkArn:??? -> ?dryRun:??? -> ?destinationCidrBlock:??? -> ?gatewayId:??? -> ?destinationIpv6CidrBlock:??? -> ?egressOnlyInternetGatewayId:??? -> ?instanceId:??? -> ?networkInterfaceId:??? -> ?vpcPeeringConnectionId:??? -> ?natGatewayId:??? -> routeTableId:Values_0.RouteTableId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `String of Values_0.PrefixListResourceId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t