Uses of Record Class
codes.grow.packages.awssecretsmanager.core.HealthStatus
Packages that use HealthStatus
Package
Description
Grow Codes SDK for AWS Secrets Manager.
-
Uses of HealthStatus in codes.grow.packages.awssecretsmanager
Methods in codes.grow.packages.awssecretsmanager that return HealthStatusModifier and TypeMethodDescriptionAwsSecretsManagerClient.health()Liveness: a signedListSecrets {MaxResults: 1}with a short timeout (at most 5 s) and no retries.Methods in codes.grow.packages.awssecretsmanager that return types with arguments of type HealthStatusModifier and TypeMethodDescriptionAwsSecretsManagerClient.healthAsync()AsynchronousAwsSecretsManagerClient.health(). -
Uses of HealthStatus in codes.grow.packages.awssecretsmanager.core
Methods in codes.grow.packages.awssecretsmanager.core that return HealthStatusModifier and TypeMethodDescriptionstatic HealthStatusHealthCheck.check(HttpTransport transport, String path) Probes an endpoint once (no retries) and maps the outcome to aHealthStatus.static HealthStatusHealthCheck.fromError(AwsSecretsManagerException e) Maps a transport error tounreachable.static HealthStatusHealthCheck.fromResponse(TransportResponse resp) Maps a health response: 2xx is healthy; the word comes from a JSONstatusfield (ok/unhealthywhen absent); other string fields become details.static HealthStatusHealthStatus.ok()A healthyokstatus without details.static HealthStatusHealthStatus.unreachable(String reason) The status for a service that could not be reached.Methods in codes.grow.packages.awssecretsmanager.core that return types with arguments of type HealthStatusModifier and TypeMethodDescriptionstatic CompletableFuture<HealthStatus> HealthCheck.checkAsync(HttpTransport transport, String path) Asynchronous variant ofHealthCheck.check(codes.grow.packages.awssecretsmanager.core.HttpTransport, java.lang.String). -
Uses of HealthStatus in codes.grow.packages.awssecretsmanager.testing
Methods in codes.grow.packages.awssecretsmanager.testing that return HealthStatusModifier and TypeMethodDescriptionCoreTarget.health()Checks liveness; never throws for an unhealthy service.