Smaws_Client_ApplicationDiscoveryService.ListServerNeighborsRetrieves a list of servers that are one network hop away from a specified server.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `HomeRegionNotSetException of Types.home_region_not_set_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `ServerInternalErrorException of Types.server_internal_error_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_server_neighbors_request ->
(Types.list_server_neighbors_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `HomeRegionNotSetException of Types.home_region_not_set_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `ServerInternalErrorException of Types.server_internal_error_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_server_neighbors_request ->
(Types.list_server_neighbors_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `HomeRegionNotSetException of Types.home_region_not_set_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `ServerInternalErrorException of Types.server_internal_error_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result