import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConfigureHealthCheckInput, ConfigureHealthCheckOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ConfigureHealthCheckCommand}. */ export interface ConfigureHealthCheckCommandInput extends ConfigureHealthCheckInput { } /** * @public * * The output of {@link ConfigureHealthCheckCommand}. */ export interface ConfigureHealthCheckCommandOutput extends ConfigureHealthCheckOutput, __MetadataBearer { } declare const ConfigureHealthCheckCommand_base: { new (input: ConfigureHealthCheckCommandInput): import("@smithy/core/client").CommandImpl; new (input: ConfigureHealthCheckCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Specifies the health check settings to use when evaluating the health state of your EC2 instances.

*

For more information, see Configure Health Checks for Your Load Balancer * in the Classic Load Balancers Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticLoadBalancingClient, ConfigureHealthCheckCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import * // const { ElasticLoadBalancingClient, ConfigureHealthCheckCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import * // import type { ElasticLoadBalancingClientConfig } from "@aws-sdk/client-elastic-load-balancing"; * const config = {}; // type is ElasticLoadBalancingClientConfig * const client = new ElasticLoadBalancingClient(config); * const input = { // ConfigureHealthCheckInput * LoadBalancerName: "STRING_VALUE", // required * HealthCheck: { // HealthCheck * Target: "STRING_VALUE", // required * Interval: Number("int"), // required * Timeout: Number("int"), // required * UnhealthyThreshold: Number("int"), // required * HealthyThreshold: Number("int"), // required * }, * }; * const command = new ConfigureHealthCheckCommand(input); * const response = await client.send(command); * // { // ConfigureHealthCheckOutput * // HealthCheck: { // HealthCheck * // Target: "STRING_VALUE", // required * // Interval: Number("int"), // required * // Timeout: Number("int"), // required * // UnhealthyThreshold: Number("int"), // required * // HealthyThreshold: Number("int"), // required * // }, * // }; * * ``` * * @param ConfigureHealthCheckCommandInput - {@link ConfigureHealthCheckCommandInput} * @returns {@link ConfigureHealthCheckCommandOutput} * @see {@link ConfigureHealthCheckCommandInput} for command's `input` shape. * @see {@link ConfigureHealthCheckCommandOutput} for command's `response` shape. * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape. * * @throws {@link AccessPointNotFoundException} (client fault) *

The specified load balancer does not exist.

* * @throws {@link ElasticLoadBalancingServiceException} *

Base exception class for all service exceptions from ElasticLoadBalancing service.

* * * @example To specify the health check settings for your backend EC2 instances * ```javascript * // This example specifies the health check settings used to evaluate the health of your backend EC2 instances. * const input = { * HealthCheck: { * HealthyThreshold: 2, * Interval: 30, * Target: "HTTP:80/png", * Timeout: 3, * UnhealthyThreshold: 2 * }, * LoadBalancerName: "my-load-balancer" * }; * const command = new ConfigureHealthCheckCommand(input); * const response = await client.send(command); * /* response is * { * HealthCheck: { * HealthyThreshold: 2, * Interval: 30, * Target: "HTTP:80/png", * Timeout: 3, * UnhealthyThreshold: 2 * } * } * *\/ * ``` * * @public */ export declare class ConfigureHealthCheckCommand extends ConfigureHealthCheckCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ConfigureHealthCheckInput; output: ConfigureHealthCheckOutput; }; sdk: { input: ConfigureHealthCheckCommandInput; output: ConfigureHealthCheckCommandOutput; }; }; }