You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Health check operation, to check the service is up
/// Not yet a deep check
@readonly
@http(uri: "/ping", method: "GET")
operationCheckHealth {
}
You typically don't want to model a healthcheck operation since you don't want users to call it. It's not an inherent property of a service but rather an out-of-band implementation-defined (probably dictated by your particular load balancer / proxy / compute platform) route. For example, we already offer aws_smithy_http_server::layer::alb_health_check for ALB healthchecks.
The text was updated successfully, but these errors were encountered:
smithy-rs/codegen-core/common-test-models/pokemon-common.smithy
Lines 86 to 91 in 8375272
You typically don't want to model a healthcheck operation since you don't want users to call it. It's not an inherent property of a service but rather an out-of-band implementation-defined (probably dictated by your particular load balancer / proxy / compute platform) route. For example, we already offer
aws_smithy_http_server::layer::alb_health_check
for ALB healthchecks.The text was updated successfully, but these errors were encountered: