Smaws_Client_ServiceDiscovery.DiscoverInstances
Discovers registered instances for a specified namespace and service. You can use DiscoverInstances
to discover instances for any type of namespace. DiscoverInstances
returns a randomized list of instances allowing customers to distribute traffic evenly across instances. For public and private DNS namespaces, you can also use DNS queries to discover instances.
val request :
Smaws_Lib.Context.t ->
Types.discover_instances_request ->
(Types.discover_instances_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidInput of Types.invalid_input
| `NamespaceNotFound of Types.namespace_not_found
| `RequestLimitExceeded of Types.request_limit_exceeded
| `ServiceNotFound of Types.service_not_found ])
Stdlib.result