Smaws_Client_ServiceDiscovery.UpdateInstanceCustomHealthStatus
val request :
Smaws_Lib.Context.t ->
update_instance_custom_health_status_request ->
(unit,
[> Smaws_Lib.Protocols.AwsJson.error
| `CustomHealthNotFound of custom_health_not_found
| `InstanceNotFound of instance_not_found
| `InvalidInput of invalid_input
| `ServiceNotFound of service_not_found ])
Stdlib.result
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.