See AddCustomRoutingEndpointsInput.
AddCustomRoutingEndpointsInput
A builder for AddCustomRoutingEndpointsInput.