Module Values.UpdateInstanceCustomHealthStatusRequestSource

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.

Sourcetype nonrec t = {
  1. serviceId : Arn.t;
    (*

    The ID or Amazon Resource Name (ARN) of the service that includes the configuration for the custom health check that you want to change the status for. For services created in a shared namespace, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

    *)
  2. instanceId : ResourceId.t;
    (*

    The ID of the instance that you want to change the health status for.

    *)
  3. status : CustomHealthStatus.t;
    (*

    The new status of the instance, HEALTHY or UNHEALTHY.

    *)
}
Sourceval context_ : string
Sourceval make : serviceId:Arn.t -> instanceId:ResourceId.t -> status:CustomHealthStatus.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Arn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t