updateInferenceRouter

Updates the routing targets of an inference router. The routing targets that you specify replace all of the router's existing routing targets. To change one routing target, call DescribeInferenceRouter, edit the routing targets, and send all of them.

The update is applied in full or not at all, and each request uses either the previous configuration or the new one. Updates typically take effect within about 2 minutes.

If the router is being created, updated, or deleted, or another request changes it at the same time, you get a ConflictException. Describe the router, and then send your update again.