Smaws_Client_ServiceDiscovery.UpdateInstanceCustomHealthStatus
Submits a request to change the health status of a custom health check to healthy or unhealthy.
You can use UpdateInstanceCustomHealthStatus
to change the status only for custom health checks, which you define using HealthCheckCustomConfig
when you create a service. You can't use it to change the status for Route 53 health checks, which you define using HealthCheckConfig
.
For more information, see HealthCheckCustomConfig.
val request :
Smaws_Lib.Context.t ->
Types.update_instance_custom_health_status_request ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `CustomHealthNotFound of Types.custom_health_not_found
| `InstanceNotFound of Types.instance_not_found
| `InvalidInput of Types.invalid_input
| `ServiceNotFound of Types.service_not_found ])
Stdlib.result